artdaq_core  v3_06_00
mfplugins::ELGenFileOutput Class Reference

Message Facility destination which generates the output file name based on some combination of PID, hostname, application name, and/or timestamp More...

Inheritance diagram for mfplugins::ELGenFileOutput:

Classes

struct  Config
 Parameters used to configure GenFileOutput. More...
 

Public Types

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

Public Member Functions

 ELGenFileOutput (Parameters const &pset)
 ELGenFileOutput Constructor. More...
 
void routePayload (const std::ostringstream &o, const ErrorObj &e) override
 Serialize a MessageFacility message to the output stream. More...
 
void flush () override
 Flush any text in the ostream buffer to disk.
 

Detailed Description

Message Facility destination which generates the output file name based on some combination of PID, hostname, application name, and/or timestamp

Definition at line 23 of file GenFile_mfPlugin.cc.

Constructor & Destructor Documentation

mfplugins::ELGenFileOutput::ELGenFileOutput ( Parameters const &  pset)
explicit

ELGenFileOutput Constructor.

Parameters
psetValidated ParameterSet used to configure GenFileOutput

Definition at line 108 of file GenFile_mfPlugin.cc.

Member Function Documentation

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

Serialize a MessageFacility message to the output stream.

Parameters
oStringstream object containing message data
eMessageFacility object containing header information

Definition at line 257 of file GenFile_mfPlugin.cc.


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