NSCL DDAS 12.2-009
Support for XIA DDAS at FRIB
InitSystem.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 2017.
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 Authors:
11 Ron Fox
12 Giordano Cerriza
13 NSCL
14 Michigan State University
15 East Lansing, MI 48824-1321
16*/
17
22#ifndef INITSYSTEM_H
23#define INITSYSTEM_H
24
25#include "CTclCommand.h"
26
27// Forward definitions.
28namespace DAQ {
29namespace DDAS {
30class Configuration;
31}
32} // namespace DAQ
33
38class CInitSystem : public CTclCommand {
39private:
40 DAQ::DDAS::Configuration &m_config; // References the config.
41public:
42 CInitSystem(Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config);
43 virtual ~CInitSystem();
44
45 virtual int operator()(std::vector<Tcl_Obj *> &argv);
46};
47
48#endif
Base class for Tcl commands.
Definition: InitSystem.h:38
virtual int operator()(std::vector< Tcl_Obj * > &argv)
Definition: InitSystem.cpp:55
virtual ~CInitSystem()
Definition: InitSystem.cpp:42
CInitSystem(Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config)
Definition: InitSystem.cpp:35
Definition: CTclCommand.h:35
Store the system configuration information needed by Readout.
Definition: Configuration.h:88