NSCL DDAS 12.2-009
Support for XIA DDAS at FRIB
Boot.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 BOOT_H
23#define BOOT_H
24
25#include <string>
26
27#include "CTclCommand.h"
28
29// Forward definitions:
30
31namespace DAQ {
32namespace DDAS {
33class Configuration;
34}
35} // namespace DAQ
36
52class CBoot : public CTclCommand {
53private:
55
56public:
57 CBoot(Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config);
58 virtual ~CBoot();
59
60 virtual int operator()(std::vector<Tcl_Obj *> &objv);
61
62private:
63 int getHardwareType(int index);
64 void bootModule(int index, int slot, int type);
65};
66#endif
Base class for Tcl commands.
Definition: Boot.h:52
virtual int operator()(std::vector< Tcl_Obj * > &objv)
Definition: Boot.cpp:61
virtual ~CBoot()
Definition: Boot.cpp:48
CBoot(Tcl_Interp *pInterp, DAQ::DDAS::Configuration &config)
Definition: Boot.cpp:41
Definition: CTclCommand.h:35
Store the system configuration information needed by Readout.
Definition: Configuration.h:88