casacore::SDPointingHandler Class Reference

#include <SDPointingHandler.h>

List of all members.

Public Member Functions

 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 ()
SDPointingHandleroperator= (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.
Int nrow ()
 convenience functions for use when filling the FIELD table, which is mostly just a clone of this table for SD data
const Stringname ()
Int directionRefType ()
const Matrix< Double > & directionPoly ()
Double time ()

Private Member Functions

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

Private Attributes

MSPointingmsPointing_p
MSPointingColumnsmsPointingCols_p
Double time_p
Int antId_p
MDirection direction_p
Matrix< DoubledirectionPoly_p
Vector< DoubledirectionRate_p
String name_p
Int rownr_p
MDirection::Ref dirColRef_p
RORecordFieldPtr< StringobjectField_p
RORecordFieldPtr< Array< Double > > pointingDirRateField_p
 these might come from an MS table this can just come from an MS v1 table
RORecordFieldPtr< DoubleintervalField_p
RORecordFieldPtr< DoubletimeField_p
RORecordFieldPtr< StringnameField_p
RORecordFieldPtr< BooltrackingField_p

Detailed Description

Intended use:

Internal or

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 89 of file SDPointingHandler.h.


Constructor & Destructor Documentation

casacore::SDPointingHandler::SDPointingHandler (  ) 

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

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

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

casacore::SDPointingHandler::SDPointingHandler ( const SDPointingHandler other  ) 

copy ctor

casacore::SDPointingHandler::~SDPointingHandler (  )  [inline]

Definition at line 101 of file SDPointingHandler.h.

References clearAll().


Member Function Documentation

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

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

void casacore::SDPointingHandler::clearAll (  )  [private]

cleanup everything

Referenced by ~SDPointingHandler().

void casacore::SDPointingHandler::clearRow (  )  [private]

cleanup things which depend on the row

const Matrix<Double>& casacore::SDPointingHandler::directionPoly (  )  [inline]

Definition at line 127 of file SDPointingHandler.h.

References directionPoly_p.

Int casacore::SDPointingHandler::directionRefType (  )  [inline]

Definition at line 126 of file SDPointingHandler.h.

References dirColRef_p, and casacore::MeasRef< Ms >::getType().

void casacore::SDPointingHandler::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

void casacore::SDPointingHandler::initAll ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize everything

void casacore::SDPointingHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize everythign which depends on row

const String& casacore::SDPointingHandler::name (  )  [inline]

Definition at line 125 of file SDPointingHandler.h.

References name_p.

Int casacore::SDPointingHandler::nrow (  )  [inline]

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

Definition at line 124 of file SDPointingHandler.h.

References rownr_p.

SDPointingHandler& casacore::SDPointingHandler::operator= ( const SDPointingHandler other  ) 

assignment operator, uses copy semantics

void casacore::SDPointingHandler::resetRow ( const Record  ) 

reset internals given indicated row, use the same MS

Double casacore::SDPointingHandler::time (  )  [inline]

Definition at line 128 of file SDPointingHandler.h.

References time_p.


Member Data Documentation

Definition at line 135 of file SDPointingHandler.h.

Definition at line 143 of file SDPointingHandler.h.

Referenced by directionRefType().

Definition at line 136 of file SDPointingHandler.h.

Definition at line 137 of file SDPointingHandler.h.

Referenced by directionPoly().

Definition at line 138 of file SDPointingHandler.h.

Definition at line 150 of file SDPointingHandler.h.

Definition at line 130 of file SDPointingHandler.h.

Definition at line 131 of file SDPointingHandler.h.

Definition at line 139 of file SDPointingHandler.h.

Referenced by name().

Definition at line 151 of file SDPointingHandler.h.

Definition at line 145 of file SDPointingHandler.h.

these might come from an MS table this can just come from an MS v1 table

Definition at line 149 of file SDPointingHandler.h.

Definition at line 141 of file SDPointingHandler.h.

Referenced by nrow().

Definition at line 133 of file SDPointingHandler.h.

Referenced by time().

Definition at line 150 of file SDPointingHandler.h.

Definition at line 152 of file SDPointingHandler.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1