cee::ug::Progress Class Referenceabstract

Progress object class. More...

Public Member Functions

virtual void update (int pctCompl)=0
 Updates progress status in percent. More...
 
virtual bool aborted ()=0
 Returns true if the operation should be aborted. More...
 

Detailed Description

Progress object class.

Receives progress percentage from Ceetron Desktop Components. The Progress class also contains an aborted() for user abortion. Typical processes that offers progress updates are file opening, model generation, animation generation and file export.

Make a subclass of the Progress class and override the following functions:

void update(int pctCompl)
bool aborted()

Member Function Documentation

virtual bool cee::ug::Progress::aborted ( )
pure virtual

Returns true if the operation should be aborted.

virtual void cee::ug::Progress::update ( int  pctCompl)
pure virtual

Updates progress status in percent.