CMS 3D CMS Logo

Public Types | Static Public Member Functions

edm::eventsetup::ModuleMakerTraits Struct Reference

#include <ModuleFactory.h>

List of all members.

Public Types

typedef DataProxyProvider base_type

Static Public Member Functions

static void addTo (EventSetupProvider &iProvider, boost::shared_ptr< DataProxyProvider > iComponent, ParameterSet const &, bool)
static boost::shared_ptr
< base_type
getComponentAndRegisterProcess (EventSetupsController &esController, ParameterSet const &iConfiguration)
static std::string name ()
static void putComponent (EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component)
static void replaceExisting (EventSetupProvider &iProvider, boost::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,
boost::shared_ptr< DataProxyProvider iComponent,
ParameterSet const &  ,
bool   
) [static]

Definition at line 31 of file ModuleFactory.cc.

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

      {
         iProvider.add(iComponent);
      }
boost::shared_ptr< ModuleMakerTraits::base_type > edm::eventsetup::ModuleMakerTraits::getComponentAndRegisterProcess ( EventSetupsController esController,
ParameterSet const &  iConfiguration 
) [static]

Definition at line 45 of file ModuleFactory.cc.

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

                                                                                            {
         return esController.getESProducerAndRegisterProcess(iConfiguration, esController.indexOfNextProcess());
      }
std::string edm::eventsetup::ModuleMakerTraits::name ( void  ) [static]

Definition at line 30 of file ModuleFactory.cc.

{ return "CMS EDM Framework ESModule"; }
void edm::eventsetup::ModuleMakerTraits::putComponent ( EventSetupsController esController,
ParameterSet const &  iConfiguration,
boost::shared_ptr< base_type > const &  component 
) [static]

Definition at line 50 of file ModuleFactory.cc.

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

                                                                                        {
         esController.putESProducer(iConfiguration, component, esController.indexOfNextProcess());
      }
void edm::eventsetup::ModuleMakerTraits::replaceExisting ( EventSetupProvider iProvider,
boost::shared_ptr< DataProxyProvider iComponent 
) [static]

Definition at line 39 of file ModuleFactory.cc.

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

      {
         iProvider.replaceExisting(iComponent);
      }