1#ifndef DECORATOR_SUBTREE_NODE_H
2#define DECORATOR_SUBTREE_NODE_H
4#include "behaviortree_cpp/decorator_node.h"
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
55 SubTreeNode(
const std::string& name,
const NodeConfig& config);
57 ~SubTreeNode()
override =
default;
64 static PortsList providedPorts();
66 void setSubtreeID(
const std::string& ID)
71 const std::string& subtreeID()
const
77 virtual NodeType type()
const override final
83 std::string subtree_id_;
The DecoratorNode is the base class for nodes that have exactly one child.
Definition: decorator_node.h:19
The SubTreeNode is a way to wrap an entire Subtree, creating a separated BlackBoard....
Definition: subtree_node.h:53
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
Definition: action_node.h:24
NodeStatus
Definition: basic_types.h:34
NodeType
Enumerates the possible types of nodes.
Definition: basic_types.h:21
Definition: tree_node.h:105