#include <DQWorker.h>
Public Member Functions | |
template<class W > | |
SetWorker (const std::string &_name, W *) | |
Static Public Member Functions | |
static WorkerFactory | findFactory (const std::string &) |
Static Private Attributes | |
static std::map< std::string, WorkerFactory > | workerFactories_ |
Definition at line 76 of file DQWorker.h.
ecaldqm::SetWorker::SetWorker | ( | const std::string & | _name, |
W * | |||
) | [inline] |
Definition at line 78 of file DQWorker.h.
References AlCaHLTBitMon_QueryRunRegistry::data, ecaldqm::DQWorker::meData, and workerFactories_.
{ workerFactories_[_name] = workerFactory<W>; std::vector<MEData>& data(DQWorker::meData[_name]); data.clear(); data.resize(W::nMESets); W::setMEData(data); }
WorkerFactory ecaldqm::SetWorker::findFactory | ( | const std::string & | _name | ) | [static] |
Definition at line 131 of file DQWorker.cc.
References NULL.
{ if(workerFactories_.find(_name) != workerFactories_.end()) return workerFactories_[_name]; return NULL; }
std::map< std::string, WorkerFactory > ecaldqm::SetWorker::workerFactories_ [static, private] |
Definition at line 88 of file DQWorker.h.
Referenced by SetWorker().