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