CMS 3D CMS Logo

RBCProcessTestSignal.h
Go to the documentation of this file.
1 #ifndef RBCPROCESSTESTSIGNAL_H
2 #define RBCPROCESSTESTSIGNAL_H 1
3 
4 // Include files
8 
9 #include <cstdlib>
10 #include <iostream>
11 #include <fstream>
12 #include <ios>
13 #include <cmath>
14 #include <memory>
15 
26 public:
27  explicit RBCProcessTestSignal(const char*);
28 
29  ~RBCProcessTestSignal() override;
30 
31  int next() override;
32 
33  void rewind();
34 
35  void showfirst();
36 
37  RPCInputSignal* retrievedata() override { return m_lbin.get(); };
38 
39 protected:
40 private:
41  std::ifstream m_in;
42 
44 
45  std::unique_ptr<RPCInputSignal> m_lbin;
46 };
47 #endif // RBCPROCESSTESTSIGNAL_H
std::unique_ptr< RPCInputSignal > m_lbin
RPCInputSignal * retrievedata() override
RBCProcessTestSignal(const char *)
~RBCProcessTestSignal() override
Destructor.