#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 34 of file ProcessContext.h.
References parentProcessContext_.
Referenced by edm::operator<<(), parentProcessContext(), edm::service::Timing::postGlobalBeginLumi(), edm::service::Timing::postGlobalBeginRun(), and edm::service::Timing::preBeginJob().
|
inline |
Definition at line 32 of file ProcessContext.h.
References edm::ProcessConfiguration::parameterSetID(), and processConfiguration_.
Referenced by edm::service::CondorStatusService::beginPre(), and edm::service::PrescaleService::preBeginJob().
ProcessContext const & edm::ProcessContext::parentProcessContext | ( | ) | const |
Definition at line 10 of file ProcessContext.cc.
References Exception, isSubProcess(), edm::errors::LogicError, and parentProcessContext_.
Referenced by edm::operator<<(), and setParentProcessContext().
|
inline |
Definition at line 33 of file ProcessContext.h.
References processConfiguration_.
Referenced by edm::operator<<(), and setProcessConfiguration().
|
inline |
Definition at line 31 of file ProcessContext.h.
References processConfiguration_, and edm::ProcessConfiguration::processName().
Referenced by edm::service::Tracer::preBeginJob().
void edm::ProcessContext::setParentProcessContext | ( | ProcessContext const * | parentProcessContext | ) |
Definition at line 23 of file ProcessContext.cc.
References parentProcessContext(), and parentProcessContext_.
Referenced by edm::SubProcess::SubProcess().
void edm::ProcessContext::setProcessConfiguration | ( | ProcessConfiguration const * | processConfiguration | ) |
Definition at line 19 of file ProcessContext.cc.
References processConfiguration(), and processConfiguration_.
Referenced by edm::EventProcessor::init(), edm::SubProcess::SubProcess(), and edm::test::TestProcessor::TestProcessor().
|
private |
Definition at line 45 of file ProcessContext.h.
Referenced by isSubProcess(), parentProcessContext(), and setParentProcessContext().
|
private |
Definition at line 41 of file ProcessContext.h.
Referenced by parameterSetID(), processConfiguration(), processName(), and setProcessConfiguration().