1 #ifndef FWCore_Framework_ModuleFactory_h 2 #define FWCore_Framework_ModuleFactory_h 33 namespace eventsetup {
35 class EventSetupsController;
42 std::shared_ptr<DataProxyProvider> iComponent,
50 std::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 replaceExisting(EventSetupProvider &iProvider, std::shared_ptr< DataProxyProvider > iComponent)
static std::shared_ptr< base_type > getComponentAndRegisterProcess(EventSetupsController &esController, ParameterSet const &iConfiguration)
static std::string name()
DataProxyProvider base_type
ComponentFactory< ModuleMakerTraits > ModuleFactory
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, std::shared_ptr< base_type > const &component)
static void addTo(EventSetupProvider &iProvider, std::shared_ptr< DataProxyProvider > iComponent, ParameterSet const &, bool)