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)
virtual void halt () override
 The method used to interrupt the execution of a RUNNING node.
void resetTicks ()
void setBoolean (bool boolean_value)
void setTime (int time)
BT::NodeStatus tick () override
 Method to be implemented by the user.
int tickCount () const
 ~AsyncActionTest ()

Private Attributes

bool boolean_value_
std::atomic_bool stop_loop_
int tick_count_
int time_

Detailed Description

Definition at line 32 of file action_test_node.h.


Constructor & Destructor Documentation

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

Definition at line 17 of file action_test_node.cpp.

Definition at line 25 of file action_test_node.cpp.


Member Function Documentation

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

The method used to interrupt the execution of a RUNNING node.

Implements BT::TreeNode.

Definition at line 50 of file action_test_node.cpp.

Definition at line 54 of file action_test_node.h.

void BT::AsyncActionTest::setBoolean ( bool  boolean_value)

Definition at line 61 of file action_test_node.cpp.

void BT::AsyncActionTest::setTime ( int  time)

Definition at line 56 of file action_test_node.cpp.

BT::NodeStatus BT::AsyncActionTest::tick ( ) [override, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 30 of file action_test_node.cpp.

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

Definition at line 49 of file action_test_node.h.


Member Data Documentation

Definition at line 61 of file action_test_node.h.

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

Definition at line 63 of file action_test_node.h.

Definition at line 62 of file action_test_node.h.

Definition at line 60 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 Feb 2 2019 03:50:10