File indexing completed on 2021-03-27 02:13:28
0001 #ifndef FWCore_ParameterSet_ParameterSetDescriptionFillerPluginFactory_h
0002 #define FWCore_ParameterSet_ParameterSetDescriptionFillerPluginFactory_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "FWCore/PluginManager/interface/PluginFactory.h"
0025 #include "FWCore/ParameterSet/interface/ParameterSetDescriptionFiller.h"
0026
0027
0028
0029 namespace edm {
0030 typedef edmplugin::PluginFactory<ParameterSetDescriptionFillerBase*(void)> ParameterSetDescriptionFillerPluginFactory;
0031 }
0032
0033 #define DEFINE_FWK_PSET_DESC_FILLER(type) \
0034 static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller<type> > \
0035 EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
0036
0037
0038
0039
0040
0041 #define DEFINE_DESC_FILLER_FOR_SERVICES(pluginName, serviceType) \
0042 static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForServices<serviceType> > \
0043 EDM_PLUGIN_SYM(s_filler, __LINE__)(#pluginName)
0044
0045 #define DEFINE_DESC_FILLER_FOR_ESSOURCES(type) \
0046 static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForESSources<type> > \
0047 EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
0048
0049 #define DEFINE_DESC_FILLER_FOR_ESPRODUCERS(type) \
0050 static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForESProducers<type> > \
0051 EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
0052
0053 #define DEFINE_DESC_FILLER_FOR_EDLOOPERS(type) \
0054 static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForEDLoopers<type> > \
0055 EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
0056
0057 #endif