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 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) |
|
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 |
pset | ) |
|
|
explicit |
mfviewer::UDPReceiver::~UDPReceiver |
( |
| ) |
|
|
virtual |
qt_mf_msg mfviewer::UDPReceiver::read_msg |
( |
std::string |
input | ) |
|
void mfviewer::UDPReceiver::run |
( |
| ) |
|
|
override |
Receiver method. Receive messages and emit NewMessage signal
Definition at line 75 of file UDP_receiver.cc.
bool mfviewer::UDPReceiver::validate_packet |
( |
std::string |
input | ) |
|
|
static |
Run simple validation tests on message
- Parameters
-
- Returns
- True if message contains "MF" marker and at least one "|" delimeter
Definition at line 284 of file UDP_receiver.cc.
The documentation for this class was generated from the following files: