18 #ifndef EQ_AGL_MESSAGEPUMP_H
19 #define EQ_AGL_MESSAGEPUMP_H
21 #include <eq/defines.h>
24 #include <eq/agl/types.h>
25 #include <eq/messagePump.h>
26 #include <lunchbox/clock.h>
39 virtual ~MessagePump();
41 virtual void postWakeup();
42 virtual void dispatchAll();
43 virtual void dispatchOne(
const uint32_t timeout=LB_TIMEOUT_INDEFINITE);
46 EventQueueRef _receiverQueue;
47 EventRef _wakeupEvent;
48 lunchbox::Clock _clock;
54 void _initReceiverQueue();
59 #endif // EQ_AGL_MESSAGEPUMP_H
An interface to process system messages or events.