1 #ifndef _ots_InterfacePluginMacro_h_
2 #define _ots_InterfacePluginMacro_h_
4 #include "otsdaq-core/FECore/FEVInterface.h"
7 #define DEFINE_OTS_INTERFACE(klass) \
9 std::unique_ptr<ots::FEVInterface> \
10 make(const std::string& interfaceUID, const ots::ConfigurationTree& configurationTree, const std::string& pathToInterfaceConfiguration) \
12 return std::unique_ptr<ots::FEVInterface>(new klass(interfaceUID, configurationTree, pathToInterfaceConfiguration)); \