#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().
Referenced by edm::service::Tracer::postModuleEvent(), edm::service::Tracer::postModuleEventDelayedGet(), edm::service::Tracer::postModuleGlobalBeginLumi(), edm::service::Tracer::postModuleGlobalBeginRun(), edm::service::Tracer::postModuleGlobalEndLumi(), edm::service::Tracer::postModuleGlobalEndRun(), edm::service::Tracer::postModuleStreamBeginLumi(), edm::service::Tracer::postModuleStreamBeginRun(), edm::service::Tracer::postModuleStreamEndLumi(), edm::service::Tracer::postModuleStreamEndRun(), edm::service::Tracer::preModuleEvent(), edm::service::Tracer::preModuleEventDelayedGet(), edm::service::Tracer::preModuleGlobalBeginLumi(), edm::service::Tracer::preModuleGlobalBeginRun(), edm::service::Tracer::preModuleGlobalEndLumi(), edm::service::Tracer::preModuleGlobalEndRun(), edm::service::Tracer::preModuleStreamBeginLumi(), edm::service::Tracer::preModuleStreamBeginRun(), edm::service::Tracer::preModuleStreamEndLumi(), and edm::service::Tracer::preModuleStreamEndRun().
GlobalContext const * edm::ModuleCallingContext::getGlobalContext | ( | ) | const |
Definition at line 49 of file ModuleCallingContext.cc.
References edm::hlt::Exception, getTopModuleCallingContext(), globalContext(), edm::ParentContext::kGlobal, edm::errors::LogicError, and type().
Referenced by edm::SecondaryEventProvider::beginLuminosityBlock(), edm::SecondaryEventProvider::beginRun(), edm::SecondaryEventProvider::endLuminosityBlock(), and edm::SecondaryEventProvider::endRun().
StreamContext const * edm::ModuleCallingContext::getStreamContext | ( | ) | const |
Definition at line 37 of file ModuleCallingContext.cc.
References edm::hlt::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::EventPrincipal::readFromSource_(), edm::UnscheduledCallProducer::tryToFillImpl(), edm::EventPrincipal::unscheduledFill(), 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 edm::Worker::doWork(), getGlobalContext(), getStreamContext(), and edm::service::MessageLogger::unEstablishModule().
|
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(), edm::Worker::descPtr(), edm::Worker::description(), DQMEDAnalyzer::endLuminosityBlockSummary(), DQMEDAnalyzer::endRunSummary(), edm::service::MessageLogger::establishModule(), edm::service::RandomNumberGeneratorService::getEngine(), edm::service::RandomNumberGeneratorService::mySeed(), edm::operator<<(), edm::SystemTimeKeeper::pauseModuleEvent(), edm::service::EnableFloatingPointExceptions::postActions(), edm::service::Timing::postModule(), edm::service::SimpleMemoryCheck::postModule(), edm::service::Tracer::postModuleBeginStream(), edm::service::MessageLogger::postModuleBeginStream(), edm::service::Tracer::postModuleEndStream(), edm::service::MessageLogger::postModuleEndStream(), FWPathsPopup::postModuleEvent(), TFileService::postModuleEvent(), edm::service::Tracer::postModuleEvent(), FastTimerService::postModuleEvent(), edm::service::Tracer::postModuleEventDelayedGet(), FastTimerService::postModuleEventDelayedGet(), TFileService::postModuleGlobal(), edm::service::Tracer::postModuleGlobalBeginLumi(), edm::service::Tracer::postModuleGlobalBeginRun(), edm::service::Tracer::postModuleGlobalEndLumi(), edm::service::Tracer::postModuleGlobalEndRun(), edm::service::Tracer::postModuleStreamBeginLumi(), edm::service::Tracer::postModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::postModuleStreamCheck(), edm::service::Tracer::postModuleStreamEndLumi(), edm::service::Tracer::postModuleStreamEndRun(), edm::service::EnableFloatingPointExceptions::preActions(), edm::service::SimpleMemoryCheck::preModule(), VariableHelperService::preModule(), edm::service::Tracer::preModuleBeginStream(), edm::service::MessageLogger::preModuleBeginStream(), edm::service::Tracer::preModuleEndStream(), edm::service::MessageLogger::preModuleEndStream(), FWPathsPopup::preModuleEvent(), TFileService::preModuleEvent(), edm::service::Tracer::preModuleEvent(), evf::FastMonitoringService::preModuleEvent(), FastTimerService::preModuleEvent(), edm::service::Tracer::preModuleEventDelayedGet(), FastTimerService::preModuleEventDelayedGet(), TFileService::preModuleGlobal(), edm::service::Tracer::preModuleGlobalBeginLumi(), edm::service::Tracer::preModuleGlobalBeginRun(), edm::service::Tracer::preModuleGlobalEndLumi(), edm::service::Tracer::preModuleGlobalEndRun(), edm::service::Tracer::preModuleStreamBeginLumi(), edm::service::Tracer::preModuleStreamBeginRun(), edm::service::RandomNumberGeneratorService::preModuleStreamCheck(), edm::service::Tracer::preModuleStreamEndLumi(), edm::service::Tracer::preModuleStreamEndRun(), edm::SystemTimeKeeper::restartModuleEvent(), edm::SystemTimeKeeper::startModuleEvent(), and edm::SystemTimeKeeper::stopModuleEvent().
|
inline |
Definition at line 57 of file ModuleCallingContext.h.
References parent_.
Referenced by BeautifulSoup.PageElement::_invert(), Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), edm::operator<<(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), edm::Worker::resetModuleDescription(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), setContext(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
|
inline |
Definition at line 59 of file ModuleCallingContext.h.
References parent_, and edm::ParentContext::placeInPathContext().
Referenced by edm::Worker::doWork(), HLTPrescaler::filter(), getStreamContext(), edm::SystemTimeKeeper::pauseModuleEvent(), and edm::SystemTimeKeeper::stopModuleEvent().
|
inline |
Definition at line 79 of file ModuleCallingContext.h.
References previousModuleOnThread_.
Referenced by edm::operator<<(), edm::service::EnableFloatingPointExceptions::postActions(), TFileService::postModuleEvent(), TFileService::postModuleGlobal(), edm::Worker::resetModuleDescription(), edm::service::MessageLogger::unEstablishModule(), and edm::ModuleContextSentry::~ModuleContextSentry().
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_.
Referenced by edm::ModuleContextSentry::ModuleContextSentry(), and edm::ModuleContextSentry::~ModuleContextSentry().
|
inline |
Definition at line 52 of file ModuleCallingContext.h.
References state(), and state_.
Referenced by edm::Worker::beginStream(), edm::Worker::doWork(), and edm::Worker::endStream().
|
inline |
Definition at line 55 of file ModuleCallingContext.h.
References state_.
Referenced by edm::operator<<(), FastTimerService::postModuleEventDelayedGet(), FastTimerService::preModuleEventDelayedGet(), edm::Worker::resetModuleDescription(), 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 cuy.ValElement::__init__(), depth(), edm::Worker::doWork(), getGlobalContext(), getStreamContext(), getTopModuleCallingContext(), edm::operator<<(), edm::SystemTimeKeeper::pauseModuleEvent(), and edm::SystemTimeKeeper::stopModuleEvent().
|
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().