#include <ESModuleCallingContext.h>
Public Types | |
enum | State { State::kPrefetching, State::kRunning, State::kInvalid } |
using | Type = ESParentContext::Type |
Public Member Functions | |
edm::eventsetup::ComponentDescription const * | componentDescription () const |
unsigned | depth () const |
ESModuleCallingContext (edm::eventsetup::ComponentDescription const *moduleDescription) | |
ESModuleCallingContext (edm::eventsetup::ComponentDescription const *moduleDescription, State state, ESParentContext const &parent) | |
ESModuleCallingContext const * | esmoduleCallingContext () const |
ModuleCallingContext const * | getTopModuleCallingContext () const |
ModuleCallingContext const * | moduleCallingContext () const |
ESParentContext const & | parent () const |
void | setContext (State state, ESParentContext const &parent) |
void | setState (State state) |
State | state () const |
Type | type () const |
Private Attributes | |
edm::eventsetup::ComponentDescription const * | componentDescription_ |
ESParentContext | parent_ |
State | state_ |
Description: This is intended primarily to be passed to Services as an argument to their callback functions.
Usage:
Definition at line 27 of file ESModuleCallingContext.h.
Definition at line 29 of file ESModuleCallingContext.h.
|
strong |
Enumerator | |
---|---|
kPrefetching | |
kRunning | |
kInvalid |
Definition at line 31 of file ESModuleCallingContext.h.
edm::ESModuleCallingContext::ESModuleCallingContext | ( | edm::eventsetup::ComponentDescription const * | moduleDescription | ) |
Definition at line 10 of file ESModuleCallingContext.cc.
edm::ESModuleCallingContext::ESModuleCallingContext | ( | edm::eventsetup::ComponentDescription const * | moduleDescription, |
State | state, | ||
ESParentContext const & | parent | ||
) |
Definition at line 13 of file ESModuleCallingContext.cc.
|
inline |
Definition at line 47 of file ESModuleCallingContext.h.
References componentDescription_.
Referenced by edm::exceptionContext(), edm::service::Tracer::postESModule(), edm::service::Tracer::postESModulePrefetching(), edm::service::Tracer::preESModule(), and edm::service::Tracer::preESModulePrefetching().
unsigned edm::ESModuleCallingContext::depth | ( | void | ) | const |
Definition at line 31 of file ESModuleCallingContext.cc.
References edm::ModuleCallingContext::depth(), esmoduleCallingContext(), edm::ESParentContext::kESModule, moduleCallingContext(), and type().
Referenced by edm::service::Tracer::postESModule(), edm::service::Tracer::postESModulePrefetching(), edm::service::Tracer::preESModule(), and edm::service::Tracer::preESModulePrefetching().
|
inline |
Definition at line 52 of file ESModuleCallingContext.h.
References edm::ESParentContext::esmoduleCallingContext(), and parent_.
Referenced by depth(), edm::exceptionContext(), and getTopModuleCallingContext().
ModuleCallingContext const * edm::ESModuleCallingContext::getTopModuleCallingContext | ( | ) | const |
Definition at line 23 of file ESModuleCallingContext.cc.
References esmoduleCallingContext(), edm::ModuleCallingContext::getTopModuleCallingContext(), edm::ESParentContext::kESModule, moduleCallingContext(), and type().
Referenced by FastTimerService::postESModule(), and FastTimerService::preESModule().
|
inline |
Definition at line 51 of file ESModuleCallingContext.h.
References edm::ESParentContext::moduleCallingContext(), and parent_.
Referenced by depth(), edm::exceptionContext(), and getTopModuleCallingContext().
|
inline |
Definition at line 50 of file ESModuleCallingContext.h.
References parent_.
Referenced by setContext().
void edm::ESModuleCallingContext::setContext | ( | State | state, |
ESParentContext const & | parent | ||
) |
Definition at line 18 of file ESModuleCallingContext.cc.
References parent(), parent_, state(), and state_.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::prefetchAsync().
|
inline |
Definition at line 45 of file ESModuleCallingContext.h.
References state(), and state_.
Referenced by edm::eventsetup::Callback< T, TReturn, TRecord, TDecorator >::runProducerAsync().
|
inline |
Definition at line 48 of file ESModuleCallingContext.h.
References state_.
Referenced by edm::exceptionContext(), setContext(), and setState().
|
inline |
Definition at line 49 of file ESModuleCallingContext.h.
References parent_, and edm::ESParentContext::type().
Referenced by depth(), edm::exceptionContext(), and getTopModuleCallingContext().
|
private |
Definition at line 63 of file ESModuleCallingContext.h.
Referenced by componentDescription().
|
private |
Definition at line 64 of file ESModuleCallingContext.h.
Referenced by esmoduleCallingContext(), moduleCallingContext(), parent(), setContext(), and type().
|
private |
Definition at line 65 of file ESModuleCallingContext.h.
Referenced by setContext(), setState(), and state().