#include <WorkerInPath.h>
Public Types | |
enum | FilterAction { Normal =0, Ignore, Veto } |
Public Member Functions | |
bool | checkResultsOfRunWorker (bool wasEvent) |
void | clearCounters () |
FilterAction | filterAction () const |
Worker * | getWorker () const |
template<typename T > | |
bool | runWorker (typename T::MyPrincipal const &, EventSetup const &, StreamID streamID, typename T::Context const *context) |
template<typename T > | |
void | runWorkerAsync (WaitingTask *iTask, typename T::MyPrincipal const &, EventSetup const &, StreamID streamID, typename T::Context const *context) |
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) | |
Private Attributes | |
FilterAction | filterAction_ |
PlaceInPathContext | placeInPathContext_ |
int | timesExcept_ |
int | timesFailed_ |
int | timesPassed_ |
int | timesVisited_ |
Worker * | worker_ |
Definition at line 24 of file WorkerInPath.h.
Enumerator | |
---|---|
Normal | |
Ignore | |
Veto |
Definition at line 26 of file WorkerInPath.h.
edm::WorkerInPath::WorkerInPath | ( | Worker * | w, |
FilterAction | theAction, | ||
unsigned int | placeInPath | ||
) |
Definition at line 6 of file WorkerInPath.cc.
References edm::Worker::addedToPath().
|
inline |
Definition at line 76 of file WorkerInPath.h.
References edm::Worker::Exception, edm::Worker::Fail, filterAction(), Ignore, edm::Worker::Pass, edm::Worker::state(), timesExcept_, timesFailed_, timesPassed_, Veto, and worker_.
|
inline |
Definition at line 50 of file WorkerInPath.h.
References timesExcept_, timesFailed_, timesPassed_, and timesVisited_.
Referenced by edm::Path::clearCounters().
|
inline |
Definition at line 59 of file WorkerInPath.h.
References filterAction_.
Referenced by checkResultsOfRunWorker().
|
inline |
bool edm::WorkerInPath::runWorker | ( | typename T::MyPrincipal const & | ep, |
EventSetup const & | es, | ||
StreamID | streamID, | ||
typename T::Context const * | context | ||
) |
Definition at line 134 of file WorkerInPath.h.
References edm::Worker::doWork(), filterAction_, Ignore, placeInPathContext_, timesExcept_, timesFailed_, timesPassed_, timesVisited_, Veto, and worker_.
void edm::WorkerInPath::runWorkerAsync | ( | WaitingTask * | iTask, |
typename T::MyPrincipal const & | ep, | ||
EventSetup const & | es, | ||
StreamID | streamID, | ||
typename T::Context const * | context | ||
) |
Definition at line 116 of file WorkerInPath.h.
References edm::Worker::doWorkAsync(), edm::Worker::doWorkNoPrefetchingAsync(), placeInPathContext_, timesVisited_, and worker_.
|
inline |
Definition at line 62 of file WorkerInPath.h.
References placeInPathContext_, and edm::PlaceInPathContext::setPathContext().
|
inline |
|
inline |
Definition at line 47 of file WorkerInPath.h.
|
inline |
Definition at line 48 of file WorkerInPath.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 70 of file WorkerInPath.h.
Referenced by filterAction(), and runWorker().
|
private |
Definition at line 73 of file WorkerInPath.h.
Referenced by runWorker(), runWorkerAsync(), and setPathContext().
|
private |
Definition at line 68 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), clearCounters(), runWorker(), and timesExcept().
|
private |
Definition at line 67 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), clearCounters(), runWorker(), and timesFailed().
|
private |
Definition at line 66 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), clearCounters(), runWorker(), and timesPassed().
|
private |
Definition at line 65 of file WorkerInPath.h.
Referenced by clearCounters(), runWorker(), runWorkerAsync(), and timesVisited().
|
private |
Definition at line 71 of file WorkerInPath.h.
Referenced by checkResultsOfRunWorker(), getWorker(), runWorker(), runWorkerAsync(), and skipWorker().