Class to current progress range, which can be nested. More...
Public Member Functions | |
Range (const double start, const double end, const double increment, const std::string &taskName=std::string("")) | |
Constructor. | |
double | GetFractionComplete (const double nestedFraction=0) const |
Get complete fraction for this range. | |
Public Attributes | |
double | m_Start |
Start of this range. | |
double | m_End |
End of this range. | |
double | m_Increment |
Increment between steps. | |
double | m_Current |
Current position in the range. | |
const std::string | m_TaskName |
Name of this task. |
Class to current progress range, which can be nested.
Definition at line 124 of file cmtkProgress.h.
cmtk::Progress::Range::Range | ( | const double | start, |
const double | end, | ||
const double | increment, | ||
const std::string & | taskName = std::string("") |
||
) | [inline] |
Constructor.
Definition at line 128 of file cmtkProgress.h.
Current position in the range.
Definition at line 148 of file cmtkProgress.h.
double cmtk::Progress::Range::m_End |
End of this range.
Definition at line 142 of file cmtkProgress.h.
Increment between steps.
Definition at line 145 of file cmtkProgress.h.
Start of this range.
Definition at line 139 of file cmtkProgress.h.
const std::string cmtk::Progress::Range::m_TaskName |
Name of this task.
Definition at line 151 of file cmtkProgress.h.