Go to the documentation of this file.
27 size_t success_count = 0;
57 throw LogicError(
"[ReactiveSequence]: only a single child can return RUNNING.\n"
58 "This throw can be disabled with ReactiveSequence::EnableException(false)");
73 throw LogicError(
"A child node must never return IDLE");
size_t childrenCount() const
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
Abstract base class for Behavior Tree Nodes.
std::vector< TreeNode * > children_nodes_
static void EnableException(bool enable)
NodeStatus status() const
void setStatus(NodeStatus new_status)
static bool throw_if_multiple_running
BT::NodeStatus tick() override
Method to be implemented by the user.
virtual void halt() override
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Wed Jun 26 2024 02:51:19