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

#include <WriteModPar.h>

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

Public Member Functions

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

Provides a command wrapper for the Pixie16WriteSgnModPar method. The command requires the following additional parameters:

Constructor & Destructor Documentation

◆ CWriteModPar()

CWriteModPar::CWriteModPar ( Tcl_Interp *  pInterp)

constructor

Parameters
pInterp- pointer to the interpreter on which we register.

◆ ~CWriteModPar()

CWriteModPar::~CWriteModPar ( )
virtual

destructor

Member Function Documentation

◆ operator()()

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

operator() Executes the command.

Parameters
objv- command words.
Returns
int - TCL_OK if all is ok and TCL_ERROR for a problem.
Note
- The return value is only set if TCL_ERROR is returned and in that case, a human readable string describing the error is set as the result.
Exceptions
CXIAExceptionif the API call fails.

Implements CTclCommand.


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