#include "FWCore/Framework/src/ModuleRegistry.h"
Public Member Functions | |
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.
|
inline |
Definition at line 52 of file ModuleRegistry.h.
References protons_cff::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 60 of file ModuleRegistry.h.
Referenced by getModule(), and replaceModule().