NSCL DDAS 12.2-009
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
29class CTCLInterpreter;
30class CTCLObject;
31class CMyEventSegment;
32
45class CSyncCommand : public CTCLObjectProcessor {
46private:
47 CMyEventSegment *m_pSegment;
48
49public:
55 CSyncCommand(CTCLInterpreter &interp, CMyEventSegment *pSeg);
57 virtual ~CSyncCommand();
58
67 int operator()(CTCLInterpreter &interp, std::vector<CTCLObject> &objv);
68};
69
70#endif
Derived class for DDAS event segments.
Definition: CMyEventSegment.h:35
Provides the ddas_sync command for the ddas readout program.
Definition: CSyncCommand.h:45
CSyncCommand(CTCLInterpreter &interp, CMyEventSegment *pSeg)
Constructor.
Definition: CSyncCommand.cpp:36
int operator()(CTCLInterpreter &interp, std::vector< CTCLObject > &objv)
Gets control when the command is invoked.
Definition: CSyncCommand.cpp:50
virtual ~CSyncCommand()
Destructor.
Definition: CSyncCommand.cpp:43