1 #ifndef FWCore_Framework_LooperFactory_h
2 #define FWCore_Framework_LooperFactory_h
23 #include "boost/shared_ptr.hpp"
35 namespace eventsetup {
38 class EventSetupsController;
44 boost::shared_ptr<DataProxyProvider> pProvider(iComponent);
48 if(description.
label_ ==
"@main_looper") {
52 pProvider->setDescription(description);
53 iProvider.
add(pProvider);
64 boost::shared_ptr<EventSetupRecordIntervalFinder> pFinder(iComponent);
69 if(description.
label_ ==
"@main_looper") {
73 pFinder->setDescriptionForFinder(description);
75 iProvider.
add(pFinder);
88 boost::shared_ptr<T> iComponent,
103 boost::shared_ptr<base_type>
const& component);
105 template<
class TType>
113 #define DEFINE_FWK_LOOPER(type) \
114 DEFINE_EDM_PLUGIN (edm::eventsetup::LooperPluginFactory,edm::eventsetup::LooperMaker<type>,#type)
static std::string name()
void addFinderTo(EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent, const EventSetupRecordIntervalFinder *)
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component)
ComponentFactory< LooperMakerTraits > LooperFactory
void add(boost::shared_ptr< DataProxyProvider >)
static boost::shared_ptr< base_type > getComponentAndRegisterProcess(EventSetupsController &esController, ParameterSet const &iConfiguration)
static void replaceExisting(EventSetupProvider &iProvider, boost::shared_ptr< EDLooperBase > iComponent)
void addProviderTo(EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent, const DataProxyProvider *)
static void addTo(EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent, ParameterSet const &, bool)