casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
GBTDAPFiller Class Reference

A generic filler for GBT Data Associated Parameter FITS files. More...

#include <GBTDAPFiller.h>

Inheritance diagram for GBTDAPFiller:
GBTDAPFillerBase GBTAntennaDAPFiller GBTLO1DAPFiller

List of all members.

Public Member Functions

 GBTDAPFiller (const String &device, Table &parent)
 makes new one if not already present in parent, otherwise it opens that one up as is
virtual ~GBTDAPFiller ()
const Stringdevice () const
 the device name used at construction
virtual Int prepare (const String &fileName, const String &manager, const String &sampler, const MVTime &startTime)
 prepare the filler to use the indicated manager, sampler, and filename starting with the given startTime.
virtual void fill ()
 fill to the standard table attached to the parent used at construction
void flush ()
 flush this to disk

Protected Member Functions

Table & tab ()
 derived classes need read-only access to the underlying table

Private Member Functions

void attachColumns ()
 attach the table columns
 GBTDAPFiller ()
 unavailable, undefined
 GBTDAPFiller (const GBTDAPFiller &)
GBTDAPFilleroperator= (const GBTDAPFiller &)

Private Attributes

String device_p
Table * tab_p
TableColumn samplerCol_p
 samper, manager and time columns
TableColumn managerCol_p
TableColumn timeCol_p
TableColumn intervalCol_p
PtrBlock< TableRow * > daprow_p
 The is where the TableRow appropriate for each DAP is stored.
Int ndap_p
 and how many of them are really in use at any given point

Detailed Description

A generic filler for GBT Data Associated Parameter FITS files.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

This fills GBT DAP FITS file contents into a table which is part of an AIPS++ MeasurementSet.

Synopsis

Example

Motivation

It is necessary to fill GBT DAP files to a MS.

Thrown Exceptions

Definition at line 82 of file GBTDAPFiller.h.


Constructor & Destructor Documentation

GBTDAPFiller::GBTDAPFiller ( const String device,
Table &  parent 
)

makes new one if not already present in parent, otherwise it opens that one up as is

virtual GBTDAPFiller::~GBTDAPFiller ( ) [virtual]

unavailable, undefined

GBTDAPFiller::GBTDAPFiller ( const GBTDAPFiller ) [private]

Member Function Documentation

void GBTDAPFiller::attachColumns ( ) [private]

attach the table columns

const String& GBTDAPFiller::device ( ) const [inline, virtual]

the device name used at construction

Implements GBTDAPFillerBase.

Definition at line 92 of file GBTDAPFiller.h.

References device_p.

virtual void GBTDAPFiller::fill ( ) [virtual]

fill to the standard table attached to the parent used at construction

Implements GBTDAPFillerBase.

Reimplemented in GBTLO1DAPFiller, and GBTAntennaDAPFiller.

void GBTDAPFiller::flush ( ) [inline]

flush this to disk

Definition at line 102 of file GBTDAPFiller.h.

References tab_p.

GBTDAPFiller& GBTDAPFiller::operator= ( const GBTDAPFiller ) [private]
virtual Int GBTDAPFiller::prepare ( const String fileName,
const String manager,
const String sampler,
const MVTime &  startTime 
) [virtual]

prepare the filler to use the indicated manager, sampler, and filename starting with the given startTime.

The return value is the ID of this sampler/manager combo. A negative return value indicates a problem.

Reimplemented from GBTDAPFillerBase.

Reimplemented in GBTLO1DAPFiller, and GBTAntennaDAPFiller.

Table& GBTDAPFiller::tab ( ) [inline, protected]

derived classes need read-only access to the underlying table

Definition at line 106 of file GBTDAPFiller.h.

References tab_p.


Member Data Documentation

PtrBlock<TableRow *> GBTDAPFiller::daprow_p [private]

The is where the TableRow appropriate for each DAP is stored.

Definition at line 117 of file GBTDAPFiller.h.

Definition at line 109 of file GBTDAPFiller.h.

Referenced by device().

TableColumn GBTDAPFiller::intervalCol_p [private]

Definition at line 114 of file GBTDAPFiller.h.

TableColumn GBTDAPFiller::managerCol_p [private]

Definition at line 114 of file GBTDAPFiller.h.

Int GBTDAPFiller::ndap_p [private]

and how many of them are really in use at any given point

Reimplemented from GBTDAPFillerBase.

Definition at line 119 of file GBTDAPFiller.h.

TableColumn GBTDAPFiller::samplerCol_p [private]

samper, manager and time columns

Definition at line 114 of file GBTDAPFiller.h.

Table* GBTDAPFiller::tab_p [private]

Definition at line 111 of file GBTDAPFiller.h.

Referenced by flush(), and tab().

TableColumn GBTDAPFiller::timeCol_p [private]

Definition at line 114 of file GBTDAPFiller.h.


The documentation for this class was generated from the following file: