Public Member Functions | Private Attributes | List of all members
controller_manager::ControllerLoader< T > Class Template Reference

Pluginlib-Based Controller Loader. More...

#include <controller_loader.h>

Inheritance diagram for controller_manager::ControllerLoader< T >:
Inheritance graph
[legend]

Public Member Functions

 ControllerLoader (const std::string &package, const std::string &base_class)
 
controller_interface::ControllerBaseSharedPtr createInstance (const std::string &lookup_name)
 
std::vector< std::string > getDeclaredClasses ()
 
void reload ()
 
- Public Member Functions inherited from controller_manager::ControllerLoaderInterface
 ControllerLoaderInterface (const std::string &name)
 
const std::string & getName ()
 
virtual ~ControllerLoaderInterface ()
 

Private Attributes

std::string base_class_
 
boost::shared_ptr< pluginlib::ClassLoader< T > > controller_loader_
 
std::string package_
 

Detailed Description

template<class T>
class controller_manager::ControllerLoader< T >

Pluginlib-Based Controller Loader.

This default controller loader uses pluginlib to load and then instantiate controller libraries.

Template Parameters
TThe base class of the controller types to be loaded

Definition at line 48 of file controller_loader.h.

Constructor & Destructor Documentation

template<class T >
controller_manager::ControllerLoader< T >::ControllerLoader ( const std::string &  package,
const std::string &  base_class 
)
inline

Definition at line 51 of file controller_loader.h.

Member Function Documentation

template<class T >
controller_interface::ControllerBaseSharedPtr controller_manager::ControllerLoader< T >::createInstance ( const std::string &  lookup_name)
inlinevirtual

Implements controller_manager::ControllerLoaderInterface.

Definition at line 59 of file controller_loader.h.

template<class T >
std::vector<std::string> controller_manager::ControllerLoader< T >::getDeclaredClasses ( )
inlinevirtual

Implements controller_manager::ControllerLoaderInterface.

Definition at line 64 of file controller_loader.h.

template<class T >
void controller_manager::ControllerLoader< T >::reload ( )
inlinevirtual

Implements controller_manager::ControllerLoaderInterface.

Definition at line 69 of file controller_loader.h.

Member Data Documentation

template<class T >
std::string controller_manager::ControllerLoader< T >::base_class_
private

Definition at line 76 of file controller_loader.h.

template<class T >
boost::shared_ptr<pluginlib::ClassLoader<T> > controller_manager::ControllerLoader< T >::controller_loader_
private

Definition at line 77 of file controller_loader.h.

template<class T >
std::string controller_manager::ControllerLoader< T >::package_
private

Definition at line 75 of file controller_loader.h.


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


controller_manager
Author(s): Wim Meeussen, Mathias Lüdtke
autogenerated on Mon Apr 20 2020 03:52:09