artdaq_mfextensions  v1_03_05
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...
 
virtual void fillPrefix (std::ostringstream &o, const ErrorObj &e) override
 Fill the "Prefix" portion of the message. More...
 
virtual void fillUsrMsg (std::ostringstream &o, const ErrorObj &e) override
 Fill the "User Message" portion of the message. More...
 
virtual void fillSuffix (std::ostringstream &, const ErrorObj &) override
 Fill the "Suffix" portion of the message (Unused)
 
virtual 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 44 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 143 of file UDP_mfPlugin.cc.

Member Function Documentation

void mfplugins::ELUDP::fillPrefix ( std::ostringstream &  o,
const ErrorObj &  e 
)
overridevirtual

Fill the "Prefix" portion of the message.

Parameters
oOutput stringstream
eMessageFacility object containing header information

Definition at line 290 of file UDP_mfPlugin.cc.

void mfplugins::ELUDP::fillUsrMsg ( std::ostringstream &  o,
const ErrorObj &  e 
)
overridevirtual

Fill the "User Message" portion of the message.

Parameters
oOutput stringstream
eMessageFacility object containing header information

Definition at line 323 of file UDP_mfPlugin.cc.

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

Serialize a MessageFacility message to the output.

Parameters
oStringstream object containing message data
eMessageFacility object containing header information

Definition at line 339 of file UDP_mfPlugin.cc.


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