mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-19 17:30:16 +00:00
Extend Readout example
This commit is contained in:
committed by
Dennis Klein
parent
35399ee039
commit
7e6eb382d5
@@ -11,10 +11,13 @@
|
||||
|
||||
namespace bpo = boost::program_options;
|
||||
|
||||
void addCustomOptions(bpo::options_description& /* options */)
|
||||
{}
|
||||
void addCustomOptions(bpo::options_description& options)
|
||||
{
|
||||
options.add_options()
|
||||
("output-name", bpo::value<std::string>()->default_value("bs"), "Output channel name");
|
||||
}
|
||||
|
||||
FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/)
|
||||
{
|
||||
return new example_region::Builder();
|
||||
return new example_readout::Builder();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user