Go to the documentation of this file.
45 modPtr->setModuleDescription(modItr->second->moduleDescription());
46 modPtr->preallocate(iPrealloc);
49 modItr->second = modPtr;
50 return modItr->second.get();
59 <<
"Trying to delete module " << iModuleLabel
60 <<
" but it does not exist in the ModuleRegistry. Please contact framework developers.";
65 auto md = modItr->second->moduleDescription();
66 iPre(modItr->second->moduleDescription());
67 bool postCalled =
false;
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
std::shared_ptr< maker::ModuleHolder > makeReplacementModule(const edm::ParameterSet &) const
std::map< std::string, edm::propagate_const< std::shared_ptr< maker::ModuleHolder > > > labelToModule_
std::shared_ptr< maker::ModuleHolder > makeModule(const MakeModuleParams &, signalslot::Signal< void(const ModuleDescription &)> &pre, signalslot::Signal< void(const ModuleDescription &)> &post) const
void deleteModule(std::string const &iModuleLabel, 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 &)
static Factory const * get()
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)