Equalizer
1.2.1
|
A message pump receiving and dispatching X11 events. More...
#include <messagePump.h>
Public Member Functions | |
MessagePump () | |
Construct a new X11 message pump. | |
virtual | ~MessagePump () |
Destruct this message pump. | |
virtual void | postWakeup () |
Unblock dispatchOne(). | |
virtual void | dispatchAll () |
Dispatch all pending system events, does not block. | |
virtual void | dispatchOne () |
Dispatch at least one pending system event, blocks potentially. | |
void | register_ (Display *display) |
Register a new Display connection for event dispatch. | |
void | deregister (Display *display) |
Deregister a Display connection from event dispatch. |
A message pump receiving and dispatching X11 events.
Definition at line 32 of file glx/messagePump.h.
virtual eq::glx::MessagePump::~MessagePump | ( | ) | [virtual] |
void eq::glx::MessagePump::deregister | ( | Display * | display | ) |
Deregister a Display connection from event dispatch.
virtual void eq::glx::MessagePump::dispatchAll | ( | ) | [virtual] |
virtual void eq::glx::MessagePump::dispatchOne | ( | ) | [virtual] |
Dispatch at least one pending system event, blocks potentially.
Implements eq::MessagePump.
virtual void eq::glx::MessagePump::postWakeup | ( | ) | [virtual] |
void eq::glx::MessagePump::register_ | ( | Display * | display | ) |
Register a new Display connection for event dispatch.
The registrations are referenced, that is, multiple registrations of the same display cause the Display to be added once to the event set, but require the same amount of deregistrations to stop event dispatch on the connection. Not threadsafe.