mfplugins::ELUDP Class Reference

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

Inherits mf::service::ELdestination.

List of all members.

Public Member Functions

 ELUDP (const fhicl::ParameterSet &pset)
 ELUDP Constructor.
virtual void fillPrefix (std::ostringstream &o, const ErrorObj &e) override
 Fill the "Prefix" portion of the message.
virtual void fillUsrMsg (std::ostringstream &o, const ErrorObj &e) override
 Fill the "User Message" portion of the message.
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.

Detailed Description

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

Definition at line 45 of file UDP_mfPlugin.cc.


Constructor & Destructor Documentation

mfplugins::ELUDP::ELUDP ( const fhicl::ParameterSet &  pset  ) 

ELUDP Constructor.

Parameters:
pset ParameterSet used to configure ELUDP

Definition at line 135 of file UDP_mfPlugin.cc.


Member Function Documentation

void mfplugins::ELUDP::fillPrefix ( std::ostringstream &  o,
const ErrorObj &  e 
) [override, virtual]

Fill the "Prefix" portion of the message.

Parameters:
o Output stringstream
e MessageFacility object containing header information

Definition at line 317 of file UDP_mfPlugin.cc.

void mfplugins::ELUDP::fillUsrMsg ( std::ostringstream &  o,
const ErrorObj &  e 
) [override, virtual]

Fill the "User Message" portion of the message.

Parameters:
o Output stringstream
e MessageFacility object containing header information

Definition at line 351 of file UDP_mfPlugin.cc.

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

Serialize a MessageFacility message to the output.

Parameters:
o Stringstream object containing message data
e MessageFacility object containing header information

Definition at line 369 of file UDP_mfPlugin.cc.


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

Generated on 7 Jun 2018 for artdaq_mfextensions by  doxygen 1.6.1