#include <Factory.h>
Public Types | |
typedef std::map< std::string, edm::propagate_const< Maker * > > | MakerMap |
Public Member Functions | |
std::shared_ptr< maker::ModuleHolder > | makeModule (const MakeModuleParams &, signalslot::Signal< void(const ModuleDescription &)> &pre, signalslot::Signal< void(const ModuleDescription &)> &post) const |
std::shared_ptr< maker::ModuleHolder > | makeReplacementModule (const edm::ParameterSet &) const |
~Factory () | |
Static Public Member Functions | |
static Factory const * | get () |
Private Member Functions | |
Factory () | |
Maker * | findMaker (const MakeModuleParams &p) const |
Private Attributes | |
MakerMap | makers_ |
Static Private Attributes | |
static Factory const | singleInstance_ |
typedef std::map<std::string, edm::propagate_const<Maker*> > edm::Factory::MakerMap |
edm::Factory::~Factory | ( | ) |
Definition at line 19 of file Factory.cc.
References edm::cleanup(), edm::for_all(), and makers_.
|
private |
Definition at line 24 of file Factory.cc.
|
private |
Definition at line 34 of file Factory.cc.
References edm::errors::Configuration, beamerCreator::create(), FDEBUG, reco::get(), edm::ParameterSet::getParameter(), makers_, edm::MakeModuleParams::processConfiguration_, edm::MakeModuleParams::pset_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makeModule().
|
static |
Definition at line 29 of file Factory.cc.
References singleInstance_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), edm::ModuleRegistry::getModule(), betterConfigParser.BetterConfigParser::getResultingSection(), edm::ModuleRegistry::replaceModule(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
std::shared_ptr< maker::ModuleHolder > edm::Factory::makeModule | ( | const MakeModuleParams & | p, |
signalslot::Signal< void(const ModuleDescription &)> & | pre, | ||
signalslot::Signal< void(const ModuleDescription &)> & | post | ||
) | const |
Definition at line 68 of file Factory.cc.
References findMaker(), and mod().
Referenced by edm::ModuleRegistry::getModule().
std::shared_ptr< maker::ModuleHolder > edm::Factory::makeReplacementModule | ( | const edm::ParameterSet & | p | ) | const |
Definition at line 77 of file Factory.cc.
References edm::ParameterSet::getParameter(), makers_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::ModuleRegistry::replaceModule().
|
mutableprivate |
Definition at line 38 of file Factory.h.
Referenced by findMaker(), makeReplacementModule(), and ~Factory().
|
staticprivate |
Definition at line 37 of file Factory.h.
Referenced by edm::cleanup(), and get().