casa
$Rev:20696$
|
This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI. More...
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 |
This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI.
Internal
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.
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.
Definition at line 1637 of file MsPlotHooks.h.
MSPlotUVWCallBack::MSPlotUVWCallBack | ( | MeasurementSet * | inMS, |
Vector< String > | antNames, | ||
Vector< String > | fieldNames, | ||
Vector< Vector< String > > | corrNames, | ||
Vector< Double > | refFrequencies | ||
) | [inline] |
Definition at line 1640 of file MsPlotHooks.h.
References clname, itsAntNames, itsCorrNames, itsFieldNames, itsRefFrequencies, localMS, casa::log(), casa::SLog::slog(), and String.
MSPlotUVWCallBack::~MSPlotUVWCallBack | ( | ) | [inline] |
Definition at line 1676 of file MsPlotHooks.h.
References clname, casa::log(), and String.
casa::Bool MSPlotUVWCallBack::createiterplotlabels | ( | Vector< String > | iteraxes, |
Vector< Double > | values, | ||
String & | titleString | ||
) | [inline] |
Definition at line 1703 of file MsPlotHooks.h.
References clname, casa::LogMessage::DEBUG1, itsAntNames, itsFieldNames, casa::log(), String, casa::vpf::toString(), casa::True, and casa::upcase().
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] |
Print out the time in YY/MM/DD/hh:mm:ss.s format
Definition at line 1805 of file MsPlotHooks.h.
References clname, casa::C::day, casa::MVTime::DMY, itsAntNames, itsCorrNames, itsFieldNames, itsRefFrequencies, localMS, casa::log(), casa::nelements(), casa::LogMessage::NORMAL, String, casa::vpf::toString(), casa::String::toString(), casa::True, and casa::LogMessage::WARN.
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.
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.