#include <ParentContext.h>
Classes | |
union | Parent |
Public Types | |
enum | Type { Type::kGlobal, Type::kInternal, Type::kModule, Type::kPlaceInPath, Type::kStream, Type::kInvalid } |
Public Member Functions | |
GlobalContext const * | globalContext () const |
InternalContext const * | internalContext () const |
bool | isAtEndTransition () const |
ModuleCallingContext const * | moduleCallingContext () const |
ParentContext () | |
ParentContext (GlobalContext const *) | |
ParentContext (InternalContext const *) | |
ParentContext (ModuleCallingContext const *) | |
ParentContext (PlaceInPathContext const *) | |
ParentContext (StreamContext const *) | |
PlaceInPathContext const * | placeInPathContext () const |
StreamContext const * | streamContext () const |
Type | type () const |
Private Attributes | |
union edm::ParentContext::Parent | parent_ |
Type | type_ |
Description: This is intended to be used as a member of ModuleCallingContext.
Usage:
Definition at line 27 of file ParentContext.h.
|
strong |
Enumerator | |
---|---|
kGlobal | |
kInternal | |
kModule | |
kPlaceInPath | |
kStream | |
kInvalid |
Definition at line 29 of file ParentContext.h.
edm::ParentContext::ParentContext | ( | ) |
Definition at line 15 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
edm::ParentContext::ParentContext | ( | GlobalContext const * | global | ) |
Definition at line 17 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
edm::ParentContext::ParentContext | ( | InternalContext const * | internal | ) |
Definition at line 19 of file ParentContext.cc.
References edm::ParentContext::Parent::internal, and parent_.
edm::ParentContext::ParentContext | ( | ModuleCallingContext const * | module | ) |
Definition at line 23 of file ParentContext.cc.
References edm::ParentContext::Parent::module, callgraph::module, and parent_.
edm::ParentContext::ParentContext | ( | PlaceInPathContext const * | placeInPath | ) |
Definition at line 25 of file ParentContext.cc.
References parent_, and edm::ParentContext::Parent::placeInPath.
edm::ParentContext::ParentContext | ( | StreamContext const * | stream | ) |
Definition at line 29 of file ParentContext.cc.
References parent_, cms::cuda::stream, and edm::ParentContext::Parent::stream.
GlobalContext const * edm::ParentContext::globalContext | ( | ) | const |
Definition at line 52 of file ParentContext.cc.
References Exception, edm::ParentContext::Parent::global, kGlobal, edm::errors::LogicError, parent_, and type_.
Referenced by edm::ModuleCallingContext::globalContext(), edm::operator<<(), edm::PuttableProductResolver::prefetchAsync_(), edm::ParentProcessProductResolver::prefetchAsync_(), and edm::ParentProcessProductResolver::resolveProduct_().
InternalContext const * edm::ParentContext::internalContext | ( | ) | const |
Definition at line 59 of file ParentContext.cc.
References Exception, edm::ParentContext::Parent::internal, kInternal, edm::errors::LogicError, parent_, and type_.
Referenced by edm::ModuleCallingContext::internalContext(), and edm::operator<<().
bool edm::ParentContext::isAtEndTransition | ( | ) | const |
Definition at line 66 of file ParentContext.cc.
References edm::ParentContext::Parent::global, isAtEndTransition(), edm::GlobalContext::isAtEndTransition(), edm::StreamContext::isAtEndTransition(), kGlobal, kModule, kPlaceInPath, kStream, edm::ParentContext::Parent::module, edm::ModuleCallingContext::parent(), parent_, edm::PlaceInPathContext::pathContext(), edm::ParentContext::Parent::placeInPath, edm::ParentContext::Parent::stream, edm::PathContext::streamContext(), and type_.
Referenced by isAtEndTransition(), edm::PuttableProductResolver::prefetchAsync_(), and edm::SwitchProducerProductResolver::prefetchAsync_().
ModuleCallingContext const * edm::ParentContext::moduleCallingContext | ( | ) | const |
Definition at line 31 of file ParentContext.cc.
References Exception, kModule, edm::errors::LogicError, edm::ParentContext::Parent::module, parent_, and type_.
Referenced by edm::ModuleCallingContext::moduleCallingContext(), and edm::operator<<().
PlaceInPathContext const * edm::ParentContext::placeInPathContext | ( | ) | const |
Definition at line 38 of file ParentContext.cc.
References Exception, kPlaceInPath, edm::errors::LogicError, parent_, edm::ParentContext::Parent::placeInPath, and type_.
Referenced by edm::operator<<(), edm::ModuleCallingContext::placeInPathContext(), FastTimerService::postESModule(), and FastTimerService::preESModule().
StreamContext const * edm::ParentContext::streamContext | ( | ) | const |
Definition at line 45 of file ParentContext.cc.
References Exception, kStream, edm::errors::LogicError, parent_, edm::ParentContext::Parent::stream, and type_.
Referenced by edm::operator<<(), and edm::ModuleCallingContext::streamContext().
|
inline |
Definition at line 38 of file ParentContext.h.
References type_.
Referenced by edm::operator<<(), and edm::ModuleCallingContext::type().
|
private |
Referenced by globalContext(), internalContext(), isAtEndTransition(), moduleCallingContext(), ParentContext(), placeInPathContext(), and streamContext().
|
private |
Definition at line 49 of file ParentContext.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), globalContext(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), internalContext(), isAtEndTransition(), moduleCallingContext(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), placeInPathContext(), streamContext(), and type().