Equalizer 1.0

eq::GLXMessagePump Class Reference

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

#include <glXMessagePump.h>

Inheritance diagram for eq::GLXMessagePump:
Collaboration diagram for eq::GLXMessagePump:

List of all members.

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.

Detailed Description

A message pump receiving and dispatching X11 events.

Definition at line 30 of file glXMessagePump.h.


Constructor & Destructor Documentation

eq::GLXMessagePump::GLXMessagePump ( )

Construct a new X11 message pump.

Version:
1.0
virtual eq::GLXMessagePump::~GLXMessagePump ( ) [virtual]

Destruct this message pump.

Version:
1.0

Member Function Documentation

void eq::GLXMessagePump::deregister ( Display *  display)

Deregister a Display connection from event dispatch.

Version:
1.0
virtual void eq::GLXMessagePump::dispatchAll ( ) [virtual]

Dispatch all pending system events, does not block.

Version:
1.0

Implements eq::MessagePump.

virtual void eq::GLXMessagePump::dispatchOne ( ) [virtual]

Dispatch at least one pending system event, blocks potentially.

Version:
1.0

Implements eq::MessagePump.

virtual void eq::GLXMessagePump::postWakeup ( ) [virtual]

Unblock dispatchOne().

Version:
1.0

Implements eq::MessagePump.

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.

See also:
GLXEventHandler
Version:
1.0

The documentation for this class was generated from the following file:
Generated on Sun May 8 2011 19:11:09 for Equalizer 1.0 by  doxygen 1.7.3