casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
casa::PMS_PP_MSData Class Reference

Subclass of PlotMSPlotParameters::Group to handle subparameters for casacore::MS data. More...

#include <PlotMSPlotParameterGroups.h>

Inheritance diagram for casa::PMS_PP_MSData:
casa::PlotMSPlotParameters::Group

Public Member Functions

 PMS_PP_MSData (PlotFactoryPtr factory)
 
 PMS_PP_MSData (const PMS_PP_MSData &copy)
 
 ~PMS_PP_MSData ()
 
Groupclone () const
 Abstract Methods //. More...
 
const casacore::Stringname () const
 Returns the name of this group of subparameters. More...
 
casacore::Record toRecord () const
 Returns a casacore::Record representing this group of subparameters. More...
 
void fromRecord (const casacore::Record &record)
 Sets the values for this group of subparameters using the given Record. More...
 
bool requiresRedrawOnChange () const
 Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise. More...
 
PMS_PP_MSDataoperator= (const PMS_PP_MSData &other)
 
PMS_PP_MSDataoperator= (const Group &other)
 
bool operator== (const Group &other) const
 
bool filenameIsSet () const
 
const casacore::Stringfilename () const
 
void setFilename (const casacore::String &value)
 
const casacore::IntcacheType () const
 based on PlotMSCacheBase::Type enum {MS, CAL} More...
 
void setCacheType (const casacore::Int &value)
 
const casacore::StringcalType () const
 
void setCalType (const casacore::String &value)
 
const PlotMSSelectionselection () const
 
void setSelection (const PlotMSSelection &value)
 
const PlotMSAveragingaveraging () const
 
void setAveraging (const PlotMSAveraging &value)
 
const PlotMSTransformationstransformations () const
 
void setTransformations (const PlotMSTransformations &value)
 
const PlotMSCalibrationcalibration () const
 
void setCalibration (const PlotMSCalibration &value)
 
- Public Member Functions inherited from casa::PlotMSPlotParameters::Group
 Group (PlotFactoryPtr factory)
 Constructor which takes a plot factory. More...
 
 Group (const Group &copy)
 Copy constructor. More...
 
virtual ~Group ()
 Destructor. More...
 
virtual Groupoperator= (const Group &other)
 Implemented Methods //. More...
 
virtual bool operator== (const Group &other) const
 Equality operators. More...
 
virtual bool operator!= (const Group &other) const
 

Private Member Functions

PMS_PP_MSDataassign (const PMS_PP_MSData *other)
 Does the work of the operator=()s. More...
 
void setDefaults ()
 

Private Attributes

casacore::String itsFilename_
 
casacore::Int itsCacheType_
 
casacore::String itsCalType_
 
PlotMSSelection itsSelection_
 
PlotMSAveraging itsAveraging_
 
PlotMSTransformations itsTransformations_
 
PlotMSCalibration itsCalibration_
 

Static Private Attributes

static const casacore::String REC_FILENAME
 
static const casacore::String REC_CACHETYPE
 
static const casacore::String REC_CALTYPE
 
static const casacore::String REC_SELECTION
 
static const casacore::String REC_AVERAGING
 
static const casacore::String REC_TRANSFORMATIONS
 
static const casacore::String REC_CALIBRATION
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::PlotMSPlotParameters::Group
static void notifyWatchers (void *obj, bool wasCanceled)
 Post-thread method for notifying watchers that this group has changed. More...
 
- Protected Member Functions inherited from casa::PlotMSPlotParameters::Group
void updated ()
 Should be called by the child class whenever any of the subparameter values have been updated. More...
 
void updated (bool requiresRedraw)
 
PlotMSPlotParametersparent ()
 Returns the parent parameters, or NULL for none. More...
 
const PlotMSPlotParametersparent () const
 
PlotFactoryPtr factory ()
 Returns the factory. More...
 
const PlotFactoryPtr factory () const
 

Detailed Description

Subclass of PlotMSPlotParameters::Group to handle subparameters for casacore::MS data.

Currently includes: filename selection averaging

Definition at line 126 of file PlotMSPlotParameterGroups.h.

Constructor & Destructor Documentation

casa::PMS_PP_MSData::PMS_PP_MSData ( PlotFactoryPtr  factory)

Referenced by clone().

casa::PMS_PP_MSData::PMS_PP_MSData ( const PMS_PP_MSData copy)
casa::PMS_PP_MSData::~PMS_PP_MSData ( )

Member Function Documentation

PMS_PP_MSData& casa::PMS_PP_MSData::assign ( const PMS_PP_MSData other)
private

Does the work of the operator=()s.

const PlotMSAveraging& casa::PMS_PP_MSData::averaging ( ) const
inline

Definition at line 213 of file PlotMSPlotParameterGroups.h.

References itsAveraging_.

const casacore::Int& casa::PMS_PP_MSData::cacheType ( ) const
inline

based on PlotMSCacheBase::Type enum {MS, CAL}

Definition at line 184 of file PlotMSPlotParameterGroups.h.

References itsCacheType_.

const PlotMSCalibration& casa::PMS_PP_MSData::calibration ( ) const
inline

Definition at line 233 of file PlotMSPlotParameterGroups.h.

References itsCalibration_.

const casacore::String& casa::PMS_PP_MSData::calType ( ) const
inline

Definition at line 193 of file PlotMSPlotParameterGroups.h.

References itsCalType_.

Group* casa::PMS_PP_MSData::clone ( ) const
inlinevirtual

Abstract Methods //.

Returns a clone (deep copy) of this group of subparameters.

Implements casa::PlotMSPlotParameters::Group.

Definition at line 138 of file PlotMSPlotParameterGroups.h.

References PMS_PP_MSData().

const casacore::String& casa::PMS_PP_MSData::filename ( ) const
inline

Definition at line 173 of file PlotMSPlotParameterGroups.h.

References itsFilename_.

bool casa::PMS_PP_MSData::filenameIsSet ( ) const
inline

Definition at line 169 of file PlotMSPlotParameterGroups.h.

References casacore::String::empty(), and itsFilename_.

void casa::PMS_PP_MSData::fromRecord ( const casacore::Record record)
virtual

Sets the values for this group of subparameters using the given Record.

Implements casa::PlotMSPlotParameters::Group.

const casacore::String& casa::PMS_PP_MSData::name ( ) const
inlinevirtual

Returns the name of this group of subparameters.

Will be used as an update flag.

Implements casa::PlotMSPlotParameters::Group.

Definition at line 143 of file PlotMSPlotParameterGroups.h.

References casa::PMS_PP::UPDATE_MSDATA_NAME.

PMS_PP_MSData& casa::PMS_PP_MSData::operator= ( const PMS_PP_MSData other)
PMS_PP_MSData& casa::PMS_PP_MSData::operator= ( const Group other)
bool casa::PMS_PP_MSData::operator== ( const Group other) const
bool casa::PMS_PP_MSData::requiresRedrawOnChange ( ) const
inlinevirtual

Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise.

Implements casa::PlotMSPlotParameters::Group.

Definition at line 155 of file PlotMSPlotParameterGroups.h.

const PlotMSSelection& casa::PMS_PP_MSData::selection ( ) const
inline

Definition at line 203 of file PlotMSPlotParameterGroups.h.

References itsSelection_.

void casa::PMS_PP_MSData::setAveraging ( const PlotMSAveraging value)
inline
void casa::PMS_PP_MSData::setCacheType ( const casacore::Int value)
inline
void casa::PMS_PP_MSData::setCalibration ( const PlotMSCalibration value)
inline
void casa::PMS_PP_MSData::setCalType ( const casacore::String value)
inline
void casa::PMS_PP_MSData::setDefaults ( )
private
void casa::PMS_PP_MSData::setFilename ( const casacore::String value)
inline
void casa::PMS_PP_MSData::setSelection ( const PlotMSSelection value)
inline
void casa::PMS_PP_MSData::setTransformations ( const PlotMSTransformations value)
inline
casacore::Record casa::PMS_PP_MSData::toRecord ( ) const
virtual

Returns a casacore::Record representing this group of subparameters.

Implements casa::PlotMSPlotParameters::Group.

const PlotMSTransformations& casa::PMS_PP_MSData::transformations ( ) const
inline

Definition at line 223 of file PlotMSPlotParameterGroups.h.

References itsTransformations_.

Member Data Documentation

PlotMSAveraging casa::PMS_PP_MSData::itsAveraging_
private

Definition at line 253 of file PlotMSPlotParameterGroups.h.

Referenced by averaging(), and setAveraging().

casacore::Int casa::PMS_PP_MSData::itsCacheType_
private

Definition at line 250 of file PlotMSPlotParameterGroups.h.

Referenced by cacheType(), and setCacheType().

PlotMSCalibration casa::PMS_PP_MSData::itsCalibration_
private

Definition at line 255 of file PlotMSPlotParameterGroups.h.

Referenced by calibration(), and setCalibration().

casacore::String casa::PMS_PP_MSData::itsCalType_
private

Definition at line 251 of file PlotMSPlotParameterGroups.h.

Referenced by calType(), and setCalType().

casacore::String casa::PMS_PP_MSData::itsFilename_
private

Definition at line 249 of file PlotMSPlotParameterGroups.h.

Referenced by filename(), filenameIsSet(), and setFilename().

PlotMSSelection casa::PMS_PP_MSData::itsSelection_
private

Definition at line 252 of file PlotMSPlotParameterGroups.h.

Referenced by selection(), and setSelection().

PlotMSTransformations casa::PMS_PP_MSData::itsTransformations_
private

Definition at line 254 of file PlotMSPlotParameterGroups.h.

Referenced by setTransformations(), and transformations().

const casacore::String casa::PMS_PP_MSData::REC_AVERAGING
staticprivate

Definition at line 262 of file PlotMSPlotParameterGroups.h.

const casacore::String casa::PMS_PP_MSData::REC_CACHETYPE
staticprivate

Definition at line 259 of file PlotMSPlotParameterGroups.h.

const casacore::String casa::PMS_PP_MSData::REC_CALIBRATION
staticprivate

Definition at line 264 of file PlotMSPlotParameterGroups.h.

const casacore::String casa::PMS_PP_MSData::REC_CALTYPE
staticprivate

Definition at line 260 of file PlotMSPlotParameterGroups.h.

const casacore::String casa::PMS_PP_MSData::REC_FILENAME
staticprivate

Definition at line 258 of file PlotMSPlotParameterGroups.h.

const casacore::String casa::PMS_PP_MSData::REC_SELECTION
staticprivate

Definition at line 261 of file PlotMSPlotParameterGroups.h.

const casacore::String casa::PMS_PP_MSData::REC_TRANSFORMATIONS
staticprivate

Definition at line 263 of file PlotMSPlotParameterGroups.h.


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