#include <WorkerMaker.h>
Public Member Functions | |
std::shared_ptr< maker::ModuleHolder > | makeModule (MakeModuleParams const &, signalslot::Signal< void(ModuleDescription const &)> &iPre, signalslot::Signal< void(ModuleDescription const &)> &iPost) const |
std::shared_ptr< maker::ModuleHolder > | makeReplacementModule (edm::ParameterSet const &p) const |
std::unique_ptr< Worker > | makeWorker (ExceptionToActionTable const *, maker::ModuleHolder const *) const |
virtual | ~Maker () |
Protected Member Functions | |
ModuleDescription | createModuleDescription (MakeModuleParams const &p) const |
void | throwConfigurationException (ModuleDescription const &md, cms::Exception &iException) const |
void | throwValidationException (MakeModuleParams const &p, cms::Exception &iException) const |
void | validateEDMType (std::string const &edmType, MakeModuleParams const &p) const |
Private Member Functions | |
virtual const std::string & | baseType () const =0 |
virtual void | fillDescriptions (ConfigurationDescriptions &iDesc) const =0 |
virtual std::shared_ptr< maker::ModuleHolder > | makeModule (edm::ParameterSet const &p) const =0 |
virtual std::unique_ptr< Worker > | makeWorker (ExceptionToActionTable const *actions, ModuleDescription const &md, maker::ModuleHolder const *mod) const =0 |
Definition at line 22 of file WorkerMaker.h.
|
virtual |
Definition at line 15 of file WorkerMaker.cc.
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeModule(), and makeReplacementModule().
|
protected |
Definition at line 17 of file WorkerMaker.cc.
References edm::ParameterSet::getParameter(), edm::ModuleDescription::getUniqueID(), edm::ParameterSet::id(), edm::MakeModuleParams::processConfiguration_, edm::MakeModuleParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule(), and makeReplacementModule().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeModule(), and makeReplacementModule().
std::shared_ptr< maker::ModuleHolder > edm::Maker::makeModule | ( | MakeModuleParams const & | p, |
signalslot::Signal< void(ModuleDescription const &)> & | iPre, | ||
signalslot::Signal< void(ModuleDescription const &)> & | iPost | ||
) | const |
Definition at line 56 of file WorkerMaker.cc.
References baseType(), createModuleDescription(), fillDescriptions(), edm::ParameterSet::getParameter(), edm::pset::Registry::insertMapped(), edm::pset::Registry::instance(), edm::MakeModuleParams::preallocate_, edm::MakeModuleParams::pset_, edm::MakeModuleParams::reg_, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, throwConfigurationException(), throwValidationException(), edm::ConfigurationDescriptions::validate(), validateEDMType(), and edm::convertException::wrap().
Referenced by makeReplacementModule().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
|
inline |
Definition at line 30 of file WorkerMaker.h.
References actions, baseType(), createModuleDescription(), fillDescriptions(), makeModule(), makeWorker(), mod(), AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, throwConfigurationException(), throwValidationException(), and validateEDMType().
std::unique_ptr< Worker > edm::Maker::makeWorker | ( | ExceptionToActionTable const * | actions, |
maker::ModuleHolder const * | mod | ||
) | const |
Definition at line 106 of file WorkerMaker.cc.
References mod(), and edm::maker::ModuleHolder::moduleDescription().
Referenced by makeReplacementModule(), and edm::maker::ModuleHolder::makeWorker().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
|
protected |
Definition at line 38 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ModuleDescription::moduleLabel(), and edm::ModuleDescription::moduleName().
Referenced by makeModule(), and makeReplacementModule().
|
protected |
Definition at line 27 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ParameterSet::getParameter(), edm::moduleName(), edm::MakeModuleParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule(), and makeReplacementModule().
|
protected |
Definition at line 45 of file WorkerMaker.cc.
References edm::errors::Configuration, Exception, edm::ParameterSet::getParameter(), edm::MakeModuleParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule(), and makeReplacementModule().