Classes | Typedefs | Functions
gtest_coroutines.cpp File Reference
#include "behaviortree_cpp/decorators/timeout_node.h"
#include "behaviortree_cpp/behavior_tree.h"
#include <chrono>
#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)
 

Typedef Documentation

using Millisecond = std::chrono::milliseconds

Definition at line 8 of file gtest_coroutines.cpp.

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

Definition at line 9 of file gtest_coroutines.cpp.

Function Documentation

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

Definition at line 74 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
do_action   
)

Definition at line 86 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
do_action_timeout   
)

Definition at line 111 of file gtest_coroutines.cpp.

TEST ( CoroTest  ,
sequence_child   
)

Definition at line 131 of file gtest_coroutines.cpp.



behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 18:04:05