CMS 3D CMS Logo

List of all members | Public Member Functions | Private 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

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

Private Member Functions

const ServiceWrapperoperator= (const ServiceWrapper &)=delete
 
 ServiceWrapper (const ServiceWrapper &)=delete
 

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

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

Definition at line 38 of file ServiceWrapper.h.

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

38 : service_(std::move(iService)) {}
def move(src, dest)
Definition: eostools.py:511
edm::propagate_const< std::unique_ptr< T > > service_
template<class T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( const ServiceWrapper< T > &  )
privatedelete

Member Function Documentation

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

Member Data Documentation

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

Definition at line 55 of file ServiceWrapper.h.

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