Public Types | Public Member Functions | Protected Attributes
mbf_abstract_nav::AbstractPluginManager< PluginType > Class Template Reference

#include <abstract_plugin_manager.h>

List of all members.

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_

Detailed Description

template<typename PluginType>
class mbf_abstract_nav::AbstractPluginManager< PluginType >

Definition at line 47 of file abstract_plugin_manager.h.


Member Typedef Documentation

template<typename PluginType>
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.

template<typename PluginType>
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.


Constructor & Destructor Documentation

template<typename PluginType>
mbf_abstract_nav::AbstractPluginManager< PluginType >::AbstractPluginManager ( const std::string  param_name,
const loadPluginFunction loadPlugin,
const initPluginFunction initPlugin 
)

Member Function Documentation

template<typename PluginType>
const std::vector<std::string>& mbf_abstract_nav::AbstractPluginManager< PluginType >::getLoadedNames ( )
template<typename PluginType>
PluginType::Ptr mbf_abstract_nav::AbstractPluginManager< PluginType >::getPlugin ( const std::string &  name)
template<typename PluginType>
std::string mbf_abstract_nav::AbstractPluginManager< PluginType >::getType ( const std::string &  name)
template<typename PluginType>
bool mbf_abstract_nav::AbstractPluginManager< PluginType >::hasPlugin ( const std::string &  name)
template<typename PluginType>
bool mbf_abstract_nav::AbstractPluginManager< PluginType >::loadPlugins ( )

Member Data Documentation

template<typename PluginType>
const initPluginFunction mbf_abstract_nav::AbstractPluginManager< PluginType >::initPlugin_ [protected]

Definition at line 76 of file abstract_plugin_manager.h.

template<typename PluginType>
const loadPluginFunction mbf_abstract_nav::AbstractPluginManager< PluginType >::loadPlugin_ [protected]

Definition at line 75 of file abstract_plugin_manager.h.

template<typename PluginType>
std::vector<std::string> mbf_abstract_nav::AbstractPluginManager< PluginType >::names_ [protected]

Definition at line 73 of file abstract_plugin_manager.h.

template<typename PluginType>
const std::string mbf_abstract_nav::AbstractPluginManager< PluginType >::param_name_ [protected]

Definition at line 74 of file abstract_plugin_manager.h.

template<typename PluginType>
std::map<std::string, typename PluginType::Ptr> mbf_abstract_nav::AbstractPluginManager< PluginType >::plugins_ [protected]

Definition at line 71 of file abstract_plugin_manager.h.

template<typename PluginType>
std::map<std::string, std::string> mbf_abstract_nav::AbstractPluginManager< PluginType >::plugins_type_ [protected]

Definition at line 72 of file abstract_plugin_manager.h.


The documentation for this class was generated from the following file:


mbf_abstract_nav
Author(s): Sebastian Pütz
autogenerated on Mon Jun 17 2019 20:11:35