artdaq  v3_09_00
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 #include "artdaq/RoutingPolicies/RoutingManagerPolicy.hh"
7 #include "fhiclcpp/fwd.h"
8 
9 #include <memory>
10 #include <string>
11 
12 namespace artdaq {
19 std::shared_ptr<RoutingManagerPolicy>
20 makeRoutingManagerPolicy(std::string const& policy_plugin_spec,
21  fhicl::ParameterSet const& ps);
22 } // namespace artdaq
23 #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.