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

#include <action_test_node.h>

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

List of all members.

Public Member Functions

 AsyncActionTest (const std::string &name, BT::Duration deadline_ms)
virtual void halt () override
void resetTicks ()
void setBoolean (bool boolean_value)
void setTime (BT::Duration time)
BT::NodeStatus tick () override
 Method to be implemented by the user.
int tickCount () const
 ~AsyncActionTest ()

Private Attributes

std::atomic_bool boolean_value_
std::atomic_bool stop_loop_
std::atomic< int > tick_count_
BT::Duration time_

Detailed Description

Definition at line 32 of file action_test_node.h.


Constructor & Destructor Documentation

BT::AsyncActionTest::AsyncActionTest ( const std::string &  name,
BT::Duration  deadline_ms 
)

Definition at line 17 of file action_test_node.cpp.


Member Function Documentation

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

The method used to interrupt the execution of a RUNNING node. Only Async nodes that may return RUNNING should implement it.

Implements BT::TreeNode.

Definition at line 54 of file action_test_node.h.

void BT::AsyncActionTest::setBoolean ( bool  boolean_value)
BT::NodeStatus BT::AsyncActionTest::tick ( ) [override, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

int BT::AsyncActionTest::tickCount ( ) const [inline]

Definition at line 49 of file action_test_node.h.


Member Data Documentation

std::atomic_bool BT::AsyncActionTest::boolean_value_ [private]

Definition at line 62 of file action_test_node.h.

std::atomic_bool BT::AsyncActionTest::stop_loop_ [private]

Definition at line 64 of file action_test_node.h.

std::atomic<int> BT::AsyncActionTest::tick_count_ [private]

Definition at line 63 of file action_test_node.h.

Definition at line 61 of file action_test_node.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 20:17:15