Equalizer 1.0
|
A message pump receiving and dispatching X11 events. More...
#include <glXMessagePump.h>
Public Member Functions | |
GLXMessagePump () | |
Construct a new X11 message pump. | |
virtual | ~GLXMessagePump () |
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 30 of file glXMessagePump.h.
eq::GLXMessagePump::GLXMessagePump | ( | ) |
Construct a new X11 message pump.
virtual eq::GLXMessagePump::~GLXMessagePump | ( | ) | [virtual] |
Destruct this message pump.
void eq::GLXMessagePump::deregister | ( | Display * | display | ) |
Deregister a Display connection from event dispatch.
virtual void eq::GLXMessagePump::dispatchAll | ( | ) | [virtual] |
virtual void eq::GLXMessagePump::dispatchOne | ( | ) | [virtual] |
Dispatch at least one pending system event, blocks potentially.
Implements eq::MessagePump.
virtual void eq::GLXMessagePump::postWakeup | ( | ) | [virtual] |
void eq::GLXMessagePump::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.