casa  $Rev:20696$
Public Member Functions | Private Attributes | Static Private Attributes
MSPlotAntennaCallBack 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

 MSPlotAntennaCallBack (Vector< String > inAntNames, Vector< String > inFieldNames)
 ~MSPlotAntennaCallBack ()
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 >)

Private Attributes

Vector< String > itsAntNames
Vector< String > itsFieldNames
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 Antenna subtable of the Measurement Set.

Synopsis

Note: The full list of columns in the Antenna subtable (VLA) are:

OFFSET

(x,y,z) offset value

POSITIION

(x,y,z) position value

TYPE

ground-base or not telescope

DISH_DIAMETER

 

FLAG_ROW

 

MOUNT

type of mount

NAME

antenna name

STATION

antenna station name </tbody>

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


Constructor & Destructor Documentation

MSPlotAntennaCallBack::MSPlotAntennaCallBack ( Vector< String >  inAntNames,
Vector< String >  inFieldNames 
) [inline]

itsPlotOptions.LocateColumns[0] = "NAME"; itsPlotOptions.LocateColumns[1] = "STATION";

Definition at line 1314 of file MsPlotHooks.h.

References clname, itsAntNames, itsFieldNames, casa::log(), casa::SLog::slog(), and String.

MSPlotAntennaCallBack::~MSPlotAntennaCallBack ( ) [inline]

Definition at line 1337 of file MsPlotHooks.h.

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


Member Function Documentation

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

Definition at line 1445 of file MsPlotHooks.h.

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

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

cout << "MSPlotAntennaCallBack::flagdata" << endl;

Definition at line 1455 of file MsPlotHooks.h.

References String, and casa::True.

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

Definition at line 1346 of file MsPlotHooks.h.

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


Member Data Documentation

const String MSPlotAntennaCallBack::clname [static, private]

Definition at line 1563 of file MsPlotHooks.h.

Vector<String> MSPlotAntennaCallBack::itsAntNames [private]

Definition at line 1555 of file MsPlotHooks.h.

Vector<String> MSPlotAntennaCallBack::itsFieldNames [private]

Definition at line 1559 of file MsPlotHooks.h.

SLog* MSPlotAntennaCallBack::log [private]

Message logger.

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