artdaq  v3_12_02
MakeCommanderPlugin.hh
1 #ifndef artdaq_ExternalComms_MakeCommanderPlugin_hh
2 #define artdaq_ExternalComms_MakeCommanderPlugin_hh
3 
4 // JCF, Sep-6-2016
5 
6 // MakeCommanderPlugin 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 "artdaq/ExternalComms/CommanderInterface.hh"
16 
17 namespace fhicl {
18 class ParameterSet;
19 }
20 
21 #include <memory>
22 #include <string>
23 
24 namespace artdaq {
31 std::unique_ptr<CommanderInterface>
32 MakeCommanderPlugin(const fhicl::ParameterSet& pset,
33  artdaq::Commandable& commandable);
34 } // namespace artdaq
35 
36 #endif
Commandable is the base class for all artdaq components which implement the artdaq state machine...
Definition: Commandable.hh:22
std::unique_ptr< artdaq::CommanderInterface > MakeCommanderPlugin(const fhicl::ParameterSet &commander_pset, artdaq::Commandable &commandable)
Load a CommanderInterface plugin.