VlaSink.h

Classes

VlaSink -- (full description)

class VlaSink

Interface

Public Members
VlaSink()
virtual ~VlaSink()
Int write(const Char* buffer)
virtual void setConstraints(const String& filename)
void fillFromBuffer(const Char* buffer)
Protected Members
virtual Int writeVisibilityRecord(const Char* buffer) = 0
Int ok()
void allocateFlags()
static uShort vlaCompNibble2uShort(const Char* s, uInt nibble)
static Char vlaByte2Char(const Char* s)
static uChar vlaByte2uChar(const Char* s)
static Short vlaByte2Short(const Char* s)
static uShort vlaByte2uShort(const Char* s)
static uShort vlaI22uShort(const Char* s)
static Short vlaI22Short(const Char* s)
static Int vlaI42Int(const Char* s)
static uInt vlaI42uInt(const Char* s)
static String vlaAS2String(const Char* s, uInt nBytes)
static Double vlaDP2Double(const Char* s)
static Float vlaFP2Float(const Char* s)
Private Members
Int getCDAOffset(Int vlaIF)
Int getCDAHeader(Int vlaIF)
Int getCDAData(Int vlaIF)
void assignADA(AntennaDataArea& ada, const Char* buffer)
void assignContinuum(CorrelatorDataArea& cda, const Char* buffer)
Int assignContinuumDatum(VLAContinuumDatum& datum, const Char* buffer)
void assignSpectralLine(CorrelatorDataArea& cda, const Char* buffer, const Int sizeBRH, const Int sizeBR)
Bool isContinuum()
Bool isHolography()
void setFlags(RCAFlags& rca, Char* buffer)
void setFlags(SDAFlags& sda, Char* buffer)
void setFlags(ADAFlags& ada, Char* buffer)
void setFlags(ContinuumCDAFlags& cda, Char* buffer)
void setFlags(SpectralLineCDAFlags& cda, Char* buffer)
void setFlags(RCAFlags& rca, Bool flag)
void setFlags(SDAFlags& rca, Bool flag)
void setFlags(ADAFlags& rca, Bool flag)
void setFlags(ContinuumCDAFlags& rca, Bool flag)
void setFlags(SpectralLineCDAFlags& rca, Bool flag)
void initFlags(RCAFlags& rca, Bool flag)
void initFlags(SDAFlags& sda, Bool flag)
void initFlags(ADAFlags& ada, Bool flag)
void initFlags(ContinuumCDAFlags& cda, Bool flag)
void initFlags(SpectralLineCDAFlags& cda, Bool flag)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

VlaSink()

virtual ~VlaSink()

Int write(const Char* buffer)

Returns the number of bytes written, if bytes < 0 then the time is past that of the stop time.

virtual void setConstraints(const String& filename)

Set the constraints on what is written out

void fillFromBuffer(const Char* buffer)

Given the logical record load the data into VLA specific structures Probably should be protected but made public just in case.

virtual Int writeVisibilityRecord(const Char* buffer) = 0

Writes the visibility record, depends on class type

Int ok()

If the record is OK returns 1, -1 if past stop time, 0 otherwise

void allocateFlags()

static uShort vlaCompNibble2uShort(const Char* s, uInt nibble)

These routines provide the modcomp to IEEE conversion

static Char vlaByte2Char(const Char* s)

static uChar vlaByte2uChar(const Char* s)

static Short vlaByte2Short(const Char* s)

static uShort vlaByte2uShort(const Char* s)

static uShort vlaI22uShort(const Char* s)

static Short vlaI22Short(const Char* s)

static Int vlaI42Int(const Char* s)

static uInt vlaI42uInt(const Char* s)

static String vlaAS2String(const Char* s, uInt nBytes)

static Double vlaDP2Double(const Char* s)

static Float vlaFP2Float(const Char* s)

Int getCDAOffset(Int vlaIF)

Int getCDAHeader(Int vlaIF)

Int getCDAData(Int vlaIF)

void assignADA(AntennaDataArea& ada, const Char* buffer)

void assignContinuum(CorrelatorDataArea& cda, const Char* buffer)

Int assignContinuumDatum(VLAContinuumDatum& datum, const Char* buffer)

void assignSpectralLine(CorrelatorDataArea& cda, const Char* buffer, const Int sizeBRH, const Int sizeBR)

Bool isContinuum()

Bool isHolography()

void setFlags(RCAFlags& rca, Char* buffer)

void setFlags(SDAFlags& sda, Char* buffer)

void setFlags(ADAFlags& ada, Char* buffer)

void setFlags(ContinuumCDAFlags& cda, Char* buffer)

void setFlags(SpectralLineCDAFlags& cda, Char* buffer)

void setFlags(RCAFlags& rca, Bool flag)

void setFlags(SDAFlags& rca, Bool flag)

void setFlags(ADAFlags& rca, Bool flag)

void setFlags(ContinuumCDAFlags& rca, Bool flag)

void setFlags(SpectralLineCDAFlags& rca, Bool flag)

void initFlags(RCAFlags& rca, Bool flag)

void initFlags(SDAFlags& sda, Bool flag)

void initFlags(ADAFlags& ada, Bool flag)

void initFlags(ContinuumCDAFlags& cda, Bool flag)

void initFlags(SpectralLineCDAFlags& cda, Bool flag)