CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
edm::eventsetup::ModuleMakerTraits Struct Reference

#include <ModuleFactory.h>

Public Types

typedef DataProxyProvider base_type
 

Static Public Member Functions

static void addTo (EventSetupProvider &iProvider, std::shared_ptr< DataProxyProvider > iComponent, ParameterSet const &, bool)
 
static std::shared_ptr< base_typegetComponentAndRegisterProcess (EventSetupsController &esController, ParameterSet const &iConfiguration)
 
static std::string name ()
 
static void putComponent (EventSetupsController &esController, ParameterSet const &iConfiguration, std::shared_ptr< base_type > const &component)
 
static void replaceExisting (EventSetupProvider &iProvider, std::shared_ptr< DataProxyProvider > iComponent)
 

Detailed Description

Definition at line 37 of file ModuleFactory.h.

Member Typedef Documentation

Definition at line 38 of file ModuleFactory.h.

Member Function Documentation

void edm::eventsetup::ModuleMakerTraits::addTo ( EventSetupProvider iProvider,
std::shared_ptr< DataProxyProvider iComponent,
ParameterSet const &  ,
bool   
)
static

Definition at line 30 of file ModuleFactory.cc.

References edm::eventsetup::EventSetupProvider::add().

34  {
35  iProvider.add(iComponent);
36  }
std::shared_ptr< ModuleMakerTraits::base_type > edm::eventsetup::ModuleMakerTraits::getComponentAndRegisterProcess ( EventSetupsController esController,
ParameterSet const &  iConfiguration 
)
static

Definition at line 44 of file ModuleFactory.cc.

References edm::eventsetup::EventSetupsController::getESProducerAndRegisterProcess(), and edm::eventsetup::EventSetupsController::indexOfNextProcess().

45  {
46  return esController.getESProducerAndRegisterProcess(iConfiguration, esController.indexOfNextProcess());
47  }
std::string edm::eventsetup::ModuleMakerTraits::name ( void  )
static
void edm::eventsetup::ModuleMakerTraits::putComponent ( EventSetupsController esController,
ParameterSet const &  iConfiguration,
std::shared_ptr< base_type > const &  component 
)
static

Definition at line 49 of file ModuleFactory.cc.

References edm::eventsetup::EventSetupsController::indexOfNextProcess(), and edm::eventsetup::EventSetupsController::putESProducer().

51  {
52  esController.putESProducer(iConfiguration, component, esController.indexOfNextProcess());
53  }
void edm::eventsetup::ModuleMakerTraits::replaceExisting ( EventSetupProvider iProvider,
std::shared_ptr< DataProxyProvider iComponent 
)
static

Definition at line 38 of file ModuleFactory.cc.

References edm::eventsetup::EventSetupProvider::replaceExisting().

39  {
40  iProvider.replaceExisting(iComponent);
41  }