#include <CBootCommand.h>
|
| CBootCommand (CTCLInterpreter &interp, const char *pCmd, CMyEventSegment *pSeg) |
|
virtual | ~CBootCommand () |
|
virtual int | operator() (CTCLInterpreter &interp, std::vector< CTCLObject > &objv) |
|
| CBootCommand (CTCLInterpreter &interp, const char *pCmd, CMyEventSegment *pSeg) |
|
virtual int | operator() (CTCLInterpreter &interp, std::vector< CTCLObject > &objv) |
|
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.
Syntax:
* ddasboot
*
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 |
( |
| ) |
|
|
virtual |
int CBootCommand::operator() |
( |
CTCLInterpreter & |
interp, |
|
|
std::vector< CTCLObject > & |
objv |
|
) |
| |
|
virtual |
operator() Gets control when the command is invoked.
- Ensures there are no additional command parameters.
- Invokes the segments's boot method.
- Parameters
-
interp | - interpreter executing the command. |
objv | - command words. |
- Returns
- int - Status of the command:
- TCL_OK - successful completion.
- TCL_ERROR - failure. Human readable reason is in the intepreter result.
The documentation for this class was generated from the following files: