artdaq  v3_09_01
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 #include "fhiclcpp/fwd.h"
18 
19 #include <memory>
20 #include <string>
21 
22 namespace artdaq {
29 std::unique_ptr<CommanderInterface>
30 MakeCommanderPlugin(const fhicl::ParameterSet& pset,
31  artdaq::Commandable& commandable);
32 } // namespace artdaq
33 
34 #endif
Commandable is the base class for all artdaq components which implement the artdaq state machine...
Definition: Commandable.hh:20
std::unique_ptr< artdaq::CommanderInterface > MakeCommanderPlugin(const fhicl::ParameterSet &commander_pset, artdaq::Commandable &commandable)
Load a CommanderInterface plugin.