1 #ifndef FWCore_Framework_ModuleHolder_h
2 #define FWCore_Framework_ModuleHolder_h
31 class ModuleDescription;
32 class ProductRegistry;
33 class ExceptionToActionTable;
34 class PreallocationConfiguration;
68 return module()->moduleDescription();
71 module()->setModuleDescription(iDesc);
74 module()->doPreallocate(iPrealloc);
86 std::unique_ptr<OutputModuleCommunicator>
void registerProductsAndCallbacks(ProductRegistry *iReg) override
virtual void replaceModuleFor(Worker *) const =0
void replaceModuleFor(Worker *iWorker) const override
ModuleHolder(void *iModule, Maker const *iMaker)
virtual void setModuleDescription(ModuleDescription const &iDesc)=0
void preallocate(PreallocationConfiguration const &iPrealloc) override
std::unique_ptr< Worker > makeWorker(ExceptionToActionTable const *actions) const
virtual void preallocate(PreallocationConfiguration const &)=0
void setModuleDescription(ModuleDescription const &iDesc) override
virtual ModuleDescription const & moduleDescription() const =0
std::unique_ptr< OutputModuleCommunicator > createOutputModuleCommunicator()
virtual void registerProductsAndCallbacks(ProductRegistry *)=0
virtual std::unique_ptr< OutputModuleCommunicator > createOutputModuleCommunicator()=0
ModuleHolderT(T *iModule, Maker const *iMaker)
ModuleDescription const & moduleDescription() const override