|
NSCL DDAS 12.2-009
Support for XIA DDAS at FRIB
|
#include <IsActive.h>


Public Member Functions | |
| CIsActive (Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config) | |
| virtual | ~CIsActive () |
| virtual int | operator() (std::vector< Tcl_Obj * > &objv) |
Public Member Functions inherited from CTclCommand | |
| CTclCommand (Tcl_Interp *pInterp, const char *cmdName) | |
| virtual | ~CTclCommand () |
| virtual int | operator() (std::vector< Tcl_Obj * > &argv)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from CTclCommand | |
| Tcl_Interp * | getInterpreter () |
| void | requireExactly (std::vector< Tcl_Obj * > &objv, int nParams) |
| void | requireAtMost (std::vector< Tcl_Obj * > &objv, int max) |
| void | setResult (const char *result) |
| void | setResult (Tcl_Obj *result) |
| void | setResult (double value) |
| void | setResult (int value) |
| int | getInteger (Tcl_Obj *intObj) |
| double | getDouble (Tcl_Obj *dblObj) |
Returns information about which modules are actively taking data. The command, pixie16::isActive can be issued either with no parameters or with a module number parameter. If issued with a module number the active state of that module is returned as the result as a bool. Without a parameter it will produce a list of module statuses for each module in the configuration. This list will contain a first element which is the or of the status of all elements (e.g. a boolean that is true if any module in the configuration is active an false if none are). The remaining elements are three elements sublists that contain, in order the following elements:
| CIsActive::CIsActive | ( | Tcl_Interp * | pInterp, |
| DAQ::DDAS::Configuration & | config | ||
| ) |
constructor Construct the command.
| pInterp | - Interpreter on which the command will be registered. |
| config | - Reference to the module configuration. |
|
virtual |
destructor
|
virtual |
operator() Executes the command.
| objv | - the command words. |
Implements CTclCommand.