SDHistoryHandler.h

Classes

SDHistoryHandler -- (full description)

class SDHistoryHandler

Interface

Public Members
SDHistoryHandler()
SDHistoryHandler(MeasurementSet &ms, const Vector<Bool> &handledCols, const Record &row)
SDHistoryHandler(const SDHistoryHandler &other)
~SDHistoryHandler()
SDHistoryHandler &operator=(const SDHistoryHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &row)
void fill(const Record& row, Int observationId, const String &message, const String &priority)
Private Members
void clearAll()
void clearRow()
void initAll(MeasurementSet &ms, const Vector<Bool> &handledCols, const Record &row)
void initRow(const 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

SDHistoryHandler()

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

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

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

SDHistoryHandler(const SDHistoryHandler &other)

copy ctor

~SDHistoryHandler()

SDHistoryHandler &operator=(const SDHistoryHandler &other)

assignment operator, uses copy semantics

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

attach to a MS

void resetRow(const Record &row)

reset internals given indicated row, use the same MS

void fill(const Record& row, Int observationId, const String &message, const String &priority)

fill - a new row is added on each call, the message time stamp is the current time

void clearAll()

cleanup everything

void clearRow()

clean up row-dependent stuff

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

initialize everything

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

initialize stuff which depends on the row