1 #ifndef FWCore_Framework_WorkerT_h
2 #define FWCore_Framework_WorkerT_h
24 class ModuleCallingContext;
25 class ModuleDescription;
26 class ProductHolderIndexAndSkipBit;
27 class ProductRegistry;
28 class ThinnedAssociationsHelper;
33 class WorkerT :
public Worker {
109 unsigned int iNumberOfChildren)
override;
114 module_->modulesDependentUpon(
module_->moduleDescription().processName(),
module_->moduleDescription().moduleLabel(), iPrint, oModuleLabels);
119 std::map<std::string, ModuleDescription const*>
const& labelsToDesc)
const override {
120 module_->modulesWhoseProductsAreConsumed(modules, preg, labelsToDesc,
module_->moduleDescription().processName());
124 return module_->consumesInfo();
128 module_->itemsToGet(branchType, indexes);
132 module_->itemsMayGet(branchType, indexes);
virtual bool implDoStreamEnd(StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
void resetModuleDescription(ModuleDescription const *)
void callWorkerStreamEnd(D, StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual std::vector< ConsumesInfo > consumesInfo() const override
virtual Types moduleType() const override
virtual void implEndJob() override
virtual std::string workerType() const override
virtual std::vector< ProductHolderIndexAndSkipBit > const & itemsToGetFromEvent() const override
void setModule(std::shared_ptr< T > iModule)
virtual bool implDoStreamBegin(StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual bool implDo(EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual void itemsToGet(BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override
virtual void updateLookup(BranchType iBranchType, ProductHolderIndexHelper const &) override
edm::propagate_const< std::shared_ptr< T > > module_
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 implDoPrePrefetchSelection(StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc) override
virtual void itemsMayGet(BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override
void callWorkerEndStream(D, StreamID)
virtual void implBeginStream(StreamID) override
void callWorkerStreamBegin(D, StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual bool implDoBegin(RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
UnscheduledHandler const * getUnscheduledHandler(EventPrincipal const &ep)
DecomposeProduct< arg, typename Div::arg > D
virtual void implEndStream(StreamID) override
virtual void implBeginJob() override
virtual void modulesDependentUpon(std::vector< const char * > &oModuleLabels, bool iPrint) const override
virtual void implPreForkReleaseResources() override
virtual void implRespondToCloseInputFile(FileBlock const &fb) override
void callWorkerBeginStream(D, StreamID)
virtual void implRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &) override
virtual bool implDoEnd(RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
WorkerT(std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions)
virtual void implPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren) override