AutoAPMS
Resilient Robot Mission Management
Loading...
Searching...
No Matches
TreeBuildHandlerLoader Class Reference

A pluginlib::ClassLoader specifically for loading installed behavior tree build handler plugins. More...

#include <auto_apms_behavior_tree/build_handler/build_handler_loader.hpp>

Inheritance diagram for TreeBuildHandlerLoader:

Public Member Functions

 TreeBuildHandlerLoader (const std::set< std::string > &exclude_packages={})
 Constructor.
 
- Public Member Functions inherited from PluginClassLoader< TreeBuildHandlerFactoryInterface >
 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 Public Member Functions inherited from PluginClassLoader< TreeBuildHandlerFactoryInterface >
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.
 

Detailed Description

A pluginlib::ClassLoader specifically for loading installed behavior tree build handler plugins.

Definition at line 28 of file build_handler_loader.hpp.

Constructor & Destructor Documentation

◆ TreeBuildHandlerLoader()

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.

Parameters
exclude_packagesPackages to exclude when searching for associated plugin resources.
Exceptions
SeePluginClassLoader::makeUnambiguousPluginClassLoader.

Definition at line 23 of file build_handler_loader.cpp.

Member Data Documentation

◆ BASE_PACKAGE_NAME

const std::string BASE_PACKAGE_NAME = "auto_apms_behavior_tree"
static

Name of the package that contains the base class for this plugin loader.

Definition at line 34 of file build_handler_loader.hpp.

◆ BASE_CLASS_NAME

const std::string BASE_CLASS_NAME = "auto_apms_behavior_tree::TreeBuildHandlerFactoryInterface"
static

Name of the base class of all plugins to be loaded.

Definition at line 36 of file build_handler_loader.hpp.


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