CARLA
Functions
test_recurrent_shared_future.cpp File Reference
#include "test.h"
#include <carla/RecurrentSharedFuture.h>
#include <carla/ThreadGroup.h>
#include <atomic>
+ Include dependency graph for test_recurrent_shared_future.cpp:

Go to the source code of this file.

Functions

 TEST (recurrent_shared_future, use_case)
 
 TEST (recurrent_shared_future, timeout)
 
 TEST (recurrent_shared_future, exception)
 

Function Documentation

◆ TEST() [1/3]

TEST ( recurrent_shared_future  ,
use_case   
)

Definition at line 15 of file test_recurrent_shared_future.cpp.

References carla::ThreadGroup::CreateThreads(), carla::ThreadGroup::JoinAll(), carla::RecurrentSharedFuture< T >::SetValue(), and carla::RecurrentSharedFuture< T >::WaitFor().

+ Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( recurrent_shared_future  ,
timeout   
)

Definition at line 46 of file test_recurrent_shared_future.cpp.

References carla::RecurrentSharedFuture< T >::WaitFor().

+ Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( recurrent_shared_future  ,
exception   
)

Definition at line 53 of file test_recurrent_shared_future.cpp.

References carla::ThreadGroup::CreateThread(), carla::RecurrentSharedFuture< T >::SetException(), and carla::RecurrentSharedFuture< T >::WaitFor().

+ Here is the call graph for this function: