casa::ParAngleChangeDetector Class Reference

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

#include <Utils.h>

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

List of all members.

Public Member Functions

 ParAngleChangeDetector ()
 The default constructor.
 ParAngleChangeDetector (const Quantity &pa_tolerance)
 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 ()
 reset to the state which exists just after construction
Quantity getParAngleTolerance () const
 return parallactic angle tolerance
virtual Bool changed (const VisBuffer &vb, Int row) const
 implementation of the base class' virtual functions
virtual void update (const VisBuffer &vb, Int row)
 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.

Detailed Description

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

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

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

Definition at line 169 of file Utils.h.


Constructor & Destructor Documentation

casa::ParAngleChangeDetector::ParAngleChangeDetector (  )  [inline]

The default constructor.

Definition at line 175 of file Utils.h.

casa::ParAngleChangeDetector::ParAngleChangeDetector ( const 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 Bool casa::ParAngleChangeDetector::changed ( const VisBuffer vb,
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.

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::AWProjectFT::reset(), and casa::nPBWProjectFT::reset().

virtual void casa::ParAngleChangeDetector::setTolerance ( const Quantity &  pa_tolerance  )  [virtual]
virtual void casa::ParAngleChangeDetector::update ( const VisBuffer vb,
Int  row 
) [virtual]

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

Implements casa::IChangeDetector.


Member Data Documentation

the angle is considered to be changed.

Definition at line 172 of file Utils.h.

Definition at line 170 of file Utils.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1