Provides a progress meter for the LatticeStatistics
class.
More...
#include <LattStatsProgress.h>
Public Member Functions | |
LattStatsProgress () | |
Constructor makes a null object. | |
virtual | ~LattStatsProgress () |
Destructor deletes the ProgressMeter pointer. | |
void | operator++ (Int) |
increment the current step (postfix version) | |
virtual void | initDerived () |
Initialize this object. | |
virtual void | nstepsDone (uInt nsteps) |
Tell the number of steps done so far. | |
virtual void | done () |
The process has ended so clean things up. | |
Private Attributes | |
CountedPtr< ProgressMeter > | _meter |
uInt | _currentStep |
Provides a progress meter for the LatticeStatistics
class.
Public interface
Display a progress meter for the class LatticeStatistics
Progress meters can be displayed by the LatticeApply
class which is used by LatticeStatistics
in order to optimally iterate through the lattice. To do this, one must derive a class from LatticeProgress
. LatticeApply
calls methods declared in LatticeProgress
and implemented in the derived class.
I like progress meters !
Definition at line 71 of file LattStatsProgress.h.
casacore::LattStatsProgress::LattStatsProgress | ( | ) | [inline] |
Constructor makes a null object.
Definition at line 76 of file LattStatsProgress.h.
virtual casacore::LattStatsProgress::~LattStatsProgress | ( | ) | [virtual] |
Destructor deletes the ProgressMeter pointer.
virtual void casacore::LattStatsProgress::done | ( | ) | [virtual] |
The process has ended so clean things up.
Reimplemented from casacore::LatticeProgress.
virtual void casacore::LattStatsProgress::initDerived | ( | ) | [virtual] |
Initialize this object.
Here we create the ProgressMeter This function is called by the init
in LatticeProgress
Reimplemented from casacore::LatticeProgress.
virtual void casacore::LattStatsProgress::nstepsDone | ( | uInt | nsteps | ) | [virtual] |
Tell the number of steps done so far.
Reimplemented from casacore::LatticeProgress.
void casacore::LattStatsProgress::operator++ | ( | Int | ) |
increment the current step (postfix version)
Definition at line 96 of file LattStatsProgress.h.
Definition at line 95 of file LattStatsProgress.h.