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

#include <RestoreParams.h>

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

Public Member Functions

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

Implements the pixie16::restore command which loads a .set file into the modules.

Constructor & Destructor Documentation

◆ CRestoreParams()

CRestoreParams::CRestoreParams ( Tcl_Interp *  pInterp)

constructor

Parameters
pInterp- interpreter on which we're registering.

◆ ~CRestoreParams()

CRestoreParams::~CRestoreParams ( )
virtual

destructor

Member Function Documentation

◆ operator()()

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

operator() Perform the command.

Parameters
objv- the command line words.
Returns
int
Exceptions
CXIAExceptionif the API call fails.

Implements CTclCommand.


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