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

#include <VisBufferImplAsync2.h>

Inheritance diagram for casa::vi::VisBufferImplAsync2:
casa::vi::VisBufferImpl2 casa::vi::VisBuffer2

List of all members.

Public Member Functions

 ~VisBufferImplAsync2 ()
 VisBufferAsync2 (const VisBuffer& vb);.
const MsIterInfomsIterInfo () const

Protected Member Functions

 VisBufferImplAsync2 ()
 The constructors are not public because creation should be performed by a factory object (e.g., VisBufferAutoPtr).
 VisBufferImplAsync2 (VisibilityIterator2 &iter, Bool isWritable)
void construct ()
 void attachToVisIter(VisibilityIterator2 & iter); void checkVisIter (const char * func, const char * file, int line, const char * extra = "") const; void clear ();

Private Attributes

Bool allBeamOffsetsZero_p
 
virtual void copyAsyncValues (const VisBufferAsync2 & other);
   virtual void copyCache (const VisBuffer2 & other, Bool force);
   template<typename T> void copyVector (const Vector<T> & from, Vector<T> & to);
   Vector<MDirection>& fillDirection1();
   Vector<MDirection>& fillDirection2();
   void fillFrom (const VisBufferAsync2 & other);
   MDirection & fillPhaseCenter();
   Bool getAllBeamOffsetsZero () const;
   const Vector <String> & getAntennaMounts () const;
   const Cube <RigidVector <Double, 2> > & getBeamOffsets () const;
   const MeasurementSet & getMs () const;
   Int getNSpw () const;
   MDirection getPhaseCenter () const;
   const Cube <Double> & getReceptorAngles () const;
   void setAngleInfo (Bool allBeamOffsetsZero,
                      const Vector<String> antennaMounts,
                      Cube<RigidVector<Double, 2> > beamOffsets,
                      const Cube<Double> & receptorAngles);
   void initializeScalars ();

///void setDataDescriptionId (Int id); void setFilling (Bool isFilling); void setLsrInfo (const Block <Int> & channelGroupNumber, const Block <Int> & channelIncrement, const Block <Int> & channelStart, const Block <Int> & channelWidth, const MPosition & observatoryPosition, const MDirection & phaseCenter, Bool velocitySelection); void setMeasurementSet (const MeasurementSet & ms); void setMeasurementSetId (Int id, bool isNew); void setMEpoch (const MEpoch & mEpoch); void setMSD (const MSDerivedValues & msd); void setNAntennas (Int); void setNCoh (Int); void setNSpw (Int); void setNewEntityFlags (bool newArrayId, bool newFieldId, bool newSpectralWindow); void setPolarizationId (Int); void setNRowChunk (Int); void setReceptor0Angle (const Vector<Float> & receptor0Angle); void setRowIds (const Vector<uInt> & rowIds); void setSelectedNVisibilityChannels (const Vector<Int> & nVisibilityChannels); void setSelectedSpectralWindows (const Vector<Int> & spectralWindows); void setTopoFreqs (const Vector<Double> & lsrFreq, const Vector<Double> & selFreq_p); void setVisibilityShape (const IPosition & pvisibilityShape); void updateCoordInfo (const VisBuffer2 *, const Bool dirDependent=True);

Vector< StringantennaMounts_p
Vector< MDirectionazelCached_p
Double azelCachedTime_p
Cube< RigidVector< Double, 2 > > beamOffsets_p
Block< IntchannelGroupNumber_p
Block< IntchannelIncrement_p
Block< IntchannelStart_p
Block< IntchannelWidth_p
Vector< FloatfeedpaCached_p
 Int dataDescriptionId_p;.
Double feedpaCachedTime_p
Bool isFilling_p
Vector< DoublelsrFrequency_p
MEpoch mEpoch_p
const MeasurementSetmeasurementSet_p
ROMSColumnsmsColumns_p
MSDerivedValuesmsd_p
Int nAntennas_p
Int nCoh_p
Bool newArrayId_p
Bool newFieldId_p
Bool newSpectralWindow_p
Int nRowChunk_p
Int nSpw_p
MPosition observatoryPosition_p
 const ROScalarColumn<Int> * obsMFreqTypes_p; // [use]
Vector< FloatparangCached_p
Double parangCachedTime_p
Int polarizationId_p
Vector< Floatreceptor0Angle_p
Cube< DoublereceptorAngles_p
Vector< DoubleselFreq_p
Vector< IntselectedNVisibilityChannels_p
Vector< IntselectedSpectralWindows_p
Bool velSelection_p
IPosition visibilityShape_p

Friends

class Rovia_Test
class ViImplAsync2
class VisBufferAsync2Wrapper2
class VlaDatum
class VLAT

Detailed Description

Definition at line 79 of file VisBufferImplAsync2.h.


Constructor & Destructor Documentation

VisBufferAsync2 (const VisBuffer& vb);.

The constructors are not public because creation should be performed by a factory object (e.g., VisBufferAutoPtr).

The use of a factory makes it possible to fine tune at run time whether a VisBuffer or a VisBufferAsync2 is created.


Member Function Documentation

void attachToVisIter(VisibilityIterator2 & iter); void checkVisIter (const char * func, const char * file, int line, const char * extra = "") const; void clear ();


Friends And Related Function Documentation

friend class Rovia_Test [friend]

Definition at line 81 of file VisBufferImplAsync2.h.

friend class ViImplAsync2 [friend]

Definition at line 82 of file VisBufferImplAsync2.h.

