18 #ifndef EQ_GLX_MESSAGEPUMP_H
19 #define EQ_GLX_MESSAGEPUMP_H
21 #include <eq/client/glx/types.h>
22 #include <eq/client/messagePump.h>
23 #include <eq/client/types.h>
25 #include <co/connectionSet.h>
26 #include <lunchbox/stdExt.h>
44 virtual void dispatchOne(
const uint32_t timeout=LB_TIMEOUT_INDEFINITE);
63 void register_( dc::Proxy* dcProxy )
override;
66 void deregister( dc::Proxy* dcProxy )
override;
69 co::ConnectionSet _connections;
70 stde::hash_map< void*, size_t > _referenced;
74 #endif //EQ_GLX_MESSAGEPUMP_H
A message pump receiving and dispatching X11 events.
void deregister(Display *display)
Deregister a Display connection from event dispatch.
virtual void postWakeup()
Unblock dispatchOne().
void register_(Display *display)
Register a new Display connection for event dispatch.
virtual ~MessagePump()
Destruct this message pump.
An interface to process system messages or events.
MessagePump()
Construct a new X11 message pump.
virtual void dispatchAll()
Dispatch all pending system events, does not block.
virtual void dispatchOne(const uint32_t timeout=LB_TIMEOUT_INDEFINITE)
Dispatch at least one pending system event, blocks potentially.