#include <WorkerRegistry.h>
Public Member Functions | |
void | clear () |
Worker * | getWorker (WorkerParams const &p, std::string const &moduleLabel) |
Retrieve the particular instance of the worker. More... | |
WorkerRegistry & | operator= (WorkerRegistry const &)=delete |
WorkerRegistry (boost::shared_ptr< ActivityRegistry > areg) | |
WorkerRegistry (WorkerRegistry const &)=delete | |
~WorkerRegistry () | |
Private Types | |
typedef std::map< std::string, boost::shared_ptr< Worker > > | WorkerMap |
the container of workers More... | |
Private Attributes | |
boost::shared_ptr < ActivityRegistry > | actReg_ |
WorkerMap | m_workerMap |
internal map of registered workers (owned). More... | |
Definition at line 32 of file WorkerRegistry.h.
|
private |
the container of workers
Definition at line 51 of file WorkerRegistry.h.
|
explicit |
Definition at line 16 of file WorkerRegistry.cc.
edm::WorkerRegistry::~WorkerRegistry | ( | ) |
Definition at line 22 of file WorkerRegistry.cc.
References m_workerMap.
|
delete |
void edm::WorkerRegistry::clear | ( | void | ) |
Definition at line 26 of file WorkerRegistry.cc.
References m_workerMap.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
Worker * edm::WorkerRegistry::getWorker | ( | WorkerParams const & | p, |
std::string const & | moduleLabel | ||
) |
Retrieve the particular instance of the worker.
If the worker with that set of parameters does not exist, create it
Definition at line 30 of file WorkerRegistry.cc.
References actReg_, edm::Factory::get(), m_workerMap, and edm::Factory::makeWorker().
Referenced by edm::Schedule::fillWorkers(), and edm::Schedule::Schedule().
|
delete |
|
private |
Definition at line 55 of file WorkerRegistry.h.
Referenced by getWorker().
|
private |
internal map of registered workers (owned).
Definition at line 54 of file WorkerRegistry.h.
Referenced by clear(), getWorker(), and ~WorkerRegistry().