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


Public Member Functions | |
| CInventory (Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config) | |
| virtual | ~CInventory () |
| virtual int | operator() (std::vector< Tcl_Obj * > &argv) |
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) |
This class provides the pixie16::inventory command it returns information about the moduels that are int the crate. The returned value is a Tcl list of lists. The list item index is the module number. The list subelements will be: {slot revision serial bits Mhz}.
| CInventory::CInventory | ( | Tcl_Interp * | pInterp, |
| DAQ::DDAS::Configuration & | config | ||
| ) |
constructor
| pInterp | Interpreter we register the pixie16::inventory command. |
| config | References the configuration from which we get slots. |
|
virtual |
destructor, currently empty.
|
virtual |
operator() Process the command:
| argv | - the command line parameters |
| TCL_ERROR | on failure with an english error message. |
Implements CTclCommand.