artdaq_mfextensions  v1_03_03a
mfviewer::MVReceiver Class Reference

A MVReceiver class listens for messages and raises a signal when one arrives More...

#include <mfextensions/Receivers/MVReceiver.hh>

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

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. More...
 

Public Member Functions

 MVReceiver (fhicl::ParameterSet pset)
 Construct a MVReceiver using the given ParameterSet More...
 
virtual ~MVReceiver ()
 MVReceiver destructor More...
 
void stop ()
 Stop the MVReceiver thread More...
 

Protected Attributes

bool stopRequested_
 Whether the MVRecevier should stop More...
 

Detailed Description

A MVReceiver class listens for messages and raises a signal when one arrives

Definition at line 17 of file MVReceiver.hh.

Constructor & Destructor Documentation

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

Construct a MVReceiver using the given ParameterSet

Parameters
psetParameterSet used to construct MVReceiver

Definition at line 3 of file MVReceiver.cc.

virtual mfviewer::MVReceiver::~MVReceiver ( )
inlinevirtual

MVReceiver destructor

Definition at line 30 of file MVReceiver.hh.

Member Function Documentation

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.

Parameters
msgReceived message
void mfviewer::MVReceiver::stop ( )
inline

Stop the MVReceiver thread

Definition at line 35 of file MVReceiver.hh.

Member Data Documentation

bool mfviewer::MVReceiver::stopRequested_
protected

Whether the MVRecevier should stop

Definition at line 41 of file MVReceiver.hh.


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