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
ProcessInputSignal
Definition: ProcessInputSignal.h:18
ProcessTestSignal::m_data
std::map< int, RBCInput * > m_data
Definition: ProcessTestSignal.h:57
ProcessTestSignal::ProcessTestSignal
ProcessTestSignal(const char *)
Definition: ProcessTestSignal.cc:16
ProcessTestSignal::m_lbin
std::unique_ptr< RPCInputSignal > m_lbin
Definition: ProcessTestSignal.h:53
ProcessTestSignal::m_vecdata
std::vector< std::unique_ptr< RPCData > > m_vecdata
Definition: ProcessTestSignal.h:55
ProcessInputSignal.h
RPCInputSignal
Definition: RPCInputSignal.h:12
RBCInput.h
ProcessTestSignal::rewind
void rewind()
Definition: ProcessTestSignal.cc:58
ProcessTestSignal::~ProcessTestSignal
~ProcessTestSignal() override
Destructor.
Definition: ProcessTestSignal.cc:30
ProcessTestSignal::reset
void reset()
Definition: ProcessTestSignal.cc:63
RPCData.h
ProcessTestSignal::next
int next() override
Definition: ProcessTestSignal.cc:33
ProcessTestSignal::m_in
std::ifstream m_in
Definition: ProcessTestSignal.h:51
ProcessTestSignal::showfirst
void showfirst()
Definition: ProcessTestSignal.cc:51
ProcessTestSignal::retrievedata
RPCInputSignal * retrievedata() override
Definition: ProcessTestSignal.h:42
ProcessTestSignal::force
void force()
Definition: ProcessTestSignal.h:45
RPCInputSignal.h
ProcessTestSignal::builddata
void builddata()
Definition: ProcessTestSignal.cc:65
ProcessTestSignal
Definition: ProcessTestSignal.h:28
ProcessTestSignal::mask
void mask()
Definition: ProcessTestSignal.h:44