casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
casa::asyncio::VlatFunctor Class Reference

VlatFunctor is an abstract class for functor objects used to encapsulate the various filling methods (e.g., fillVis, fillAnt1, etc.). More...

#include <VLAT.h>

Inheritance diagram for casa::asyncio::VlatFunctor:
casa::asyncio::VlatFunctor0< Ret, VbType > casa::asyncio::VlatFunctor1< Ret, Arg >

Public Member Functions

 VlatFunctor (const casacore::String &name, casacore::Int precedence=0)
 
 VlatFunctor (casacore::Int precedence=0)
 
virtual ~VlatFunctor ()
 
virtual void operator() (VisBuffer *)
 
virtual VlatFunctorclone ()
 
VisBufferComponents::EnumType getId () const
 
void setId (VisBufferComponents::EnumType id)
 
void setPrecedence (casacore::Int precedence)
 

Static Public Member Functions

static casacore::Bool byDecreasingPrecedence (const VlatFunctor *a, const VlatFunctor *b)
 

Private Attributes

VisBufferComponents::EnumType id_p
 
casacore::String name_p
 
casacore::Int precedence_p
 

Detailed Description

VlatFunctor is an abstract class for functor objects used to encapsulate the various filling methods (e.g., fillVis, fillAnt1, etc.).

This allows the various functions to be put into a list of fill methods that are used by the VLAT everytime the VLAT's visibliity iterator is advanced. There are two subclasses VlatFunctor0 and VlatFunctor1 which support nullar and unary fill methods. The fillers for visibility-related data (e.g., fillVis and fillVisCube) take a parameter to indicate which sort of visibility (e.g., actual, model, corrected) is to be filled.

Definition at line 74 of file VLAT.h.

Constructor & Destructor Documentation

casa::asyncio::VlatFunctor::VlatFunctor ( const casacore::String name,
casacore::Int  precedence = 0 
)
inline

Definition at line 79 of file VLAT.h.

Referenced by clone().

casa::asyncio::VlatFunctor::VlatFunctor ( casacore::Int  precedence = 0)
inline

Definition at line 82 of file VLAT.h.

virtual casa::asyncio::VlatFunctor::~VlatFunctor ( )
inlinevirtual

Definition at line 85 of file VLAT.h.

Member Function Documentation

static casacore::Bool casa::asyncio::VlatFunctor::byDecreasingPrecedence ( const VlatFunctor a,
const VlatFunctor b 
)
inlinestatic

Definition at line 94 of file VLAT.h.

References id_p, and precedence_p.

virtual VlatFunctor* casa::asyncio::VlatFunctor::clone ( )
inlinevirtual

Reimplemented in casa::asyncio::VlatFunctor1< Ret, Arg >, and casa::asyncio::VlatFunctor0< Ret, VbType >.

Definition at line 88 of file VLAT.h.

References VlatFunctor().

VisBufferComponents::EnumType casa::asyncio::VlatFunctor::getId ( ) const
inline

Definition at line 90 of file VLAT.h.

References id_p.

virtual void casa::asyncio::VlatFunctor::operator() ( VisBuffer )
virtual
void casa::asyncio::VlatFunctor::setId ( VisBufferComponents::EnumType  id)
inline

Definition at line 91 of file VLAT.h.

References id_p.

Referenced by casa::asyncio::VLAT::FillerDictionary::add().

void casa::asyncio::VlatFunctor::setPrecedence ( casacore::Int  precedence)
inline

Definition at line 92 of file VLAT.h.

References precedence_p.

Member Data Documentation

VisBufferComponents::EnumType casa::asyncio::VlatFunctor::id_p
private

Definition at line 102 of file VLAT.h.

Referenced by byDecreasingPrecedence(), getId(), and setId().

casacore::String casa::asyncio::VlatFunctor::name_p
private

Definition at line 103 of file VLAT.h.

casacore::Int casa::asyncio::VlatFunctor::precedence_p
private

Definition at line 104 of file VLAT.h.

Referenced by byDecreasingPrecedence(), and setPrecedence().


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