mfplugins::ELTRACE Class Reference

Message Facility destination which logs messages to a TRACE buffer. More...

Inherits mf::service::ELdestination.

List of all members.

Public Member Functions

 ELTRACE (const fhicl::ParameterSet &pset)
 ELTRACE 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 destination which logs messages to a TRACE buffer.

Definition at line 35 of file TRACE_mfPlugin.cc.


Constructor & Destructor Documentation

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

ELTRACE Constructor.

Parameters:
pset ParameterSet used to configure ELTRACE

Definition at line 97 of file TRACE_mfPlugin.cc.


Member Function Documentation

void mfplugins::ELTRACE::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 135 of file TRACE_mfPlugin.cc.

void mfplugins::ELTRACE::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 148 of file TRACE_mfPlugin.cc.

void mfplugins::ELTRACE::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 162 of file TRACE_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