![]() |
![]() |
#include <FWCore/Framework/src/WorkerT.h>
Public Types | |
typedef T | ModuleType |
typedef WorkerT< T > | WorkerType |
Public Member Functions | |
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 const & | module () const |
T & | module () |
Private Member Functions | |
virtual void | implBeginJob (EventSetup const &) |
virtual bool | implDoBegin (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoBegin (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoBegin (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (LuminosityBlockPrincipal &lbp, 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 void | implEndJob () |
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 | |
boost::shared_ptr< T > | module_ |
Definition at line 23 of file WorkerT.h.
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 72 of file WorkerT.h.
References edm::WorkerT< T >::module_, and edm::WorkerParams::reg_.
00074 : 00075 Worker(md, wp), 00076 module_(ed) { 00077 module_->setModuleDescription(md); 00078 module_->registerAnyProducts(module_, wp.reg_); 00079 }
edm::WorkerT< T >::~WorkerT | ( | ) | [inline, virtual] |
void edm::WorkerT< T >::implBeginJob | ( | EventSetup const & | es | ) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 136 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00136 { 00137 module_->doBeginJob(es); 00138 }
bool edm::WorkerT< T >::implDoBegin | ( | LuminosityBlockPrincipal & | lbp, | |
EventSetup const & | c, | |||
CurrentProcessingContext const * | cpc | |||
) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 116 of file WorkerT.h.
References edm::WorkerT< T >::module_.
bool edm::WorkerT< T >::implDoBegin | ( | RunPrincipal & | rp, | |
EventSetup const & | c, | |||
CurrentProcessingContext const * | cpc | |||
) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 102 of file WorkerT.h.
References edm::WorkerT< T >::module_.
bool edm::WorkerT< T >::implDoBegin | ( | EventPrincipal & | ep, | |
EventSetup const & | c, | |||
CurrentProcessingContext const * | cpc | |||
) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 88 of file WorkerT.h.
References edm::WorkerT< T >::module_.
bool edm::WorkerT< T >::implDoEnd | ( | LuminosityBlockPrincipal & | lbp, | |
EventSetup const & | c, | |||
CurrentProcessingContext const * | cpc | |||
) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 123 of file WorkerT.h.
References edm::WorkerT< T >::module_.
bool edm::WorkerT< T >::implDoEnd | ( | RunPrincipal & | rp, | |
EventSetup const & | c, | |||
CurrentProcessingContext const * | cpc | |||
) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 109 of file WorkerT.h.
References edm::WorkerT< T >::module_.
bool edm::WorkerT< T >::implDoEnd | ( | EventPrincipal & | ep, | |
EventSetup const & | c, | |||
CurrentProcessingContext const * | cpc | |||
) | [inline, private, virtual] |
void edm::WorkerT< T >::implEndJob | ( | ) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 142 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00142 { 00143 module_->doEndJob(); 00144 }
void edm::WorkerT< T >::implRespondToCloseInputFile | ( | FileBlock const & | fb | ) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 154 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00154 { 00155 module_->doRespondToCloseInputFile(fb); 00156 }
void edm::WorkerT< T >::implRespondToCloseOutputFiles | ( | FileBlock const & | fb | ) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 166 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00166 { 00167 module_->doRespondToCloseOutputFiles(fb); 00168 }
void edm::WorkerT< T >::implRespondToOpenInputFile | ( | FileBlock const & | fb | ) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 148 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00148 { 00149 module_->doRespondToOpenInputFile(fb); 00150 }
void edm::WorkerT< T >::implRespondToOpenOutputFiles | ( | FileBlock const & | fb | ) | [inline, private, virtual] |
Implements edm::Worker.
Definition at line 160 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00160 { 00161 module_->doRespondToOpenOutputFiles(fb); 00162 }
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] |
Definition at line 43 of file WorkerT.h.
Referenced by edm::OutputWorker::closeFile(), edm::OutputWorker::configure(), edm::OutputWorker::limitReached(), edm::OutputWorker::openFile(), edm::OutputWorker::openNewFileIfNeeded(), edm::OutputWorker::shouldWeCloseFile(), edm::OutputWorker::wantAllEvents(), edm::OutputWorker::writeLumi(), and edm::OutputWorker::writeRun().
00043 {return *module_;}
std::string edm::WorkerT< T >::workerType | ( | ) | const [inline, private, virtual] |
Implements edm::Worker.
Definition at line 130 of file WorkerT.h.
References edm::WorkerT< T >::module_.
00130 { 00131 return module_->workerType(); 00132 }
boost::shared_ptr<T> edm::WorkerT< T >::module_ [private] |
Definition at line 67 of file WorkerT.h.
Referenced by edm::WorkerT< T >::implBeginJob(), edm::WorkerT< T >::implDoBegin(), edm::WorkerT< T >::implDoEnd(), edm::WorkerT< T >::implEndJob(), edm::WorkerT< T >::implRespondToCloseInputFile(), edm::WorkerT< T >::implRespondToCloseOutputFiles(), edm::WorkerT< T >::implRespondToOpenInputFile(), edm::WorkerT< T >::implRespondToOpenOutputFiles(), edm::WorkerT< edm::OutputModule >::module(), edm::WorkerT< T >::WorkerT(), and edm::WorkerT< T >::workerType().