artdaq_mfextensions  v1_03_05
mfviewer::LogReader Class Reference

MessageFacility Log Reader Read messagefacility log archive and reemit as messagefacility messages More...

#include <mfextensions/Receivers/LogReader_receiver.hh>

Inheritance diagram for mfviewer::LogReader:
mfviewer::MVReceiver

Public Member Functions

 LogReader (fhicl::ParameterSet pset)
 LogReader Constructor More...
 
virtual ~LogReader ()
 LogReader Destructor More...
 
void run ()
 Receiver loop method. Reads messages from file and emits newMessage signal More...
 
qt_mf_msg read_next ()
 Read the next message from the input stream More...
 
- Public Member Functions inherited from mfviewer::MVReceiver
 MVReceiver (fhicl::ParameterSet pset)
 Construct a MVReceiver using the given ParameterSet More...
 
virtual ~MVReceiver ()
 MVReceiver destructor More...
 
void stop ()
 Stop the MVReceiver thread More...
 

Additional Inherited Members

- Signals inherited from mfviewer::MVReceiver
void NewMessage (qt_mf_msg const &msg)
 When a message is received by the MVReceiver, this signal should be raised so that the connected listener can process it. More...
 
- Protected Attributes inherited from mfviewer::MVReceiver
bool stopRequested_
 Whether the MVRecevier should stop More...
 

Detailed Description

MessageFacility Log Reader Read messagefacility log archive and reemit as messagefacility messages

Definition at line 20 of file LogReader_receiver.hh.

Constructor & Destructor Documentation

mfviewer::LogReader::LogReader ( fhicl::ParameterSet  pset)
explicit

LogReader Constructor

Parameters
psetParameterSet used to configure the LogReader

Definition at line 5 of file LogReader_receiver.cc.

mfviewer::LogReader::~LogReader ( )
virtual

LogReader Destructor

Definition at line 19 of file LogReader_receiver.cc.

Member Function Documentation

qt_mf_msg mfviewer::LogReader::read_next ( )

Read the next message from the input stream

Returns
qt_mf_msg from log file

Definition at line 63 of file LogReader_receiver.cc.

void mfviewer::LogReader::run ( )

Receiver loop method. Reads messages from file and emits newMessage signal

Definition at line 21 of file LogReader_receiver.cc.


The documentation for this class was generated from the following files: