Public Member Functions | Private Member Functions
BT::FallbackNode Class Reference

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

#include <fallback_node.h>

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

List of all members.

Public Member Functions

 FallbackNode (const std::string &name)
virtual ~FallbackNode () override

Private Member Functions

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

Detailed Description

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

Definition at line 35 of file fallback_node.h.


Constructor & Destructor Documentation

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

Definition at line 18 of file fallback_node.cpp.

virtual BT::FallbackNode::~FallbackNode ( ) [override, virtual]

Member Function Documentation

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

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 24 of file fallback_node.cpp.


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