otsdaq  v2_03_00
MakeInterface.h
1 #ifndef _ots_MakeInterface_h_
2 #define _ots_MakeInterface_h_
3 // Using LibraryManager, find the correct library and return an instance
4 // of the specified interface.
5 
6 #include <memory>
7 #include <string>
8 
9 namespace ots
10 {
11 class FEVInterface;
12 class ConfigurationTree;
13 
14 std::unique_ptr<FEVInterface> makeInterface(
15  const std::string& interfacePluginName,
16  const std::string& interfaceUID,
17  const ConfigurationTree& configurationTree,
18  const std::string& pathToInterfaceConfiguration);
19 } // namespace ots
20 
21 #endif /* _ots_MakeInterface_h_ */