Receive messages through a UDP socket. Expects the syslog format provided by UDP_mfPlugin (ELUDP)
More...
#include <mfextensions/Receivers/UDP_receiver.hh>
|
static bool | validate_packet (std::string const &input) |
| Run simple validation tests on message More...
|
|
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 const QMetaObject | staticMetaObject |
|
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...
|
|
bool | stopRequested_ |
| Whether the MVRecevier should stop More...
|
|
Receive messages through a UDP socket. Expects the syslog format provided by UDP_mfPlugin (ELUDP)
Definition at line 12 of file UDP_receiver.hh.
mfviewer::UDPReceiver::UDPReceiver |
( |
fhicl::ParameterSet const & |
pset | ) |
|
|
explicit |
mfviewer::UDPReceiver::~UDPReceiver |
( |
| ) |
|
|
virtual |
msg_ptr_t mfviewer::UDPReceiver::read_msg |
( |
std::string const & |
input | ) |
|
void mfviewer::UDPReceiver::run |
( |
| ) |
|
|
override |
Receiver method. Receive messages and emit NewMessage signal
Definition at line 80 of file UDP_receiver.cc.
bool mfviewer::UDPReceiver::validate_packet |
( |
std::string const & |
input | ) |
|
|
static |
Run simple validation tests on message
- Parameters
-
- Returns
- True if message contains "MF" marker and at least one "|" delimeter
Definition at line 289 of file UDP_receiver.cc.
The documentation for this class was generated from the following files: