Go to the documentation of this file. 1 #ifndef art_Utilities_BasicPluginMacros_h 2 #define art_Utilities_BasicPluginMacros_h 23 #define DEFINE_BASIC_PLUGIN_MAKER(klass, base) \ 24 EXTERN_C_FUNC_DECLARE_START \ 25 std::unique_ptr<base> makePlugin(fhicl::ParameterSet const& pset) \ 27 return std::make_unique<klass>(pset); \ 29 EXTERN_C_FUNC_DECLARE_END 31 #define DEFINE_BASIC_PLUGIN(klass, base) \ 32 DEFINE_BASIC_PLUGIN_MAKER(klass, base) \ 33 DEFINE_BASIC_PLUGINTYPE_FUNC(base)