A MVReceiver class listens for messages and raises a signal when one arrives. More...
#include <mfextensions/Receivers/MVReceiver.hh>
Signals | |
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. | |
Public Member Functions | |
MVReceiver (fhicl::ParameterSet pset) | |
Construct a MVReceiver using the given ParameterSet. | |
virtual | ~MVReceiver () |
MVReceiver destructor. | |
void | stop () |
Stop the MVReceiver thread. | |
Protected Attributes | |
bool | stopRequested_ |
Whether the MVRecevier should stop. |
A MVReceiver class listens for messages and raises a signal when one arrives.
Definition at line 18 of file MVReceiver.hh.
mfviewer::MVReceiver::MVReceiver | ( | fhicl::ParameterSet | pset | ) | [explicit] |
Construct a MVReceiver using the given ParameterSet.
pset | ParameterSet used to construct MVReceiver |
Definition at line 3 of file MVReceiver.cc.
virtual mfviewer::MVReceiver::~MVReceiver | ( | ) | [inline, virtual] |
MVReceiver destructor.
Definition at line 32 of file MVReceiver.hh.
void mfviewer::MVReceiver::NewMessage | ( | qt_mf_msg const & | msg | ) | [signal] |
When a message is received by the MVReceiver, this signal should be raised so that the connected listener can process it.
msg | Received message |
void mfviewer::MVReceiver::stop | ( | ) | [inline] |
Stop the MVReceiver thread.
Definition at line 37 of file MVReceiver.hh.
bool mfviewer::MVReceiver::stopRequested_ [protected] |
Whether the MVRecevier should stop.
Definition at line 42 of file MVReceiver.hh.