Go to the documentation of this file.
36 const std::vector<TreeNode*>&
children()
const;
43 virtual void halt()
override;
48 [[deprecated(
"deprecated: please use explicitly haltChildren() or haltChild(i)")]]
void
size_t childrenCount() const
NodeType
Enumerates the possible types of nodes.
const NodeConfig & config() const
Abstract base class for Behavior Tree Nodes.
std::vector< TreeNode * > children_nodes_
virtual NodeType type() const override final
virtual ~ControlNode() override=default
const std::vector< TreeNode * > & children() const
const std::string & name() const
Name of the instance, not the type.
void haltChildren()
same as resetChildren()
const TreeNode * child(size_t index) const
virtual void halt() override
void addChild(TreeNode *child)
The method used to add nodes to the children vector.