NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
|
#include <CSyncCommand.h>
Public Member Functions | |
CSyncCommand (CTCLInterpreter &interp, CMyEventSegment *pSeg) | |
virtual | ~CSyncCommand () |
int | operator() (CTCLInterpreter &interp, std::vector< CTCLObject > &objv) |
CSyncCommand (CTCLInterpreter &interp, CMyEventSegment *pSeg) | |
int | operator() (CTCLInterpreter &interp, std::vector< CTCLObject > &objv) |
Provides the ddas_sync command for the ddas readout program.
CSyncCommand::CSyncCommand | ( | CTCLInterpreter & | interp, |
CMyEventSegment * | pSeg | ||
) |
Constructor 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 | ||
) |
operator() Gets control when the command is invoked. We're just going to
interp | - intepreter that is running this command. |
objv | - words that make up the tcl command. |