#include <CEndCommand.h>
Inheritance diagram for CEndCommand:
Public Methods | |
CEndCommand () | |
Default constructor. | |
~CEndCommand () | |
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 | |
CEndCommand (const CEndCommand &rhs) | |
Copy constructor. | |
CEndCommand & | operator= (const CEndCommand &rhs) |
Assignment. | |
int | operator== (const CEndCommand &rhs) const |
Comparison for equality. | |
int | operator!= (const CEndCommand &rhs) const |
Definition at line 294 of file CEndCommand.h.
|
Default constructor. Create the command ("end"): Definition at line 289 of file CEndCommand.cpp. |
|
Destructor.
Definition at line 302 of file CEndCommand.h. |
|
Copy constructor.
|
|
Executest the PostEnd script. Returns the result and status code of that script. Implements CStateTransitionCommand. Definition at line 368 of file CEndCommand.cpp. |
|
Executes the PostEnd procedure; returns the return value from that script as well as the return status code from that script. NO-OP at present. Implements CStateTransitionCommand. Definition at line 356 of file CEndCommand.cpp. |
|
|
|
Executes the end command. At this time, since the global mutex is held, the trigger response loop is frozen. Therefore in this context we ask the experiment to end the run which:
Definition at line 319 of file CEndCommand.cpp. References CRunState::End(), CReadoutMain::getExperiment(), CReadoutMain::getInstance(), CReadoutMain::getRunState(), CExperiment::Stop(), and Usage(). |
|
Assignment.
|
|
Comparison for equality.
|
|
Append usage information to the result string
Definition at line 379 of file CEndCommand.cpp. Referenced by operator()(). |