26 boost::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].reset(workerPtr.release());
58 return (workerIt->second.get());
PreallocationConfiguration const * preallocate_
WorkerRegistry(boost::shared_ptr< ActivityRegistry > areg)
boost::shared_ptr< ModuleRegistry > modRegistry_
boost::shared_ptr< ActivityRegistry > actReg_
ExceptionToActionTable const * actions_
WorkerMap m_workerMap
internal map of registered workers (owned).
Worker * getWorker(WorkerParams const &p, std::string const &moduleLabel)
Retrieve the particular instance of the worker.
boost::shared_ptr< ProcessConfiguration const > processConfiguration_