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
ProcessInputSignal
Definition: ProcessInputSignal.h:18
RBCProcessTestSignal::next
int next() override
Definition: RBCProcessTestSignal.cc:34
RBCProcessTestSignal
Definition: RBCProcessTestSignal.h:25
RBCProcessTestSignal::RBCProcessTestSignal
RBCProcessTestSignal(const char *)
Definition: RBCProcessTestSignal.cc:15
RBCProcessTestSignal::m_in
std::ifstream m_in
Definition: RBCProcessTestSignal.h:37
ProcessInputSignal.h
RBCProcessTestSignal::~RBCProcessTestSignal
~RBCProcessTestSignal() override
Destructor.
Definition: RBCProcessTestSignal.cc:30
RPCInputSignal
Definition: RPCInputSignal.h:12
RBCInput.h
RBCProcessTestSignal::m_lbin
std::unique_ptr< RPCInputSignal > m_lbin
Definition: RBCProcessTestSignal.h:45
RBCProcessTestSignal::showfirst
void showfirst()
Definition: RBCProcessTestSignal.cc:43
RBCProcessTestSignal::rewind
void rewind()
Definition: RBCProcessTestSignal.cc:50
RBCInput
Definition: RBCInput.h:22
RBCProcessTestSignal::retrievedata
RPCInputSignal * retrievedata() override
Definition: RBCProcessTestSignal.h:37
RBCProcessTestSignal::m_input
RBCInput m_input
Definition: RBCProcessTestSignal.h:43
RPCInputSignal.h