casa
5.7.0-16
|
Static //. More...
#include <PlotMSPlotParameters.h>
Public Member Functions | |
Group (PlotFactoryPtr factory) | |
Constructor which takes a plot factory. More... | |
Group (const Group ©) | |
Copy constructor. More... | |
virtual | ~Group () |
Destructor. More... | |
virtual Group * | clone () const =0 |
Abstract Methods //. More... | |
virtual const casacore::String & | name () 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 Group & | operator= (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) |
PlotMSPlotParameters * | parent () |
Returns the parent parameters, or NULL for none. More... | |
const PlotMSPlotParameters * | parent () const |
PlotFactoryPtr | factory () |
Returns the factory. More... | |
const PlotFactoryPtr | factory () const |
Private Member Functions | |
void | notifyWatchers_ (bool wasCanceled) |
Private Attributes | |
PlotMSPlotParameters * | itsParent_ |
Parent of this group of subparameters. More... | |
PlotFactoryPtr | itsFactory_ |
Factory. More... | |
Friends | |
class | PlotMSPlotParameters |
Static //.
Abstract superclass representing a "group" of subparameters of a PlotMSPlotParameters object.
Definition at line 50 of file PlotMSPlotParameters.h.
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 |
Destructor.
|
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.
|
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().
|
inlineprotected |
Definition at line 116 of file PlotMSPlotParameters.h.
References itsFactory_.
|
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.
|
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.
|
inlinestatic |
Post-thread method for notifying watchers that this group has changed.
Definition at line 131 of file PlotMSPlotParameters.h.
References notifyWatchers_().
|
private |
Referenced by notifyWatchers().
|
inlinevirtual |
Definition at line 96 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 |
Equality operators.
Should probably be overridden by children to be more efficient.
Referenced by operator!=().
|
inlineprotected |
Returns the parent parameters, or NULL for none.
Definition at line 109 of file PlotMSPlotParameters.h.
References itsParent_.
|
inlineprotected |
Definition at line 110 of file PlotMSPlotParameters.h.
References itsParent_.
|
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().
|
pure virtual |
Returns a casacore::Record representing 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.
|
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().
|
protected |
|
friend |
Definition at line 53 of file PlotMSPlotParameters.h.
|
private |
|
private |
Parent of this group of subparameters.
Definition at line 121 of file PlotMSPlotParameters.h.
Referenced by parent().