AutoAPMS
Resilient Robot Mission Management
Loading...
Searching...
No Matches
build_handler_loader.hpp
1// Copyright 2024 Robin Müller
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#pragma once
16
17#include "auto_apms_behavior_tree/build_handler/build_handler_factory_interface.hpp"
18#include "auto_apms_util/resource.hpp"
19#include "rclcpp/macros.hpp"
20
22{
23
28class TreeBuildHandlerLoader : public auto_apms_util::PluginClassLoader<TreeBuildHandlerFactoryInterface>
29{
30public:
31 RCLCPP_SMART_PTR_DEFINITIONS(TreeBuildHandlerLoader)
32
33
34 static const std::string BASE_PACKAGE_NAME;
36 static const std::string BASE_CLASS_NAME;
37
43 TreeBuildHandlerLoader(const std::set<std::string> & exclude_packages = {});
44};
45
46} // namespace auto_apms_behavior_tree
TreeBuildHandlerLoader(const std::set< std::string > &exclude_packages={})
Constructor.
static const std::string BASE_CLASS_NAME
Name of the base class of all plugins to be loaded.
static const std::string BASE_PACKAGE_NAME
Name of the package that contains the base class for this plugin loader.
Class for loading plugin resources registered according to the conventions defined by the pluginlib p...
Definition resource.hpp:97
Useful tooling for incorporating behavior trees for task development.
Definition builder.hpp:30