#include <ServiceRegistry.h>
Public Member Functions | |
Operate (ServiceToken const &iToken) | |
~Operate () | |
Private Member Functions | |
Operate (Operate const &) | |
Operate const & | operator= (Operate const &) |
Private Attributes | |
ServiceToken | oldToken_ |
Definition at line 40 of file ServiceRegistry.h.
edm::ServiceRegistry::Operate::Operate | ( | ServiceToken const & | iToken | ) | [inline] |
Definition at line 42 of file ServiceRegistry.h.
: oldToken_(ServiceRegistry::instance().setContext(iToken)) {}
edm::ServiceRegistry::Operate::~Operate | ( | ) | [inline] |
Definition at line 44 of file ServiceRegistry.h.
References edm::ServiceRegistry::instance(), oldToken_, and edm::ServiceRegistry::unsetContext().
{ ServiceRegistry::instance().unsetContext(oldToken_); }
edm::ServiceRegistry::Operate::Operate | ( | Operate const & | ) | [private] |
Definition at line 52 of file ServiceRegistry.h.
Referenced by ~Operate().