20 size_t success_count = 0;
21 size_t running_count = 0;
49 throw LogicError(
"A child node must never return IDLE");
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
std::vector< TreeNode * > children_nodes_
Abstract base class for Behavior Tree Nodes.
void haltChildren(unsigned i)
call halt() for all the children in the range [i, childrenCount() )
unsigned childrenCount() const
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.