Public Member Functions | Private Attributes
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]

List of all members.

Public Member Functions

 ControllerLoader (const std::string &package, const std::string &base_class)
boost::shared_ptr
< controller_interface::ControllerBase
createInstance (const std::string &lookup_name)
std::vector< std::string > getDeclaredClasses ()
void reload ()

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 >
boost::shared_ptr<controller_interface::ControllerBase> controller_manager::ControllerLoader< T >::createInstance ( const std::string &  lookup_name) [inline, virtual]

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 ( ) [inline, virtual]

Implements controller_manager::ControllerLoaderInterface.

Definition at line 64 of file controller_loader.h.

template<class T >
void controller_manager::ControllerLoader< T >::reload ( ) [inline, virtual]

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 Thu Dec 1 2016 03:46:00