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

A GBTDAPFiller for antenna DAPs. More...

#include <GBTAntennaDAPFiller.h>

Inheritance diagram for GBTAntennaDAPFiller:
GBTDAPFiller GBTDAPFillerBase

List of all members.

Public Member Functions

 GBTAntennaDAPFiller (const String &device, Table &parent)
 makes new one if not already present in parent, otherwise it opens that one up as is
virtual ~GBTAntennaDAPFiller ()
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
virtual const ROTableColumn & j2000RA ()
 Return the sky position information.
virtual const ROTableColumn & j2000DEC ()
virtual const ROTableColumn & time ()

Private Member Functions

void cleanup ()
 GBTAntennaDAPFiller ()
 unavailable, undefined
 GBTAntennaDAPFiller (const GBTAntennaDAPFiller &)
GBTAntennaDAPFilleroperator= (const GBTAntennaDAPFiller &)

Private Attributes

Table * skyTable_p
ROTableColumn j2000ra_p
ROTableColumn j2000dec_p
ROTableColumn time_p
Bool hasSkyPosition_p

Detailed Description

A GBTDAPFiller for antenna DAPs.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

This fills GBT DAP FITS file from the Antenna device into a subtable of the MS.

Synopsis

Example

Motivation

It is necessary to have access to the sky position information during each scan for use in filling other parts of the MS.

Thrown Exceptions

Definition at line 74 of file GBTAntennaDAPFiller.h.


Constructor & Destructor Documentation

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

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

unavailable, undefined


Member Function Documentation

void GBTAntennaDAPFiller::cleanup ( ) [private]
virtual void GBTAntennaDAPFiller::fill ( ) [virtual]

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

Reimplemented from GBTDAPFiller.

virtual const ROTableColumn& GBTAntennaDAPFiller::j2000DEC ( ) [inline, virtual]

Definition at line 95 of file GBTAntennaDAPFiller.h.

References j2000dec_p.

virtual const ROTableColumn& GBTAntennaDAPFiller::j2000RA ( ) [inline, virtual]

Return the sky position information.

These columns are NOT attached until the DAP has been filled. They will also not be attached if the skyPosition sampler is not know to the filler. Only the most recently filled skyPosition information will be available.

Definition at line 94 of file GBTAntennaDAPFiller.h.

References j2000ra_p.

GBTAntennaDAPFiller& GBTAntennaDAPFiller::operator= ( const GBTAntennaDAPFiller ) [private]
virtual Int GBTAntennaDAPFiller::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 GBTDAPFiller.

virtual const ROTableColumn& GBTAntennaDAPFiller::time ( ) [inline, virtual]

Definition at line 96 of file GBTAntennaDAPFiller.h.

References time_p.


Member Data Documentation

Definition at line 102 of file GBTAntennaDAPFiller.h.

ROTableColumn GBTAntennaDAPFiller::j2000dec_p [private]

Definition at line 100 of file GBTAntennaDAPFiller.h.

Referenced by j2000DEC().

ROTableColumn GBTAntennaDAPFiller::j2000ra_p [private]

Definition at line 100 of file GBTAntennaDAPFiller.h.

Referenced by j2000RA().

Definition at line 99 of file GBTAntennaDAPFiller.h.

ROTableColumn GBTAntennaDAPFiller::time_p [private]

Definition at line 100 of file GBTAntennaDAPFiller.h.

Referenced by time().


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