Go to the documentation of this file.
38 auto prev_status = current_child_node->
status();
76 throw LogicError(
"[",
name(),
"]: A children should not return IDLE");
SequenceWithMemory(const std::string &name)
size_t childrenCount() const
bool requiresWakeUp() const
void emitWakeUpSignal()
Notify that the tree should be ticked again()
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
Abstract base class for Behavior Tree Nodes.
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
std::vector< TreeNode * > children_nodes_
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,...
size_t current_child_idx_
void setRegistrationID(StringView ID)
const std::string & name() const
Name of the instance, not the type.
virtual void halt() override
virtual void halt() override