artdaq  v3_12_02
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/Generators/CommandableFragmentGenerator.hh"
7 namespace fhicl {
8 class ParameterSet;
9 }
10 
11 #include <memory>
12 #include <string>
13 
14 namespace artdaq {
21 std::unique_ptr<CommandableFragmentGenerator>
22 makeCommandableFragmentGenerator(std::string const& generator_plugin_spec,
23  fhicl::ParameterSet const& ps);
24 } // namespace artdaq
25 #endif /* artdaq_Application_makeCommandableFragmentGenerator_hh */
std::unique_ptr< CommandableFragmentGenerator > makeCommandableFragmentGenerator(std::string const &generator_plugin_spec, fhicl::ParameterSet const &ps)
Load a CommandableFragmentGenerator plugin.