32 WorkerMap::iterator workerIt =
m_workerMap.find(moduleLabel);
39 actReg_->postModuleConstructionSignal_);
41 workerPtr->setActivityRegistry(
actReg_);
44 m_workerMap[moduleLabel].reset(workerPtr.release());
47 return (workerIt->second.get());
WorkerRegistry(boost::shared_ptr< ActivityRegistry > areg)
boost::shared_ptr< ActivityRegistry > actReg_
WorkerMap m_workerMap
internal map of registered workers (owned).
std::unique_ptr< Worker > makeWorker(const WorkerParams &, signalslot::Signal< void(const ModuleDescription &)> &pre, signalslot::Signal< void(const ModuleDescription &)> &post) const
Worker * getWorker(WorkerParams const &p, std::string const &moduleLabel)
Retrieve the particular instance of the worker.