AutoAPMS
Resilient Robot Mission Management
Loading...
Searching...
No Matches
node_registration_options.cpp
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#include "auto_apms_behavior_tree_core/node/node_registration_options.hpp"
16
18{
19
20// clang-format off
21const std::string NodeRegistrationOptions::PARAM_NAME_CLASS = _AUTO_APMS_BEHAVIOR_TREE_CORE__NODE_MANIFEST_PARAM_CLASS;
22const std::string NodeRegistrationOptions::PARAM_NAME_PORT = _AUTO_APMS_BEHAVIOR_TREE_CORE__NODE_MANIFEST_PARAM_PORT;
23const std::string NodeRegistrationOptions::PARAM_NAME_REQUEST_TIMEOUT = _AUTO_APMS_BEHAVIOR_TREE_CORE__NODE_MANIFEST_PARAM_REQUEST_TIMEOUT;
24const std::string NodeRegistrationOptions::PARAM_NAME_WAIT_TIMEOUT = _AUTO_APMS_BEHAVIOR_TREE_CORE__NODE_MANIFEST_PARAM_WAIT_TIMEOUT;
25const std::string NodeRegistrationOptions::PARAM_NAME_ALLOW_UNREACHABLE = _AUTO_APMS_BEHAVIOR_TREE_CORE__NODE_MANIFEST_PARAM_ALLOW_UNREACHABLE;
26const std::string NodeRegistrationOptions::PARAM_NAME_LOGGER_LEVEL = _AUTO_APMS_BEHAVIOR_TREE_CORE__NODE_MANIFEST_PARAM_LOGGER_LEVEL;
27// clang-format on
28
29bool NodeRegistrationOptions::valid() const { return !class_name.empty(); }
30
31} // namespace auto_apms_behavior_tree::core
Core API for AutoAPMS's behavior tree implementation.
Definition builder.hpp:30
bool valid() const
Verify that the options are valid (e.g. all required values are set).
std::string class_name
Fully qualified name of the behavior tree node plugin class.