Public Member Functions
MyAsyncAction Class Reference
Inheritance diagram for MyAsyncAction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void halt () override
 MyAsyncAction (const std::string &name)
NodeStatus tick () override
 Method to be implemented by the user.

Detailed Description

In this first tutorial we demonstrate how use the CoroActionNode, which should be preferred over AsyncActionNode.

Definition at line 12 of file t08_async_actions_coroutines.cpp.


Constructor & Destructor Documentation

MyAsyncAction::MyAsyncAction ( const std::string &  name) [inline]

Definition at line 15 of file t08_async_actions_coroutines.cpp.


Member Function Documentation

void MyAsyncAction::halt ( ) [inline, override, virtual]

You may want to override this method. But still, call remember to call this implementation too.

Example:

void MyAction::halt() { // do your stuff here CoroActionNode::halt(); }

Reimplemented from BT::CoroActionNode.

Definition at line 51 of file t08_async_actions_coroutines.cpp.

NodeStatus MyAsyncAction::tick ( ) [inline, override, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 26 of file t08_async_actions_coroutines.cpp.


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


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