This class implements the ddasboot command. It is added to to the Tcl interpreter that runs ddasreadout so that the DDAS modules can be booted on-demand rather than every time the Readout program starts.
More...
#include <CBootCommand.h>
This class implements the ddasboot command. It is added to to the Tcl interpreter that runs ddasreadout so that the DDAS modules can be booted on-demand rather than every time the Readout program starts.
◆ CBootCommand()
CBootCommand::CBootCommand |
( |
CTCLInterpreter & |
interp, |
|
|
const char * |
pCmd, |
|
|
CMyEventSegment * |
pSeg |
|
) |
| |
Constructor.
- Parameters
-
interp | Reference to the interpreter. |
pCmd | Command string. |
pSeg | Event segment to manipulate. |
◆ ~CBootCommand()
CBootCommand::~CBootCommand |
( |
| ) |
|
|
virtual |
◆ operator()()
int CBootCommand::operator() |
( |
CTCLInterpreter & |
interp, |
|
|
std::vector< CTCLObject > & |
objv |
|
) |
| |
|
virtual |
Gets control when the command is invoked.
- Parameters
-
interp | Interpreter executing the command. |
objv | Command words. |
- Returns
- Status of the command.
- Return values
-
TCL_OK | Successful completion. |
TCL_ERROR | Failure. Human readable reason is in the intepreter result. |
Ensures there are no additional command parameters. Invokes the segments's boot method.
The documentation for this class was generated from the following files: