NSCL DDAS
12.1-001
Support for XIA DDAS at FRIB
|
Provides the ddas_sync command for the ddas readout program. More...
#include <CSyncCommand.h>
Public Member Functions | |
CSyncCommand (CTCLInterpreter &interp, CMyEventSegment *pSeg) | |
Constructor. More... | |
virtual | ~CSyncCommand () |
Destructor. More... | |
int | operator() (CTCLInterpreter &interp, std::vector< CTCLObject > &objv) |
Gets control when the command is invoked. More... | |
Provides the ddas_sync command for the ddas readout program.
CSyncCommand::CSyncCommand | ( | CTCLInterpreter & | interp, |
CMyEventSegment * | pSeg | ||
) |
Constructor.
interp | Reference to the interpreter. |
pSeg | Event segment to manipulate. |
Base class registers the command. We need to save the event processor pointer.
|
virtual |
Destructor.
Chain to superclass for now.
int CSyncCommand::operator() | ( | CTCLInterpreter & | interp, |
std::vector< CTCLObject > & | objv | ||
) |
Gets control when the command is invoked.
interp | Intepreter that is running this command. |
objv | Words that make up the tcl command. |
TCL_OK | Success. |
TCL_ERROR | Failure. |