otsdaq  v2_05_02_indev
TablePluginMacros.h
1 #ifndef _ots_TablePluginMacro_h_
2 #define _ots_TablePluginMacro_h_
3 
4 #include "otsdaq/TableCore/TableBase.h"
5 
6 namespace ots
7 {
8 typedef TableBase*(cbmakeFunc_t)();
9 }
10 
11 #define DEFINE_OTS_TABLE(klass) \
12  extern "C" TableBase* make() { return new klass(); }
13 #endif /* _ots_TablePluginMacro_h_ */