#include "FWCore/Framework/interface/ModuleRegistry.h"
Public Member Functions | |
void | deleteModule (std::string const &iModuleLabel, signalslot::Signal< void(ModuleDescription const &)> &iPre, signalslot::Signal< void(ModuleDescription const &)> &iPost) |
template<typename F > | |
void | forAllModuleHolders (F iFunc) |
std::shared_ptr< maker::ModuleHolder > | getModule (MakeModuleParams const &p, std::string const &moduleLabel, signalslot::Signal< void(ModuleDescription const &)> &iPre, signalslot::Signal< void(ModuleDescription const &)> &iPost) |
ModuleRegistry ()=default | |
ModuleRegistry (std::unique_ptr< ModuleTypeResolverBase >) | |
maker::ModuleHolder * | replaceModule (std::string const &iModuleLabel, edm::ParameterSet const &iPSet, edm::PreallocationConfiguration const &) |
Private Attributes | |
std::map< std::string, edm::propagate_const< std::shared_ptr< maker::ModuleHolder > > > | labelToModule_ |
std::unique_ptr< ModuleTypeResolverBase > | typeResolver_ |
Description: Constructs and owns framework modules
Usage: <usage>
Definition at line 41 of file ModuleRegistry.h.
|
default |
|
explicit |
void edm::ModuleRegistry::deleteModule | ( | std::string const & | iModuleLabel, |
signalslot::Signal< void(ModuleDescription const &)> & | iPre, | ||
signalslot::Signal< void(ModuleDescription const &)> & | iPost | ||
) |
Definition at line 53 of file ModuleRegistry.cc.
References CMS_SA_ALLOW, Exception, and labelToModule_.
|
inline |
Definition at line 59 of file ModuleRegistry.h.
References labelToModule_, and submitPVValidationJobs::t.
Referenced by edm::StreamSchedule::initializeEarlyDelete().
std::shared_ptr< maker::ModuleHolder > edm::ModuleRegistry::getModule | ( | MakeModuleParams const & | p, |
std::string const & | moduleLabel, | ||
signalslot::Signal< void(ModuleDescription const &)> & | iPre, | ||
signalslot::Signal< void(ModuleDescription const &)> & | iPost | ||
) |
Definition at line 20 of file ModuleRegistry.cc.
References edm::Factory::get(), edm::get_underlying_safe(), labelToModule_, edm::Factory::makeModule(), HerwigMaxPtPartonFilter_cfi::moduleLabel, AlCaHLTBitMon_ParallelJobs::p, and typeResolver_.
maker::ModuleHolder * edm::ModuleRegistry::replaceModule | ( | std::string const & | iModuleLabel, |
edm::ParameterSet const & | iPSet, | ||
edm::PreallocationConfiguration const & | iPrealloc | ||
) |
Definition at line 36 of file ModuleRegistry.cc.
References edm::Factory::get(), labelToModule_, and edm::Factory::makeReplacementModule().
|
private |
Definition at line 67 of file ModuleRegistry.h.
Referenced by deleteModule(), forAllModuleHolders(), getModule(), and replaceModule().
|
private |
Definition at line 68 of file ModuleRegistry.h.
Referenced by getModule().