Classes | Typedefs | Functions
gtest_coroutines.cpp File Reference
#include "behaviortree_cpp/decorators/timeout_node.h"
#include "behaviortree_cpp/behavior_tree.h"
#include <chrono>
#include <future>
#include <gtest/gtest.h>
Include dependency graph for gtest_coroutines.cpp:

Go to the source code of this file.

Classes

class  SimpleCoroAction
 

Typedefs

using Millisecond = std::chrono::milliseconds
 
using Timepoint = std::chrono::time_point< std::chrono::steady_clock >
 

Functions

BT::NodeStatus executeWhileRunning (BT::TreeNode &node)
 
 TEST (CoroTest, do_action)
 
 TEST (CoroTest, do_action_timeout)
 
 TEST (CoroTest, OtherThreadHalt)
 
 TEST (CoroTest, sequence_child)
 

Typedef Documentation

◆ Millisecond

using Millisecond = std::chrono::milliseconds

Definition at line 9 of file gtest_coroutines.cpp.

◆ Timepoint

using Timepoint = std::chrono::time_point<std::chrono::steady_clock>

Definition at line 10 of file gtest_coroutines.cpp.

Function Documentation

◆ executeWhileRunning()

BT::NodeStatus executeWhileRunning ( BT::TreeNode node)

Definition at line 73 of file gtest_coroutines.cpp.

◆ TEST() [1/4]

TEST ( CoroTest  ,
do_action   
)

Definition at line 84 of file gtest_coroutines.cpp.

◆ TEST() [2/4]

TEST ( CoroTest  ,
do_action_timeout   
)

Definition at line 109 of file gtest_coroutines.cpp.

◆ TEST() [3/4]

TEST ( CoroTest  ,
OtherThreadHalt   
)

Definition at line 149 of file gtest_coroutines.cpp.

◆ TEST() [4/4]

TEST ( CoroTest  ,
sequence_child   
)

Definition at line 129 of file gtest_coroutines.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08