SDPointingHandler.h
Classes
- SDPointingHandler -- (full description)
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)
or
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- SomeClass
- SomeOtherClass
- some concept
Etymology
Synopsis
Example
Motivation
Template Type Argument Requirements (T)
Thrown Exceptions
To Do
- add this feature
- fix this bug
- start discussion of this possible extension
Member Description
default ctor is not attached to a MS and hence is useless until attached
attach this to a MS, mark fields row which are handled here
copy ctor
SDPointingHandler &operator=(const SDPointingHandler &other)
assignment operator, uses copy semantics
attach to a MS, mark fields in row which are handled here
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
convenience functions for use when filling the FIELD table, which is mostly
just a clone of this table for SD data
Double time()
cleanup everything
cleanup things which depend on the row
initialize everything
void initRow(Vector<Bool> &handledCols, const Record &row)
initialize everythign which depends on row