Equalizer  2.0.0
Parallel Rendering Framework
eq::wgl::MessagePump Class Reference

Processes OS messages on Win32 systems. More...

#include <messagePump.h>

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

Public Member Functions

EQ_API MessagePump ()
 Construct a new WGL message pump. More...
 
virtual ~MessagePump ()
 Destruct this message pump. More...
 
EQ_API void postWakeup () override
 Unblock dispatchOne(). More...
 
EQ_API void dispatchAll () override
 Dispatch all pending system events, does not block. More...
 
EQ_API void dispatchOne (const uint32_t timeout=LB_TIMEOUT_INDEFINITE) override
 Dispatch at least one pending system event, blocks potentially. More...
 
- Public Member Functions inherited from eq::MessagePump
 MessagePump ()
 Construct a new message pump. 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...
 

Detailed Description

Processes OS messages on Win32 systems.

Definition at line 28 of file wgl/messagePump.h.

Constructor & Destructor Documentation

EQ_API eq::wgl::MessagePump::MessagePump ( )

Construct a new WGL message pump.

Version
1.0
virtual eq::wgl::MessagePump::~MessagePump ( )
inlinevirtual

Destruct this message pump.

Version
1.0

Reimplemented from eq::MessagePump.

Definition at line 35 of file wgl/messagePump.h.

References dispatchAll(), dispatchOne(), and postWakeup().

+ Here is the call graph for this function:

Member Function Documentation

EQ_API void eq::wgl::MessagePump::dispatchAll ( )
overridevirtual

Dispatch all pending system events, does not block.

Version
1.0

Implements eq::MessagePump.

Referenced by ~MessagePump().

+ Here is the caller graph for this function:

EQ_API void eq::wgl::MessagePump::dispatchOne ( const uint32_t  timeout = LB_TIMEOUT_INDEFINITE)
overridevirtual

Dispatch at least one pending system event, blocks potentially.

Parameters
timeoutthe time to wait for an event
Version
1.0

Implements eq::MessagePump.

Referenced by ~MessagePump().

+ Here is the caller graph for this function:

EQ_API void eq::wgl::MessagePump::postWakeup ( )
overridevirtual

Unblock dispatchOne().

Version
1.0

Implements eq::MessagePump.

Referenced by ~MessagePump().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: