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) override |
std::vector< std::string > | getDeclaredClasses () override |
void | reload () override |
Public Member Functions inherited from controller_manager::ControllerLoaderInterface | |
ControllerLoaderInterface (const std::string &name) | |
const std::string & | getName () |
virtual | ~ControllerLoaderInterface ()=default |
Private Attributes | |
std::string | base_class_ |
std::unique_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.
|
inline |
Definition at line 51 of file controller_loader.h.
|
inlineoverridevirtual |
Implements controller_manager::ControllerLoaderInterface.
Definition at line 59 of file controller_loader.h.
|
inlineoverridevirtual |
Implements controller_manager::ControllerLoaderInterface.
Definition at line 64 of file controller_loader.h.
|
inlineoverridevirtual |
Implements controller_manager::ControllerLoaderInterface.
Definition at line 69 of file controller_loader.h.
|
private |
Definition at line 76 of file controller_loader.h.
|
private |
Definition at line 77 of file controller_loader.h.
|
private |
Definition at line 75 of file controller_loader.h.