TuttleOFX
1
|
#include <NoProgress.hpp>
Public Member Functions | |
void | progressBegin (const int numSteps, const std::string &msg="") |
Start the algorithm progress bar. | |
void | progressEnd () |
Ends the algorithm progress bar. | |
bool | progressForward (const int nSteps) |
Put the progress bar forward. | |
Protected Attributes | |
double | _stepSize |
Step size of progess bar. | |
double | _counter |
Current position in [0; 1]. |
Definition at line 9 of file NoProgress.hpp.
void tuttle::plugin::NoProgress::progressBegin | ( | const int | numSteps, |
const std::string & | msg = "" |
||
) | [virtual] |
Start the algorithm progress bar.
[in] | numSteps | number of steps |
Implements tuttle::plugin::IProgress.
Definition at line 12 of file NoProgress.cpp.
void tuttle::plugin::NoProgress::progressEnd | ( | ) | [virtual] |
Ends the algorithm progress bar.
Implements tuttle::plugin::IProgress.
Definition at line 37 of file NoProgress.cpp.
bool tuttle::plugin::NoProgress::progressForward | ( | const int | nSteps | ) | [virtual] |
Put the progress bar forward.
[in] | nSteps | Number of steps processed since last call. |
Implements tuttle::plugin::IProgress.
Definition at line 27 of file NoProgress.cpp.
double tuttle::plugin::NoProgress::_counter [protected] |
Current position in [0; 1].
Definition at line 18 of file NoProgress.hpp.
Referenced by progressBegin(), and progressForward().
double tuttle::plugin::NoProgress::_stepSize [protected] |
Step size of progess bar.
Definition at line 17 of file NoProgress.hpp.
Referenced by progressBegin(), and progressForward().