casa  $Rev:20696$
Public Member Functions | Public Attributes
casa::MSPlotMainMSCallBack 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...

#include <MsPlotHooks.h>

Inheritance diagram for casa::MSPlotMainMSCallBack:
casa::TPGuiCallBackHooks

List of all members.

Public Member Functions

 MSPlotMainMSCallBack (MeasurementSet *inMS, Vector< String > antNames, Vector< String > fieldNames, Vector< Vector< String > >corrNames, Vector< Double > refFrequencies, String msname, String extendChn, String extendCor, String extendSp, String extendAnts, String extendTm, Bool crossbl, Double avetime, MeasurementSet *aMS)
 ~MSPlotMainMSCallBack ()
casa::Bool releasetable (Int, Int, Int, String)
 During the standard TP clearPlot, this function is called immediately after each BasePlot destructor.
casa::Bool createiterplotlabels (Vector< String > iteraxes, Vector< Double > values, String &titleString)
 A function to allow the creation of customized labels for iteration plot panels.

Public Attributes

return selected
 cout << "Baseline selected=" << selected << endl;

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 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 232 of file MsPlotHooks.h.


Constructor & Destructor Documentation

casa::MSPlotMainMSCallBack::MSPlotMainMSCallBack ( MeasurementSet inMS,
Vector< String antNames,
Vector< String fieldNames,
Vector< Vector< String > >  corrNames,
Vector< Double refFrequencies,
String  msname,
String  extendChn,
String  extendCor,
String  extendSp,
String  extendAnts,
String  extendTm,
Bool  crossbl,
Double  avetime,
MeasurementSet aMS 
) [inline]

itsBaselines = baselines;

cout << "itsBaseLines=" << itsBaselines << endl;

Parameters:
fieldNamesMatrix<Int> baselines,

Definition at line 235 of file MsPlotHooks.h.

References aveBl, aveMS, aveTime, clname, extendAnt, extendChan, extendCorr, extendSpw, extendTime, flagms, itsAntNames, itsCorrNames, itsFieldNames, itsRefFrequencies, localMS, casa::TPGuiCallBackHooks::LocateColumns, casa::log(), casa::Vector< T >::resize(), and casa::SLog::slog().

casa::MSPlotMainMSCallBack::~MSPlotMainMSCallBack ( ) [inline]

Definition at line 287 of file MsPlotHooks.h.

References clname, and casa::log().


Member Function Documentation

casa::Bool casa::MSPlotMainMSCallBack::createiterplotlabels ( Vector< String iteraxes,
Vector< Double values,
String titlestring 
) [inline, virtual]

A function to allow the creation of customized labels for iteration plot panels.

Called from TablePlot::iterMultiPlotNext.

cout << " values=" << values << endl; for (uInt i = 0; i < itsAntNames.nelements(); i++) cout << itsAntNames[i] << " " ; cout << endl;

cout << "main call back createiterplotlabels" << endl;

cout << "iteraxes[axesId]=" << iteraxes[axesId] << endl;

cout << "titleString=" << titleString << endl;

Reimplemented from casa::TPGuiCallBackHooks.

Definition at line 313 of file MsPlotHooks.h.

References clname, casa::utilj::contains(), casa::LogMessage::DEBUG1, itsAntNames, itsFieldNames, casa::log(), casa::ArrayBase::nelements(), String, casa::vpf::toString(), casa::upcase(), and casa::LogMessage::WARN.

casa::Bool casa::MSPlotMainMSCallBack::releasetable ( Int  ,
Int  ,
Int  ,
String   
) [inline, virtual]

During the standard TP clearPlot, this function is called immediately after each BasePlot destructor.

Called from TablePlot::deleteBasePlot.

Reimplemented from casa::TPGuiCallBackHooks.

Definition at line 297 of file MsPlotHooks.h.

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


Member Data Documentation

cout << "Baseline selected=" << selected << endl;

Definition at line 409 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