#include <CBeginCommand.h>
Inheritance diagram for CBeginCommand:
Public Methods | |
CBeginCommand () | |
Default constructor. | |
~CBeginCommand () | |
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 | |
CBeginCommand (const CBeginCommand &rhs) | |
Copy constructor. | |
CBeginCommand & | operator= (const CBeginCommand &rhs) |
Assignment. | |
int | operator== (const CBeginCommand &rhs) const |
Comparison for equality. | |
int | operator!= (const CBeginCommand &rhs) const |
Definition at line 296 of file CBeginCommand.h.
|
Default constructor. Construct a begin command. Definition at line 290 of file CBeginCommand.cpp. |
|
Destructor.
Definition at line 304 of file CBeginCommand.h. |
|
Copy constructor.
|
|
Called to execute the PostBegin script (if defined).
Implements CStateTransitionCommand. Definition at line 385 of file CBeginCommand.cpp. |
|
Executes the PreBegin script; returning the status and result string.
Implements CStateTransitionCommand. Definition at line 370 of file CBeginCommand.cpp. |
|
|
|
Executes the begin command. For the most part, all we do is validate that the run can be started, and then ask the experiment to start itself. The experiment will perform all initializations in our context:
begin No parameters are allowed or supported. Definition at line 326 of file CBeginCommand.cpp. References CRunState::Begin(), CReadoutMain::getExperiment(), CReadoutMain::getInstance(), CReadoutMain::getRunState(), CExperiment::Start(), and Usage(). |
|
Assignment.
|
|
Comparison for equality.
|
|
Provide command online help.
Definition at line 397 of file CBeginCommand.cpp. Referenced by operator()(). |