ADTF  3.18.2
cExecutorThread

This is a helper class that executes calls in a thread. More...

Inheritance diagram for cExecutorThread:
[legend]

Public Member Functions

tResult Execute (std::function< tResult()> fnAction)
 

Private Types

typedef std::function< void()> action_type
 

Private Attributes

std::thread m_oThread
 
std::mutex m_oActionMutex
 
action_type m_fnAction
 
bool m_bQuitThread = false
 
std::condition_variable m_oNewAction
 

Detailed Description

This is a helper class that executes calls in a thread.

Definition at line 116 of file ucom3/include/adtfucom3/test_runtime.h.