casacore
Public Member Functions | Private Attributes | List of all members
casacore::LatticeHistProgress Class Reference

Provides a progress meter for the LatticeHistograms class. More...

#include <LatticeHistProgress.h>

Public Member Functions

 LatticeHistProgress ()
 Constructor makes a null object. More...
 
virtual ~LatticeHistProgress ()
 Destructor deletes the ProgressMeter pointer. More...
 
virtual void initDerived ()
 Initialize this object. More...
 
virtual void nstepsDone (uInt nsteps)
 Tell the number of steps done so far. More...
 
virtual void done ()
 The process has ended so clean things up. More...
 
- Public Member Functions inherited from casacore::LatticeProgress
 LatticeProgress ()
 
virtual ~LatticeProgress ()
 
void init (uInt expectedNsteps)
 Initialize the process. More...
 
uInt expectedNsteps () const
 Recovers the expected number of total steps. More...
 

Private Attributes

ProgressMeteritsMeter
 

Additional Inherited Members

Detailed Description

Provides a progress meter for the LatticeHistograms class.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Display a progress meter for the class LatticeHistograms

Synopsis

Progress meters can be displayed by the LatticeApply class which is used by LatticeHistograms in order to optimally iterate through the image. To do this, one must derive a class from LatticeProgress. LatticeApply calls methods declared in LatticeProgress and implemented in the derived class.

Motivation

I like progress meters !

Definition at line 69 of file LatticeHistProgress.h.

Constructor & Destructor Documentation

◆ LatticeHistProgress()

casacore::LatticeHistProgress::LatticeHistProgress ( )
inline

Constructor makes a null object.

Definition at line 74 of file LatticeHistProgress.h.

◆ ~LatticeHistProgress()

virtual casacore::LatticeHistProgress::~LatticeHistProgress ( )
virtual

Destructor deletes the ProgressMeter pointer.

Member Function Documentation

◆ done()

virtual void casacore::LatticeHistProgress::done ( )
virtual

The process has ended so clean things up.

Reimplemented from casacore::LatticeProgress.

◆ initDerived()

virtual void casacore::LatticeHistProgress::initDerived ( )
virtual

Initialize this object.

Here we create the ProgressMeter This function is called by the init in LatticeProgress

Reimplemented from casacore::LatticeProgress.

◆ nstepsDone()

virtual void casacore::LatticeHistProgress::nstepsDone ( uInt  nsteps)
virtual

Tell the number of steps done so far.

Reimplemented from casacore::LatticeProgress.

Member Data Documentation

◆ itsMeter

ProgressMeter* casacore::LatticeHistProgress::itsMeter
private

Definition at line 90 of file LatticeHistProgress.h.


The documentation for this class was generated from the following file: