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, 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< 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,
boost::shared_ptr< T iComponent,
ParameterSet const &  ,
bool   
) [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*>(nullptr));
               looper::addFinderTo(iProvider, iComponent, static_cast<const T*>(nullptr));
            }
boost::shared_ptr< LooperMakerTraits::base_type > edm::eventsetup::LooperMakerTraits::getComponentAndRegisterProcess ( EventSetupsController esController,
ParameterSet const &  iConfiguration 
) [static]

Definition at line 35 of file LooperFactory.cc.

                                                                             {
        return boost::shared_ptr<LooperMakerTraits::base_type>();
      }
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 40 of file LooperFactory.cc.

                                                                              {
      }
void edm::eventsetup::LooperMakerTraits::replaceExisting ( EventSetupProvider iProvider,
boost::shared_ptr< EDLooperBase iComponent 
) [static]

Definition at line 27 of file LooperFactory.cc.

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

                                                                                                                {
         throw edm::Exception(edm::errors::LogicError)
            << "LooperMakerTraits::replaceExisting\n"
            << "This function is not implemented and should never be called.\n"
            << "Please report this to a Framework Developer\n";
      }