#include <action_test_node.h>
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_ |
Definition at line 32 of file action_test_node.h.
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.
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.
void BT::AsyncActionTest::resetTicks | ( | ) | [inline] |
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.
bool BT::AsyncActionTest::boolean_value_ [private] |
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.
int BT::AsyncActionTest::tick_count_ [private] |
Definition at line 62 of file action_test_node.h.
int BT::AsyncActionTest::time_ [private] |
Definition at line 60 of file action_test_node.h.