artdaq  v3_12_02
makeRoutingManagerPolicy.hh
1 #ifndef artdaq_Application_Routing_makeRoutingManagerPolicy_hh
2 #define artdaq_Application_Routing_makeRoutingManagerPolicy_hh
3 // Using LibraryManager, find the correct library and return an instance
4 // of the specified generator.
5 
6 namespace fhicl {
7 class ParameterSet;
8 }
9 
10 #include <memory>
11 #include <string>
12 
13 namespace artdaq {
14 class RoutingManagerPolicy;
15 
22 std::shared_ptr<RoutingManagerPolicy>
23 makeRoutingManagerPolicy(std::string const& policy_plugin_spec,
24  fhicl::ParameterSet const& ps);
25 } // namespace artdaq
26 #endif /* artdaq_Application_Routing_makeRoutingManagerPolicy_hh */
std::shared_ptr< RoutingManagerPolicy > makeRoutingManagerPolicy(std::string const &policy_plugin_spec, fhicl::ParameterSet const &ps)
Load a RoutingManagerPolicy plugin.