14 #ifndef BEHAVIOR_TREE_H 15 #define BEHAVIOR_TREE_H 46 const std::function<
void(
const TreeNode*)>& visitor);
72 SerializedTreeStatus& serialized_buffer);
90 #endif // BEHAVIOR_TREE_H
void printTreeRecursively(const TreeNode *root_node)
std::vector< std::pair< uint16_t, uint8_t > > SerializedTreeStatus
void haltAllActions(TreeNode *root_node)
Abstract base class for Behavior Tree Nodes.
void buildSerializedStatusSnapshot(const TreeNode *root_node, SerializedTreeStatus &serialized_buffer)
buildSerializedStatusSnapshot can be used to create a buffer that can be stored (or sent to a client ...
NodeType
Enumerates the possible types of nodes.
void applyRecursiveVisitor(const TreeNode *root_node, const std::function< void(const TreeNode *)> &visitor)