1 #include "otsdaq/PluginMakers/MakeInterface.h"
2 #include "otsdaq/FECore/FEVInterface.h"
4 #include <cetlib/BasicPluginFactory.h>
6 std::unique_ptr<ots::FEVInterface> ots::makeInterface(
const std::string& interfacePluginName,
7 const std::string& interfaceUID,
9 const std::string& pathToInterfaceConfiguration)
12 static cet::BasicPluginFactory basicPluginInterfaceFactory(
"interface",
"make");
14 return basicPluginInterfaceFactory.makePlugin<std::unique_ptr<ots::FEVInterface>,
const std::string&,
const ots::ConfigurationTree&,
const std::string&>(
15 interfacePluginName, interfaceUID, configuration, pathToInterfaceConfiguration);