casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::PlotMSParametersWatcher Class Referenceabstract

Interface for classes that wish to be notified when PlotMSWatchedParameters have changed. More...

#include <PlotMSWatchedParameters.h>

Inheritance diagram for casa::PlotMSParametersWatcher:
casa::PlotMSApp casa::PlotMSDBusApp casa::PlotMSPlot casa::PlotMSTab casa::PlotMSAnnotatorTab casa::PlotMSDataSummaryTab casa::PlotMSFlaggingTab casa::PlotMSOptionsTab casa::PlotMSPlotSubtab casa::PlotMSPlotTab casa::PlotMSToolsTab casa::PlotMSAxesTab casa::PlotMSCacheTab casa::PlotMSCalibrationTab casa::PlotMSCanvasTab casa::PlotMSDataTab casa::PlotMSDisplayTab casa::PlotMSIterateTab casa::PlotMSTransformationsTab

Public Member Functions

 PlotMSParametersWatcher ()
 Constructor. More...
 
virtual ~PlotMSParametersWatcher ()
 Destructor. More...
 
virtual void parametersHaveChanged (const PlotMSWatchedParameters &params, int updateFlag)=0
 This method is called whenever the watched parameters have been changed. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

casa::PlotMSParametersWatcher::PlotMSParametersWatcher ( )
inline

Constructor.

Definition at line 47 of file PlotMSWatchedParameters.h.

virtual casa::PlotMSParametersWatcher::~PlotMSParametersWatcher ( )
inlinevirtual

Destructor.

Definition at line 50 of file PlotMSWatchedParameters.h.

Member Function Documentation

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::PlotMSApp, casa::PlotMSPlotTab, casa::PlotMSToolsTab, casa::PlotMSPlotSubtab, casa::PlotMSAnnotatorTab, casa::PlotMSOptionsTab, casa::PlotMSDataSummaryTab, and casa::PlotMSFlaggingTab.


The documentation for this class was generated from the following file: