casa
$Rev:20696$
|
Static //. More...
#include <PlotMSPlotParameters.h>
Public Member Functions | |
Group (PlotFactoryPtr factory) | |
Constructor which takes a plot factory. | |
Group (const Group ©) | |
Copy constructor. | |
virtual | ~Group () |
Destructor. | |
virtual Group * | clone () 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 Group & | operator= (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) |
PlotMSPlotParameters * | parent () |
Returns the parent parameters, or NULL for none. | |
const PlotMSPlotParameters * | parent () const |
PlotFactoryPtr | factory () |
Returns the factory. | |
const PlotFactoryPtr | factory () const |
Private Member Functions | |
void | notifyWatchers_ (bool wasCanceled) |
Private Attributes | |
PlotMSPlotParameters * | itsParent_ |
PlotFactoryPtr | itsFactory_ |
Factory. | |
Friends | |
class | PlotMSPlotParameters |
Static //.
Abstract superclass representing a "group" of subparameters of a PlotMSPlotParameters object.
Definition at line 53 of file PlotMSPlotParameters.h.
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.
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_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.
PlotFactoryPtr casa::PlotMSPlotParameters::Group::factory | ( | ) | [inline, protected] |
const PlotFactoryPtr casa::PlotMSPlotParameters::Group::factory | ( | ) | const [inline, protected] |
Definition at line 119 of file PlotMSPlotParameters.h.
References itsFactory_.
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_Iteration, casa::PMS_PP_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.
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_Iteration, 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 | ||
) | [inline, static] |
Post-thread method for notifying watchers that this group has changed.
Definition at line 134 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 99 of file PlotMSPlotParameters.h.
References operator==().
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 | ( | ) | [inline, protected] |
Returns the parent parameters, or NULL for none.
Definition at line 112 of file PlotMSPlotParameters.h.
References itsParent_.
const PlotMSPlotParameters* casa::PlotMSPlotParameters::Group::parent | ( | ) | const [inline, protected] |
Definition at line 113 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_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.
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_Iteration, casa::PMS_PP_Display, casa::PMS_PP_Canvas, casa::PMS_PP_Axes, casa::PMS_PP_Cache, and casa::PMS_PP_MSData.
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 106 of file PlotMSPlotParameters.h.
References requiresRedrawOnChange(), and updated().
Referenced by casa::PMS_PP_MSData::setAveraging(), casa::PMS_PP_Display::setColorize(), casa::PMS_PP_MSData::setFilename(), casa::PMS_PP_Display::setFlaggedSymbol(), casa::PMS_PP_Display::setFlaggedSymbols(), casa::PMS_PP_Canvas::setGridMajorLine(), casa::PMS_PP_Canvas::setGridMajorLines(), casa::PMS_PP_Canvas::setGridMinorLine(), casa::PMS_PP_Canvas::setGridMinorLines(), casa::PMS_PP_Iteration::setIterationAxis(), casa::PMS_PP_Iteration::setIterParam(), casa::PMS_PP_Iteration::setNumColumns(), casa::PMS_PP_Iteration::setNumRows(), casa::PMS_PP_MSData::setSelection(), 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::setUnflaggedSymbol(), 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_Iteration::setXAxisScaleMode(), casa::PMS_PP_Cache::setXDataColumn(), casa::PMS_PP_Cache::setXDataColumns(), 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_Iteration::setYAxisScaleMode(), casa::PMS_PP_Cache::setYDataColumn(), casa::PMS_PP_Cache::setYDataColumns(), 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().
void casa::PlotMSPlotParameters::Group::updated | ( | bool | requiresRedraw | ) | [protected] |
friend class PlotMSPlotParameters [friend] |
Definition at line 56 of file PlotMSPlotParameters.h.
Parent of this group of subparameters.
Definition at line 124 of file PlotMSPlotParameters.h.
Referenced by parent().