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

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

#include <auto_apms_behavior_tree_core/node/node_registration_loader.hpp>

Inheritance diagram for NodeRegistrationLoader:

Public Member Functions

 NodeRegistrationLoader (const std::set< std::string > &exclude_packages={})
 NodeRegistrationLoader constructor.
 
- Public Member Functions inherited from PluginClassLoader< NodeRegistrationInterface >
 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_core"
 Name of the package that contains the base class for this plugin loader.
 
static const std::string BASE_CLASS_NAME = "auto_apms_behavior_tree::core::NodeRegistrationInterface"
 Name of the base class of all plugins to be loaded.
 

Additional Inherited Members

- Static Public Member Functions inherited from PluginClassLoader< NodeRegistrationInterface >
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 node plugins.

Definition at line 28 of file node_registration_loader.hpp.

Constructor & Destructor Documentation

◆ NodeRegistrationLoader()

NodeRegistrationLoader ( const std::set< std::string > & exclude_packages = {})

NodeRegistrationLoader constructor.

Parses the workspace for behavior tree node 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 node_registration_loader.cpp.

Member Data Documentation

◆ BASE_PACKAGE_NAME

const std::string BASE_PACKAGE_NAME = "auto_apms_behavior_tree_core"
static

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

Definition at line 34 of file node_registration_loader.hpp.

◆ BASE_CLASS_NAME

const std::string BASE_CLASS_NAME = "auto_apms_behavior_tree::core::NodeRegistrationInterface"
static

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

Definition at line 36 of file node_registration_loader.hpp.


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