#include <WorkerT.h>
Public Types | |
using | ModuleType = T |
Public Types inherited from art::Worker | |
enum | State { Ready, Pass, Fail, Working, ExceptionThrown } |
Public Member Functions | |
WorkerT (std::shared_ptr< T >, ModuleDescription const &, WorkerParams const &) | |
Public Member Functions inherited from art::Worker | |
virtual | ~Worker ()=default |
Worker (ModuleDescription const &, WorkerParams const &) | |
void | beginJob (detail::SharedResources const &) |
void | endJob () |
void | respondToOpenInputFile (FileBlock const &fb) |
void | respondToCloseInputFile (FileBlock const &fb) |
void | respondToOpenOutputFiles (FileBlock const &fb) |
void | respondToCloseOutputFiles (FileBlock const &fb) |
bool | doWork (Transition, Principal &, ModuleContext const &) |
void | doWork_event (hep::concurrency::WaitingTaskPtr workerInPathDoneTask, EventPrincipal &, ModuleContext const &) |
void | doWork_event (EventPrincipal &, ModuleContext const &) |
ScheduleID | scheduleID () const |
ModuleDescription const & | description () const |
std::string const & | label () const |
bool | returnCode () const |
hep::concurrency::SerialTaskQueueChain * | serialTaskQueueChain () const |
void | reset () |
std::size_t | timesVisited () const |
std::size_t | timesRun () const |
std::size_t | timesPassed () const |
std::size_t | timesFailed () const |
std::size_t | timesExcept () const |
void | runWorker (EventPrincipal &, ModuleContext const &) |
Protected Member Functions | |
T & | module () |
T const & | module () const |
Private Member Functions | |
std::string | workerType () const override |
hep::concurrency::SerialTaskQueueChain * | implSerialTaskQueueChain () const override |
void | implBeginJob (detail::SharedResources const &) override |
void | implEndJob () override |
void | implRespondToOpenInputFile (FileBlock const &) override |
void | implRespondToCloseInputFile (FileBlock const &) override |
void | implRespondToOpenOutputFiles (FileBlock const &) override |
void | implRespondToCloseOutputFiles (FileBlock const &) override |
bool | implDoBegin (RunPrincipal &, ModuleContext const &) override |
bool | implDoEnd (RunPrincipal &, ModuleContext const &) override |
bool | implDoBegin (SubRunPrincipal &, ModuleContext const &) override |
bool | implDoEnd (SubRunPrincipal &, ModuleContext const &) override |
bool | implDoProcess (EventPrincipal &, ModuleContext const &) override |
Private Attributes | |
std::shared_ptr< T > | module_ |
Friends | |
class | PathManager |
Additional Inherited Members | |
Protected Attributes inherited from art::Worker | |
std::atomic< std::size_t > | counts_visited_ {} |
std::atomic< std::size_t > | counts_run_ {} |
std::atomic< std::size_t > | counts_passed_ {} |
std::atomic< std::size_t > | counts_failed_ {} |
std::atomic< std::size_t > | counts_thrown_ {} |
using art::WorkerT< T >::ModuleType = T |
art::WorkerT< T >::WorkerT | ( | std::shared_ptr< T > | module, |
ModuleDescription const & | md, | ||
WorkerParams const & | wp | ||
) |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
inlineprotected |
|
inlineprotected |
|
overrideprivatevirtual |
|
friend |
|
private |