CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::ServiceRegistry::Operate Class Reference

#include <ServiceRegistry.h>

Public Member Functions

 Operate (ServiceToken const &iToken)
 
 Operate (Operate const &)=delete
 
Operate const & operator= (Operate const &)=delete
 
 ~Operate ()
 

Private Attributes

ServiceToken oldToken_
 

Detailed Description

Definition at line 41 of file ServiceRegistry.h.

Constructor & Destructor Documentation

◆ Operate() [1/2]

edm::ServiceRegistry::Operate::Operate ( ServiceToken const &  iToken)
inline

Definition at line 43 of file ServiceRegistry.h.

ServiceToken setContext(ServiceToken const &iNewToken)
static ServiceRegistry & instance()

◆ Operate() [2/2]

edm::ServiceRegistry::Operate::Operate ( Operate const &  )
delete

◆ ~Operate()

edm::ServiceRegistry::Operate::~Operate ( )
inline

Definition at line 46 of file ServiceRegistry.h.

References edm::ServiceRegistry::instance(), oldToken_, and edm::ServiceRegistry::unsetContext().

void unsetContext(ServiceToken const &iOldToken)
static ServiceRegistry & instance()

Member Function Documentation

◆ operator=()

Operate const& edm::ServiceRegistry::Operate::operator= ( Operate const &  )
delete

Member Data Documentation

◆ oldToken_

ServiceToken edm::ServiceRegistry::Operate::oldToken_
private

Definition at line 50 of file ServiceRegistry.h.

Referenced by ~Operate().