casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
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) 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.

Detailed Description

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

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

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

Definition at line 148 of file Utils.h.


Constructor & Destructor Documentation

The default constructor.

Definition at line 154 of file Utils.h.

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 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.

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.


Member Data Documentation

the angle is considered to be changed.

Definition at line 151 of file Utils.h.

Definition at line 149 of file Utils.h.


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