#include <ModuleCallingContext.h>
Public Types | |
enum | State { State::kPrefetching, State::kRunning, State::kInvalid } |
typedef ParentContext::Type | Type |
Private Attributes | |
ModuleDescription const * | moduleDescription_ |
ParentContext | parent_ |
ModuleCallingContext const * | previousModuleOnThread_ |
State | state_ |
Description: This is intended primarily to be passed to Services as an argument to their callback functions.
Usage:
Definition at line 30 of file ModuleCallingContext.h.
Definition at line 33 of file ModuleCallingContext.h.
|
strong |
Enumerator | |
---|---|
kPrefetching | |
kRunning | |
kInvalid |
Definition at line 35 of file ModuleCallingContext.h.
edm::ModuleCallingContext::ModuleCallingContext | ( | ModuleDescription const * | moduleDescription | ) |
Definition at line 12 of file ModuleCallingContext.cc.
edm::ModuleCallingContext::ModuleCallingContext | ( | ModuleDescription const * | moduleDescription, |
State | state, | ||
ParentContext const & | parent, | ||
ModuleCallingContext const * | previousOnThread | ||
) |
Definition at line 19 of file ModuleCallingContext.cc.
unsigned edm::ModuleCallingContext::depth | ( | void | ) | const |
Definition at line 74 of file ModuleCallingContext.cc.
References internalContext(), edm::ParentContext::kInternal, edm::ParentContext::kModule, edm::InternalContext::moduleCallingContext(), moduleCallingContext(), and type().
GlobalContext const * edm::ModuleCallingContext::getGlobalContext | ( | ) | const |
Definition at line 49 of file ModuleCallingContext.cc.
References Exception, getTopModuleCallingContext(), globalContext(), edm::ParentContext::kGlobal, edm::errors::LogicError, and type().
StreamContext const * edm::ModuleCallingContext::getStreamContext | ( | ) | const |
Definition at line 37 of file ModuleCallingContext.cc.
References Exception, getTopModuleCallingContext(), edm::ParentContext::kPlaceInPath, edm::ParentContext::kStream, edm::errors::LogicError, edm::PlaceInPathContext::pathContext(), placeInPathContext(), edm::PathContext::streamContext(), streamContext(), and type().
Referenced by edm::EventSignalsSentry::EventSignalsSentry(), edm::UnscheduledCallProducer::tryToFillImpl(), and edm::EventSignalsSentry::~EventSignalsSentry().
ModuleCallingContext const * edm::ModuleCallingContext::getTopModuleCallingContext | ( | ) | const |
Definition at line 59 of file ModuleCallingContext.cc.
References internalContext(), edm::ParentContext::kInternal, edm::ParentContext::kModule, edm::InternalContext::moduleCallingContext(), moduleCallingContext(), and type().
Referenced by getGlobalContext(), and getStreamContext().
|
inline |
Definition at line 61 of file ModuleCallingContext.h.
References edm::ParentContext::globalContext(), and parent_.
Referenced by getGlobalContext().
|
inline |
Definition at line 62 of file ModuleCallingContext.h.
References edm::ParentContext::internalContext(), and parent_.
Referenced by depth(), and getTopModuleCallingContext().
|
inline |
Definition at line 58 of file ModuleCallingContext.h.
References edm::ParentContext::moduleCallingContext(), and parent_.
Referenced by depth(), getTopModuleCallingContext(), and edm::operator<<().
|
inline |
Definition at line 54 of file ModuleCallingContext.h.
References moduleDescription_.
Referenced by DQMEDAnalyzer::beginRun(), DQMEDAnalyzer::endLuminosityBlockSummary(), DQMEDAnalyzer::endRunSummary(), edm::operator<<(), TFileService::postModuleEvent(), TFileService::postModuleGlobal(), VariableHelperService::preModule(), TFileService::preModuleEvent(), and TFileService::preModuleGlobal().
|
inline |
Definition at line 57 of file ModuleCallingContext.h.
References parent_.
Referenced by Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), edm::operator<<(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), and setContext().
|
inline |
Definition at line 59 of file ModuleCallingContext.h.
References parent_, and edm::ParentContext::placeInPathContext().
Referenced by getStreamContext().
|
inline |
Definition at line 79 of file ModuleCallingContext.h.
References previousModuleOnThread_.
Referenced by edm::operator<<(), TFileService::postModuleEvent(), and TFileService::postModuleGlobal().
void edm::ModuleCallingContext::setContext | ( | State | state, |
ParentContext const & | parent, | ||
ModuleCallingContext const * | previousOnThread | ||
) |
Definition at line 29 of file ModuleCallingContext.cc.
References parent(), parent_, previousModuleOnThread_, state(), and state_.
|
inline |
|
inline |
Definition at line 55 of file ModuleCallingContext.h.
References state_.
Referenced by edm::operator<<(), setContext(), and setState().
|
inline |
Definition at line 60 of file ModuleCallingContext.h.
References parent_, and edm::ParentContext::streamContext().
Referenced by getStreamContext().
|
inline |
Definition at line 56 of file ModuleCallingContext.h.
References parent_, and edm::ParentContext::type().
Referenced by depth(), getGlobalContext(), getStreamContext(), getTopModuleCallingContext(), and edm::operator<<().
|
private |
Definition at line 83 of file ModuleCallingContext.h.
Referenced by moduleDescription().
|
private |
Definition at line 84 of file ModuleCallingContext.h.
Referenced by globalContext(), internalContext(), moduleCallingContext(), parent(), placeInPathContext(), setContext(), streamContext(), and type().
|
private |
Definition at line 82 of file ModuleCallingContext.h.
Referenced by previousModuleOnThread(), and setContext().
|
private |
Definition at line 85 of file ModuleCallingContext.h.
Referenced by setContext(), setState(), and state().