#include <thread.h>
Definition at line 34 of file thread.h.
Common::Thread::Thread |
( |
std::function< void()> |
f, |
|
|
ThreadObserver * |
observer = 0 |
|
) |
| |
Starts f in a separate thread.
Definition at line 18 of file thread.cpp.
Common::Thread::~Thread |
( |
| ) |
|
static Thread::UniquePtr Common::Thread::Create |
( |
void(*)() |
f, |
|
|
ThreadObserver * |
observer = 0 |
|
) |
| |
|
inlinestatic |
void Common::Thread::Join |
( |
| ) |
|
Wait until started thread stop.
Definition at line 37 of file thread.cpp.
void Common::Thread::Run |
( |
| ) |
|
Calls in the separate thread from ThreadProc.
Definition at line 42 of file thread.cpp.
void Common::Thread::ThreadProc |
( |
Thread * |
thread | ) |
|
|
static |
static member required for std::thread
Definition at line 63 of file thread.cpp.
std::thread Common::Thread::Impl |
|
private |
The documentation for this class was generated from the following files: