CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ParameterSetDescriptionFillerPluginFactory.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_ParameterSetDescriptionFillerPluginFactory_h
2 #define FWCore_ParameterSet_ParameterSetDescriptionFillerPluginFactory_h
3 // -*- C++ -*-
4 //
5 // Package: ParameterSet
6 // Class : ParameterSetDescriptionFillerPluginFactory
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed Aug 1 16:47:01 EDT 2007
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
29 namespace edm {
31 }
32 
33 #define DEFINE_FWK_PSET_DESC_FILLER(type) \
34  static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller<type> > \
35  EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
36 //NOTE: Can't do the below since this appears on the same line as another factory and w'ed have two variables with the same name
37 //DEFINE_EDM_PLUGIN (edm::ParameterSetDescriptionFillerPluginFactory,type,#type)
38 
39 // Define another analogous macro to handle the special case of services.
40 
41 #define DEFINE_DESC_FILLER_FOR_SERVICES(pluginName, serviceType) \
42  static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForServices<serviceType> > \
43  EDM_PLUGIN_SYM(s_filler, __LINE__)(#pluginName)
44 
45 #define DEFINE_DESC_FILLER_FOR_ESSOURCES(type) \
46  static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForESSources<type> > \
47  EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
48 
49 #define DEFINE_DESC_FILLER_FOR_ESPRODUCERS(type) \
50  static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForESProducers<type> > \
51  EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
52 
53 #define DEFINE_DESC_FILLER_FOR_EDLOOPERS(type) \
54  static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::DescriptionFillerForEDLoopers<type> > \
55  EDM_PLUGIN_SYM(s_filler, __LINE__)(#type)
56 
57 #endif
edmplugin::PluginFactory< ParameterSetDescriptionFillerBase *(void)> ParameterSetDescriptionFillerPluginFactory