NSCL DDAS 12.2-009
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
27class CMyEventSegment;
28class CTCLInterpreter;
29class CTCLObject;
30
38class CBootCommand : public CTCLObjectProcessor {
39private:
40 CMyEventSegment *m_pSegment;
41
42public:
49 CBootCommand(CTCLInterpreter &interp, const char *pCmd,
50 CMyEventSegment *pSeg);
52 virtual ~CBootCommand();
53
63 virtual int operator()(CTCLInterpreter &interp,
64 std::vector<CTCLObject> &objv);
65};
66
67#endif
This class implements the ddasboot command. It is added to to the Tcl interpreter that runs ddasreado...
Definition: CBootCommand.h:38
virtual int operator()(CTCLInterpreter &interp, std::vector< CTCLObject > &objv)
Gets control when the command is invoked.
Definition: CBootCommand.cpp:43
virtual ~CBootCommand()
Destructor.
Definition: CBootCommand.cpp:36
CBootCommand(CTCLInterpreter &interp, const char *pCmd, CMyEventSegment *pSeg)
Constructor.
Definition: CBootCommand.cpp:32
Derived class for DDAS event segments.
Definition: CMyEventSegment.h:35