casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::PlotMSParametersWatcher Class Reference

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::PlotMSIterPlot casa::PlotMSMultiPlot casa::PlotMSOverPlot casa::PlotMSSinglePlot casa::PlotMSAnnotatorTab casa::PlotMSFlaggingTab casa::PlotMSOptionsTab casa::PlotMSPlotSubtab casa::PlotMSPlotTab casa::PlotMSToolsTab

List of all members.

Public Member Functions

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

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 47 of file PlotMSWatchedParameters.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 50 of file PlotMSWatchedParameters.h.

Destructor.

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


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