CMS 3D CMS Logo

ProcessTestSignal.h
Go to the documentation of this file.
1 #ifndef PROCESSTESTSIGNAL_H
2 #define PROCESSTESTSIGNAL_H 1
3 
4 // Include files
5 
10 
11 #include <cstdlib>
12 #include <iostream>
13 #include <fstream>
14 #include <ios>
15 #include <cmath>
16 #include <vector>
17 #include <memory>
18 
29 public:
30  explicit ProcessTestSignal(const char*);
31 
32  ~ProcessTestSignal() override;
33 
34  int next() override;
35 
36  void rewind();
37 
38  void showfirst();
39 
40  void reset();
41 
42  RPCInputSignal* retrievedata() override { return m_lbin.get(); };
43 
44  void mask() {}
45  void force() {}
46 
47 protected:
48 private:
49  void builddata();
50 
51  std::ifstream m_in;
52 
53  std::unique_ptr<RPCInputSignal> m_lbin;
54 
55  std::vector<std::unique_ptr<RPCData>> m_vecdata;
56 
57  std::map<int, RBCInput*> m_data;
58 };
59 #endif // PROCESSTESTSIGNAL_H
std::map< int, RBCInput * > m_data
std::unique_ptr< RPCInputSignal > m_lbin
ProcessTestSignal(const char *)
std::vector< std::unique_ptr< RPCData > > m_vecdata
~ProcessTestSignal() override
Destructor.
std::ifstream m_in
int next() override
RPCInputSignal * retrievedata() override