
Public Member Functions | |
| void | halt () override |
| MyAsyncAction (const std::string &name) | |
| NodeStatus | tick () override |
| Method to be implemented by the user. | |
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.
| MyAsyncAction::MyAsyncAction | ( | const std::string & | name | ) | [inline] |
Definition at line 15 of file t08_async_actions_coroutines.cpp.
| 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.