1 #ifndef FWCore_Framework_ModuleFactory_h
2 #define FWCore_Framework_ModuleFactory_h
23 #include "boost/shared_ptr.hpp"
33 namespace eventsetup {
35 class EventSetupsController;
42 boost::shared_ptr<DataProxyProvider> iComponent,
50 boost::shared_ptr<base_type>
const& component);
52 template<
class TType>
60 #define DEFINE_FWK_EVENTSETUP_MODULE(type) \
61 DEFINE_EDM_PLUGIN (edm::eventsetup::ModulePluginFactory,edm::eventsetup::ModuleMaker<type>,#type); \
62 DEFINE_DESC_FILLER_FOR_ESPRODUCERS(type)
static void addTo(EventSetupProvider &iProvider, boost::shared_ptr< DataProxyProvider > iComponent, ParameterSet const &, bool)
static boost::shared_ptr< base_type > getComponentAndRegisterProcess(EventSetupsController &esController, ParameterSet const &iConfiguration)
static std::string name()
DataProxyProvider base_type
ComponentFactory< ModuleMakerTraits > ModuleFactory
static void replaceExisting(EventSetupProvider &iProvider, boost::shared_ptr< DataProxyProvider > iComponent)
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component)