Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

com::EventQueue Class Reference

#include <EventQueue.h>

List of all members.

Detailed Description

Simple event queue.

When using XPCOM, this will map onto the default XPCOM queue for the thread. So, if a queue is created on the main thread, it automatically processes XPCOM/IPC events while waiting for its own (Event) events.

When using Windows, Darwin and OS/2, this will map onto the native thread queue/runloop. So, windows messages and what not will be processed while waiting for events.

Definition at line 83 of file EventQueue.h.

Public Member Functions

 EventQueue ()
int getSelectFD ()
BOOL handleEvent (Event *event)
int interruptEventQueueProcessing ()
BOOL postEvent (Event *event)
int processEventQueue (uint32_t cMsTimeout)
BOOL waitForEvent (Event **event)

Static Public Member Functions

static EventQueuegetMainEventQueue ()
static int init ()
static int uninit ()

Private Attributes

HANDLE mhThread
DWORD mThreadId

Static Private Attributes

static EventQueuemMainQueue = NULL

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

Generated by  Doxygen 1.6.0   Back to index