casa
$Rev:20696$
|
Interface for classes that wish to be notified when PlotMSWatchedParameters have changed. More...
#include <PlotMSWatchedParameters.h>
Public Member Functions | |
PlotMSParametersWatcher () | |
Constructor. | |
virtual | ~PlotMSParametersWatcher () |
Destructor. | |
virtual void | parametersHaveChanged (const PlotMSWatchedParameters ¶ms, int updateFlag)=0 |
This method is called whenever the watched parameters have been changed. |
Interface for classes that wish to be notified when PlotMSWatchedParameters have changed.
This watching system is used to keep the different aspects of PlotMS synchronized with parameters that could potentially come from many different sources.
Definition at line 47 of file PlotMSWatchedParameters.h.
Constructor.
Definition at line 50 of file PlotMSWatchedParameters.h.
virtual casa::PlotMSParametersWatcher::~PlotMSParametersWatcher | ( | ) | [inline, virtual] |
Destructor.
Definition at line 53 of file PlotMSWatchedParameters.h.
virtual void casa::PlotMSParametersWatcher::parametersHaveChanged | ( | const PlotMSWatchedParameters & | params, |
int | updateFlag | ||
) | [pure virtual] |
This method is called whenever the watched parameters have been changed.
This can either happen immediately after any change or, if notification has been held via PlotMSWatchedParameters::holdNotification, when notification is released via PlotMSWatchedParameters::releaseNotification. If this watcher is the watcher that was holding notifications, this method is NOT called. The updateFlag parameter lets the watcher know which categories the changes were in.
Implemented in casa::PlotMSDBusApp, casa::PlotMSPlot, casa::PlotMSPlotTab, casa::PlotMSApp, casa::PlotMSToolsTab, casa::PlotMSPlotSubtab, casa::PlotMSAnnotatorTab, casa::PlotMSOptionsTab, and casa::PlotMSFlaggingTab.