libcommonc++
0.7
|
An interface for tracking the progress of a lengthy operation. More...
#include <ProgressTracker.h++>
Public Member Functions | |
virtual | ~ProgressTracker () |
Destructor. More... | |
virtual void | updateProgress (int percent, const String &status=String::null)=0 |
Notify the tracker of an update in the progress of a task. More... | |
An interface for tracking the progress of a lengthy operation.
See ProgressTrackerDelegate for an implementation that delegates to a method in an object.
|
inlinevirtual |
Destructor.
|
pure virtual |
Notify the tracker of an update in the progress of a task.
percent | The percentage of the task that has been completed. A negative value indicates indeterminate progress. |
status | An optional status message. |
Implemented in ProgressTrackerDelegate< T >.