SDSpWinHandler.h

Classes

SDSpWindowHandler -- (full description)

class SDSpWindowHandler

Interface

Public Members
SDSpWindowHandler()
SDSpWindowHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDSpWindowHandler(const SDSpWindowHandler &other)
~SDSpWindowHandler()
SDSpWindowHandler &operator=(const SDSpWindowHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &)
void fill(const Record &row, const Vector<Double> &frequency, Double refFrequency, Double originalFreqDelt, Int freqRefType)
Int spWindowId()
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

SDSpWindowHandler()

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

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

attach this to a MS, marking fields in row which are explicitly handled here

SDSpWindowHandler(const SDSpWindowHandler &other)

copy ctor

~SDSpWindowHandler()

SDSpWindowHandler &operator=(const SDSpWindowHandler &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 &)

reset internals given indicated row, use the same MS; just resets the id pointer

void fill(const Record &row, const Vector<Double> &frequency, Double refFrequency, Double originalFreqDelt, Int freqRefType)

fill - a circular buffer of last 100 spectral windows is checked

Int spWindowId()

get the current spWindow ID

void clearAll()

cleanup everything

void clearRow()

clean up items related to the row

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

initialize everything

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

initialize the stuff dependent on the row