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().

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

Definition at line 42 of file ModuleFactory.cc.

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

43  {
44  return esController.getESProducerAndRegisterProcess(iConfiguration, esController.indexOfNextProcess());
45  }
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 47 of file ModuleFactory.cc.

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

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

Definition at line 37 of file ModuleFactory.cc.

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

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