#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 21 of file WorkerMaker.h.
|
virtual |
Definition at line 16 of file WorkerMaker.cc.
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeModule().
|
protected |
Definition at line 18 of file WorkerMaker.cc.
References edm::ParameterSet::getParameter(), edm::ModuleDescription::getUniqueID(), edm::ParameterSet::id(), AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeModule().
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 57 of file WorkerMaker.cc.
References baseType(), CMS_SA_ALLOW, createModuleDescription(), fillDescriptions(), edm::pset::Registry::insertMapped(), edm::pset::Registry::instance(), callgraph::module, AlCaHLTBitMon_ParallelJobs::p, 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 29 of file WorkerMaker.h.
References makeModule(), and AlCaHLTBitMon_ParallelJobs::p.
std::unique_ptr< Worker > edm::Maker::makeWorker | ( | ExceptionToActionTable const * | actions, |
maker::ModuleHolder const * | mod | ||
) | const |
Definition at line 110 of file WorkerMaker.cc.
References actions, and mod().
Referenced by edm::maker::ModuleHolder::makeWorker().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
|
protected |
Definition at line 39 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ModuleDescription::moduleLabel(), and edm::ModuleDescription::moduleName().
Referenced by makeModule().
|
protected |
Definition at line 28 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ParameterSet::getParameter(), HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::moduleName(), AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule().
|
protected |
Definition at line 46 of file WorkerMaker.cc.
References edm::errors::Configuration, Exception, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule().