Public Member Functions | Private Attributes | List of all members
TestNode Class Reference

Public Member Functions

NodeStatus expectedResult () const
 
void resetTickCount ()
 
void setExpectedResult (bool will_succeed)
 
 TestNode (const std::string &name)
 
int tickCount () const
 
NodeStatus tickImpl ()
 

Private Attributes

bool _expected_result
 
std::string _name
 
int _tick_count
 

Detailed Description

Definition at line 45 of file navigation_test.cpp.

Constructor & Destructor Documentation

◆ TestNode()

TestNode::TestNode ( const std::string &  name)
inline

Definition at line 48 of file navigation_test.cpp.

Member Function Documentation

◆ expectedResult()

NodeStatus TestNode::expectedResult ( ) const
inline

Definition at line 55 of file navigation_test.cpp.

◆ resetTickCount()

void TestNode::resetTickCount ( )
inline

Definition at line 59 of file navigation_test.cpp.

◆ setExpectedResult()

void TestNode::setExpectedResult ( bool  will_succeed)
inline

Definition at line 51 of file navigation_test.cpp.

◆ tickCount()

int TestNode::tickCount ( ) const
inline

Definition at line 63 of file navigation_test.cpp.

◆ tickImpl()

NodeStatus TestNode::tickImpl ( )
inline

Definition at line 68 of file navigation_test.cpp.

Member Data Documentation

◆ _expected_result

bool TestNode::_expected_result
private

Definition at line 76 of file navigation_test.cpp.

◆ _name

std::string TestNode::_name
private

Definition at line 78 of file navigation_test.cpp.

◆ _tick_count

int TestNode::_tick_count
private

Definition at line 77 of file navigation_test.cpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18