casa
5.7.0-16
|
Interface for classes that wish to be notified when PlotMSWatchedParameters have changed. More...
#include <PlotMSWatchedParameters.h>
Public Member Functions | |
PlotMSParametersWatcher () | |
Constructor. More... | |
virtual | ~PlotMSParametersWatcher () |
Destructor. More... | |
virtual void | parametersHaveChanged (const PlotMSWatchedParameters ¶ms, int updateFlag)=0 |
This method is called whenever the watched parameters have been changed. More... | |
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 44 of file PlotMSWatchedParameters.h.
|
inline |
Constructor.
Definition at line 47 of file PlotMSWatchedParameters.h.
|
inlinevirtual |
Destructor.
Definition at line 50 of file PlotMSWatchedParameters.h.
|
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::PlotMSApp, casa::PlotMSPlotTab, casa::PlotMSToolsTab, casa::PlotMSPlotSubtab, casa::PlotMSAnnotatorTab, casa::PlotMSOptionsTab, casa::PlotMSDataSummaryTab, and casa::PlotMSFlaggingTab.