NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
Public Member Functions | List of all members
CBootCommand Class Reference

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>

Inheritance diagram for CBootCommand:
Inheritance graph
[legend]
Collaboration diagram for CBootCommand:
Collaboration graph
[legend]

Public Member Functions

 CBootCommand (CTCLInterpreter &interp, const char *pCmd, CMyEventSegment *pSeg)
 Constructor. More...
 
virtual ~CBootCommand ()
 Destructor. More...
 
virtual int operator() (CTCLInterpreter &interp, std::vector< CTCLObject > &objv)
 Gets control when the command is invoked. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CBootCommand()

CBootCommand::CBootCommand ( CTCLInterpreter &  interp,
const char *  pCmd,
CMyEventSegment pSeg 
)

Constructor.

Parameters
interpReference to the interpreter.
pCmdCommand string.
pSegEvent segment to manipulate.

◆ ~CBootCommand()

CBootCommand::~CBootCommand ( )
virtual

Destructor.

Member Function Documentation

◆ operator()()

int CBootCommand::operator() ( CTCLInterpreter &  interp,
std::vector< CTCLObject > &  objv 
)
virtual

Gets control when the command is invoked.

Parameters
interpInterpreter executing the command.
objvCommand words.
Returns
Status of the command.
Return values
TCL_OKSuccessful completion.
TCL_ERRORFailure. 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: