NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
CBootCommand.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 CBOOTCOMMAND_H
23 #define CBOOTCOMMAND_H
24 
25 #include <TCLObjectProcessor.h>
26 
27 class CMyEventSegment;
28 class CTCLInterpreter;
29 class CTCLObject;
30 
38 class CBootCommand : public CTCLObjectProcessor
39 {
40 private:
41  CMyEventSegment* m_pSegment;
42 
43 public:
51  CTCLInterpreter& interp, const char* pCmd, CMyEventSegment* pSeg
52  );
54  virtual ~CBootCommand();
55 
65  virtual int operator()(
66  CTCLInterpreter& interp, std::vector<CTCLObject>& objv
67  );
68 };
69 
70 #endif
This class implements the ddasboot command. It is added to to the Tcl interpreter that runs ddasreado...
Definition: CBootCommand.h:39
virtual int operator()(CTCLInterpreter &interp, std::vector< CTCLObject > &objv)
Gets control when the command is invoked.
Definition: CBootCommand.cpp:47
virtual ~CBootCommand()
Destructor.
Definition: CBootCommand.cpp:39
CBootCommand(CTCLInterpreter &interp, const char *pCmd, CMyEventSegment *pSeg)
Constructor.
Definition: CBootCommand.cpp:32
Derived class for DDAS event segments.
Definition: CMyEventSegment.h:31