otsdaq  v2_00_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 
12 class FEVInterface;
13 class ConfigurationTree;
14 
15 std::unique_ptr<FEVInterface> makeInterface(
16  const std::string& interfacePluginName
17  , const std::string& interfaceUID
18  , const ConfigurationTree& configurationTree
19  , const std::string& pathToInterfaceConfiguration);
20 }
21 
22 #endif /* _ots_MakeInterface_h_ */