CMS 3D CMS Logo

Public Types | Static Public Member Functions

edm::eventsetup::LooperMakerTraits Struct Reference

#include <LooperFactory.h>

List of all members.

Public Types

typedef EDLooperBase base_type

Static Public Member Functions

template<class T >
static void addTo (EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent)
static boost::shared_ptr
< base_type > const * 
getAlreadyMadeComponent (EventSetupsController const &esController, ParameterSet const &iConfiguration)
static std::string name ()
static void putComponent (EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component)

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,
boost::shared_ptr< T iComponent 
) [inline, static]

Definition at line 87 of file LooperFactory.h.

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

            {
               //a looper does not always have to be a provider or a finder
               looper::addProviderTo(iProvider, iComponent, static_cast<const T*>(0));
               looper::addFinderTo(iProvider, iComponent, static_cast<const T*>(0));
            }
boost::shared_ptr< LooperMakerTraits::base_type > const * edm::eventsetup::LooperMakerTraits::getAlreadyMadeComponent ( EventSetupsController const &  esController,
ParameterSet const &  iConfiguration 
) [static]

Definition at line 27 of file LooperFactory.cc.

                                                                      {
         return 0;
      }
std::string edm::eventsetup::LooperMakerTraits::name ( void  ) [static]

Definition at line 24 of file LooperFactory.cc.

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

Definition at line 32 of file LooperFactory.cc.

                                                                              {
      }