1 #include "boost/mpl/if.hpp"
23 namespace workerimpl {
60 template<
typename...
T>
78 template<
typename T,
typename P>
87 template<
typename T,
typename P>
119 return module_->doEvent(ep, c, activityRegistry(), mcc);
126 module_->doBeginRun(rp, c, mcc);
136 module_->doStreamBeginRun(
id, rp, c, mcc);
145 module_->doStreamEndRun(
id, rp, c, mcc);
157 might_call(
this,
id,rp,c, mcc);
169 might_call(
this,
id,rp,c, mcc);
187 module_->doBeginLuminosityBlock(lbp, c, mcc);
197 module_->doStreamBeginLuminosityBlock(
id, rp, c, mcc);
206 module_->doStreamEndLuminosityBlock(
id, rp, c, mcc);
218 might_call(
this,
id,lbp,c, mcc);
230 might_call(
this,
id,lbp,c,mcc);
240 module_->doEndLuminosityBlock(lbp, c, mcc);
301 module_->doRespondToOpenInputFile(fb);
308 module_->doRespondToCloseInputFile(fb);
315 module_->doPreForkReleaseResources();
322 unsigned int iNumberOfChildren) {
323 module_->doPostForkReacquireResources(iChildIndex, iNumberOfChildren);
329 module_->updateLookup(iBranchType,iHelper);
static const char module_[]
virtual bool implDo(EventPrincipal &ep, EventSetup const &c, ModuleCallingContext const *mcc) override
void operator()(WorkerT< T > *iWorker, StreamID id, P &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual Types moduleType() const override
virtual void implEndJob() override
void callWorkerStreamEnd(D, StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual std::string workerType() const override
virtual bool implDoBegin(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual void updateLookup(BranchType iBranchType, ProductHolderIndexHelper const &) override
static bool constexpr value
virtual void implRespondToOpenInputFile(FileBlock const &fb) override
void operator()(WorkerT< T > *iWorker, StreamID id, P &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual bool implDoStreamBegin(StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
void callWorkerEndStream(D, StreamID)
void operator()(WorkerT< T > *iWorker, StreamID id)
void operator()(const T &...)
virtual void implBeginStream(StreamID) override
UnscheduledHandler * getUnscheduledHandler(EventPrincipal const &ep)
void operator()(WorkerT< T > *iWorker, StreamID id)
void postDoEvent(EventPrincipal &)
virtual void implEndStream(StreamID) override
virtual void implBeginJob() override
virtual void implPreForkReleaseResources() override
std::shared_ptr< UnscheduledHandler > unscheduledHandler() const
virtual bool implDoStreamEnd(StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual void implRespondToCloseInputFile(FileBlock const &fb) override
void callWorkerBeginStream(D, StreamID)
virtual bool implDoEnd(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
void callWorkerStreamBegin(D, StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
DecomposeProduct< arg, typename Div::arg > D
virtual void implPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren) override
WorkerT(T *, ModuleDescription const &, ExceptionToActionTable const *actions)