CalHistoryBuffer.h

Classes

CalHistoryBuffer -- CalHistoryBuffer: Calibration table cal_history buffer (full description)

class CalHistoryBuffer

Interface

Public Members
CalHistoryBuffer()
CalHistoryBuffer (CalIterBase& calIter)
virtual ~CalHistoryBuffer()
virtual void invalidate()
virtual void append (CalTable& calTable)
Vector<String>& calParms()
Vector<String>& calTables()
Vector<String>& calSelect()
Vector<String>& calNotes()
Protected Members
virtual CalHistoryColumns* newCalHistoryCol (CalTable& calTable)
virtual CalHistoryColumns* calHistCol()
Bool connectedToIter()

Description

Prerequisite

Etymology

From "calibration history sub-table" and "buffer"

Synopsis

The CalHistoryBuffer class holds a buffer for the cal_history sub-table, optionally connected to a calibration table iterator (of base type CalIterBase).

Example


 

Motivation

Encapsulate calibration table cal_history data buffer.

To Do

Member Description

CalHistoryBuffer()

Default constructor. No connection to an underlying calibration table iterator in this case.

CalHistoryBuffer (CalIterBase& calIter)

Construct from a calibration table iterator. The calibration buffer will remain synchronized with the iterator.

virtual ~CalHistoryBuffer()

Default destructor

virtual void invalidate()

Invalidate the current calibration buffer. This signals that a re-read is required as the iterator has advanced.

virtual void append (CalTable& calTable)

Write the current buffer at the end of a specified cal_history table (NYI)

Vector<String>& calParms()

Data field accessors

Vector<String>& calTables()

Vector<String>& calSelect()

Vector<String>& calNotes()

virtual CalHistoryColumns* newCalHistoryCol (CalTable& calTable)

Factory method to create a columns accessor object of the appropriate type

virtual CalHistoryColumns* calHistCol()

Access to the columns accessor object

Bool connectedToIter()

Is the buffer connected to an underlying iterator ?