#include <WaitingTaskHolder.h>
Public Member Functions | |
void | doneWaiting (std::exception_ptr iExcept) |
WaitingTaskHolder & | operator= (const WaitingTaskHolder &iRHS) |
WaitingTaskHolder & | operator= (WaitingTaskHolder &&iRHS) |
void | presetTaskAsFailed (std::exception_ptr iExcept) |
bool | taskHasFailed () const |
WaitingTaskHolder () | |
WaitingTaskHolder (const WaitingTaskHolder &iHolder) | |
WaitingTaskHolder (edm::WaitingTask *iTask) | |
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 |
Definition at line 34 of file WaitingTaskHolder.h.
References m_task.
|
inline |
Definition at line 35 of file WaitingTaskHolder.h.
References doneWaiting(), and m_task.
|
inline |
Definition at line 41 of file WaitingTaskHolder.h.
References m_task.
|
inline |
Definition at line 43 of file WaitingTaskHolder.h.
|
inline |
Definition at line 75 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::handleNextEventForStreamAsync(), edm::SubProcess::processAsync(), edm::EventProcessor::processEventAsyncImpl(), edm::StreamSchedule::processOneEventAsync(), edm::GlobalSchedule::processOneGlobalAsync(), edm::StreamSchedule::processOneStreamAsync(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), edm::OutputModuleCommunicatorT< T >::writeProcessBlockAsync(), edm::OutputModuleCommunicatorT< T >::writeRunAsync(), and ~WaitingTaskHolder().
|
inline |
Definition at line 45 of file WaitingTaskHolder.h.
References m_task, std::swap(), and createJobs::tmp.
|
inline |
Definition at line 51 of file WaitingTaskHolder.h.
References m_task, eostools::move(), std::swap(), and createJobs::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 69 of file WaitingTaskHolder.h.
References edm::WaitingTask::dependentTaskFailed(), and m_task.
|
inline |
Definition at line 58 of file WaitingTaskHolder.h.
References edm::WaitingTask::exceptionPtr(), and m_task.
Referenced by edm::EventProcessor::beginLumiAsync().
|
private |
Definition at line 92 of file WaitingTaskHolder.h.
Referenced by doneWaiting(), operator=(), presetTaskAsFailed(), taskHasFailed(), WaitingTaskHolder(), and ~WaitingTaskHolder().