artdaq_core  v3_05_07
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 {
16 std::string generateMessageFacilityConfiguration(char const* progname, bool useConsole = true, bool printDebug = false);
17 
22 void configureTRACE(fhicl::ParameterSet& trace_pset);
23 
30 void configureMessageFacility(char const* progname, bool useConsole = true, bool printDebug = false);
31 
38 std::string setMsgFacAppName(const std::string& appType, unsigned short port);
39 } // namespace artdaq
40 
41 #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...