SkyGI::MessageQueue Class Reference

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

Public Member Functions

 MessageQueue ()
bool RegisterWaitObject (sMultipleObjectWaitItem *pWaitObject)
MessageWait ()
virtual bool Process (bool &bExit, int &iExitCode)
virtual bool Filter (Message *pMessage)
bool Quit (int iReturnCode=-1)
bool Idle ()
MessageQuery (Window *pWindow, int iMessageType)

Constructor & Destructor Documentation

MessageQueue::MessageQueue (  ) 


Member Function Documentation

bool MessageQueue::RegisterWaitObject ( sMultipleObjectWaitItem *  pWaitObject  )  [virtual]

Implements SkyGI::EventSource.

Message * MessageQueue::Wait (  ) 

bool MessageQueue::Process ( bool &  bExit,
int &  iExitCode 
) [virtual]

Process a message

Description:
If this message is not filtered by Filter() and not a MSG_QUIT the associated Window::HandleMessage will be called.
Parameters:
piExitCode If message was a MSG_QUIT and piExitCode is a valid pointer the exit code specified in m_vpPara1 for MSG_QUIT messages will be writen to piExitCode

Implements SkyGI::EventSource.

Reimplemented in EventThreadMessageQueue.

bool MessageQueue::Filter ( Message pMessage  )  [virtual]

Reimplemented in SkyGI::PopupMenuMessageQueue, and SkyGI::ModalMessageQueue.

bool MessageQueue::Quit ( int  iReturnCode = -1  )  [virtual]

Post a quit message

Description:
Posts a quit message int the messagequeue of the owning thread

Reimplemented from SkyGI::EventSource.

bool MessageQueue::Idle (  )  [virtual]

Reimplemented from SkyGI::EventSource.

Message * MessageQueue::Query ( Window pWindow,
int  iMessageType 
)


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