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::refim::ParAngleChangeDetector Class Reference

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

#include <Utils.h>

Inheritance diagram for casa::refim::ParAngleChangeDetector:
casa::refim::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 VisBuffer2 &vb, casacore::Int row) const
 implementation of the base class' virtual functions More...
 
virtual void update (const VisBuffer2 &vb, casacore::Int row)
 start looking for a change from the given row of the VisBuffer More...
 
- Public Member Functions inherited from casa::refim::IChangeDetector
casacore::Bool changed (const VisBuffer2 &vb) const
 some derived methods, which use the abstract virtual function changed(vb,row) More...
 
casacore::Bool changedBuffer (const VisBuffer2 &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::refim::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 193 of file Utils.h.

Constructor & Destructor Documentation

casa::refim::ParAngleChangeDetector::ParAngleChangeDetector ( )
inline

The default constructor.

Definition at line 199 of file Utils.h.

casa::refim::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::refim::ParAngleChangeDetector::changed ( const VisBuffer2 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::refim::IChangeDetector.

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

return parallactic angle tolerance

virtual void casa::refim::ParAngleChangeDetector::reset ( )
virtual

reset to the state which exists just after construction

Implements casa::refim::IChangeDetector.

Referenced by casa::refim::AWProjectFT::reset().

virtual void casa::refim::ParAngleChangeDetector::setTolerance ( const casacore::Quantity pa_tolerance)
virtual
virtual void casa::refim::ParAngleChangeDetector::update ( const VisBuffer2 vb,
casacore::Int  row 
)
virtual

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

Implements casa::refim::IChangeDetector.

Member Data Documentation

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

the angle is considered to be changed.

Definition at line 196 of file Utils.h.

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

Definition at line 194 of file Utils.h.


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