SDFeedHandler.h

Classes

SDFeedHandler -- (full description)

class SDFeedHandler

Interface

Public Members
SDFeedHandler()
SDFeedHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDFeedHandler(const SDFeedHandler &other)
~SDFeedHandler()
SDFeedHandler &operator=(const SDFeedHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &row)
void fill(const Record &row, Int antennaId, Int spwinId, const Vector<Int> &stokes)
Int feedId()
Int numReceptors()
Private Members
void stokesToPolType(const Vector<Int> &stokes, Vector<String> &polType)
void clearAll()
void clearRow()
void initAll(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void initRow(Vector<Bool> &handledCols, const Record &row)

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

SDFeedHandler()

default ctor is not attached to a MS and hence is useless until attached

SDFeedHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)

attach this to a MS - no columns are explicitly handled here

SDFeedHandler(const SDFeedHandler &other)

copy ctor

~SDFeedHandler()

SDFeedHandler &operator=(const SDFeedHandler &other)

assignment operator, uses copy semantics

void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)

attach to a MS, the handledCols and row arguments are ignored here

void resetRow(const Record &row)

reset internals given indicated row, use the same MS

void fill(const Record &row, Int antennaId, Int spwinId, const Vector<Int> &stokes)

fill - a new row is added only when necessary

Int feedId()

get the current feed ID

Int numReceptors()

the current NUM_RECEPTORS value

void stokesToPolType(const Vector<Int> &stokes, Vector<String> &polType)

get the polarization type from the stokes vector

void clearAll()

cleanup everything

void clearRow()

void initAll(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)

initialize everything

void initRow(Vector<Bool> &handledCols, const Record &row)

initialize things which depend on row