casa
$Rev:20696$
|
////////////////////////////////////////////////////////////////////////// More...
#include <Utils.h>
Public Member Functions | |
ParAngleChangeDetector () | |
The default constructor. | |
ParAngleChangeDetector (const Quantity &pa_tolerance) throw (AipsError) | |
set up the tolerance, which determines how much the position angle should change to report the change by this class | |
virtual void | setTolerance (const Quantity &pa_tolerance) |
virtual void | reset () throw (AipsError) |
reset to the state which exists just after construction | |
Quantity | getParAngleTolerance () const throw (AipsError) |
return parallactic angle tolerance | |
virtual Bool | changed (const VisBuffer &vb, Int row) const throw (AipsError) |
implementation of the base class' virtual functions | |
virtual void | update (const VisBuffer &vb, Int row) throw (AipsError) |
start looking for a change from the given row of the VisBuffer | |
Private Attributes | |
Double | pa_tolerance_p |
Double | last_pa_p |
the angle is considered to be changed. |
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
ParAngleChangeDetector - a class to detect a change in the parallactic angle.
casa::ParAngleChangeDetector::ParAngleChangeDetector | ( | ) | [inline] |
casa::ParAngleChangeDetector::ParAngleChangeDetector | ( | const Quantity & | pa_tolerance | ) | throw (AipsError) |
set up the tolerance, which determines how much the position angle should change to report the change by this class
virtual Bool casa::ParAngleChangeDetector::changed | ( | const VisBuffer & | vb, |
Int | row | ||
) | const throw (AipsError) [virtual] |
implementation of the base class' virtual functions
return True if a change occurs in the given row since the last call of update
Implements casa::IChangeDetector.
Quantity casa::ParAngleChangeDetector::getParAngleTolerance | ( | ) | const throw (AipsError) |
return parallactic angle tolerance
virtual void casa::ParAngleChangeDetector::reset | ( | ) | throw (AipsError) [virtual] |
reset to the state which exists just after construction
Implements casa::IChangeDetector.
Referenced by casa::nPBWProjectFT::reset(), and casa::AWProjectFT::reset().
virtual void casa::ParAngleChangeDetector::setTolerance | ( | const Quantity & | pa_tolerance | ) | [virtual] |
virtual void casa::ParAngleChangeDetector::update | ( | const VisBuffer & | vb, |
Int | row | ||
) | throw (AipsError) [virtual] |
start looking for a change from the given row of the VisBuffer
Implements casa::IChangeDetector.