#include <WaitingTaskHolder.h>
Public Member Functions | |
void | doneWaiting (std::exception_ptr iExcept) |
WaitingTaskHolder & | operator= (const WaitingTaskHolder &iRHS) |
void | presetTaskAsFailed (std::exception_ptr iExcept) |
bool | taskHasFailed () const |
WaitingTaskHolder () | |
WaitingTaskHolder (edm::WaitingTask *iTask) | |
WaitingTaskHolder (const WaitingTaskHolder &iHolder) | |
WaitingTaskHolder (WaitingTaskHolder &&iOther) | |
~WaitingTaskHolder () | |
Private Attributes | |
WaitingTask * | m_task |
Definition at line 30 of file WaitingTaskHolder.h.
|
inline |
Definition at line 32 of file WaitingTaskHolder.h.
|
inlineexplicit |
|
inline |
Definition at line 35 of file WaitingTaskHolder.h.
References doneWaiting(), and m_task.
|
inline |
|
inline |
Definition at line 43 of file WaitingTaskHolder.h.
|
inline |
Definition at line 69 of file WaitingTaskHolder.h.
References edm::WaitingTask::dependentTaskFailed(), m_task, and TrackValidation_cff::task.
Referenced by edm::beginGlobalTransitionAsync(), edm::EventProcessor::beginLumiAsync(), edm::beginStreamTransitionAsync(), edm::endGlobalTransitionAsync(), edm::endStreamTransitionAsync(), edm::Worker::HandleExternalWorkExceptionTask::execute(), edm::StreamSchedule::finishedPaths(), edm::EventProcessor::handleEndLumiExceptions(), edm::EventProcessor::handleNextEventForStreamAsync(), edm::SubProcess::processAsync(), edm::EventProcessor::processEventAsyncImpl(), edm::StreamSchedule::processOneEventAsync(), edm::GlobalSchedule::processOneGlobalAsync(), edm::StreamSchedule::processOneStreamAsync(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), edm::SubProcess::writeLumiAsync(), edm::EventProcessor::writeLumiAsync(), edm::OutputModuleCommunicatorT< T >::writeRunAsync(), edm::SubProcess::writeRunAsync(), edm::EventProcessor::writeRunAsync(), and ~WaitingTaskHolder().
|
inline |
Definition at line 45 of file WaitingTaskHolder.h.
References m_task, std::swap(), and tmp.
|
inline |
Use in the case where you need to inform the parent task of a failure before some other child task which may be run later reports a different, but related failure. You must later call doneWaiting in the same thread passing the same exceptoin.
Definition at line 63 of file WaitingTaskHolder.h.
References edm::WaitingTask::dependentTaskFailed(), and m_task.
|
inline |
Definition at line 52 of file WaitingTaskHolder.h.
References edm::WaitingTask::exceptionPtr(), and m_task.
Referenced by edm::EventProcessor::beginLumiAsync().
|
private |
Definition at line 86 of file WaitingTaskHolder.h.
Referenced by doneWaiting(), operator=(), presetTaskAsFailed(), taskHasFailed(), WaitingTaskHolder(), and ~WaitingTaskHolder().