#include <WorkerMaker.h>
Public Member Functions | |
std::unique_ptr< Worker > | makeWorker (WorkerParams const &, signalslot::Signal< void(ModuleDescription const &)> &iPre, signalslot::Signal< void(ModuleDescription const &)> &iPost) const |
void | swapModule (Worker *, ParameterSet const &) |
virtual | ~Maker () |
Protected Member Functions | |
ModuleDescription | createModuleDescription (WorkerParams const &p) const |
void | throwConfigurationException (ModuleDescription const &md, signalslot::Signal< void(ModuleDescription const &)> &post, cms::Exception &iException) const |
void | throwValidationException (WorkerParams const &p, cms::Exception &iException) const |
void | validateEDMType (std::string const &edmType, WorkerParams const &p) const |
Private Member Functions | |
virtual const std::string & | baseType () const =0 |
virtual void | fillDescriptions (ConfigurationDescriptions &iDesc) const =0 |
virtual void | implSwapModule (Worker *, ParameterSet const &)=0 |
virtual std::unique_ptr< Worker > | makeWorker (WorkerParams const &p, ModuleDescription const &md) const =0 |
Definition at line 17 of file WorkerMaker.h.
|
virtual |
Definition at line 15 of file WorkerMaker.cc.
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeWorker().
|
protected |
Definition at line 19 of file WorkerMaker.cc.
References dbtoconf::conf, edm::ParameterSet::getParameter(), edm::ParameterSet::id(), edm::WorkerParams::processConfiguration_, edm::WorkerParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeWorker().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeWorker().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by swapModule().
std::unique_ptr< Worker > edm::Maker::makeWorker | ( | WorkerParams const & | p, |
signalslot::Signal< void(ModuleDescription const &)> & | iPre, | ||
signalslot::Signal< void(ModuleDescription const &)> & | iPost | ||
) | const |
Definition at line 66 of file WorkerMaker.cc.
References edm::convertException::badAllocToEDM(), baseType(), trackerHits::c, edm::convertException::charPtrToEDM(), createModuleDescription(), alignCSCRings::e, cppFunctionSkipper::exception, fillDescriptions(), edm::ParameterSet::getParameter(), edm::WorkerParams::pset_, edm::ParameterSet::registerIt(), alignCSCRings::s, edm::convertException::stdToEDM(), AlCaHLTBitMon_QueryRunRegistry::string, edm::convertException::stringToEDM(), throwConfigurationException(), throwValidationException(), edm::convertException::unknownToEDM(), edm::ConfigurationDescriptions::validate(), and validateEDMType().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
void edm::Maker::swapModule | ( | Worker * | w, |
ParameterSet const & | p | ||
) |
Definition at line 111 of file WorkerMaker.cc.
References implSwapModule().
|
protected |
Definition at line 43 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ModuleDescription::moduleLabel(), and edm::ModuleDescription::moduleName().
Referenced by makeWorker().
|
protected |
Definition at line 29 of file WorkerMaker.cc.
References cms::Exception::addContext(), dbtoconf::conf, edm::ParameterSet::getParameter(), edm::WorkerParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeWorker().
|
protected |
Definition at line 54 of file WorkerMaker.cc.
References edm::errors::Configuration, edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::WorkerParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeWorker().