casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::PlotMSSinglePlot Class Reference

Implementation of PlotMSPlot for a single plot on a single canvas. More...

#include <PlotMSSinglePlot.h>

Inheritance diagram for casa::PlotMSSinglePlot:
casa::PlotMSPlot casa::PlotMSParametersWatcher

List of all members.

Classes

class  TCLParams
 Simple class to hold parameter to resume updating after a threaded cache loading. More...

Public Member Functions

 PlotMSSinglePlot (PlotMSApp *parent)
 Non-Static //.
 ~PlotMSSinglePlot ()
 Destructor.
String name () const
 Implements PlotMSPlot::name().
vector< MaskedScatterPlotPtrplots () const
 Implements PlotMSPlot::plots().
vector< PlotCanvasPtrcanvases () const
 Implements PlotMSPlot::canvases().
void setupPlotSubtabs (PlotMSPlotTab &tab) const
 Implements PlotMSPlot::setupPlotSubtabs().
void attachToCanvases ()
 Implements PlotMSPlot::attachToCanvases().
void detachFromCanvases ()
 Implements PlotMSPlot::detachFromCanvases().
void plotTabHasChanged (PlotMSPlotTab &tab)
 Implements PlotMSPlot::plotTabHasChanged().

Static Public Member Functions

static PlotMSPlotParameters makeParameters (PlotMSApp *plotms)
 Static //.
static void makeParameters (PlotMSPlotParameters &params, PlotMSApp *plotms)
 Updates the given PlotMSPlotParameters to be suitable for use with this class, using the given PlotMS parent.
static void cacheLoaded (void *obj, bool wasCanceled)
 Post-thread methods for loading the cache.

Protected Member Functions

bool assignCanvases (PlotMSPages &pages)
 Implements PlotMSPlot::assignCanvases().
bool initializePlot ()
 Implements PlotMSPlot::initializePlot().
bool parametersHaveChanged_ (const PlotMSWatchedParameters &params, int updateFlag, bool releaseWhenDone)
 Implements PlotMSPlot::parametersHaveChanged_().
PlotMSRegions selectedRegions (const vector< PlotCanvasPtr > &canvases) const
 Implements PlotMSPlot::selectedRegions().
void constructorSetup ()
 Overrides PlotMSPlot::constructorSetup().

Private Member Functions

 PlotMSSinglePlot (const PlotMSSinglePlot &copy)
 Disable copy constructor and operator for now.
PlotMSSinglePlotoperator= (const PlotMSSinglePlot &copy)
bool updateCache ()
 Updates helper methods.
bool updateCanvas ()
bool updateDisplay ()
void cacheLoaded_ (bool wasCanceled)

Private Attributes

MaskedScatterPlotPtr itsPlot_
 Convenient access to single plot.
ColoredPlotPtr itsColoredPlot_
 Convenient access to single plot as a colored plot.
PlotCanvasPtr itsCanvas_
 Convenient access to single canvas.
TCLParams itsTCLParams_
 See TCLParams class documentation.

Detailed Description

Implementation of PlotMSPlot for a single plot on a single canvas.

Uses PlotMSSinglePlotParameters in addition to PlotMSPlotParameters.

Definition at line 38 of file PlotMSSinglePlot.h.


Constructor & Destructor Documentation

Non-Static //.

Constructor which takes the PlotMS parent. Starts out with default parameters.

Destructor.

Disable copy constructor and operator for now.


Member Function Documentation

bool casa::PlotMSSinglePlot::assignCanvases ( PlotMSPages pages) [protected, virtual]
static void casa::PlotMSSinglePlot::cacheLoaded ( void *  obj,
bool  wasCanceled 
) [inline, static]

Post-thread methods for loading the cache.

Definition at line 152 of file PlotMSSinglePlot.h.

References cacheLoaded_().

void casa::PlotMSSinglePlot::cacheLoaded_ ( bool  wasCanceled) [private]

Referenced by cacheLoaded().

vector<PlotCanvasPtr> casa::PlotMSSinglePlot::canvases ( ) const [virtual]

Implements PlotMSPlot::canvases().

Implements casa::PlotMSPlot.

void casa::PlotMSSinglePlot::constructorSetup ( ) [protected, virtual]

Overrides PlotMSPlot::constructorSetup().

Reimplemented from casa::PlotMSPlot.

bool casa::PlotMSSinglePlot::initializePlot ( ) [protected, virtual]

Static //.

See PlotMSPlot::makeParameters().

Reimplemented from casa::PlotMSPlot.

static void casa::PlotMSSinglePlot::makeParameters ( PlotMSPlotParameters params,
PlotMSApp plotms 
) [static]

Updates the given PlotMSPlotParameters to be suitable for use with this class, using the given PlotMS parent.

Reimplemented from casa::PlotMSPlot.

String casa::PlotMSSinglePlot::name ( ) const [virtual]

Implements PlotMSPlot::name().

Implements casa::PlotMSPlot.

PlotMSSinglePlot& casa::PlotMSSinglePlot::operator= ( const PlotMSSinglePlot copy) [private]
bool casa::PlotMSSinglePlot::parametersHaveChanged_ ( const PlotMSWatchedParameters params,
int  updateFlag,
bool  releaseWhenDone 
) [protected, virtual]

Implements PlotMSPlot::plots().

Implements casa::PlotMSPlot.

void casa::PlotMSSinglePlot::plotTabHasChanged ( PlotMSPlotTab tab) [inline, virtual]

Implements PlotMSPlot::plotTabHasChanged().

Implements casa::PlotMSPlot.

Definition at line 103 of file PlotMSSinglePlot.h.

PlotMSRegions casa::PlotMSSinglePlot::selectedRegions ( const vector< PlotCanvasPtr > &  canvases) const [protected, virtual]

Updates helper methods.


Member Data Documentation

Convenient access to single canvas.

Definition at line 131 of file PlotMSSinglePlot.h.

Convenient access to single plot as a colored plot.

Definition at line 128 of file PlotMSSinglePlot.h.

Convenient access to single plot.

Definition at line 125 of file PlotMSSinglePlot.h.

See TCLParams class documentation.

Definition at line 134 of file PlotMSSinglePlot.h.


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