artdaq  v3_07_02
MakeTransferPlugin.hh
1 #ifndef artdaq_TransferPlugins_MakeTransferPlugin_hh
2 #define artdaq_TransferPlugins_MakeTransferPlugin_hh
3 
4 // JCF, Sep-6-2016
5 
6 // MakeTransferPlugin expects the following arguments:
7 
8 // A FHiCL parameter set which contains within it a table defining a
9 // transfer plugin
10 
11 // The name of that table
12 
13 // The send/receive role of the plugin
14 
15 #include "TransferInterface.hh"
16 
17 #include "fhiclcpp/fwd.h"
18 
19 #include <memory>
20 #include <string>
21 
22 namespace artdaq {
30 std::unique_ptr<TransferInterface>
31 MakeTransferPlugin(const fhicl::ParameterSet& pset,
32  std::string plugin_label,
34 } // namespace artdaq
35 
36 #endif
std::unique_ptr< artdaq::TransferInterface > MakeTransferPlugin(const fhicl::ParameterSet &pset, std::string plugin_label, TransferInterface::Role role)
Load a TransferInterface plugin.
Role
Used to determine if a TransferInterface is a Sender or Receiver.