1 #ifndef OTSDAQ_CORE_MACROS_XDAQAPPLICATIONMACROS_H
2 #define OTSDAQ_CORE_MACROS_XDAQAPPLICATIONMACROS_H
4 #undef XDAQ_INSTANTIATOR
5 #undef XDAQ_INSTANTIATOR_IMPL
9 #define XDAQ_INSTANTIATOR() static xdaq::Application* instantiate(xdaq::ApplicationStub* s)
13 #define XDAQ_INSTANTIATOR_IMPL(QUALIFIED_CLASS_NAME) \
14 xdaq::Application* QUALIFIED_CLASS_NAME::instantiate(xdaq::ApplicationStub* stub) { return new QUALIFIED_CLASS_NAME(stub); }