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);
137 return module_->prePrefetchSelection(
id,ep,mcc);
146 return module_->prePrefetchSelection(
id,ep,mcc);
153 module_->doBeginRun(rp, c, mcc);
163 module_->doStreamBeginRun(
id, rp, c, mcc);
172 module_->doStreamEndRun(
id, rp, c, mcc);
184 might_call(
this,
id,rp,c, mcc);
196 might_call(
this,
id,rp,c, mcc);
214 module_->doBeginLuminosityBlock(lbp, c, mcc);
224 module_->doStreamBeginLuminosityBlock(
id, rp, c, mcc);
233 module_->doStreamEndLuminosityBlock(
id, rp, c, mcc);
245 might_call(
this,
id,lbp,c, mcc);
257 might_call(
this,
id,lbp,c,mcc);
267 module_->doEndLuminosityBlock(lbp, c, mcc);
328 module_->doRespondToOpenInputFile(fb);
335 module_->doRespondToCloseInputFile(fb);
342 module_->doPreForkReleaseResources();
349 unsigned int iNumberOfChildren) {
350 module_->doPostForkReacquireResources(iChildIndex, iNumberOfChildren);
359 module_->doRegisterThinnedAssociations(registry, helper);
365 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
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 &)
DecomposeProduct< arg, typename Div::arg > D
virtual void implEndStream(StreamID) override
virtual bool implDoPrePrefetchSelection(StreamID id, EventPrincipal &ep, ModuleCallingContext const *mcc) 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
std::shared_ptr< T > module_
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)
virtual void implRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &) override
WorkerT(std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions)
virtual void implPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren) override