Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
Class for all typed of threads. More...
#include <Thread.h>
Public Member Functions | |
const u32 & | getID () const |
const ThreadPriority & | getPriority () const |
bool | isRunning () const |
void | join () |
void | setPriority (const ThreadPriority &priority) |
void | start () |
Thread () | |
virtual | ~Thread () |
Private Member Functions | |
virtual bool | isRunningImpl () const =0 |
virtual void | joinImpl ()=0 |
virtual void | setPriorityImpl (const ThreadPriority &priority)=0 |
virtual void | startImpl ()=0 |
Private Attributes | |
u32 | mID |
ThreadPriority | mPriority |
Static Private Attributes | |
static u32 | mIndexCounter = 0 |
Class for all typed of threads.
platform::Thread::Thread | ( | ) |
References mID, mIndexCounter, mPriority, and platform::TP_NORMAL.
platform::Thread::~Thread | ( | ) | [virtual] |
const u32 & platform::Thread::getID | ( | ) | const |
References mID.
Referenced by platform::PlatformManager::createThread(), and platform::PlatformManager::removeThread().
const ThreadPriority & platform::Thread::getPriority | ( | ) | const |
References mPriority.
bool platform::Thread::isRunning | ( | ) | const |
References isRunningImpl().
virtual bool platform::Thread::isRunningImpl | ( | ) | const [private, pure virtual] |
Referenced by isRunning().
void platform::Thread::join | ( | ) |
References joinImpl().
virtual void platform::Thread::joinImpl | ( | ) | [private, pure virtual] |
Referenced by join().
void platform::Thread::setPriority | ( | const ThreadPriority & | priority | ) |
References mPriority, and setPriorityImpl().
virtual void platform::Thread::setPriorityImpl | ( | const ThreadPriority & | priority | ) | [private, pure virtual] |
Referenced by setPriority().
void platform::Thread::start | ( | ) |
References startImpl().
virtual void platform::Thread::startImpl | ( | ) | [private, pure virtual] |
Referenced by start().
u32 platform::Thread::mID [private] |
u32 platform::Thread::mIndexCounter = 0 [static, private] |
Referenced by Thread().
ThreadPriority platform::Thread::mPriority [private] |
Referenced by getPriority(), setPriority(), and Thread().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by
Doxygen
(1.7.4)
|