19 #ifndef EQ_COMMANDQUEUE_H 20 #define EQ_COMMANDQUEUE_H 22 #include <co/commandQueue.h> 24 #include <eq/windowSystem.h> 40 virtual void push(
const co::ICommand& command);
43 virtual void pushFront(
const co::ICommand& command);
46 virtual co::ICommand
pop(
const uint32_t timeout = LB_TIMEOUT_INDEFINITE);
49 virtual co::ICommands
popAll(
50 const uint32_t timeout = LB_TIMEOUT_INDEFINITE);
53 virtual co::ICommand
tryPop();
58 const int64_t time = _waitTime;
63 void setMessagePump(
MessagePump* p) { _messagePump = p; }
64 MessagePump* getMessagePump() {
return _messagePump; }
75 #endif // EQ_COMMANDQUEUE_H virtual co::ICommand tryPop()
virtual void pushFront(const co::ICommand &command)
virtual co::ICommand pop(const uint32_t timeout=LB_TIMEOUT_INDEFINITE)
virtual co::ICommands popAll(const uint32_t timeout=LB_TIMEOUT_INDEFINITE)
An interface to process system messages or events.
The Equalizer client library.
virtual void push(const co::ICommand &command)