SDPointingHandler.h

Classes

SDPointingHandler -- (full description)

class SDPointingHandler

Interface

Public Members
SDPointingHandler()
SDPointingHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDPointingHandler(const SDPointingHandler &other)
~SDPointingHandler()
SDPointingHandler &operator=(const SDPointingHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &)
void fill(const Record &row, Int antennaId, Double time, const Vector<Double> &timeRange, const MDirection &direction, const MeasFrame &frame)
Int nrow()
const String &name()
Int directionRefType()
const Matrix<Double> &directionPoly()
Double time()
Private Members
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

SDPointingHandler()

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

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

attach this to a MS, mark fields row which are handled here

SDPointingHandler(const SDPointingHandler &other)

copy ctor

~SDPointingHandler()

SDPointingHandler &operator=(const SDPointingHandler &other)

assignment operator, uses copy semantics

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

attach to a MS, mark fields in row which are handled here

void resetRow(const Record &)

reset internals given indicated row, use the same MS

void fill(const Record &row, Int antennaId, Double time, const Vector<Double> &timeRange, const MDirection &direction, const MeasFrame &frame)

fill - a new row is added when a) the name changes b) the time changes such that it would be outside of the new interval when added to the old interval (i.e. intervals do not overlap) c) the direction changes d) the antennaId changes There is no look-back to see if a previous row could be re-used

Int nrow()

convenience functions for use when filling the FIELD table, which is mostly just a clone of this table for SD data

const String &name()

Int directionRefType()

const Matrix<Double> &directionPoly()

Double time()

void clearAll()

cleanup everything

void clearRow()

cleanup things which depend on the row

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

initialize everything

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

initialize everythign which depends on row