casa::PlotMSPlotParameters::Group Class Reference

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

List of all members.

Public Member Functions

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

Protected Member Functions

void updated ()
 Should be called by the child class whenever any of the subparameter values have been updated.
void updated (bool requiresRedraw)
PlotMSPlotParametersparent ()
 Returns the parent parameters, or NULL for none.
const PlotMSPlotParametersparent () const
PlotFactoryPtr factory ()
 Returns the factory.
const PlotFactoryPtr factory () const

Private Member Functions

void notifyWatchers_ (bool wasCanceled)

Private Attributes

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

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_MSData, casa::PMS_PP_Cache, casa::PMS_PP_Axes, casa::PMS_PP_Canvas, casa::PMS_PP_Display, and casa::PMS_PP_Iteration.

const PlotFactoryPtr casa::PlotMSPlotParameters::Group::factory (  )  const [inline, protected]

Definition at line 116 of file PlotMSPlotParameters.h.

References itsFactory_.

PlotFactoryPtr casa::PlotMSPlotParameters::Group::factory (  )  [inline, protected]

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().

virtual void casa::PlotMSPlotParameters::Group::fromRecord ( const Record &  record  )  [pure virtual]

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

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

virtual const 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_MSData, casa::PMS_PP_Cache, casa::PMS_PP_Axes, casa::PMS_PP_Canvas, casa::PMS_PP_Display, and casa::PMS_PP_Iteration.

static void casa::PlotMSPlotParameters::Group::notifyWatchers ( void *  obj,
bool  wasCanceled 
) [inline, static]

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 [inline, virtual]

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.

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

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!=().

const PlotMSPlotParameters* casa::PlotMSPlotParameters::Group::parent (  )  const [inline, protected]

Definition at line 110 of file PlotMSPlotParameters.h.

References itsParent_.

PlotMSPlotParameters* casa::PlotMSPlotParameters::Group::parent (  )  [inline, protected]

Returns the parent parameters, or NULL for none.

Definition at line 109 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_MSData, casa::PMS_PP_Cache, casa::PMS_PP_Axes, casa::PMS_PP_Canvas, casa::PMS_PP_Display, and casa::PMS_PP_Iteration.

Referenced by updated().

virtual Record casa::PlotMSPlotParameters::Group::toRecord (  )  const [pure virtual]

Returns a Record representing this group of subparameters.

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

void casa::PlotMSPlotParameters::Group::updated ( bool  requiresRedraw  )  [protected]
void casa::PlotMSPlotParameters::Group::updated (  )  [inline, protected]

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::setCalibration(), 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_MSData::setSelection(), casa::PMS_PP_Canvas::setTitleFont(), casa::PMS_PP_Canvas::setTitleFonts(), casa::PMS_PP_Canvas::setTitleFontSet(), casa::PMS_PP_Canvas::setTitleFontsSet(), casa::PMS_PP_Display::setTitleFormat(), casa::PMS_PP_Canvas::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_Cache::setXDataColumn(), casa::PMS_PP_Cache::setXDataColumns(), casa::PMS_PP_Canvas::setXFontSet(), casa::PMS_PP_Canvas::setXFontsSet(), 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_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::showXAxes(), casa::PMS_PP_Canvas::showXAxis(), casa::PMS_PP_Canvas::showYAxes(), casa::PMS_PP_Canvas::showYAxis(), and updated().


Friends And Related Function Documentation

friend class PlotMSPlotParameters [friend]

Definition at line 53 of file PlotMSPlotParameters.h.


Member Data Documentation

Factory.

Definition at line 124 of file PlotMSPlotParameters.h.

Referenced by factory().

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1