otsdaq  v2_05_02_indev
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(const std::string& interfacePluginName,
15  const std::string& interfaceUID,
16  const ConfigurationTree& configurationTree,
17  const std::string& pathToInterfaceConfiguration);
18 } // namespace ots
19 
20 #endif /* _ots_MakeInterface_h_ */