#include <ComponentMaker.h>
Public Types | |
typedef T::base_type | base_type |
Public Member Functions | |
virtual boost::shared_ptr < base_type > | addTo (EventSetupProvider &iProvider, ParameterSet const &iConfiguration, std::string const &iProcessName, ReleaseVersion const &iVersion, PassID const &iPass) const |
ComponentMaker () | |
Private Member Functions | |
ComponentMaker (const ComponentMaker &) | |
const ComponentMaker & | operator= (const ComponentMaker &) |
void | setDescription (DataProxyProvider *iProv, const ComponentDescription &iDesc) const |
void | setDescription (void *, const ComponentDescription &) const |
void | setDescriptionForFinder (EventSetupRecordIntervalFinder *iFinder, const ComponentDescription &iDesc) const |
void | setDescriptionForFinder (void *, const ComponentDescription &) const |
void | setPostConstruction (void *, const edm::ParameterSet &) const |
void | setPostConstruction (DataProxyProvider *iProv, const edm::ParameterSet &iPSet) const |
Definition at line 62 of file ComponentMaker.h.
typedef T::base_type edm::eventsetup::ComponentMaker< T, TComponent >::base_type |
Reimplemented from edm::eventsetup::ComponentMakerBase< T >.
Definition at line 68 of file ComponentMaker.h.
edm::eventsetup::ComponentMaker< T, TComponent >::ComponentMaker | ( | ) | [inline] |
Definition at line 66 of file ComponentMaker.h.
{}
edm::eventsetup::ComponentMaker< T, TComponent >::ComponentMaker | ( | const ComponentMaker< T, TComponent > & | ) | [private] |
boost::shared_ptr< typename ComponentMaker< T, TComponent >::base_type > ComponentMaker::addTo | ( | EventSetupProvider & | iProvider, |
ParameterSet const & | iConfiguration, | ||
std::string const & | iProcessName, | ||
ReleaseVersion const & | iVersion, | ||
PassID const & | iPass | ||
) | const [virtual] |
Implements edm::eventsetup::ComponentMakerBase< T >.
Definition at line 108 of file ComponentMaker.h.
References idDealer::description.
{ boost::shared_ptr<TComponent> component(new TComponent(iConfiguration)); ComponentDescription description = this->createComponentDescription(iConfiguration, iProcessName, iVersion, iPass); this->setDescription(component.get(),description); this->setDescriptionForFinder(component.get(),description); this->setPostConstruction(component.get(),iConfiguration); T::addTo(iProvider, component); return component; }
const ComponentMaker& edm::eventsetup::ComponentMaker< T, TComponent >::operator= | ( | const ComponentMaker< T, TComponent > & | ) | [private] |
void edm::eventsetup::ComponentMaker< T, TComponent >::setDescription | ( | DataProxyProvider * | iProv, |
const ComponentDescription & | iDesc | ||
) | const [inline, private] |
Definition at line 85 of file ComponentMaker.h.
{ iProv->setDescription(iDesc); }
void edm::eventsetup::ComponentMaker< T, TComponent >::setDescription | ( | void * | , |
const ComponentDescription & | |||
) | const [inline, private] |
Definition at line 96 of file ComponentMaker.h.
{ }
void edm::eventsetup::ComponentMaker< T, TComponent >::setDescriptionForFinder | ( | EventSetupRecordIntervalFinder * | iFinder, |
const ComponentDescription & | iDesc | ||
) | const [inline, private] |
Definition at line 88 of file ComponentMaker.h.
{ iFinder->setDescriptionForFinder(iDesc); }
void edm::eventsetup::ComponentMaker< T, TComponent >::setDescriptionForFinder | ( | void * | , |
const ComponentDescription & | |||
) | const [inline, private] |
Definition at line 98 of file ComponentMaker.h.
{ }
void edm::eventsetup::ComponentMaker< T, TComponent >::setPostConstruction | ( | void * | , |
const edm::ParameterSet & | |||
) | const [inline, private] |
Definition at line 100 of file ComponentMaker.h.
{ }
void edm::eventsetup::ComponentMaker< T, TComponent >::setPostConstruction | ( | DataProxyProvider * | iProv, |
const edm::ParameterSet & | iPSet | ||
) | const [inline, private] |
Definition at line 91 of file ComponentMaker.h.
{ //The 'appendToDataLabel' parameter was added very late in the development cycle and since // the ParameterSet is not sent to the base class we must set the value after construction iProv->setAppendToDataLabel(iPSet); }