casa
$Rev:20696$
|
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. | |
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 | |
ProgressMeter * | itsMeter |
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 72 of file LattStatsProgress.h.
casa::LattStatsProgress::LattStatsProgress | ( | ) | [inline] |
Constructor makes a null object.
Definition at line 77 of file LattStatsProgress.h.
virtual casa::LattStatsProgress::~LattStatsProgress | ( | ) | [virtual] |
Destructor deletes the ProgressMeter pointer.
virtual void casa::LattStatsProgress::done | ( | ) | [virtual] |
The process has ended so clean things up.
Reimplemented from casa::LatticeProgress.
virtual void casa::LattStatsProgress::initDerived | ( | ) | [virtual] |
Initialize this object.
Here we create the ProgressMeter This function is called by the init
in LatticeProgress
Reimplemented from casa::LatticeProgress.
virtual void casa::LattStatsProgress::nstepsDone | ( | uInt | nsteps | ) | [virtual] |
Tell the number of steps done so far.
Reimplemented from casa::LatticeProgress.
ProgressMeter* casa::LattStatsProgress::itsMeter [private] |
Definition at line 93 of file LattStatsProgress.h.