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 | Friends
casa::CalCache Class Reference

#include <CalCache.h>

Inheritance diagram for casa::CalCache:
casa::PlotMSCacheBase

List of all members.

Public Member Functions

 CalCache (PlotMSApp *parent)
 Constructor which takes parent PlotMS.
virtual ~CalCache ()
 Destructor.
PlotMSCacheBase::Type cacheType ()
 Identify myself.
Bool parsAreComplex ()
 Is the underlying table complex?
Matrix< Int > & chanAveBounds (Int spw)
 Access to channel averaging bounds.
virtual String polname (Int ipol)
 ...not yet CAL-specific...

Protected Member Functions

virtual void loadIt (vector< PMS::Axis > &loadAxes, vector< PMS::DataColumn > &loadData, PlotMSCacheThread *thread=NULL)
 CAL-specific loadIt method.

Private Member Functions

 CalCache (const CalCache &)
 Forbid copy for now.
void setUpCalIter (const String &calname, const PlotMSSelection &selection, Bool readonly=True, Bool chanselect=True, Bool corrselect=True)
 Setup the CalIter.
void countChunks (ROCTIter &ci, PlotMSCacheThread *thread)
 Count the chunks required in the cache.
void loadCalChunks (ROCTIter &ci, const vector< PMS::Axis > loadAxes, PlotMSCacheThread *thread)
 Trap attempt to use to much memory (too many points) void trapExcessVolume(map<PMS::Axis,Bool> pendingLoadAxes);.
void loadCalAxis (ROCTIter &cti, Int chunk, PMS::Axis axis)
 Loads the specific axis/metadata into the cache using the given VisBuffer.
virtual void flagToDisk (const PlotMSFlagging &flagging, Vector< Int > &chunks, Vector< Int > &relids, Bool flag, PlotMSIndexer *indexer)
 Set flags in the CalTable.

Private Attributes

Vector< Matrix< Int > > chanAveBounds_p
 A container for channel averaging bounds.
Vector< IntnVBPerAve_
 Provisional flagging helpers.
String basis_
 The polarization basis.
ROCTIterci_p
 VisIterator pointer.
CTIterwci_p
Bool parsAreComplex_
 Is parameter column complex?

Friends

class PlotMSIndexer
 Friend class declarations.

Detailed Description

Definition at line 49 of file CalCache.h.


Constructor & Destructor Documentation

Constructor which takes parent PlotMS.

virtual casa::CalCache::~CalCache ( ) [virtual]

Destructor.

casa::CalCache::CalCache ( const CalCache ) [private]

Forbid copy for now.


Member Function Documentation

Identify myself.

Implements casa::PlotMSCacheBase.

Definition at line 63 of file CalCache.h.

References casa::PlotMSCacheBase::CAL.

Access to channel averaging bounds.

Definition at line 69 of file CalCache.h.

References chanAveBounds_p.

void casa::CalCache::countChunks ( ROCTIter ci,
PlotMSCacheThread thread 
) [private]

Count the chunks required in the cache.

virtual void casa::CalCache::flagToDisk ( const PlotMSFlagging flagging,
Vector< Int > &  chunks,
Vector< Int > &  relids,
Bool  flag,
PlotMSIndexer indexer 
) [private, virtual]

Set flags in the CalTable.

Implements casa::PlotMSCacheBase.

void casa::CalCache::loadCalAxis ( ROCTIter cti,
Int  chunk,
PMS::Axis  axis 
) [private]

Loads the specific axis/metadata into the cache using the given VisBuffer.

void casa::CalCache::loadCalChunks ( ROCTIter ci,
const vector< PMS::Axis >  loadAxes,
PlotMSCacheThread thread 
) [private]

Trap attempt to use to much memory (too many points) void trapExcessVolume(map<PMS::Axis,Bool> pendingLoadAxes);.

Loop over VisIter, filling the cache

virtual void casa::CalCache::loadIt ( vector< PMS::Axis > &  loadAxes,
vector< PMS::DataColumn > &  loadData,
PlotMSCacheThread thread = NULL 
) [protected, virtual]

CAL-specific loadIt method.

Implements casa::PlotMSCacheBase.

Is the underlying table complex?

Definition at line 66 of file CalCache.h.

References parsAreComplex_.

virtual String casa::CalCache::polname ( Int  ipol) [virtual]

...not yet CAL-specific...

(or ever?) Set up indexing for the plot void setUpIndexer(PMS::Axis iteraxis=PMS::SCAN, Bool globalXRange=False, Bool globalYRange=False);

Implements casa::PlotMSCacheBase.

void casa::CalCache::setUpCalIter ( const String calname,
const PlotMSSelection selection,
Bool  readonly = True,
Bool  chanselect = True,
Bool  corrselect = True 
) [private]

Setup the CalIter.


Friends And Related Function Documentation

friend class PlotMSIndexer [friend]

Friend class declarations.

Reimplemented from casa::PlotMSCacheBase.

Definition at line 52 of file CalCache.h.


Member Data Documentation

The polarization basis.

Definition at line 127 of file CalCache.h.

A container for channel averaging bounds.

Definition at line 121 of file CalCache.h.

Referenced by chanAveBounds().

VisIterator pointer.

Definition at line 130 of file CalCache.h.

Provisional flagging helpers.

Definition at line 124 of file CalCache.h.

Is parameter column complex?

Definition at line 134 of file CalCache.h.

Referenced by parsAreComplex().

Definition at line 131 of file CalCache.h.


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