Go to the documentation of this file.
27 bool all_skipped =
true;
60 throw LogicError(
"[ReactiveSequence]: only a single child can return RUNNING.\n"
61 "This throw can be disabled with "
62 "ReactiveSequence::EnableException(false)");
82 throw LogicError(
"[",
name(),
"]: A children should not 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)
setStatus changes the status of the node. it will throw if you try to change the status to IDLE,...
static bool throw_if_multiple_running
const std::string & name() const
Name of the instance, not the type.
BT::NodeStatus tick() override
Method to be implemented by the user.
virtual void halt() override