Inheritance diagram for Exponent::Threading::IThread:
Definition at line 38 of file IThread.hpp.
Priority of the thread.
e_highPriority | High priority, eg audio |
e_normalPriority | Normal priority |
e_lowPriority | Low priority thread |
Definition at line 48 of file IThread.hpp.
Exponent::Threading::IThread::IThread | ( | ) | [inline] |
Construction
Definition at line 75 of file IThread.hpp.
virtual Exponent::Threading::IThread::~IThread | ( | ) | [inline, virtual] |
Destruction
Definition at line 80 of file IThread.hpp.
virtual IThread::SThreadHandle* Exponent::Threading::IThread::getThreadHandle | ( | ) | [pure virtual] |
Get the thread handle
IThread::SThreadHandle | * Handle to the thread |
Implemented in Exponent::Threading::CThread.
virtual IThreadListener* Exponent::Threading::IThread::getThreadListener | ( | ) | [pure virtual] |
Get the thread listener
IThreadListener* | The thread listener |
Implemented in Exponent::Threading::CThread.
virtual IThread::EThreadPriority Exponent::Threading::IThread::getThreadPriority | ( | ) | const [pure virtual] |
Get the thread priority
Implemented in Exponent::Threading::CThread.
virtual bool Exponent::Threading::IThread::isThreadActive | ( | ) | const [pure virtual] |
Is thread active
bool | True if thread is running, false otherwise |
Implemented in Exponent::Threading::CThread.
virtual void Exponent::Threading::IThread::registerThreadListener | ( | IThreadListener * | listener | ) | [pure virtual] |
Register the thread listener
listener | The thread listener |
Implemented in Exponent::Threading::CThread.
virtual bool Exponent::Threading::IThread::runThread | ( | ) | [pure virtual] |
Do the actual process. Normally in a threaded object you would overload this function and do some interesting stuff inside
bool | True if you completed properly, false otherwise |
Implemented in Exponent::Threading::CThread.
virtual void Exponent::Threading::IThread::setCriticalSection | ( | CCriticalSection * | criticalSection | ) | [pure virtual] |
Set the critical section
criticalSection | The ciritical setion |
Implemented in Exponent::Threading::CThread.
virtual void Exponent::Threading::IThread::setThreadHandle | ( | IThread::SThreadHandle * | threadHandle | ) | [pure virtual] |
Set the Thread handle
threadHandle | The handle to the thread You now own this pointer |
Implemented in Exponent::Threading::CThread.
virtual void Exponent::Threading::IThread::setThreadPriority | ( | const IThread::EThreadPriority | priority | ) | [pure virtual] |
Set the thread priority
priority | The thread priority |
Implemented in Exponent::Threading::CThread.
virtual void Exponent::Threading::IThread::sleepThread | ( | const long | timeInMilliseconds | ) | [pure virtual] |
Sleep the thread
timeInMilliseconds | The sleep time in msec |
Implemented in Exponent::Threading::CThread.
virtual void Exponent::Threading::IThread::stopThread | ( | ) | [pure virtual] |
Stop the thread
Implemented in Exponent::Threading::CThread.