casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
casa::IChangeDetector Struct Reference

#include <Utils.h>

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

List of all members.

Public Member Functions

virtual Bool changed (const VisBuffer &vb, Int row) const =0 throw (AipsError)
 return True if a change occurs in the given row since the last call of update
virtual void update (const VisBuffer &vb, Int row)=0 throw (AipsError)
 start looking for a change from the given row of the VisBuffer
virtual void reset ()=0 throw (AipsError)
 reset to the state which exists just after construction
Bool changed (const VisBuffer &vb) const throw (AipsError)
 some derived methods, which use the abstract virtual function changed(vb,row)
Bool changedBuffer (const VisBuffer &vb, Int row1, Int &row2) const throw (AipsError)
 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).

Protected Member Functions

virtual ~IChangeDetector () throw (AipsError)
 a virtual destructor to make the compiler happy

Detailed Description

Definition at line 119 of file Utils.h.


Constructor & Destructor Documentation

virtual casa::IChangeDetector::~IChangeDetector ( ) throw (AipsError) [protected, virtual]

a virtual destructor to make the compiler happy


Member Function Documentation

virtual Bool casa::IChangeDetector::changed ( const VisBuffer vb,
Int  row 
) const throw (AipsError) [pure virtual]

return True if a change occurs in the given row since the last call of update

Implemented in casa::ParAngleChangeDetector.

Bool casa::IChangeDetector::changed ( const VisBuffer vb) const throw (AipsError)

some derived methods, which use the abstract virtual function changed(vb,row)

return True if a change occurs somewhere in the buffer

Bool casa::IChangeDetector::changedBuffer ( const VisBuffer vb,
Int  row1,
Int row2 
) const throw (AipsError)

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

The row number, where the change occurs is returned in the row2 parameter

virtual void casa::IChangeDetector::reset ( ) throw (AipsError) [pure virtual]

reset to the state which exists just after construction

Implemented in casa::ParAngleChangeDetector.

virtual void casa::IChangeDetector::update ( const VisBuffer vb,
Int  row 
) throw (AipsError) [pure virtual]

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

Implemented in casa::ParAngleChangeDetector.


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