An interface for tracking the progress of a lengthy operation. More...
#include <ProgressTracker.h++>
Public Member Functions | |
| virtual | ~ProgressTracker () |
| Destructor. | |
| virtual void | updateProgress (int percent, const String &status=String::null)=0 |
| Notify the tracker of an update in the progress of a task. | |
An interface for tracking the progress of a lengthy operation.
See ProgressTrackerDelegate for an implementation that delegates to a method in an object.
| virtual ~ProgressTracker | ( | ) | [inline, virtual] |
Destructor.
| virtual void updateProgress | ( | int | percent, | |
| const String & | status = String::null | |||
| ) | [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 >.
1.6.3