1 #ifndef _ots_SlowControlsPluginMacro_h_
2 #define _ots_SlowControlsPluginMacro_h_
6 #include "otsdaq/SlowControlsCore/SlowControlsVInterface.h"
8 #define DEFINE_OTS_SLOW_CONTROLS(klass) \
9 extern "C" ots::SlowControlsVInterface* make(const std::string& pluginType, \
10 const std::string& slowControlsUID, \
11 const ConfigurationTree& configurationTree, \
12 const std::string& pathToControlsConfiguration) \
14 return new klass(pluginType, slowControlsUID, configurationTree, pathToControlsConfiguration); \