casa  $Rev:20696$
Classes | Functions | Variables
plotms_private.h File Reference

Go to the source code of this file.

Classes

class  plotms_watcher
 Implementation of casapy_watcher for use with plotms component. More...
class  plotms_app

Functions

bool displaySet ()
 Returns true if the DISPLAY environment variable is set, false otherwise.
void launchApp ()
 Launches the dbus plotms application IF it is not already launched.
void closeApp ()
 Closes the launched dbus plotms application if needed.
void callAsync (const String &methodName)
 Helper method for calling an async method.
void waitUntilIdle ()
 Helper method for realizing synchronous behavior.
void setPlotMSSelection_ (const PlotMSSelection &selection, const bool updateImmediately, const int plotIndex)
 Helper method for setting the MS selection.
void setPlotMSAveraging_ (const PlotMSAveraging &averaging, const bool updateImmediately, const int plotIndex)
 Helper method for setting the MS averaging.
void setPlotMSTransformations_ (const PlotMSTransformations &trans, const bool updateImmediately, const int plotIndex)
 Helper method for setting the MS transformations.
void setPlotMSIterate_ (const PlotMSIterParam &iter, const bool updateImmediately, const int plotIndex)
 Helper method for setting the iteration parameters.
void setFlagging_ (const PlotMSFlagging &flagging)
 Helper method for setting the flag extension.

Variables

static const unsigned int LAUNCH_WAIT_INTERVAL_US
 The Private declarations of the PlotMS component.
static const unsigned int LAUNCH_TOTAL_WAIT_US
plotms_app app
 Non-Static //.
plotms_watcher itsWatcher_
 Casapy watcher.
String itsLogFilename_
 Log parameters that are set before the application is launched.
String itsLogFilter_
bool doIter_
 Bool that turns on iteration.

Function Documentation

void callAsync ( const String &  methodName)

Helper method for calling an async method.

void closeApp ( )

Closes the launched dbus plotms application if needed.

bool displaySet ( )

Returns true if the DISPLAY environment variable is set, false otherwise.

If not set, an error message is printed.

void launchApp ( )

Launches the dbus plotms application IF it is not already launched.

void setFlagging_ ( const PlotMSFlagging &  flagging)

Helper method for setting the flag extension.

void setPlotMSAveraging_ ( const PlotMSAveraging &  averaging,
const bool  updateImmediately,
const int  plotIndex 
)

Helper method for setting the MS averaging.

void setPlotMSIterate_ ( const PlotMSIterParam &  iter,
const bool  updateImmediately,
const int  plotIndex 
)

Helper method for setting the iteration parameters.

void setPlotMSSelection_ ( const PlotMSSelection &  selection,
const bool  updateImmediately,
const int  plotIndex 
)

Helper method for setting the MS selection.

void setPlotMSTransformations_ ( const PlotMSTransformations &  trans,
const bool  updateImmediately,
const int  plotIndex 
)

Helper method for setting the MS transformations.

void waitUntilIdle ( )

Helper method for realizing synchronous behavior.


Variable Documentation

Non-Static //.

must forward declare & use a pointer because build system does not allow extra include in plotms_cmpt.h..\.

Definition at line 52 of file plotms_private.h.

bool doIter_

Bool that turns on iteration.

Definition at line 99 of file plotms_private.h.

Log parameters that are set before the application is launched.

Definition at line 59 of file plotms_private.h.

String itsLogFilter_

Definition at line 59 of file plotms_private.h.

Casapy watcher.

Definition at line 55 of file plotms_private.h.

const unsigned int LAUNCH_TOTAL_WAIT_US [static]

Definition at line 9 of file plotms_private.h.

const unsigned int LAUNCH_WAIT_INTERVAL_US [static]

The Private declarations of the PlotMS component.

Static //

Constants for how long to wait for the casapy application to launch, in microseconds.

Definition at line 8 of file plotms_private.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines