Go to the documentation of this file.
39 #ifndef MBF_ABSTRACT_NAV__ABSTRACT_PLUGIN_MANAGER_H_
40 #define MBF_ABSTRACT_NAV__ABSTRACT_PLUGIN_MANAGER_H_
42 #include <boost/function.hpp>
47 template <
typename PluginType>
53 typedef boost::function<bool (
const std::string &name,
const typename PluginType::Ptr &plugin_ptr)>
initPluginFunction;
56 const std::string ¶m_name,
65 std::string
getType(
const std::string &name);
69 typename PluginType::Ptr
getPlugin(
const std::string &name);
74 std::map<std::string, typename PluginType::Ptr>
plugins_;
84 #include "impl/abstract_plugin_manager.tcc"
std::vector< std::string > names_
const std::vector< std::string > & getLoadedNames()
std::map< std::string, typename PluginType::Ptr > plugins_
boost::function< bool(const std::string &name, const typename PluginType::Ptr &plugin_ptr)> initPluginFunction
AbstractPluginManager(const std::string ¶m_name, const loadPluginFunction &loadPlugin, const initPluginFunction &initPlugin)
const initPluginFunction initPlugin_
std::map< std::string, std::string > plugins_type_
boost::function< typename PluginType::Ptr(const std::string &plugin)> loadPluginFunction
bool hasPlugin(const std::string &name)
const loadPluginFunction loadPlugin_
std::string getType(const std::string &name)
const std::string param_name_
PluginType::Ptr getPlugin(const std::string &name)
mbf_abstract_nav
Author(s): Sebastian Pütz
autogenerated on Wed Mar 2 2022 00:33:47