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 &)
 
 ServiceWrapper (const ServiceWrapper &)
 

Private Attributes

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

Detailed Description

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

Definition at line 34 of file ServiceRegistry.h.

Constructor & Destructor Documentation

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

Definition at line 40 of file ServiceWrapper.h.

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

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

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 > &  )
private

Member Data Documentation

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

Definition at line 58 of file ServiceWrapper.h.

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