artdaq_mfextensions  v1_05_00
mfplugins::ELUDP Class Reference

Message Facility UDP Streamer Destination Formats messages into a delimited string and sends via UDP More...

Inheritance diagram for mfplugins::ELUDP:

Classes

struct  Config
 Configuration Parameters for ELUDP. More...
 

Public Types

using Parameters = fhicl::WrappedTable< Config >
 Used for ParameterSet validation.
 

Public Member Functions

 ELUDP (Parameters const &pset)
 ELUDP Constructor More...
 
void fillPrefix (std::ostringstream &o, const ErrorObj &msg) override
 Fill the "Prefix" portion of the message. More...
 
void fillUsrMsg (std::ostringstream &o, const ErrorObj &msg) override
 Fill the "User Message" portion of the message. More...
 
void fillSuffix (std::ostringstream &, const ErrorObj &) override
 Fill the "Suffix" portion of the message (Unused)
 
void routePayload (const std::ostringstream &o, const ErrorObj &e) override
 Serialize a MessageFacility message to the output. More...
 

Detailed Description

Message Facility UDP Streamer Destination Formats messages into a delimited string and sends via UDP

Definition at line 43 of file UDP_mfPlugin.cc.

Constructor & Destructor Documentation

mfplugins::ELUDP::ELUDP ( Parameters const &  pset)

ELUDP Constructor

Parameters
psetParameterSet used to configure ELUDP

Definition at line 145 of file UDP_mfPlugin.cc.

Member Function Documentation

void mfplugins::ELUDP::fillPrefix ( std::ostringstream &  o,
const ErrorObj &  msg 
)
override

Fill the "Prefix" portion of the message.

Parameters
oOutput stringstream
eMessageFacility object containing header information

Definition at line 307 of file UDP_mfPlugin.cc.

void mfplugins::ELUDP::fillUsrMsg ( std::ostringstream &  o,
const ErrorObj &  msg 
)
override

Fill the "User Message" portion of the message.

Parameters
oOutput stringstream
eMessageFacility object containing header information

Definition at line 341 of file UDP_mfPlugin.cc.

void mfplugins::ELUDP::routePayload ( const std::ostringstream &  o,
const ErrorObj &  e 
)
override

Serialize a MessageFacility message to the output.

Parameters
oStringstream object containing message data
eMessageFacility object containing header information

Definition at line 359 of file UDP_mfPlugin.cc.


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