casa
$Rev:20696$
|
VlatFunctor is an abstract class for functor objects used to encapsulate the various filling methods (e.g., fillVis, fillAnt1, etc.). More...
#include <VLAT.h>
Public Member Functions | |
VlatFunctor (const String &name, Int precedence=0) | |
VlatFunctor (Int precedence=0) | |
virtual | ~VlatFunctor () |
virtual void | operator() (VisBuffer *) |
virtual VlatFunctor * | clone () |
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 |
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.
casa::asyncio::VlatFunctor::VlatFunctor | ( | const String & | name, |
Int | precedence = 0 |
||
) | [inline] |
casa::asyncio::VlatFunctor::VlatFunctor | ( | Int | precedence = 0 | ) | [inline] |
virtual casa::asyncio::VlatFunctor::~VlatFunctor | ( | ) | [inline, virtual] |
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().
VisBufferComponents::EnumType casa::asyncio::VlatFunctor::getId | ( | ) | const [inline] |
virtual void casa::asyncio::VlatFunctor::operator() | ( | VisBuffer * | ) | [virtual] |
Reimplemented in casa::asyncio::VlatFunctor1< Ret, Arg >, and casa::asyncio::VlatFunctor0< Ret, VbType >.
void casa::asyncio::VlatFunctor::setId | ( | VisBufferComponents::EnumType | id | ) | [inline] |
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.
Definition at line 96 of file VLAT.h.
Referenced by byDecreasingPrecedence(), getId(), and setId().
String casa::asyncio::VlatFunctor::name_p [private] |
Int casa::asyncio::VlatFunctor::precedence_p [private] |
Definition at line 98 of file VLAT.h.
Referenced by byDecreasingPrecedence(), and setPrecedence().