#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 23 of file WorkerMaker.h.
|
virtual |
Definition at line 15 of file WorkerMaker.cc.
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
Referenced by makeModule().
|
protected |
Definition at line 19 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().
|
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 65 of file WorkerMaker.cc.
References baseType(), createModuleDescription(), fillDescriptions(), edm::ParameterSet::getParameter(), edm::pset::Registry::insertMapped(), edm::pset::Registry::instance(), python.rootplot.argparse::module, 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 32 of file WorkerMaker.h.
References makeModule().
std::unique_ptr< Worker > edm::Maker::makeWorker | ( | ExceptionToActionTable const * | actions, |
maker::ModuleHolder const * | mod | ||
) | const |
Definition at line 118 of file WorkerMaker.cc.
References mod(), and edm::maker::ModuleHolder::moduleDescription().
Referenced by edm::maker::ModuleHolder::makeWorker().
|
privatepure virtual |
Implemented in edm::WorkerMaker< T >.
|
protected |
Definition at line 44 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ModuleDescription::moduleLabel(), and edm::ModuleDescription::moduleName().
Referenced by makeModule().
|
protected |
Definition at line 30 of file WorkerMaker.cc.
References cms::Exception::addContext(), edm::ParameterSet::getParameter(), edm::moduleName(), edm::MakeModuleParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule().
|
protected |
Definition at line 53 of file WorkerMaker.cc.
References edm::errors::Configuration, Exception, edm::ParameterSet::getParameter(), edm::MakeModuleParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule().