35 sigc::signal<void, const ModuleDescription&>& pre,
36 sigc::signal<void, const ModuleDescription&>& post)
const
39 FDEBUG(1) <<
"Factory: module_type = " << modtype << std::endl;
40 MakerMap::iterator it =
makers_.find(modtype);
48 <<
"Module " << modtype
50 <<
" was not registered.\n"
51 <<
"Perhaps your module type is misspelled or is not a "
52 <<
"framework plugin.\n"
53 <<
"Try running EdmPluginDump to obtain a list of "
54 <<
"available Plugins.";
56 FDEBUG(1) <<
"Factory: created worker of type " << modtype << std::endl;
58 std::pair<MakerMap::iterator,bool>
ret =
59 makers_.insert(std::pair<std::string,Maker*>(modtype,wm.get()));
68 std::auto_ptr<Worker>
w(it->second->makeWorker(p,pre,post));
T getParameter(std::string const &) const
static void cleanup(const Factory::MakerMap::value_type &v)
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
Container::value_type value_type
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
std::auto_ptr< Worker > makeWorker(const WorkerParams &, sigc::signal< void, const ModuleDescription & > &pre, sigc::signal< void, const ModuleDescription & > &post) const
boost::shared_ptr< ProcessConfiguration const > processConfiguration_
T get(const Candidate &c)
static Factory singleInstance_