00001 #ifndef _ots_SlowControlsPluginMacro_h_
00002 #define _ots_SlowControlsPluginMacro_h_
00003
00004 #include <memory>
00005
00006 #include "otsdaq-core/SlowControlsCore/SlowControlsVInterface.h"
00007
00008 #define DEFINE_OTS_SLOW_CONTROLS(klass) \
00009 extern "C" ots::SlowControlsVInterface* make( \
00010 const std::string& slowControlsUID, \
00011 const ConfigurationTree& configurationTree, \
00012 const std::string& pathToControlsConfiguration) \
00013 { \
00014 return new klass( \
00015 slowControlsUID, configurationTree, pathToControlsConfiguration); \
00016 }
00017
00018 #endif