#include <ThreadLoop.hpp>
Inherited by RenderThread.
◆ State
Thread state.
Enumerator |
---|
STATE_RUN | |
STATE_CANCEL | |
STATE_EXIT | |
◆ ThreadLoop()
ThreadLoop::ThreadLoop |
( |
| ) |
|
◆ ~ThreadLoop()
ThreadLoop::~ThreadLoop |
( |
| ) |
|
|
virtual |
◆ cancel()
void ThreadLoop::cancel |
( |
| ) |
|
◆ create()
void ThreadLoop::create |
( |
| ) |
|
◆ next()
virtual bool ThreadLoop::next |
( |
| ) |
|
|
pure virtual |
◆ runLoop()
void ThreadLoop::runLoop |
( |
| ) |
|
|
protected |
◆ running()
bool ThreadLoop::running |
( |
| ) |
|
◆ setCallback()
◆ setState()
void ThreadLoop::setState |
( |
State | state | ) |
|
|
protected |
◆ start()
void ThreadLoop::start |
( |
| ) |
|
◆ stop()
void ThreadLoop::stop |
( |
| ) |
|
◆ wait()
void ThreadLoop::wait |
( |
| ) |
|
◆ operator<<
◆ callback_
◆ condition_
std::condition_variable ThreadLoop::condition_ |
|
protected |
◆ conditionCaller_
std::condition_variable ThreadLoop::conditionCaller_ |
|
protected |
◆ finished_
bool ThreadLoop::finished_ |
|
protected |
◆ mutex_
std::mutex ThreadLoop::mutex_ |
|
protected |
◆ mutexCaller_
std::mutex ThreadLoop::mutexCaller_ |
|
protected |
◆ received_
bool ThreadLoop::received_ |
|
protected |
◆ state_
◆ thread_
std::shared_ptr<std::thread> ThreadLoop::thread_ |
|
protected |
◆ waiting_
bool ThreadLoop::waiting_ |
|
protected |
The documentation for this class was generated from the following files:
- ThreadLoop.hpp
- ThreadLoop.cpp