artdaq_core  v1_05_07
 All Classes Namespaces Functions
makeFragmentGenerator.hh
1 #ifndef artdaq_core_Generators_makeFragmentGenerator_hh
2 #define artdaq_core_Generators_makeFragmentGenerator_hh
3 // Using LibraryManager, find the correct library and return an instance
4 // of the specified generator.
5 
6 #include "fhiclcpp/fwd.h"
7 
8 #include <memory>
9 #include <string>
10 
11 namespace artdaq {
12 
13  class FragmentGenerator;
14 
15  std::unique_ptr<FragmentGenerator>
16  makeFragmentGenerator(std::string const & generator_plugin_spec,
17  fhicl::ParameterSet const & ps);
18 }
19 #endif /* artdaq_core_Generators_makeFragmentGenerator_hh */