NSCL DDAS 12.2-009
Support for XIA DDAS at FRIB
Public Member Functions | List of all members
CReadModPar Class Reference

#include <ReadModPar.h>

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

Public Member Functions

 CReadModPar (Tcl_Interp *pInterp)
 
virtual ~CReadModPar ()
 
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)
 

Detailed Description

This is a jacked for Pixie16ReadSglModPar. The command needs two additional parameters in order:

Constructor & Destructor Documentation

◆ CReadModPar()

CReadModPar::CReadModPar ( Tcl_Interp *  pInterp)

constructor

Parameters
pInterp- pointer to the interpreter.

◆ ~CReadModPar()

CReadModPar::~CReadModPar ( )
virtual

destructor

Member Function Documentation

◆ operator()()

int CReadModPar::operator() ( std::vector< Tcl_Obj * > &  objv)
virtual

operator() Executes the command

Parameters
objv- vector of command words.
Returns
int - TCL_OK On success, TCL_ERROR on failure.
Note
On success, the result is an integer value read from the module. On failure, the result is a textual error message
Exceptions
CXIAExceptionif the API call fails.

Implements CTclCommand.


The documentation for this class was generated from the following files: