9 #include <fairmq/DeviceRunner.h>
10 #include <boost/program_options.hpp>
20 void addCustomOptions(boost::program_options::options_description&);
22 int main(
int argc,
char* argv[])
25 using namespace fair::mq::hooks;
37 boost::program_options::options_description customOptions(
"Custom options");
38 addCustomOptions(customOptions);
39 r.fConfig.AddToCmdLineOptions(customOptions);
48 r.fDevice = std::unique_ptr<FairMQDevice>{getDevice(r.fConfig)};
55 }
catch (std::exception& e) {
56 LOG(error) <<
"Uncaught exception reached the top of main: " << e.what();
59 LOG(error) <<
"Uncaught exception reached the top of main.";