The SequenceStarNode is used to tick children in an ordered sequence. If any child returns RUNNING, previous children are not ticked again. More...
#include <sequence_star_node.h>
Public Member Functions | |
virtual void | halt () override |
SequenceStarNode (const std::string &name) | |
virtual | ~SequenceStarNode () override |
Private Member Functions | |
virtual BT::NodeStatus | tick () override |
Method to be implemented by the user. | |
Private Attributes | |
unsigned int | current_child_idx_ |
The SequenceStarNode is used to tick children in an ordered sequence. If any child returns RUNNING, previous children are not ticked again.
Definition at line 35 of file sequence_star_node.h.
BT::SequenceStarNode::SequenceStarNode | ( | const std::string & | name | ) |
Definition at line 19 of file sequence_star_node.cpp.
virtual BT::SequenceStarNode::~SequenceStarNode | ( | ) | [override, virtual] |
void BT::SequenceStarNode::halt | ( | ) | [override, virtual] |
The method used to interrupt the execution of a RUNNING node. Only Async nodes that may return RUNNING should implement it.
Reimplemented from BT::ControlNode.
Definition at line 71 of file sequence_star_node.cpp.
NodeStatus BT::SequenceStarNode::tick | ( | ) | [override, private, virtual] |
Method to be implemented by the user.
Implements BT::TreeNode.
Definition at line 26 of file sequence_star_node.cpp.
unsigned int BT::SequenceStarNode::current_child_idx_ [private] |
Definition at line 46 of file sequence_star_node.h.