Public Member Functions | Private Member Functions | Private Attributes
BT::FallbackStarNode Class Reference

The FallbackStarNode is used to try different strategies, until one succeed. If any child returns RUNNING, previous children will NOT be ticked again. More...

#include <fallback_star_node.h>

Inheritance diagram for BT::FallbackStarNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FallbackStarNode (const std::string &name)
virtual void halt () override
 The method used to interrupt the execution of a RUNNING node.

Private Member Functions

virtual BT::NodeStatus tick () override
 Method to be implemented by the user.

Private Attributes

unsigned int current_child_idx_

Detailed Description

The FallbackStarNode is used to try different strategies, until one succeed. If any child returns RUNNING, previous children will NOT be ticked again.

Definition at line 34 of file fallback_star_node.h.


Constructor & Destructor Documentation

BT::FallbackStarNode::FallbackStarNode ( const std::string &  name)

Definition at line 18 of file fallback_star_node.cpp.


Member Function Documentation

void BT::FallbackStarNode::halt ( ) [override, virtual]

The method used to interrupt the execution of a RUNNING node.

Reimplemented from BT::ControlNode.

Definition at line 70 of file fallback_star_node.cpp.

NodeStatus BT::FallbackStarNode::tick ( ) [override, private, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 24 of file fallback_star_node.cpp.


Member Data Documentation

Definition at line 42 of file fallback_star_node.h.


The documentation for this class was generated from the following files:


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10