CMS 3D CMS Logo

Public Types | Static Public Member Functions

edm::eventsetup::SourceMakerTraits Struct Reference

#include <SourceFactory.h>

List of all members.

Public Types

typedef
EventSetupRecordIntervalFinder 
base_type

Static Public Member Functions

template<class T >
static void addTo (EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent)
static std::string name ()

Detailed Description

Definition at line 53 of file SourceFactory.h.


Member Typedef Documentation

Definition at line 54 of file SourceFactory.h.


Member Function Documentation

template<class T >
static void edm::eventsetup::SourceMakerTraits::addTo ( EventSetupProvider iProvider,
boost::shared_ptr< T iComponent 
) [inline, static]

Definition at line 57 of file SourceFactory.h.

References edm::eventsetup::EventSetupProvider::add(), and edm::eventsetup::addProviderTo().

            {
               //a source does not always have to be a provider
               addProviderTo(iProvider, iComponent, static_cast<const T*>(0));
               boost::shared_ptr<EventSetupRecordIntervalFinder> pFinder(iComponent);
               iProvider.add(pFinder);
            }
std::string edm::eventsetup::SourceMakerTraits::name ( void  ) [static]

Definition at line 24 of file SourceFactory.cc.

{ return "CMS EDM Framework ESSource"; }