artdaq_core  v3_00_06
configureMessageFacility.hh
1 #ifndef artdaq_Application_configureMessageFacility_hh
2 #define artdaq_Application_configureMessageFacility_hh
3 
4 #include <string>
5 
6 namespace artdaq
7 {
16  std::string generateMessageFacilityConfiguration(char const* progname, bool useConsole = true, bool printDebug = false);
17 
24  void configureMessageFacility(char const* progname, bool useConsole = true, bool printDebug = false);
25 
31  void setMsgFacAppName(const std::string& appType, unsigned short port);
32 }
33 
34 #endif /* artdaq_Application_configureMessageFacility_hh */
void setMsgFacAppName(const std::string &appType, unsigned short port)
Set the message facility application name using the specified application type and port number...
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...