#include <abstract_plugin_manager.h>
Public Types | |
typedef boost::function< bool(const std::string &name, const typename PluginType::Ptr &plugin_ptr)> | initPluginFunction |
typedef boost::function< typename PluginType::Ptr(const std::string &plugin)> | loadPluginFunction |
Public Member Functions | |
AbstractPluginManager (const std::string param_name, const loadPluginFunction &loadPlugin, const initPluginFunction &initPlugin) | |
const std::vector< std::string > & | getLoadedNames () |
PluginType::Ptr | getPlugin (const std::string &name) |
std::string | getType (const std::string &name) |
bool | hasPlugin (const std::string &name) |
bool | loadPlugins () |
Protected Attributes | |
const initPluginFunction | initPlugin_ |
const loadPluginFunction | loadPlugin_ |
std::vector< std::string > | names_ |
const std::string | param_name_ |
std::map< std::string, typename PluginType::Ptr > | plugins_ |
std::map< std::string, std::string > | plugins_type_ |
Definition at line 47 of file abstract_plugin_manager.h.
typedef boost::function<bool (const std::string& name, const typename PluginType::Ptr& plugin_ptr)> mbf_abstract_nav::AbstractPluginManager< PluginType >::initPluginFunction |
Definition at line 52 of file abstract_plugin_manager.h.
typedef boost::function<typename PluginType::Ptr(const std::string& plugin)> mbf_abstract_nav::AbstractPluginManager< PluginType >::loadPluginFunction |
Definition at line 51 of file abstract_plugin_manager.h.
mbf_abstract_nav::AbstractPluginManager< PluginType >::AbstractPluginManager | ( | const std::string | param_name, |
const loadPluginFunction & | loadPlugin, | ||
const initPluginFunction & | initPlugin | ||
) |
const std::vector<std::string>& mbf_abstract_nav::AbstractPluginManager< PluginType >::getLoadedNames | ( | ) |
PluginType::Ptr mbf_abstract_nav::AbstractPluginManager< PluginType >::getPlugin | ( | const std::string & | name | ) |
std::string mbf_abstract_nav::AbstractPluginManager< PluginType >::getType | ( | const std::string & | name | ) |
bool mbf_abstract_nav::AbstractPluginManager< PluginType >::hasPlugin | ( | const std::string & | name | ) |
bool mbf_abstract_nav::AbstractPluginManager< PluginType >::loadPlugins | ( | ) |
|
protected |
Definition at line 76 of file abstract_plugin_manager.h.
|
protected |
Definition at line 75 of file abstract_plugin_manager.h.
|
protected |
Definition at line 73 of file abstract_plugin_manager.h.
|
protected |
Definition at line 74 of file abstract_plugin_manager.h.
|
protected |
Definition at line 71 of file abstract_plugin_manager.h.
|
protected |
Definition at line 72 of file abstract_plugin_manager.h.