artdaq_core  v3_04_02
configureMessageFacility.hh
1 #ifndef artdaq_Application_configureMessageFacility_hh
2 #define artdaq_Application_configureMessageFacility_hh
3 
4 #include <string>
5 #include "fhiclcpp/ParameterSet.h"
6 
7 namespace artdaq
8 {
17  std::string generateMessageFacilityConfiguration(char const* progname, bool useConsole = true, bool printDebug = false);
18 
23  void configureTRACE( fhicl::ParameterSet &trace_pset );
24 
31  void configureMessageFacility(char const* progname, bool useConsole = true, bool printDebug = false);
32 
39  std::string setMsgFacAppName(const std::string& appType, unsigned short port);
40 }
41 
42 #endif /* artdaq_Application_configureMessageFacility_hh */
void configureTRACE(fhicl::ParameterSet &trace_pset)
Configure TRACE.
std::string generateMessageFacilityConfiguration(char const *progname, bool useConsole=true, bool printDebug=false)
Create the MessageFacility configuration Fhicl string.
void configureMessageFacility(char const *progname, bool useConsole=true, bool printDebug=false)
Configure and start the message facility. Provide the program name so that messages will be appropria...
std::string setMsgFacAppName(const std::string &appType, unsigned short port)
Set the message facility application name using the specified application type and port number...