Pluginlib-Based Controller Loader. More...
#include <controller_loader.h>
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 () |
Private Attributes | |
std::string | base_class_ |
boost::shared_ptr < pluginlib::ClassLoader< T > > | controller_loader_ |
std::string | package_ |
Pluginlib-Based Controller Loader.
This default controller loader uses pluginlib to load and then instantiate controller libraries.
T | The base class of the controller types to be loaded |
Definition at line 48 of file controller_loader.h.
controller_manager::ControllerLoader< T >::ControllerLoader | ( | const std::string & | package, |
const std::string & | base_class | ||
) | [inline] |
Definition at line 51 of file controller_loader.h.
controller_interface::ControllerBaseSharedPtr 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.
std::vector<std::string> controller_manager::ControllerLoader< T >::getDeclaredClasses | ( | ) | [inline, virtual] |
Implements controller_manager::ControllerLoaderInterface.
Definition at line 64 of file controller_loader.h.
void controller_manager::ControllerLoader< T >::reload | ( | ) | [inline, virtual] |
Implements controller_manager::ControllerLoaderInterface.
Definition at line 69 of file controller_loader.h.
std::string controller_manager::ControllerLoader< T >::base_class_ [private] |
Definition at line 76 of file controller_loader.h.
boost::shared_ptr<pluginlib::ClassLoader<T> > controller_manager::ControllerLoader< T >::controller_loader_ [private] |
Definition at line 77 of file controller_loader.h.
std::string controller_manager::ControllerLoader< T >::package_ [private] |
Definition at line 75 of file controller_loader.h.