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

#include <Release.h>

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

Public Member Functions

 CRelease (Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config)
 
virtual ~CRelease ()
 
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 the pixie16::release command that releases access to the modules in the configuration.

Constructor & Destructor Documentation

◆ CRelease()

CRelease::CRelease ( Tcl_Interp *  pInterp,
DAQ::DDAS::Configuration config 
)

constructor Base class construction registers the command and we squirrel away the configuration so we know which module numbers exist and need to be released.

◆ ~CRelease()

CRelease::~CRelease ( )
virtual

destructor null for now.

Member Function Documentation

◆ operator()()

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

operator() Called in response to the command.

Parameters
objv- the command words
Returns
int - TCL_OK on success TCL_ERROR on failure with an error message in the result.
Exceptions
CXIAExceptionif any of the API calls fail.

Implements CTclCommand.


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