#include <CPauseCommand.h>
Inheritance diagram for CPauseCommand:
Public Methods | |
CPauseCommand () | |
Default constructor. | |
~CPauseCommand () | |
Destructor. | |
virtual int | operator() (CTCLInterpreter &rInterp, CTCLResult &rResult, int argc, char **argv) |
virtual int | ExecutePreFunction () |
virtual int | ExecutePostFunction () |
Static Protected Methods | |
void | Usage (CTCLResult &rResult) |
Private Methods | |
CPauseCommand (const CPauseCommand &rhs) | |
Copy constructor. | |
CPauseCommand & | operator= (const CPauseCommand &rhs) |
Assignment. | |
int | operator== (const CPauseCommand &rhs) const |
Comparison for equality. | |
int | operator!= (const CPauseCommand &rhs) const |
Definition at line 293 of file CPauseCommand.h.
|
Default constructor. Default constructor creates the "pause" command. Definition at line 287 of file CPauseCommand.cpp. |
|
Destructor.
Definition at line 301 of file CPauseCommand.h. |
|
Copy constructor.
|
|
Invokes the PostPause script. The result of that script is set in our interpreter's result field. The status of the script is returned. Implements CStateTransitionCommand. Definition at line 382 of file CPauseCommand.cpp. |
|
Executes the PrePause script. The result of the script is returned as the current interpreter's result string and the status is the return value of this function. Implements CStateTransitionCommand. Definition at line 368 of file CPauseCommand.cpp. |
|
|
|
Executes the pause command. The pause command requires an active run. The run is temporarily suspended. paused runs can be either resumed or directly stopped. There are two threads of interest: This thread ( the Tcl interpreter), and the trigger thread. Actions done are:
Definition at line 327 of file CPauseCommand.cpp. References CReadoutMain::getExperiment(), CReadoutMain::getInstance(), CReadoutMain::getRunState(), CRunState::Pause(), CExperiment::Stop(), and Usage(). |
|
Assignment.
|
|
Comparison for equality.
|
|
Add command usage information to the rResult string: Definition at line 392 of file CPauseCommand.cpp. Referenced by operator()(). |