casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::ParAngleChangeDetector Class Reference

////////////////////////////////////////////////////////////////////////// More...

#include <Utils.h>

Inheritance diagram for casa::ParAngleChangeDetector:
casa::IChangeDetector

Public Member Functions

 ParAngleChangeDetector ()
 The default constructor. More...
 
 ParAngleChangeDetector (const casacore::Quantity &pa_tolerance)
 set up the tolerance, which determines how much the position angle should change to report the change by this class More...
 
virtual void setTolerance (const casacore::Quantity &pa_tolerance)
 
virtual void reset ()
 reset to the state which exists just after construction More...
 
casacore::Quantity getParAngleTolerance () const
 return parallactic angle tolerance More...
 
virtual casacore::Bool changed (const VisBuffer &vb, casacore::Int row) const
 implementation of the base class' virtual functions More...
 
virtual void update (const VisBuffer &vb, casacore::Int row)
 start looking for a change from the given row of the VisBuffer More...
 
- Public Member Functions inherited from casa::IChangeDetector
casacore::Bool changed (const VisBuffer &vb) const
 some derived methods, which use the abstract virtual function changed(vb,row) More...
 
casacore::Bool changedBuffer (const VisBuffer &vb, casacore::Int row1, casacore::Int &row2) const
 return true if a change occurs somewhere in the buffer starting from row1 up to row2 (row2=-1 means up to the end of the buffer). More...
 

Private Attributes

casacore::Double pa_tolerance_p
 
casacore::Double last_pa_p
 the angle is considered to be changed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from casa::IChangeDetector
virtual ~IChangeDetector ()
 a virtual destructor to make the compiler happy More...
 

Detailed Description

//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////

ParAngleChangeDetector - a class to detect a change in the parallactic angle.

Definition at line 184 of file Utils.h.

Constructor & Destructor Documentation

casa::ParAngleChangeDetector::ParAngleChangeDetector ( )
inline

The default constructor.

Definition at line 190 of file Utils.h.

casa::ParAngleChangeDetector::ParAngleChangeDetector ( const casacore::Quantity pa_tolerance)

set up the tolerance, which determines how much the position angle should change to report the change by this class

Member Function Documentation

virtual casacore::Bool casa::ParAngleChangeDetector::changed ( const VisBuffer vb,
casacore::Int  row 
) const
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.

casacore::Quantity casa::ParAngleChangeDetector::getParAngleTolerance ( ) const

return parallactic angle tolerance

virtual void casa::ParAngleChangeDetector::reset ( )
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 casacore::Quantity pa_tolerance)
virtual
virtual void casa::ParAngleChangeDetector::update ( const VisBuffer vb,
casacore::Int  row 
)
virtual

start looking for a change from the given row of the VisBuffer

Implements casa::IChangeDetector.

Member Data Documentation

casacore::Double casa::ParAngleChangeDetector::last_pa_p
private

the angle is considered to be changed.

Definition at line 187 of file Utils.h.

casacore::Double casa::ParAngleChangeDetector::pa_tolerance_p
private

Definition at line 185 of file Utils.h.


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