FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
runMQChunkMerger.cxx
Go to the documentation of this file.
1 #include "runFairMQDevice.h"
2 
3 // MQRunSim
4 #include "FairMQChunkMerger.h"
5 
6 namespace bpo = boost::program_options;
7 
8 void addCustomOptions(bpo::options_description& options)
9 {
10  // clang-format off
11  options.add_options()
12  ("in-channel", bpo::value<std::string>()->default_value("data-in"), "input channel name")
13  ("out-channel", bpo::value<std::string>()->default_value("data-out"), "output channel name");
14  // clang-format on
15 }
16 
17 FairMQDevicePtr getDevice([[gnu::unused]] const FairMQProgOptions& config) { return new FairMQChunkMerger(); }
void addCustomOptions(bpo::options_description &options)
FairMQDevicePtr getDevice(const FairMQProgOptions &config)