CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Static Public Member Functions
edm::eventsetup::LooperMakerTraits Struct Reference

#include <LooperFactory.h>

Public Types

typedef EDLooperBase base_type
 

Static Public Member Functions

template<class T >
static void addTo (EventSetupProvider &iProvider, std::shared_ptr< T > 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< EDLooperBase > iComponent)
 

Detailed Description

Definition at line 83 of file LooperFactory.h.

Member Typedef Documentation

Definition at line 84 of file LooperFactory.h.

Member Function Documentation

template<class T >
static void edm::eventsetup::LooperMakerTraits::addTo ( EventSetupProvider iProvider,
std::shared_ptr< T iComponent,
ParameterSet const &  ,
bool   
)
inlinestatic

Definition at line 87 of file LooperFactory.h.

References edm::eventsetup::looper::addFinderTo(), and edm::eventsetup::looper::addProviderTo().

91  {
92  //a looper does not always have to be a provider or a finder
93  looper::addProviderTo(iProvider, iComponent, static_cast<const T*>(nullptr));
94  looper::addFinderTo(iProvider, iComponent, static_cast<const T*>(nullptr));
95  }
void addProviderTo(EventSetupProvider &iProvider, std::shared_ptr< T > iComponent, const DataProxyProvider *)
Definition: LooperFactory.h:42
void addFinderTo(EventSetupProvider &iProvider, std::shared_ptr< T > iComponent, const EventSetupRecordIntervalFinder *)
Definition: LooperFactory.h:62
std::shared_ptr< LooperMakerTraits::base_type > edm::eventsetup::LooperMakerTraits::getComponentAndRegisterProcess ( EventSetupsController esController,
ParameterSet const &  iConfiguration 
)
static

Definition at line 34 of file LooperFactory.cc.

35  {
36  return std::shared_ptr<LooperMakerTraits::base_type>();
37  }
std::string edm::eventsetup::LooperMakerTraits::name ( void  )
static
void edm::eventsetup::LooperMakerTraits::putComponent ( EventSetupsController esController,
ParameterSet const &  iConfiguration,
std::shared_ptr< base_type > const &  component 
)
static

Definition at line 39 of file LooperFactory.cc.

41  {
42  }
void edm::eventsetup::LooperMakerTraits::replaceExisting ( EventSetupProvider iProvider,
std::shared_ptr< EDLooperBase iComponent 
)
static

Definition at line 26 of file LooperFactory.cc.

References Exception, and edm::errors::LogicError.

26  {
28  << "LooperMakerTraits::replaceExisting\n"
29  << "This function is not implemented and should never be called.\n"
30  << "Please report this to a Framework Developer\n";
31  }