#include <ProcessContext.h>
Public Member Functions | |
bool | isSubProcess () const |
ParameterSetID const & | parameterSetID () const |
ProcessContext const & | parentProcessContext () const |
ProcessConfiguration const * | processConfiguration () const |
ProcessContext () | |
std::string const & | processName () const |
void | setParentProcessContext (ProcessContext const *parentProcessContext) |
void | setProcessConfiguration (ProcessConfiguration const *processConfiguration) |
Private Attributes | |
ProcessContext const * | parentProcessContext_ |
ProcessConfiguration const * | processConfiguration_ |
Description: Holds pointer to ProcessConfiguration and if this is a SubProcess also a pointer to the parent ProcessContext. This is intended primarily to be passed to Services as an argument to their callback functions.
Usage:
Definition at line 27 of file ProcessContext.h.
edm::ProcessContext::ProcessContext | ( | ) |
Definition at line 8 of file ProcessContext.cc.
|
inline |
Definition at line 36 of file ProcessContext.h.
References parentProcessContext(), parentProcessContext_, processConfiguration(), setParentProcessContext(), and setProcessConfiguration().
Referenced by edm::operator<<(), parentProcessContext(), edm::service::Timing::postGlobalBeginLumi(), edm::service::Timing::postGlobalBeginRun(), edm::service::Timing::preBeginJob(), DependencyGraph::preBeginJob(), ProcessCallGraph::preBeginJob(), FastTimerService::printTransition(), ProcessCallGraph::processId(), and ProcessCallGraph::registerProcess().
|
inline |
Definition at line 34 of file ProcessContext.h.
References edm::ProcessConfiguration::parameterSetID(), and processConfiguration_.
Referenced by edm::service::CondorStatusService::beginPre(), evf::EvFDaqDirector::checkMergeTypePSet(), evf::EvFDaqDirector::checkTransferSystemPSet(), and edm::service::PrescaleService::preBeginJob().
ProcessContext const & edm::ProcessContext::parentProcessContext | ( | ) | const |
Definition at line 14 of file ProcessContext.cc.
References Exception, isSubProcess(), edm::errors::LogicError, and parentProcessContext_.
Referenced by isSubProcess(), edm::operator<<(), ProcessCallGraph::preBeginJob(), ProcessCallGraph::registerProcess(), and setParentProcessContext().
|
inline |
Definition at line 35 of file ProcessContext.h.
References processConfiguration_.
Referenced by isSubProcess(), edm::operator<<(), and setProcessConfiguration().
|
inline |
Definition at line 33 of file ProcessContext.h.
References processConfiguration_, and edm::ProcessConfiguration::processName().
Referenced by DependencyGraph::preBeginJob(), edm::service::Tracer::preBeginJob(), ProcessCallGraph::preBeginJob(), ProcessCallGraph::processId(), and ProcessCallGraph::registerProcess().
void edm::ProcessContext::setParentProcessContext | ( | ProcessContext const * | parentProcessContext | ) |
Definition at line 29 of file ProcessContext.cc.
References parentProcessContext(), and parentProcessContext_.
Referenced by isSubProcess(), and edm::SubProcess::SubProcess().
void edm::ProcessContext::setProcessConfiguration | ( | ProcessConfiguration const * | processConfiguration | ) |
Definition at line 24 of file ProcessContext.cc.
References processConfiguration(), and processConfiguration_.
Referenced by edm::EventProcessor::init(), isSubProcess(), edm::SubProcess::SubProcess(), and edm::test::TestProcessor::TestProcessor().
|
private |
Definition at line 48 of file ProcessContext.h.
Referenced by isSubProcess(), parentProcessContext(), and setParentProcessContext().
|
private |
Definition at line 44 of file ProcessContext.h.
Referenced by parameterSetID(), processConfiguration(), processName(), and setProcessConfiguration().