1 #ifndef FWCore_Framework_ModuleFactory_h
2 #define FWCore_Framework_ModuleFactory_h
23 #include "boost/shared_ptr.hpp"
33 namespace eventsetup {
40 static std::string
name();
46 boost::shared_ptr<base_type>
const& component);
48 template<
class TType>
56 #define DEFINE_FWK_EVENTSETUP_MODULE(type) \
57 DEFINE_EDM_PLUGIN (edm::eventsetup::ModulePluginFactory,edm::eventsetup::ModuleMaker<type>,#type); \
58 DEFINE_DESC_FILLER_FOR_ESPRODUCERS(type)
static std::string name()
static void addTo(EventSetupProvider &iProvider, boost::shared_ptr< DataProxyProvider > iComponent)
static boost::shared_ptr< base_type > const * getAlreadyMadeComponent(EventSetupsController const &esController, ParameterSet const &iConfiguration)
DataProxyProvider base_type
ComponentFactory< ModuleMakerTraits > ModuleFactory
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component)