Classes | Typedefs | Functions
gtest_coroutines.cpp File Reference
#include "behaviortree_cpp_v3/decorators/timeout_node.h"
#include "behaviortree_cpp_v3/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, sequence_child)
 
 TEST (CoroTest, OtherThreadHalt)
 

Typedef Documentation

using Millisecond = std::chrono::milliseconds

Definition at line 9 of file gtest_coroutines.cpp.

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

Definition at line 10 of file gtest_coroutines.cpp.

Function Documentation

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

Definition at line 75 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
do_action   
)

Definition at line 87 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
do_action_timeout   
)

Definition at line 112 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
sequence_child   
)

Definition at line 132 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
OtherThreadHalt   
)

Definition at line 152 of file gtest_coroutines.cpp.



behaviotree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Tue May 4 2021 02:56:25