![]() |
AutoAPMS
Resilient Robot Mission Management
|
A pluginlib::ClassLoader
specifically for loading installed behavior tree build handler plugins.
More...
#include <auto_apms_behavior_tree/build_handler/build_handler_loader.hpp>
Public Member Functions | |
TreeBuildHandlerLoader (const std::set< std::string > &exclude_packages={}) | |
Constructor. | |
![]() | |
PluginClassLoader (const std::string &base_package, const std::string &base_class, const std::set< std::string > &exclude_packages={}) | |
Standard PluginClassLoader constructor. | |
std::map< std::string, std::string > | getClassPackageMap () |
Retrieve a map that contains information about which package a plugin class belongs to. | |
Static Public Attributes | |
static const std::string | BASE_PACKAGE_NAME = "auto_apms_behavior_tree" |
Name of the package that contains the base class for this plugin loader. | |
static const std::string | BASE_CLASS_NAME = "auto_apms_behavior_tree::TreeBuildHandlerFactoryInterface" |
Name of the base class of all plugins to be loaded. | |
Additional Inherited Members | |
![]() | |
static PluginClassLoader | makeUnambiguousPluginClassLoader (const std::string &base_package, const std::string &base_class, const std::set< std::string > &exclude_packages={}, const std::map< std::string, std::string > &reserved_names={}) |
Parse all associated plugin manifest files registered with the ament resource index and instantiate a PluginClassLoader. | |
A pluginlib::ClassLoader
specifically for loading installed behavior tree build handler plugins.
Definition at line 28 of file build_handler_loader.hpp.
TreeBuildHandlerLoader | ( | const std::set< std::string > & | exclude_packages = {} | ) |
Constructor.
Parses the workspace for build handler plugins and performs an ambiguity check that is supposed to detect duplicate class names. If any duplicate class names are found, it throws an error.
exclude_packages | Packages to exclude when searching for associated plugin resources. |
See | PluginClassLoader::makeUnambiguousPluginClassLoader. |
Definition at line 23 of file build_handler_loader.cpp.
|
static |
Name of the package that contains the base class for this plugin loader.
Definition at line 34 of file build_handler_loader.hpp.
|
static |
Name of the base class of all plugins to be loaded.
Definition at line 36 of file build_handler_loader.hpp.