SkyGI::WindowThread Class Reference

Inheritance diagram for SkyGI::WindowThread:
[legend]
Collaboration diagram for SkyGI::WindowThread:
[legend]
List of all members.

Public Member Functions

 WindowThread (const String &szName)
 ~WindowThread ()
MessageQueueGetMessageQueue ()

Public Attributes

Privatem

Classes

class  Private

Detailed Description

Thread

Description:
This virtual base class can be used to create threads.
Note:
This thread class will handle windows, meaning the if you create windows from within this thread, the thread itself is resposible for handling its MessageQueue.
Example:
                class MyThread : public Thread
                {
                public:
                        MyThread();
                        int Run() { printf("Hello from thread!\n");
                };

                MyThread::MyThread() : Thread("mythread") {};

                ...
                MyThread *pThread = new MyThread();
                MyThread->Start();
                ...
See also:
WindowThread, WindowThread::GetMessageQueue, MessageQueue


Constructor & Destructor Documentation

WindowThread::WindowThread ( const String szName  ) 

WindowThread::~WindowThread (  ) 


Member Function Documentation

MessageQueue * WindowThread::GetMessageQueue (  ) 


Member Data Documentation

Private* SkyGI::WindowThread::m

Reimplemented from SkyGI::Thread.


Generated on Thu Dec 13 18:14:12 2007 for SkyGI by  doxygen 1.5.1-p1