|
MeVisLab Toolbox Reference
|
#include <mlProgress.h>
Public Member Functions | |
| Progress (boost::function< void(float)> *setProgress) | |
| Constructor. | |
| void | setStep (float step) |
| Set progress step. This is added to the current progress anytime update function is invoked. | |
| void | update () |
| Adds current step to the progress. | |
| void | reset () |
| Set all internal fields to default values: step = 0 and progress = 0. | |
Definition at line 22 of file mlProgress.h.
| ml::Progress::Progress | ( | boost::function< void(float)> * | setProgress | ) |
Constructor.
\setProgress - Function invoked in order to set progress.
| void ml::Progress::reset | ( | ) |
Set all internal fields to default values: step = 0 and progress = 0.
| void ml::Progress::setStep | ( | float | step | ) |
Set progress step. This is added to the current progress anytime update function is invoked.
| void ml::Progress::update | ( | ) |
Adds current step to the progress.