NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
CSyncCommand.h
Go to the documentation of this file.
1 /*
2 * This software is Copyright by the Board of Trustees of Michigan
3 * State University (c) Copyright 2013.
4 *
5 * You may use this software under the terms of the GNU public license
6 * (GPL). The terms of this license are described at:
7 *
8 * http://www.gnu.org/licenses/gpl.txt
9 *
10 * Author:
11 * Ron Fox
12 * NSCL
13 * Michigan State University
14 * East Lansing, MI 48824-1321
15 */
16 
22 #ifndef CSYNCCOMMAND_H
23 #define CSYNCCOMMAND_H
24 
25 #include <TCLObjectProcessor.h>
26 
27 // Forward class definitions:
28 
29 class CTCLInterpreter;
30 class CTCLObject;
31 class CMyEventSegment;
32 
45 class CSyncCommand : public CTCLObjectProcessor
46 {
47 private:
48  CMyEventSegment* m_pSegment;
49 
50 public:
56  CSyncCommand(CTCLInterpreter& interp, CMyEventSegment* pSeg);
58  virtual ~CSyncCommand();
59 
68  int operator() (CTCLInterpreter& interp, std::vector<CTCLObject>& objv);
69 };
70 
71 #endif
Derived class for DDAS event segments.
Definition: CMyEventSegment.h:31
Provides the ddas_sync command for the ddas readout program.
Definition: CSyncCommand.h:46
CSyncCommand(CTCLInterpreter &interp, CMyEventSegment *pSeg)
Constructor.
Definition: CSyncCommand.cpp:37
int operator()(CTCLInterpreter &interp, std::vector< CTCLObject > &objv)
Gets control when the command is invoked.
Definition: CSyncCommand.cpp:54
virtual ~CSyncCommand()
Destructor.
Definition: CSyncCommand.cpp:45