Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
platform::Thread Class Reference

Class for all typed of threads. More...

#include <Thread.h>

List of all members.

Public Member Functions

const u32getID () const
const ThreadPrioritygetPriority () 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

Detailed Description

Class for all typed of threads.

Constructor & Destructor Documentation

platform::Thread::Thread ( )
platform::Thread::~Thread ( ) [virtual]

Member Function Documentation

const u32 & platform::Thread::getID ( ) const
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().

Member Data Documentation

Referenced by getID(), and Thread().

u32 platform::Thread::mIndexCounter = 0 [static, private]

Referenced by Thread().

Referenced by getPriority(), setPriority(), and Thread().

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

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by Doxygen (1.7.4)