#include <ServiceMaker.h>
Public Member Functions | |
virtual bool | make (ParameterSet const &iPS, ActivityRegistry &iAR, ServicesManager &oSM) const |
virtual bool | processWideService () const |
virtual bool | saveConfiguration () const |
ServiceMaker () | |
virtual std::type_info const & | serviceType () const |
Private Member Functions | |
ServiceMaker const & | operator= (ServiceMaker const &) |
ServiceMaker (ServiceMaker const &) |
Definition at line 72 of file ServiceMaker.h.
edm::serviceregistry::ServiceMaker< T, TMaker >::ServiceMaker | ( | ) | [inline] |
Definition at line 75 of file ServiceMaker.h.
{}
edm::serviceregistry::ServiceMaker< T, TMaker >::ServiceMaker | ( | ServiceMaker< T, TMaker > const & | ) | [private] |
virtual bool edm::serviceregistry::ServiceMaker< T, TMaker >::make | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iAR, | ||
ServicesManager & | oSM | ||
) | const [inline, virtual] |
Implements edm::serviceregistry::ServiceMakerBase.
Definition at line 81 of file ServiceMaker.h.
References edm::serviceregistry::ServicesManager::put().
{ TMaker maker; std::auto_ptr<T> pService(maker.make(iPS, iAR)); boost::shared_ptr<ServiceWrapper<T> > ptr(new ServiceWrapper<T>(pService)); return oSM.put(ptr); }
ServiceMaker const& edm::serviceregistry::ServiceMaker< T, TMaker >::operator= | ( | ServiceMaker< T, TMaker > const & | ) | [private] |
virtual bool edm::serviceregistry::ServiceMaker< T, TMaker >::processWideService | ( | ) | const [inline, virtual] |
Implements edm::serviceregistry::ServiceMakerBase.
Definition at line 94 of file ServiceMaker.h.
References edm::service::isProcessWideService().
{ return service::isProcessWideService(static_cast<typename TMaker::concrete_t const*>(0)); }
virtual bool edm::serviceregistry::ServiceMaker< T, TMaker >::saveConfiguration | ( | ) | const [inline, virtual] |
Implements edm::serviceregistry::ServiceMakerBase.
Definition at line 90 of file ServiceMaker.h.
References edm::serviceregistry::ServiceMakerBase::testSaveConfiguration().
{ return ServiceMakerBase::testSaveConfiguration(static_cast<typename TMaker::concrete_t const*>(0)); }
virtual std::type_info const& edm::serviceregistry::ServiceMaker< T, TMaker >::serviceType | ( | ) | const [inline, virtual] |
Implements edm::serviceregistry::ServiceMakerBase.
Definition at line 79 of file ServiceMaker.h.
{ return typeid(T); }