CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
edm::ServiceWeakToken Class Reference

#include <ServiceToken.h>

Public Member Functions

ServiceToken lock () const
 
ServiceWeakTokenoperator= (ServiceWeakToken &&)=default
 
ServiceWeakTokenoperator= (ServiceWeakToken const &)=default
 
ServiceWeakTokenoperator= (ServiceToken const &iToken)
 
 ServiceWeakToken (ServiceToken const &iToken)
 
 ServiceWeakToken ()=default
 
 ServiceWeakToken (ServiceWeakToken &&)=default
 
 ServiceWeakToken (ServiceWeakToken const &)=default
 

Private Attributes

std::weak_ptr
< edm::serviceregistry::ServicesManager
manager_
 

Detailed Description

Definition at line 86 of file ServiceToken.h.

Constructor & Destructor Documentation

edm::ServiceWeakToken::ServiceWeakToken ( ServiceToken const &  iToken)
inline

Definition at line 88 of file ServiceToken.h.

88 : manager_(iToken.manager_) {}
std::weak_ptr< edm::serviceregistry::ServicesManager > manager_
Definition: ServiceToken.h:104
edm::ServiceWeakToken::ServiceWeakToken ( )
default
edm::ServiceWeakToken::ServiceWeakToken ( ServiceWeakToken &&  )
default
edm::ServiceWeakToken::ServiceWeakToken ( ServiceWeakToken const &  )
default

Member Function Documentation

ServiceToken edm::ServiceWeakToken::lock ( ) const
inline
ServiceWeakToken& edm::ServiceWeakToken::operator= ( ServiceWeakToken &&  )
default
ServiceWeakToken& edm::ServiceWeakToken::operator= ( ServiceWeakToken const &  )
default
ServiceWeakToken& edm::ServiceWeakToken::operator= ( ServiceToken const &  iToken)
inline

Definition at line 96 of file ServiceToken.h.

References edm::ServiceToken::manager_, and manager_.

96  {
97  manager_ = iToken.manager_;
98  return *this;
99  }
std::weak_ptr< edm::serviceregistry::ServicesManager > manager_
Definition: ServiceToken.h:104

Member Data Documentation

std::weak_ptr<edm::serviceregistry::ServicesManager> edm::ServiceWeakToken::manager_
private

Definition at line 104 of file ServiceToken.h.

Referenced by lock(), and operator=().