Equalizer
2.1.0
Parallel Rendering Framework
|
An interface to process system messages or events. More...
#include <messagePump.h>
Public Member Functions | |
MessagePump () | |
Construct a new message pump. More... | |
virtual | ~MessagePump () |
Destruct this message pump. More... | |
virtual void | postWakeup ()=0 |
Unblock dispatchOne(). More... | |
virtual void | dispatchAll ()=0 |
Dispatch all pending system events, does not block. More... | |
virtual void | dispatchOne (const uint32_t timeout=LB_TIMEOUT_INDEFINITE)=0 |
Dispatch at least one pending system event, blocks potentially. More... | |
virtual void | register_ (deflect::Proxy *) |
Register a new Deflect connection for event dispatch. More... | |
virtual void | deregister (deflect::Proxy *) |
Deregister a Deflect connection from event dispatch. More... | |
An interface to process system messages or events.
Definition at line 27 of file messagePump.h.
|
inline |
|
inlinevirtual |
Destruct this message pump.
Reimplemented in eq::glx::MessagePump, and eq::wgl::MessagePump.
Definition at line 33 of file messagePump.h.
References dispatchAll(), dispatchOne(), and postWakeup().
|
inlinevirtual |
Deregister a Deflect connection from event dispatch.
Reimplemented in eq::glx::MessagePump.
Definition at line 55 of file messagePump.h.
|
pure virtual |
Dispatch all pending system events, does not block.
Implemented in eq::glx::MessagePump, and eq::wgl::MessagePump.
Referenced by ~MessagePump().
|
pure virtual |
Dispatch at least one pending system event, blocks potentially.
timeout | the time to wait for an event |
Implemented in eq::glx::MessagePump, and eq::wgl::MessagePump.
Referenced by ~MessagePump().
|
pure virtual |
Unblock dispatchOne().
Implemented in eq::glx::MessagePump, and eq::wgl::MessagePump.
Referenced by ~MessagePump().
|
inlinevirtual |
Register a new Deflect connection for event dispatch.
Reimplemented in eq::glx::MessagePump.
Definition at line 49 of file messagePump.h.