#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_.
Referenced by edm::operator<<(), parentProcessContext(), and FastTimerService::processID().
|
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 edm::operator<<(), FastTimerService::processID(), and setParentProcessContext().
|
inline |
Definition at line 35 of file ProcessContext.h.
References processConfiguration_.
Referenced by edm::operator<<(), and setProcessConfiguration().
|
inline |
Definition at line 33 of file ProcessContext.h.
References processConfiguration_, and edm::ProcessConfiguration::processName().
Referenced by edm::service::Tracer::preBeginJob(), FastTimerService::preGlobalBeginRun(), and FastTimerService::preStreamBeginRun().
void edm::ProcessContext::setParentProcessContext | ( | ProcessContext const * | parentProcessContext | ) |
Definition at line 29 of file ProcessContext.cc.
References parentProcessContext(), and parentProcessContext_.
Referenced by 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(), and edm::SubProcess::SubProcess().
|
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().