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

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

VisBufferComponents::EnumType id_p
String name_p
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 68 of file VLAT.h.


Constructor & Destructor Documentation

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

Definition at line 73 of file VLAT.h.

Referenced by clone().

casa::asyncio::VlatFunctor::VlatFunctor ( Int  precedence = 0) [inline]

Definition at line 76 of file VLAT.h.

virtual casa::asyncio::VlatFunctor::~VlatFunctor ( ) [inline, virtual]

Definition at line 79 of file VLAT.h.


Member Function Documentation

static Bool casa::asyncio::VlatFunctor::byDecreasingPrecedence ( const VlatFunctor a,
const VlatFunctor b 
) [inline, static]

Definition at line 88 of file VLAT.h.

References id_p, and precedence_p.

virtual VlatFunctor* casa::asyncio::VlatFunctor::clone ( ) [inline, virtual]

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

Definition at line 82 of file VLAT.h.

References VlatFunctor().

Definition at line 84 of file VLAT.h.

References id_p.

virtual void casa::asyncio::VlatFunctor::operator() ( VisBuffer ) [virtual]

Definition at line 85 of file VLAT.h.

References id_p.

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

void casa::asyncio::VlatFunctor::setPrecedence ( Int  precedence) [inline]

Definition at line 86 of file VLAT.h.

References precedence_p.


Member Data Documentation

Definition at line 96 of file VLAT.h.

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

Definition at line 97 of file VLAT.h.

Definition at line 98 of file VLAT.h.

Referenced by byDecreasingPrecedence(), and setPrecedence().


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