casa  $Rev:20696$
Public Member Functions | Private Attributes | Static Private Attributes
MSPlotUVWCallBack Class Reference

This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI. More...

List of all members.

Public Member Functions

 MSPlotUVWCallBack (MeasurementSet *inMS, Vector< String > antNames, Vector< String > fieldNames, Vector< Vector< String > >corrNames, Vector< Double > refFrequencies)
 ~MSPlotUVWCallBack ()
casa::Bool releasetable (Int, Int, Int, String)
casa::Bool createiterplotlabels (Vector< String > iteraxes, Vector< Double > values, String &titleString)
casa::Bool flagdata (String)
casa::Bool flagdata (Int, Vector< String >, Matrix< Double >, Vector< String >, Bool)
casa::Bool printlocateinfo (Vector< String >, Matrix< Double > infomat, Vector< String > cpol)

Private Attributes

MeasurementSet * localMS
Vector< String > itsAntNames
Vector< String > itsFieldNames
Vector< Vector< String > > itsCorrNames
Vector< Double > itsRefFrequencies
SLog * log
 Message logger.

Static Private Attributes

static const String clname

Detailed Description

This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Callbacks from TablePlot to MsPlot that are executed when buttons are pressed on the plotting GUI, and the data that has been plotted resides in the UVW column of the main table of the Measurement Set.

Synopsis

Example

Motivation

To provide a way for the TablePlot object to inform the MsPlot object that a particular button has been pressed on the plotting GUI and to allow MS Plot to over ride the default TablePlot behaviour if necessary.

Thrown Exceptions

To Do

Definition at line 1637 of file MsPlotHooks.h.


Constructor & Destructor Documentation

MSPlotUVWCallBack::MSPlotUVWCallBack ( MeasurementSet *  inMS,
Vector< String >  antNames,
Vector< String >  fieldNames,
Vector< Vector< String > >  corrNames,
Vector< Double >  refFrequencies 
) [inline]
MSPlotUVWCallBack::~MSPlotUVWCallBack ( ) [inline]

Definition at line 1676 of file MsPlotHooks.h.

References clname, casa::log(), and String.


Member Function Documentation

casa::Bool MSPlotUVWCallBack::createiterplotlabels ( Vector< String >  iteraxes,
Vector< Double >  values,
String &  titleString 
) [inline]
casa::Bool MSPlotUVWCallBack::flagdata ( String  ) [inline]

Definition at line 1785 of file MsPlotHooks.h.

References clname, casa::log(), String, and casa::True.

casa::Bool MSPlotUVWCallBack::flagdata ( Int  ,
Vector< String >  ,
Matrix< Double >  ,
Vector< String >  ,
Bool   
) [inline]

cout << "MSPlotUVWCallBack::flagdata" << endl;

Definition at line 1795 of file MsPlotHooks.h.

References String, and casa::True.

casa::Bool MSPlotUVWCallBack::printlocateinfo ( Vector< String >  ,
Matrix< Double >  infomat,
Vector< String >  cpol 
) [inline]
casa::Bool MSPlotUVWCallBack::releasetable ( Int  ,
Int  ,
Int  ,
String   
) [inline]

Definition at line 1686 of file MsPlotHooks.h.

References clname, casa::log(), String, and casa::True.


Member Data Documentation

const String MSPlotUVWCallBack::clname [static, private]

Definition at line 1998 of file MsPlotHooks.h.

Vector<String> MSPlotUVWCallBack::itsAntNames [private]

Definition at line 1991 of file MsPlotHooks.h.

Vector< Vector<String> > MSPlotUVWCallBack::itsCorrNames [private]

Definition at line 1993 of file MsPlotHooks.h.

Vector<String> MSPlotUVWCallBack::itsFieldNames [private]

Definition at line 1992 of file MsPlotHooks.h.

Vector<Double> MSPlotUVWCallBack::itsRefFrequencies [private]

Definition at line 1994 of file MsPlotHooks.h.

MeasurementSet* MSPlotUVWCallBack::localMS [private]

Definition at line 1990 of file MsPlotHooks.h.

SLog* MSPlotUVWCallBack::log [private]

Message logger.

Definition at line 1997 of file MsPlotHooks.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines