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 <VLAT2.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::vi::VlatFunctor::VlatFunctor | ( | const String & | name, |
Int | precedence = 0 |
||
) | [inline] |
casa::vi::VlatFunctor::VlatFunctor | ( | Int | precedence = 0 | ) | [inline] |
virtual casa::vi::VlatFunctor::~VlatFunctor | ( | ) | [inline, virtual] |
static Bool casa::vi::VlatFunctor::byDecreasingPrecedence | ( | const VlatFunctor * | a, |
const VlatFunctor * | b | ||
) | [inline, static] |
Definition at line 88 of file VLAT2.h.
References id_p, and precedence_p.
virtual VlatFunctor* casa::vi::VlatFunctor::clone | ( | ) | [inline, virtual] |
Reimplemented in casa::vi::VlatFunctor1< Ret, Arg >, and casa::vi::VlatFunctor0< Ret, VbType >.
Definition at line 82 of file VLAT2.h.
References VlatFunctor().
VisBufferComponents::EnumType casa::vi::VlatFunctor::getId | ( | ) | const [inline] |
virtual void casa::vi::VlatFunctor::operator() | ( | VisBuffer * | ) | [virtual] |
Reimplemented in casa::vi::VlatFunctor1< Ret, Arg >, and casa::vi::VlatFunctor0< Ret, VbType >.
void casa::vi::VlatFunctor::setId | ( | VisBufferComponents::EnumType | id | ) | [inline] |
Definition at line 85 of file VLAT2.h.
References id_p.
Referenced by casa::vi::VLAT::FillerDictionary::add().
void casa::vi::VlatFunctor::setPrecedence | ( | Int | precedence | ) | [inline] |
Definition at line 86 of file VLAT2.h.
References precedence_p.
Definition at line 96 of file VLAT2.h.
Referenced by byDecreasingPrecedence(), getId(), and setId().
String casa::vi::VlatFunctor::name_p [private] |
Int casa::vi::VlatFunctor::precedence_p [private] |
Definition at line 98 of file VLAT2.h.
Referenced by byDecreasingPrecedence(), and setPrecedence().