#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) |
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_ |
Description: Constructs and owns framework modules
Usage: <usage>
Definition at line 40 of file ModuleRegistry.h.
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 56 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_, and edm::Factory::makeModule().
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 64 of file ModuleRegistry.h.
Referenced by deleteModule(), forAllModuleHolders(), getModule(), and replaceModule().