casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
casa::refim::IChangeDetector Struct Referenceabstract

#include <Utils.h>

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

Public Member Functions

virtual casacore::Bool changed (const VisBuffer2 &vb, casacore::Int row) const =0
 return true if a change occurs in the given row since the last call of update More...
 
virtual void update (const VisBuffer2 &vb, casacore::Int row)=0
 start looking for a change from the given row of the VisBuffer More...
 
virtual void reset ()=0
 reset to the state which exists just after construction More...
 
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...
 

Protected Member Functions

virtual ~IChangeDetector ()
 a virtual destructor to make the compiler happy More...
 

Detailed Description

Definition at line 164 of file Utils.h.

Constructor & Destructor Documentation

virtual casa::refim::IChangeDetector::~IChangeDetector ( )
protectedvirtual

a virtual destructor to make the compiler happy

Member Function Documentation

virtual casacore::Bool casa::refim::IChangeDetector::changed ( const VisBuffer2 vb,
casacore::Int  row 
) const
pure virtual

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

Implemented in casa::refim::ParAngleChangeDetector.

casacore::Bool casa::refim::IChangeDetector::changed ( const VisBuffer2 vb) const

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

return true if a change occurs somewhere in the buffer

casacore::Bool casa::refim::IChangeDetector::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).

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

virtual void casa::refim::IChangeDetector::reset ( )
pure virtual

reset to the state which exists just after construction

Implemented in casa::refim::ParAngleChangeDetector.

virtual void casa::refim::IChangeDetector::update ( const VisBuffer2 vb,
casacore::Int  row 
)
pure virtual

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

Implemented in casa::refim::ParAngleChangeDetector.


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