CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::serviceregistry::ServiceWrapper< T > Class Template Reference

#include <ServiceRegistry.h>

Inheritance diagram for edm::serviceregistry::ServiceWrapper< T >:
edm::serviceregistry::ServiceWrapperBase

Public Member Functions

Tget ()
 
T const & get () const
 
const ServiceWrapperoperator= (const ServiceWrapper &)=delete
 
 ServiceWrapper (const ServiceWrapper &)=delete
 
 ServiceWrapper (std::unique_ptr< T > iService)
 
- Public Member Functions inherited from edm::serviceregistry::ServiceWrapperBase
const ServiceWrapperBaseoperator= (const ServiceWrapperBase &)=delete
 
 ServiceWrapperBase ()
 
 ServiceWrapperBase (const ServiceWrapperBase &)=delete
 
virtual ~ServiceWrapperBase ()
 

Private Attributes

edm::propagate_const< std::unique_ptr< T > > service_
 

Detailed Description

template<class T>
class edm::serviceregistry::ServiceWrapper< T >

Definition at line 35 of file ServiceRegistry.h.

Constructor & Destructor Documentation

◆ ServiceWrapper() [1/2]

template<class T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( std::unique_ptr< T iService)
inline

Definition at line 38 of file ServiceWrapper.h.

38 : service_(std::move(iService)) {}

◆ ServiceWrapper() [2/2]

template<class T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( const ServiceWrapper< T > &  )
delete

Member Function Documentation

◆ get() [1/2]

template<class T >
T& edm::serviceregistry::ServiceWrapper< T >::get ( )
inline

◆ get() [2/2]

template<class T >
T const& edm::serviceregistry::ServiceWrapper< T >::get ( ) const
inline

◆ operator=()

template<class T >
const ServiceWrapper& edm::serviceregistry::ServiceWrapper< T >::operator= ( const ServiceWrapper< T > &  )
delete

Member Data Documentation

◆ service_

template<class T >
edm::propagate_const<std::unique_ptr<T> > edm::serviceregistry::ServiceWrapper< T >::service_
private

Definition at line 52 of file ServiceWrapper.h.

Referenced by edm::serviceregistry::ServiceWrapper< T >::get().

edm::serviceregistry::ServiceWrapper::service_
edm::propagate_const< std::unique_ptr< T > > service_
Definition: ServiceWrapper.h:52
eostools.move
def move(src, dest)
Definition: eostools.py:511