artdaq  v3_06_00
makeRoutingMasterPolicy.hh
1 #ifndef artdaq_Application_Routing_makeRoutingMasterPolicy_hh
2 #define artdaq_Application_Routing_makeRoutingMasterPolicy_hh
3 // Using LibraryManager, find the correct library and return an instance
4 // of the specified generator.
5 
6 #include "artdaq/RoutingPolicies/RoutingMasterPolicy.hh"
7 #include "fhiclcpp/fwd.h"
8 
9 #include <memory>
10 #include <string>
11 
12 namespace artdaq
13 {
20  std::shared_ptr<RoutingMasterPolicy>
21  makeRoutingMasterPolicy(std::string const& policy_plugin_spec,
22  fhicl::ParameterSet const& ps);
23 }
24 #endif /* artdaq_Application_Routing_makeRoutingMasterPolicy_hh */
std::shared_ptr< RoutingMasterPolicy > makeRoutingMasterPolicy(std::string const &policy_plugin_spec, fhicl::ParameterSet const &ps)
Load a RoutingMasterPolicy plugin.