Public Member Functions | Public Attributes

cmtk::Progress::Range Class Reference

Class to current progress range, which can be nested. More...

Collaboration diagram for cmtk::Progress::Range:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Class to current progress range, which can be nested.

Definition at line 124 of file cmtkProgress.h.


Constructor & Destructor Documentation

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.


Member Data Documentation

Current position in the range.

Definition at line 148 of file cmtkProgress.h.

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.

Name of this task.

Definition at line 151 of file cmtkProgress.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines