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

Static //. More...

#include <PlotMSPlotParameters.h>

Inheritance diagram for casa::PlotMSPlotParameters::Group:
casa::PMS_PP_Axes casa::PMS_PP_Cache casa::PMS_PP_Canvas casa::PMS_PP_Display casa::PMS_PP_Iteration casa::PMS_PP_MSData casa::PMS_PP_PageHeader

Public Member Functions

 Group (PlotFactoryPtr factory)
 Constructor which takes a plot factory. More...
 
 Group (const Group &copy)
 Copy constructor. More...
 
virtual ~Group ()
 Destructor. More...
 
virtual Groupclone () const =0
 Abstract Methods //. More...
 
virtual const casacore::Stringname () const =0
 Returns the name of this group of subparameters. More...
 
virtual casacore::Record toRecord () const =0
 Returns a casacore::Record representing this group of subparameters. More...
 
virtual void fromRecord (const casacore::Record &record)=0
 Sets the values for this group of subparameters using the given Record. More...
 
virtual bool requiresRedrawOnChange () const =0
 Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise. 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
 

Static Public Member Functions

static void notifyWatchers (void *obj, bool wasCanceled)
 Post-thread method for notifying watchers that this group has changed. More...
 

Protected Member Functions

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
 

Private Member Functions

void notifyWatchers_ (bool wasCanceled)
 

Private Attributes

PlotMSPlotParametersitsParent_
 Parent of this group of subparameters. More...
 
PlotFactoryPtr itsFactory_
 Factory. More...
 

Friends

class PlotMSPlotParameters
 

Detailed Description

Static //.

Abstract superclass representing a "group" of subparameters of a PlotMSPlotParameters object.

Definition at line 50 of file PlotMSPlotParameters.h.

Constructor & Destructor Documentation

casa::PlotMSPlotParameters::Group::Group ( PlotFactoryPtr  factory)

Constructor which takes a plot factory.

casa::PlotMSPlotParameters::Group::Group ( const Group copy)

Copy constructor.

Does NOT copy parameter values using operator=().

virtual casa::PlotMSPlotParameters::Group::~Group ( )
virtual

Destructor.

Member Function Documentation

virtual Group* casa::PlotMSPlotParameters::Group::clone ( ) const
pure virtual

Abstract Methods //.

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

Implemented in casa::PMS_PP_Iteration, casa::PMS_PP_PageHeader, casa::PMS_PP_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.

PlotFactoryPtr casa::PlotMSPlotParameters::Group::factory ( )
inlineprotected

Returns the factory.

Definition at line 115 of file PlotMSPlotParameters.h.

References itsFactory_.

Referenced by casa::PMS_PP_Display::flaggedSymbol(), and casa::PMS_PP_Display::unflaggedSymbol().

const PlotFactoryPtr casa::PlotMSPlotParameters::Group::factory ( ) const
inlineprotected

Definition at line 116 of file PlotMSPlotParameters.h.

References itsFactory_.

virtual void casa::PlotMSPlotParameters::Group::fromRecord ( const casacore::Record record)
pure virtual

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

Implemented in casa::PMS_PP_Iteration, casa::PMS_PP_PageHeader, casa::PMS_PP_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.

virtual const casacore::String& casa::PlotMSPlotParameters::Group::name ( ) const
pure virtual

Returns the name of this group of subparameters.

Will be used as an update flag.

Implemented in casa::PMS_PP_Iteration, casa::PMS_PP_PageHeader, casa::PMS_PP_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.

static void casa::PlotMSPlotParameters::Group::notifyWatchers ( void *  obj,
bool  wasCanceled 
)
inlinestatic

Post-thread method for notifying watchers that this group has changed.

Definition at line 131 of file PlotMSPlotParameters.h.

References notifyWatchers_().

void casa::PlotMSPlotParameters::Group::notifyWatchers_ ( bool  wasCanceled)
private

Referenced by notifyWatchers().

virtual bool casa::PlotMSPlotParameters::Group::operator!= ( const Group other) const
inlinevirtual

Definition at line 96 of file PlotMSPlotParameters.h.

References operator==().

virtual Group& casa::PlotMSPlotParameters::Group::operator= ( const Group other)
virtual

Implemented Methods //.

Copy operator. Should probably be overridden by children to be more efficient. Only copies if the two groups have the same name.

virtual bool casa::PlotMSPlotParameters::Group::operator== ( const Group other) const
virtual

Equality operators.

Should probably be overridden by children to be more efficient.

Referenced by operator!=().

PlotMSPlotParameters* casa::PlotMSPlotParameters::Group::parent ( )
inlineprotected

Returns the parent parameters, or NULL for none.

Definition at line 109 of file PlotMSPlotParameters.h.

References itsParent_.

const PlotMSPlotParameters* casa::PlotMSPlotParameters::Group::parent ( ) const
inlineprotected

Definition at line 110 of file PlotMSPlotParameters.h.

References itsParent_.

virtual bool casa::PlotMSPlotParameters::Group::requiresRedrawOnChange ( ) const
pure virtual

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

Implemented in casa::PMS_PP_Iteration, casa::PMS_PP_PageHeader, casa::PMS_PP_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.

Referenced by updated().

virtual casacore::Record casa::PlotMSPlotParameters::Group::toRecord ( ) const
pure virtual
void casa::PlotMSPlotParameters::Group::updated ( )
inlineprotected

Should be called by the child class whenever any of the subparameter values have been updated.

Definition at line 103 of file PlotMSPlotParameters.h.

References requiresRedrawOnChange(), and updated().

Referenced by casa::PMS_PP_MSData::setAveraging(), casa::PMS_PP_MSData::setCacheType(), casa::PMS_PP_MSData::setCalibration(), casa::PMS_PP_MSData::setCalType(), casa::PMS_PP_Display::setColorize(), casa::PMS_PP_Iteration::setCommonAxisX(), casa::PMS_PP_Iteration::setCommonAxisY(), casa::PMS_PP_MSData::setFilename(), casa::PMS_PP_Display::setFlaggedSymbols(), casa::PMS_PP_Iteration::setGlobalScaleX(), casa::PMS_PP_Iteration::setGlobalScaleY(), casa::PMS_PP_Iteration::setGridCol(), casa::PMS_PP_Canvas::setGridMajorLine(), casa::PMS_PP_Canvas::setGridMajorLines(), casa::PMS_PP_Canvas::setGridMinorLine(), casa::PMS_PP_Canvas::setGridMinorLines(), casa::PMS_PP_Iteration::setGridRow(), casa::PMS_PP_Iteration::setIterationAxis(), casa::PMS_PP_Iteration::setIterParam(), casa::PMS_PP_Canvas::setLegendPosition(), casa::PMS_PP_Canvas::setLegendPositions(), casa::PMS_PP_PageHeader::setPageHeaderItems(), casa::PMS_PP_MSData::setSelection(), casa::PMS_PP_Cache::setShowAtm(), casa::PMS_PP_Cache::setShowImage(), casa::PMS_PP_Cache::setShowTsky(), casa::PMS_PP_Display::setTimeConnect(), casa::PMS_PP_Display::setTimeConnects(), casa::PMS_PP_Canvas::setTitleFont(), casa::PMS_PP_Canvas::setTitleFonts(), casa::PMS_PP_Canvas::setTitleFontSet(), casa::PMS_PP_Canvas::setTitleFontsSet(), casa::PMS_PP_Canvas::setTitleFormat(), casa::PMS_PP_Display::setTitleFormat(), casa::PMS_PP_Canvas::setTitleFormats(), casa::PMS_PP_Display::setTitleFormats(), casa::PMS_PP_MSData::setTransformations(), casa::PMS_PP_Display::setUnflaggedSymbols(), casa::PMS_PP_Cache::setXAxes(), casa::PMS_PP_Axes::setXAxes(), casa::PMS_PP_Cache::setXAxis(), casa::PMS_PP_Axes::setXAxis(), casa::PMS_PP_Canvas::setXAxisFont(), casa::PMS_PP_Canvas::setXAxisFonts(), casa::PMS_PP_Display::setXConnect(), casa::PMS_PP_Display::setXConnects(), casa::PMS_PP_Cache::setXDataColumn(), casa::PMS_PP_Cache::setXDataColumns(), casa::PMS_PP_Canvas::setXFontSet(), casa::PMS_PP_Canvas::setXFontsSet(), casa::PMS_PP_Cache::setXFrame(), casa::PMS_PP_Cache::setXFrames(), casa::PMS_PP_Cache::setXInterp(), casa::PMS_PP_Cache::setXInterps(), casa::PMS_PP_Canvas::setXLabelFormat(), casa::PMS_PP_Canvas::setXLabelFormats(), casa::PMS_PP_Axes::setXRange(), casa::PMS_PP_Axes::setXRanges(), casa::PMS_PP_Cache::setYAxes(), casa::PMS_PP_Axes::setYAxes(), casa::PMS_PP_Cache::setYAxis(), casa::PMS_PP_Axes::setYAxis(), casa::PMS_PP_Canvas::setYAxisFont(), casa::PMS_PP_Canvas::setYAxisFonts(), casa::PMS_PP_Cache::setYDataColumn(), casa::PMS_PP_Cache::setYDataColumns(), casa::PMS_PP_Canvas::setYFontSet(), casa::PMS_PP_Canvas::setYFontsSet(), casa::PMS_PP_Cache::setYFrame(), casa::PMS_PP_Cache::setYFrames(), casa::PMS_PP_Cache::setYInterp(), casa::PMS_PP_Cache::setYInterps(), casa::PMS_PP_Canvas::setYLabelFormat(), casa::PMS_PP_Canvas::setYLabelFormats(), casa::PMS_PP_Axes::setYRange(), casa::PMS_PP_Axes::setYRanges(), casa::PMS_PP_Canvas::showGridMajor(), casa::PMS_PP_Canvas::showGridMajors(), casa::PMS_PP_Canvas::showGridMinor(), casa::PMS_PP_Canvas::showGridMinors(), casa::PMS_PP_Canvas::showLegend(), casa::PMS_PP_Canvas::showLegends(), casa::PMS_PP_Canvas::showXLabel(), casa::PMS_PP_Canvas::showXLabels(), casa::PMS_PP_Canvas::showYLabel(), casa::PMS_PP_Canvas::showYLabels(), and updated().

void casa::PlotMSPlotParameters::Group::updated ( bool  requiresRedraw)
protected

Friends And Related Function Documentation

friend class PlotMSPlotParameters
friend

Definition at line 53 of file PlotMSPlotParameters.h.

Member Data Documentation

PlotFactoryPtr casa::PlotMSPlotParameters::Group::itsFactory_
private

Factory.

Definition at line 124 of file PlotMSPlotParameters.h.

Referenced by factory().

PlotMSPlotParameters* casa::PlotMSPlotParameters::Group::itsParent_
private

Parent of this group of subparameters.

Definition at line 121 of file PlotMSPlotParameters.h.

Referenced by parent().


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