19 : modRegistry_(new
ModuleRegistry), m_workerMap(), actReg_(areg) {}
22 : modRegistry_(modReg), m_workerMap(), actReg_(areg) {}
36 auto workerPtr = modulePtr->makeWorker(
p.actions_);
38 workerPtr->setActivityRegistry(
actReg_);
42 std::shared_ptr<Worker>(workerPtr.release());
45 return (workerIt->second.get());
51 return workerIt->second;
60 <<
"WorkerRegistry::deleteModule() Trying to delete the module of a Worker with label " <<
moduleLabel
61 <<
" but no such Worker exists in the WorkerRegistry. Please contact framework developers.";
63 workerIt->second->clearModule();