![]() |
Theora Playback Library
1.0.0
|
Public Member Functions | |
TheoraThread () | |
virtual | ~TheoraThread () |
void | startThread () |
Creates the thread object and runs it. More... | |
virtual void | executeThread ()=0 |
The main thread loop function. More... | |
void | waitforThread () |
sets mThreadRunning to false and waits for the thread to complete the last cycle More... | |
Protected Attributes | |
pthread_t | mHandle |
volatile bool | mThreadRunning |
Indicates whether the thread is running. As long as this is true, the thread runs in a loop. More... | |
This is a Mutex object, used in thread syncronization.
TheoraThread::TheoraThread | ( | ) |
|
virtual |
|
pure virtual |
The main thread loop function.
Implemented in TheoraWorkerThread.
void TheoraThread::startThread | ( | ) |
Creates the thread object and runs it.
void TheoraThread::waitforThread | ( | ) |
sets mThreadRunning to false and waits for the thread to complete the last cycle
|
protected |
|
protected |
Indicates whether the thread is running. As long as this is true, the thread runs in a loop.