artdaq  v3_04_01
makeCommandableFragmentGenerator.hh
1 #ifndef artdaq_Application_makeCommandableFragmentGenerator_hh
2 #define artdaq_Application_makeCommandableFragmentGenerator_hh
3 // Using LibraryManager, find the correct library and return an instance
4 // of the specified generator.
5 
6 #include "artdaq/Application/CommandableFragmentGenerator.hh"
7 #include "fhiclcpp/fwd.h"
8 
9 #include <memory>
10 #include <string>
11 
12 namespace artdaq
13 {
20  std::unique_ptr<CommandableFragmentGenerator>
21  makeCommandableFragmentGenerator(std::string const& generator_plugin_spec,
22  fhicl::ParameterSet const& ps);
23 }
24 #endif /* artdaq_Application_makeCommandableFragmentGenerator_hh */
std::unique_ptr< CommandableFragmentGenerator > makeCommandableFragmentGenerator(std::string const &generator_plugin_spec, fhicl::ParameterSet const &ps)
Load a CommandableFragmentGenerator plugin.