#include <WorkerInPath.h>
Public Types | |
enum | FilterAction { Normal = 0, Ignore, Veto } |
Public Member Functions | |
unsigned int | bitPosition () const noexcept |
bool | checkResultsOfRunWorker (bool wasEvent) |
void | clearCounters () |
FilterAction | filterAction () const |
Worker * | getWorker () const |
bool | runConcurrently () const noexcept |
template<typename T > | |
void | runWorkerAsync (WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, typename T::Context const *) |
void | setPathContext (PathContext const *v) |
void | skipWorker (EventPrincipal const &iPrincipal) |
void | skipWorker (RunPrincipal const &) |
void | skipWorker (LuminosityBlockPrincipal const &) |
int | timesExcept () const |
int | timesFailed () const |
int | timesPassed () const |
int | timesVisited () const |
WorkerInPath (Worker *, FilterAction theAction, unsigned int placeInPath, bool runConcurrently) | |
Private Attributes | |
FilterAction | filterAction_ |
PlaceInPathContext | placeInPathContext_ |
bool | runConcurrently_ |
int | timesExcept_ |
int | timesFailed_ |
int | timesPassed_ |
int | timesVisited_ |
Worker * | worker_ |
Definition at line 25 of file WorkerInPath.h.
Enumerator | |
---|---|
Normal | |
Ignore | |
Veto |
Definition at line 27 of file WorkerInPath.h.
edm::WorkerInPath::WorkerInPath | ( | Worker * | w, |
FilterAction | theAction, | ||
unsigned int | placeInPath, | ||
bool | runConcurrently | ||
) |
Definition at line 6 of file WorkerInPath.cc.
References w().
|
inlinenoexcept |
Definition at line 54 of file WorkerInPath.h.
References edm::PlaceInPathContext::placeInPath(), and placeInPathContext_.
|
inline |
Definition at line 71 of file WorkerInPath.h.
References cms::cuda::assert(), edm::Worker::Exception, edm::Worker::Fail, filterAction(), Ignore, edm::Worker::Pass, edm::Worker::state(), timesExcept_, timesFailed_, timesPassed_, Veto, and worker_.
|
inline |
Definition at line 44 of file WorkerInPath.h.
References timesExcept_, timesFailed_, timesPassed_, and timesVisited_.
Referenced by edm::Path::clearCounters().
|
inline |
Definition at line 51 of file WorkerInPath.h.
References filterAction_.
Referenced by checkResultsOfRunWorker().
|
inline |
|
inlinenoexcept |
void edm::WorkerInPath::runWorkerAsync | ( | WaitingTaskHolder | iTask, |
typename T::TransitionInfoType const & | info, | ||
ServiceToken const & | token, | ||
StreamID | streamID, | ||
typename T::Context const * | context | ||
) |
Definition at line 108 of file WorkerInPath.h.
References visDQMUpload::context, edm::Worker::doWorkAsync(), edm::Worker::doWorkNoPrefetchingAsync(), info(), placeInPathContext_, timesVisited_, unpackBuffers-CaloStage2::token, and worker_.
|
inline |
Definition at line 56 of file WorkerInPath.h.
References placeInPathContext_, edm::PlaceInPathContext::setPathContext(), and findQualityFiles::v.
|
inline |
|
inline |
Definition at line 41 of file WorkerInPath.h.
|
inline |
Definition at line 42 of file WorkerInPath.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 64 of file WorkerInPath.h.
Referenced by filterAction().
|
private |
Definition at line 67 of file WorkerInPath.h.
Referenced by bitPosition(), runWorkerAsync(), and setPathContext().
|
private |
Definition at line 68 of file WorkerInPath.h.
Referenced by runConcurrently().
|
private |
Definition at line 62 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), clearCounters(), and timesExcept().
|
private |
Definition at line 61 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), clearCounters(), and timesFailed().
|
private |
Definition at line 60 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), clearCounters(), and timesPassed().
|
private |
Definition at line 59 of file WorkerInPath.h.
Referenced by clearCounters(), runWorkerAsync(), and timesVisited().
|
private |
Definition at line 65 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), getWorker(), runWorkerAsync(), and skipWorker().