friend class VisBufferAsync2Wrapper2 [friend]

Definition at line 83 of file VisBufferImplAsync2.h.

friend class VlaDatum [friend]

Definition at line 84 of file VisBufferImplAsync2.h.

friend class VLAT [friend]

Reimplemented from casa::vi::VisBufferImpl2.

Definition at line 85 of file VisBufferImplAsync2.h.


Member Data Documentation

virtual void copyAsyncValues (const VisBufferAsync2 & other);
   virtual void copyCache (const VisBuffer2 & other, Bool force);
   template<typename T> void copyVector (const Vector<T> & from, Vector<T> & to);
   Vector<MDirection>& fillDirection1();
   Vector<MDirection>& fillDirection2();
   void fillFrom (const VisBufferAsync2 & other);
   MDirection & fillPhaseCenter();
   Bool getAllBeamOffsetsZero () const;
   const Vector <String> & getAntennaMounts () const;
   const Cube <RigidVector <Double, 2> > & getBeamOffsets () const;
   const MeasurementSet & getMs () const;
   Int getNSpw () const;
   MDirection getPhaseCenter () const;
   const Cube <Double> & getReceptorAngles () const;
   void setAngleInfo (Bool allBeamOffsetsZero,
                      const Vector<String> antennaMounts,
                      Cube<RigidVector<Double, 2> > beamOffsets,
                      const Cube<Double> & receptorAngles);
   void initializeScalars ();

///void setDataDescriptionId (Int id); void setFilling (Bool isFilling); void setLsrInfo (const Block <Int> & channelGroupNumber, const Block <Int> & channelIncrement, const Block <Int> & channelStart, const Block <Int> & channelWidth, const MPosition & observatoryPosition, const MDirection & phaseCenter, Bool velocitySelection); void setMeasurementSet (const MeasurementSet & ms); void setMeasurementSetId (Int id, bool isNew); void setMEpoch (const MEpoch & mEpoch); void setMSD (const MSDerivedValues & msd); void setNAntennas (Int); void setNCoh (Int); void setNSpw (Int); void setNewEntityFlags (bool newArrayId, bool newFieldId, bool newSpectralWindow); void setPolarizationId (Int); void setNRowChunk (Int); void setReceptor0Angle (const Vector<Float> & receptor0Angle); void setRowIds (const Vector<uInt> & rowIds); void setSelectedNVisibilityChannels (const Vector<Int> & nVisibilityChannels); void setSelectedSpectralWindows (const Vector<Int> & spectralWindows); void setTopoFreqs (const Vector<Double> & lsrFreq, const Vector<Double> & selFreq_p); void setVisibilityShape (const IPosition & pvisibilityShape); void updateCoordInfo (const VisBuffer2 *, const Bool dirDependent=True);

static MDirection unsharedCopyDirection (const MDirection & direction); static void unsharedCopyDirectionVector (Vector<MDirection> & direction); static MEpoch unsharedCopyEpoch (const MEpoch & mEpoch); static MPosition unsharedCopyPosition (const MPosition & position); Bool fillAllBeamOffsetsZero (); Vector <String> fillAntennaMounts (); Cube <RigidVector <Double, 2> > fillBeamOffsets (); Cube <Double> fillReceptorAngles ();

Definition at line 167 of file VisBufferImplAsync2.h.

Definition at line 168 of file VisBufferImplAsync2.h.

Definition at line 169 of file VisBufferImplAsync2.h.

Definition at line 170 of file VisBufferImplAsync2.h.

Definition at line 171 of file VisBufferImplAsync2.h.

Definition at line 172 of file VisBufferImplAsync2.h.

Definition at line 173 of file VisBufferImplAsync2.h.

Definition at line 174 of file VisBufferImplAsync2.h.

Definition at line 175 of file VisBufferImplAsync2.h.

Int dataDescriptionId_p;.

Definition at line 177 of file VisBufferImplAsync2.h.

Definition at line 178 of file VisBufferImplAsync2.h.

Definition at line 179 of file VisBufferImplAsync2.h.

Definition at line 180 of file VisBufferImplAsync2.h.

Definition at line 182 of file VisBufferImplAsync2.h.

Definition at line 181 of file VisBufferImplAsync2.h.

Definition at line 183 of file VisBufferImplAsync2.h.

Definition at line 184 of file VisBufferImplAsync2.h.

Definition at line 185 of file VisBufferImplAsync2.h.

Definition at line 186 of file VisBufferImplAsync2.h.

Definition at line 187 of file VisBufferImplAsync2.h.

Definition at line 188 of file VisBufferImplAsync2.h.

Definition at line 189 of file VisBufferImplAsync2.h.

Definition at line 190 of file VisBufferImplAsync2.h.

Definition at line 191 of file VisBufferImplAsync2.h.

const ROScalarColumn<Int> * obsMFreqTypes_p; // [use]

Definition at line 193 of file VisBufferImplAsync2.h.

Definition at line 194 of file VisBufferImplAsync2.h.

Definition at line 195 of file VisBufferImplAsync2.h.

Definition at line 196 of file VisBufferImplAsync2.h.

Definition at line 197 of file VisBufferImplAsync2.h.

Definition at line 198 of file VisBufferImplAsync2.h.

Definition at line 200 of file VisBufferImplAsync2.h.

Definition at line 201 of file VisBufferImplAsync2.h.

Definition at line 199 of file VisBufferImplAsync2.h.

Definition at line 202 of file VisBufferImplAsync2.h.

Definition at line 203 of file VisBufferImplAsync2.h.


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