1 #ifndef FWCore_Framework_WorkerT_h
2 #define FWCore_Framework_WorkerT_h
23 class ModuleCallingContext;
24 class ModuleDescription;
25 class ProductHolderIndexAndSkipBit;
26 class ProductRegistry;
27 class ThinnedAssociationsHelper;
32 class WorkerT :
public Worker {
108 unsigned int iNumberOfChildren)
override;
113 module_->modulesDependentUpon(
module_->moduleDescription().processName(),oModuleLabels);
118 std::map<std::string, ModuleDescription const*>
const& labelsToDesc)
const override {
119 module_->modulesWhoseProductsAreConsumed(modules, preg, labelsToDesc,
module_->moduleDescription().processName());
123 return module_->consumesInfo();
127 module_->itemsToGet(branchType, indexes);
131 module_->itemsMayGet(branchType, indexes);
virtual bool implDo(EventPrincipal &ep, EventSetup const &c, ModuleCallingContext const *mcc) override
void resetModuleDescription(ModuleDescription const *)
virtual std::vector< ConsumesInfo > consumesInfo() const override
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 std::vector< ProductHolderIndexAndSkipBit > const & itemsToGetFromEvent() const override
void setModule(std::shared_ptr< T > iModule)
virtual void itemsToGet(BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) 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
virtual void modulesWhoseProductsAreConsumed(std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc) const override
virtual bool implDoStreamBegin(StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual void itemsMayGet(BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override
void callWorkerEndStream(D, StreamID)
virtual void implBeginStream(StreamID) override
UnscheduledHandler * getUnscheduledHandler(EventPrincipal const &ep)
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
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
virtual void modulesDependentUpon(std::vector< const char * > &oModuleLabels) const override
WorkerT(std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions)
virtual void implPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren) override