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 
43  return m_lbin.get();
44  };
45 
46  void mask() {};
47  void force() {};
48 
49 protected:
50 
51 private:
52 
53  void builddata();
54 
55  std::ifstream m_in;
56 
57  std::unique_ptr<RPCInputSignal> m_lbin;
58 
59  std::vector<std::unique_ptr<RPCData>> m_vecdata;
60 
61  std::map<int,RBCInput*> m_data;
62 
63 
64 };
65 #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