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