#include <WorkerT.h>
Public Types | |
typedef T | ModuleType |
typedef WorkerT< T > | WorkerType |
Public Member Functions | |
void | setModule (std::auto_ptr< T > &iModule) |
WorkerT (std::auto_ptr< T >, ModuleDescription const &, WorkerParams const &) | |
virtual | ~WorkerT () |
Static Public Member Functions | |
template<typename ModType > | |
static std::auto_ptr< T > | makeModule (ModuleDescription const &md, ParameterSet const &pset) |
Protected Member Functions | |
T & | module () |
T const & | module () const |
Private Member Functions | |
virtual void | implBeginJob () |
virtual bool | implDoBegin (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoBegin (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoBegin (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual void | implEndJob () |
virtual void | implPostForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) |
virtual void | implPreForkReleaseResources () |
virtual void | implRespondToCloseInputFile (FileBlock const &fb) |
virtual void | implRespondToCloseOutputFiles (FileBlock const &fb) |
virtual void | implRespondToOpenInputFile (FileBlock const &fb) |
virtual void | implRespondToOpenOutputFiles (FileBlock const &fb) |
virtual std::string | workerType () const |
Private Attributes | |
std::auto_ptr< T > | module_ |
typedef T edm::WorkerT< T >::ModuleType |
typedef WorkerT<T> edm::WorkerT< T >::WorkerType |
edm::WorkerT< T >::WorkerT | ( | std::auto_ptr< T > | ed, |
ModuleDescription const & | md, | ||
WorkerParams const & | wp | ||
) | [inline] |
Definition at line 78 of file WorkerT.h.
References edm::WorkerT< T >::module_, and edm::WorkerParams::reg_.
edm::WorkerT< T >::~WorkerT | ( | ) | [virtual] |
void edm::WorkerT< T >::implBeginJob | ( | ) | [private, virtual] |
Implements edm::Worker.
Definition at line 144 of file WorkerT.h.
References sistrip::module_.
{ module_->doBeginJob(); }
bool edm::WorkerT< T >::implDoBegin | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
Implements edm::Worker.
Definition at line 95 of file WorkerT.h.
References sistrip::module_, asciidump::s, and edm::EventPrincipal::unscheduledHandler().
bool edm::WorkerT< T >::implDoBegin | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoBegin | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
void edm::WorkerT< T >::implEndJob | ( | ) | [private, virtual] |
Implements edm::Worker.
Definition at line 150 of file WorkerT.h.
References sistrip::module_.
{ module_->doEndJob(); }
void edm::WorkerT< T >::implPostForkReacquireResources | ( | unsigned int | iChildIndex, |
unsigned int | iNumberOfChildren | ||
) | [private, virtual] |
Implements edm::Worker.
Definition at line 186 of file WorkerT.h.
References sistrip::module_.
{ module_->doPostForkReacquireResources(iChildIndex, iNumberOfChildren); }
void edm::WorkerT< T >::implPreForkReleaseResources | ( | ) | [private, virtual] |
Implements edm::Worker.
Definition at line 180 of file WorkerT.h.
References sistrip::module_.
{ module_->doPreForkReleaseResources(); }
void edm::WorkerT< T >::implRespondToCloseInputFile | ( | FileBlock const & | fb | ) | [private, virtual] |
void edm::WorkerT< T >::implRespondToCloseOutputFiles | ( | FileBlock const & | fb | ) | [private, virtual] |
void edm::WorkerT< T >::implRespondToOpenInputFile | ( | FileBlock const & | fb | ) | [private, virtual] |
void edm::WorkerT< T >::implRespondToOpenOutputFiles | ( | FileBlock const & | fb | ) | [private, virtual] |
static std::auto_ptr<T> edm::WorkerT< T >::makeModule | ( | ModuleDescription const & | md, |
ParameterSet const & | pset | ||
) | [inline, static] |
T const& edm::WorkerT< T >::module | ( | ) | const [inline, protected] |
T& edm::WorkerT< T >::module | ( | ) | [inline, protected] |
void edm::WorkerT< T >::setModule | ( | std::auto_ptr< T > & | iModule | ) | [inline] |
Definition at line 39 of file WorkerT.h.
{ module_ = iModule; module_->setModuleDescription(description()); }
std::string edm::WorkerT< T >::workerType | ( | ) | const [private, virtual] |
Implements edm::Worker.
Definition at line 138 of file WorkerT.h.
References sistrip::module_.
{ return module_->workerType(); }
std::auto_ptr<T> edm::WorkerT< T >::module_ [private] |
Definition at line 73 of file WorkerT.h.
Referenced by edm::WorkerT< OutputModule >::module(), edm::WorkerT< OutputModule >::setModule(), and edm::WorkerT< T >::WorkerT().