#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 noexcept(false) |
InternalContext const * | internalContext () const noexcept(false) |
bool | isAtEndTransition () const noexcept |
ModuleCallingContext const * | moduleCallingContext () const noexcept(false) |
ParentContext () noexcept | |
ParentContext (GlobalContext const *) noexcept | |
ParentContext (InternalContext const *) noexcept | |
ParentContext (ModuleCallingContext const *) noexcept | |
ParentContext (PlaceInPathContext const *) noexcept | |
ParentContext (StreamContext const *) noexcept | |
PlaceInPathContext const * | placeInPathContext () const noexcept(false) |
StreamContext const * | streamContext () const noexcept(false) |
Type | type () const noexcept |
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.
|
noexcept |
Definition at line 15 of file ParentContext.cc.
References edm::ParentContext::Parent::global, and parent_.
|
noexcept |
Definition at line 17 of file ParentContext.cc.
|
noexcept |
Definition at line 19 of file ParentContext.cc.
|
noexcept |
Definition at line 23 of file ParentContext.cc.
References callgraph::module.
|
noexcept |
Definition at line 27 of file ParentContext.cc.
|
noexcept |
Definition at line 31 of file ParentContext.cc.
References cms::cuda::stream.
|
noexcept |
Definition at line 54 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_().
|
noexcept |
Definition at line 61 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<<().
|
noexcept |
Definition at line 68 of file ParentContext.cc.
References edm::ParentContext::Parent::global, isAtEndTransition(), edm::StreamContext::isAtEndTransition(), edm::GlobalContext::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_().
|
noexcept |
Definition at line 33 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<<().
|
noexcept |
Definition at line 40 of file ParentContext.cc.
References Exception, kPlaceInPath, edm::errors::LogicError, parent_, edm::ParentContext::Parent::placeInPath, and type_.
Referenced by edm::operator<<(), and edm::ModuleCallingContext::placeInPathContext().
|
noexcept |
Definition at line 47 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().
|
inlinenoexcept |
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().