CbmRoot
runDevNullSink.cxx
Go to the documentation of this file.
1 #include "CbmDevNullSink.h"
2 #include "runFairMQDevice.h"
3 
4 namespace bpo = boost::program_options;
5 
6 void addCustomOptions(bpo::options_description& /*options*/) {
7  // options.add_options()
8  // ("max-iterations", bpo::value<uint64_t>()->default_value(0), "Maximum number of iterations of Run/ConditionalRun/OnData (0 - infinite)");
9 }
10 
11 FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) {
12  return new CbmDevNullSink();
13 }
CbmDevNullSink.h
getDevice
FairMQDevicePtr getDevice(const FairMQProgOptions &)
Definition: runDevNullSink.cxx:11
addCustomOptions
void addCustomOptions(bpo::options_description &)
Definition: runDevNullSink.cxx:6
CbmDevNullSink
Definition: CbmDevNullSink.h:13