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

#include <SaveParams.h>

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

Public Member Functions

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

Save the DSP parameters for all modules to file. Only one extra command line parameer is accepted, the name of the file to which the parameters will be written.

Constructor & Destructor Documentation

◆ CSaveParams()

CSaveParams::CSaveParams ( Tcl_Interp *  pInterp)

constructor

Parameters
pInterp- interpreter on which we'r registering.

◆ ~CSaveParams()

CSaveParams::~CSaveParams ( )
virtual

destructor

Member Function Documentation

◆ operator()()

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

operator() Perform the command.

Parameters
objv- the command words.
Returns
int- TCL_OK on ok or TCL_ERROR on failure.
Note
the result is only set on error and then contains a string describing the error.
Exceptions
CXIAExceptionif the API call fails.

Implements CTclCommand.


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