10#include "Application.hpp"
34 TLOG() <<
"Signal received: " << signal;
39main(
int argc,
char* argv[])
50 args = appfwk::CommandLineInterpreter::parse(argc, argv);
51 }
catch (bpo::error
const& e) {
53 std::cerr <<
"Failed to interpret command line: " << e.what();
57 if (args.help_requested) {
65 appfwk::Application app(args.app_name,
67 args.command_facility_plugin_name,
68 args.conf_service_plugin_name,
69 args.configuration_id);
79 TLOG() <<
"Application " << args.session_name <<
'.' << args.app_name <<
" exiting.";
The Logger class defines the interface necessary to configure central logging within a DAQ Applicatio...
static void setup(const std::string &session, const std::string &application)
Setup the Logger service Currently no args.
Base class for any user define issue.
int main(int argc, char *argv[])
static void signal_handler(int signal)
Signal handler for graceful stop.
std::atomic< bool > run_marker
Global atomic for process lifetime.
void fatal(const Issue &issue)
CommandLineInterpreter parses the command-line options given to the application and stores the result...