Public Member Functions
BT::ActionNodeBase Class Reference

#include <action_node.h>

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

List of all members.

Public Member Functions

 ActionNodeBase (const std::string &name, const NodeParameters &parameters=NodeParameters())
virtual NodeStatus executeTick () override
 The method that will be executed to invoke tick(); and setStatus();.
virtual NodeType type () const override final
 ~ActionNodeBase () override

Detailed Description

IMPORTANT: to avoid unexpected behaviors when Sequence (not SequenceStar) is used an Action that returned SUCCESS or FAILURE will not be ticked again unless setStatus(IDLE) is called first (reset the Action).

Usually the parent node takes care of this for you.

Definition at line 30 of file action_node.h.


Constructor & Destructor Documentation

BT::ActionNodeBase::ActionNodeBase ( const std::string &  name,
const NodeParameters parameters = NodeParameters() 
)

Definition at line 19 of file action_node.cpp.


Member Function Documentation

The method that will be executed to invoke tick(); and setStatus();.

Reimplemented from BT::TreeNode.

Reimplemented in BT::CoroActionNode, BT::AsyncActionNode, and BT::SyncActionNode.

Definition at line 24 of file action_node.cpp.

virtual NodeType BT::ActionNodeBase::type ( ) const [inline, override, virtual]

Implements BT::TreeNode.

Definition at line 39 of file action_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