artdaq  v3_07_02
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 {
19 std::shared_ptr<RoutingMasterPolicy>
20 makeRoutingMasterPolicy(std::string const& policy_plugin_spec,
21  fhicl::ParameterSet const& ps);
22 } // namespace artdaq
23 #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.