NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | List of all members
CSyncCommand Class Reference

#include <CSyncCommand.h>

Inheritance diagram for CSyncCommand:

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)
 

Detailed Description

Provides the ddas_sync command for the ddas readout program.

Constructor & Destructor Documentation

CSyncCommand::CSyncCommand ( CTCLInterpreter &  interp,
CMyEventSegment pSeg 
)

Constructor Base class registers the command. We need to save the event processor pointer:

CSyncCommand::~CSyncCommand ( )
virtual

destructor Chain to superclass for now.

Member Function Documentation

int CSyncCommand::operator() ( CTCLInterpreter &  interp,
std::vector< CTCLObject > &  objv 
)

operator() Gets control when the command is invoked. We're just going to

  • Esnure there are no more parameters.
  • Invoke the event segment's synchronize method.
Parameters
interp- intepreter that is running this command.
objv- words that make up the tcl command.
Returns
int TCL_OK, TCL_ERROR to give the result.

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