26 std::shared_ptr<ModuleRegistry> modReg):
42 WorkerMap::iterator workerIt =
m_workerMap.find(moduleLabel);
47 auto modulePtr =
modRegistry_->getModule(mmp,moduleLabel,
48 actReg_->preModuleConstructionSignal_,
49 actReg_->postModuleConstructionSignal_);
50 auto workerPtr= modulePtr->makeWorker(p.
actions_);
52 workerPtr->setActivityRegistry(
actReg_);
55 m_workerMap[moduleLabel] = std::shared_ptr<Worker>(workerPtr.release());
58 return (workerIt->second.get());
PreallocationConfiguration const * preallocate_
std::shared_ptr< ActivityRegistry > actReg_
WorkerRegistry(std::shared_ptr< ActivityRegistry > areg)
ExceptionToActionTable const * actions_
WorkerMap m_workerMap
internal map of registered workers (owned).
edm::propagate_const< std::shared_ptr< ModuleRegistry > > modRegistry_
std::shared_ptr< ProcessConfiguration const > processConfiguration_
Worker * getWorker(WorkerParams const &p, std::string const &moduleLabel)
Retrieve the particular instance of the worker.