Model Railroad System 2.2.2
|
Work In Progress Callback. More...
#include <CallBack.h>
Public Member Functions | |
WorkInProgressCallback () | |
Constructor. More... | |
virtual | ~WorkInProgressCallback () |
Destructor. More... | |
virtual void | ProgressStart (const string Message) const |
Start up the work in progress display. More... | |
virtual void | ProgressUpdate (int Percent, const string Message) const |
Update the progress meter. More... | |
virtual void | ProgressDone (const string Message) const |
Mark the process meter as done. More... | |
Work In Progress Callback.
Provides a callback to manage a work in progress display. This class is a dummy base class. Applications can define member functions that manage an application specific work in progress display.
|
inline |
Constructor.
The base constructor does nothing. It is presumed that a derived class might do something useful.
|
inlinevirtual |
Destructor.
The base destructor does nothing. It is presumed that a derived class might do something useful.
|
inlinevirtual |
Mark the process meter as done.
Forces the meter to 100 percent and display a work completion message.
Message | A message to display. |
|
inlinevirtual |
Start up the work in progress display.
An initial message is passed to be displayed.
Message | An initial message string. |
|
inlinevirtual |
Update the progress meter.
Advance the progress meter to the percent completed and display an updated message describing the progress.
Percent | The completion percentage, between 0 and 100. A value of 100 indicates that the job is done. |
Message | A message to display, typically something identifing what tasks have been completed. |