NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
PixieCrateReader.h
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 
21 #ifndef PIXIECRATEREADER_H
22 #define PIXIECRATEREADER_H
23 #include "CrateReader.h"
24 
25 namespace DDAS {
26 
27 class CrateManager;
28 
42 {
43 private:
44  CrateManager* m_pManager;
45 public:
47  unsigned crate, const std::vector<unsigned short>& slots
48  );
49  virtual ~PixieCrateReader();
50 
51  // Provide a PixieSettingsReader for the specified slots.
52 
53  virtual SettingsReader* createReader(unsigned short slot);
54 };
55 
56 } // DDAS Namespace.
57 #endif
Definition: CrateManager.h:40
virtual SettingsReader * createReader(unsigned short slot)
Definition: PixieCrateReader.cpp:62
: Defines a class that can read a crate.
Definition: SettingsReader.h:38
Definition: PixieCrateReader.h:41
Definition: CrateReader.h:40
virtual ~PixieCrateReader()
Definition: PixieCrateReader.cpp:47
PixieCrateReader(unsigned crate, const std::vector< unsigned short > &slots)
Definition: PixieCrateReader.cpp:37
Definition: functions.h:26