18 #ifndef EQ_GLX_MESSAGEPUMP_H
19 #define EQ_GLX_MESSAGEPUMP_H
21 #include <eq/glx/types.h>
22 #include <eq/messagePump.h>
25 #include <co/connectionSet.h>
26 #include <lunchbox/stdExt.h>
44 void dispatchOne(
const uint32_t timeout=LB_TIMEOUT_INDEFINITE )
final;
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 dispatchAll() final
Dispatch all pending system events, does not block.
void deregister(Display *display)
Deregister a Display connection from event dispatch.
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.
void dispatchOne(const uint32_t timeout=LB_TIMEOUT_INDEFINITE) final
Dispatch at least one pending system event, blocks potentially.
void postWakeup() final
Unblock dispatchOne().