#include <RBCProcessTestSignal.h>
Public Member Functions | |
int | next () |
RBCProcessTestSignal () | |
Standard constructor. | |
RBCProcessTestSignal (const char *) | |
RPCInputSignal * | retrievedata () |
void | rewind () |
void | showfirst () |
virtual | ~RBCProcessTestSignal () |
Destructor. | |
Private Attributes | |
std::ifstream * | m_in |
RBCInput * | m_input |
RPCInputSignal * | m_lbin |
email: aosorio@uniandes.edu.co
Definition at line 26 of file RBCProcessTestSignal.h.
RBCProcessTestSignal::RBCProcessTestSignal | ( | ) | [inline] |
RBCProcessTestSignal::RBCProcessTestSignal | ( | const char * | f_name | ) |
Definition at line 17 of file RBCProcessTestSignal.cc.
References gather_cfg::cout, m_in, m_input, m_lbin, and showfirst().
{ m_in = new std::ifstream(); m_in->open(f_name); if(!m_in->is_open()) { std::cout << "RBCProcessTestSignal> cannot open file" << std::endl; } else { std::cout << "RBCProcessTestSignal> file is now open" << std::endl; } m_input = new RBCInput(); m_lbin = dynamic_cast<RPCInputSignal*>( new RBCLinkBoardSignal( m_input ) ); showfirst(); }
RBCProcessTestSignal::~RBCProcessTestSignal | ( | ) | [virtual] |
int RBCProcessTestSignal::next | ( | void | ) | [virtual] |
Implements ProcessInputSignal.
Definition at line 51 of file RBCProcessTestSignal.cc.
References m_in.
RPCInputSignal* RBCProcessTestSignal::retrievedata | ( | ) | [inline, virtual] |
Implements ProcessInputSignal.
Definition at line 41 of file RBCProcessTestSignal.h.
References m_lbin.
{ return m_lbin; };
void RBCProcessTestSignal::rewind | ( | ) |
void RBCProcessTestSignal::showfirst | ( | ) |
Definition at line 61 of file RBCProcessTestSignal.cc.
References gather_cfg::cout, and rewind().
Referenced by RBCProcessTestSignal().
std::ifstream* RBCProcessTestSignal::m_in [private] |
Definition at line 43 of file RBCProcessTestSignal.h.
Referenced by next(), RBCProcessTestSignal(), rewind(), and ~RBCProcessTestSignal().
RBCInput* RBCProcessTestSignal::m_input [private] |
Definition at line 51 of file RBCProcessTestSignal.h.
Referenced by RBCProcessTestSignal(), and ~RBCProcessTestSignal().
RPCInputSignal* RBCProcessTestSignal::m_lbin [private] |
Definition at line 53 of file RBCProcessTestSignal.h.
Referenced by RBCProcessTestSignal(), retrievedata(), and ~RBCProcessTestSignal().