25 FDEBUG(1) <<
"Factory: module_type = " << modtype << std::endl;
26 MakerMap::iterator it =
makers_.find(modtype);
29 std::unique_ptr<Maker> wm = detail::resolveMaker<MakerPluginFactory>(modtype, resolver);
30 FDEBUG(1) <<
"Factory: created worker of type " << modtype << std::endl;
45 auto mod(maker->makeModule(
p, pre, post));
51 MakerMap::iterator it =
makers_.find(modtype);
53 return it->second->makeReplacementModule(
p);
55 return std::shared_ptr<maker::ModuleHolder>{};
ret
prodAgent to be discontinued
std::shared_ptr< maker::ModuleHolder > makeReplacementModule(const edm::ParameterSet &) const
Maker * findMaker(const MakeModuleParams &p, const ModuleTypeResolverBase *) const
static Factory const singleInstance_
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
std::shared_ptr< maker::ModuleHolder > makeModule(const MakeModuleParams &, const ModuleTypeResolverBase *, signalslot::Signal< void(const ModuleDescription &)> &pre, signalslot::Signal< void(const ModuleDescription &)> &post) const
static Factory const * get()
T mod(const T &a, const T &b)