2
3
4
5
6
7
8
9
10
11
12
14#ifndef CONDITIONNODE_H
15#define CONDITIONNODE_H
22
23
24
25
26
27
28
29
30
34 ConditionNode(
const std::string& name,
const NodeConfig& config);
36 ~ConditionNode()
override =
default;
44 virtual void halt()
override final
49 virtual NodeType type()
const override final
56
57
58
59
60
61
62
63
64
71 SimpleConditionNode(
const std::string& name, TickFunctor tick_functor,
74 ~SimpleConditionNode()
override =
default;
84 TickFunctor tick_functor_;
The ConditionNode is a leaf node used to check a condition.
Definition: condition_node.h:32
virtual void halt() override final
Definition: condition_node.h:44
Definition: leaf_node.h:22
The SimpleConditionNode provides an easy to use ConditionNode. The user should simply provide a callb...
Definition: condition_node.h:66
virtual NodeStatus tick() override
Method to be implemented by the user.
Abstract base class for Behavior Tree Nodes.
Definition: tree_node.h:154
void resetStatus()
Set the status to IDLE.
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