Equalizer  1.2.1
Public Member Functions
eq::glx::MessagePump Class Reference

A message pump receiving and dispatching X11 events. More...

#include <messagePump.h>

+ Inheritance diagram for eq::glx::MessagePump:
+ Collaboration diagram for eq::glx::MessagePump:

List of all members.

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.

Detailed Description

A message pump receiving and dispatching X11 events.

Definition at line 32 of file glx/messagePump.h.


Constructor & Destructor Documentation

Construct a new X11 message pump.

Version:
1.0

Reimplemented from eq::MessagePump.

virtual eq::glx::MessagePump::~MessagePump ( ) [virtual]

Destruct this message pump.

Version:
1.0

Reimplemented from eq::MessagePump.


Member Function Documentation

void eq::glx::MessagePump::deregister ( Display *  display)

Deregister a Display connection from event dispatch.

Version:
1.0
virtual void eq::glx::MessagePump::dispatchAll ( ) [virtual]

Dispatch all pending system events, does not block.

Version:
1.0

Implements eq::MessagePump.

virtual void eq::glx::MessagePump::dispatchOne ( ) [virtual]

Dispatch at least one pending system event, blocks potentially.

Version:
1.0

Implements eq::MessagePump.

virtual void eq::glx::MessagePump::postWakeup ( ) [virtual]

Unblock dispatchOne().

Version:
1.0

Implements eq::MessagePump.

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.

See also:
EventHandler
Version:
1.0

The documentation for this class was generated from the following file:
Generated on Fri Jun 8 2012 15:44:36 for Equalizer 1.2.1 by  doxygen 1.8.0