1 #ifndef Framework_WorkerRegistry_h 2 #define Framework_WorkerRegistry_h 22 class ActivityRegistry;
25 class ModuleTypeResolverMaker;
42 WorkerRegistry(std::shared_ptr<ActivityRegistry> areg, std::shared_ptr<ModuleRegistry> iModReg);
66 typedef std::map<std::string, edm::propagate_const<std::shared_ptr<Worker>>>
WorkerMap;
72 std::shared_ptr<ActivityRegistry>
actReg_;
std::shared_ptr< ActivityRegistry > actReg_
WorkerRegistry & operator=(WorkerRegistry const &)=delete
void deleteModule(std::string const &moduleLabel)
Deletes the module of the Worker, but the Worker continues to exist.
WorkerMap m_workerMap
internal map of registered workers (owned).
edm::propagate_const< std::shared_ptr< ModuleRegistry > > modRegistry_
std::map< std::string, edm::propagate_const< std::shared_ptr< Worker > > > WorkerMap
the container of workers
Worker * getWorker(WorkerParams const &p, std::string const &moduleLabel)
Retrieve the particular instance of the worker.
The Registry of all workers that where requested Holds all instances of workers. In this implementati...
WorkerRegistry(std::shared_ptr< ActivityRegistry > areg, ModuleTypeResolverMaker const *resolverMaker)