NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
Public Member Functions | List of all members
CSyncCommand Class Reference

Provides the ddas_sync command for the ddas readout program. More...

#include <CSyncCommand.h>

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

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...
 

Detailed Description

Provides the ddas_sync command for the ddas readout program.

Constructor & Destructor Documentation

◆ CSyncCommand()

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

Constructor.

Parameters
interpReference to the interpreter.
pSegEvent segment to manipulate.

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

◆ ~CSyncCommand()

CSyncCommand::~CSyncCommand ( )
virtual

Destructor.

Chain to superclass for now.

Member Function Documentation

◆ operator()()

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

Gets control when the command is invoked.

Parameters
interpIntepreter that is running this command.
objvWords that make up the tcl command.
Returns
Command status.
Return values
TCL_OKSuccess.
TCL_ERRORFailure.
  • Ensure there are no more parameters.
  • Invoke the event segment's synchronize method.

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