66 throw LogicError(
"A child node must never return IDLE");
virtual void halt() override
std::vector< TreeNode * > children_nodes_
virtual void halt() override
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
unsigned int current_child_idx_
Abstract base class for Behavior Tree Nodes.
SequenceNode(const std::string &name)
void haltChildren(unsigned i)
call halt() for all the children in the range [i, childrenCount() )
void setRegistrationID(StringView ID)
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
void setStatus(NodeStatus new_status)