Theora Playback Library  1.0.0
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
TheoraThread Class Referenceabstract
Inheritance diagram for TheoraThread:
TheoraWorkerThread

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...
 

Detailed Description

This is a Mutex object, used in thread syncronization.

Constructor & Destructor Documentation

TheoraThread::TheoraThread ( )
virtual TheoraThread::~TheoraThread ( )
virtual

Member Function Documentation

virtual void TheoraThread::executeThread ( )
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

Member Data Documentation

pthread_t TheoraThread::mHandle
protected
volatile bool TheoraThread::mThreadRunning
protected

Indicates whether the thread is running. As long as this is true, the thread runs in a loop.


The documentation for this class was generated from the following file: