artdaq_mfextensions  v1_05_00
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

Public Member Functions

template<typename T >
void qt_check_for_QOBJECT_macro (const T &_q_argument) const
 
virtual const QMetaObject * metaObject () const
 
virtual void * qt_metacast (const char *)
 
virtual int qt_metacall (QMetaObject::Call, int, void **)
 
 MVReceiver (fhicl::ParameterSet const &pset)
 Construct a MVReceiver using the given ParameterSet More...
 
virtual ~MVReceiver ()
 MVReceiver destructor More...
 
void stop ()
 Stop the MVReceiver thread More...
 

Static Public Member Functions

static QString tr (const char *s, const char *c=0)
 
static QString trUtf8 (const char *s, const char *c=0)
 
static QString tr (const char *s, const char *c, int n)
 
static QString trUtf8 (const char *s, const char *c, int n)
 

Static Public Attributes

static const QMetaObject staticMetaObject
 

Protected Member Functions

void NewMessage (msg_ptr_t 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

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 const &  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 31 of file MVReceiver.hh.

Member Function Documentation

void mfviewer::MVReceiver::NewMessage ( msg_ptr_t const &  msg)
protected

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 36 of file MVReceiver.hh.

Member Data Documentation

bool mfviewer::MVReceiver::stopRequested_
protected

Whether the MVRecevier should stop

Definition at line 42 of file MVReceiver.hh.


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