#include <MessageQueue.hxx>
template<typename Event>
class MessageQueue< Event >
- Examples
- tests/util/MessageQueue.cxx.
Definition at line 22 of file MessageQueue.hxx.
◆ Enumerable
template<typename Event >
◆ MessageQueue() [1/3]
template<typename Event >
◆ MessageQueue() [2/3]
template<typename Event >
◆ MessageQueue() [3/3]
template<typename Event >
◆ getEnumerable()
template<typename Event >
Blocks the thread until an event is received
- Returns
- an Enumerable of Events on the Queue
- Postcondition
- the Queue is emptied
-
Enumerable contains at least one Event
Definition at line 19 of file MessageQueue.inl.hxx.
◆ operator=() [1/2]
template<typename Event >
◆ operator=() [2/2]
template<typename Event >
◆ peek()
template<typename Event >
- Returns
- true if the queue contains a message
This method is non-blocking
Definition at line 13 of file MessageQueue.inl.hxx.
◆ push()
template<typename Event >
◆ wakeCondition()
template<typename Event >
- Precondition
- This thread owns a m_Semaphore Lock
- Returns
- true if the queue contains an event
Definition at line 28 of file MessageQueue.inl.hxx.
◆ m_OnEvent
template<typename Event >
◆ m_Queue
template<typename Event >
◆ m_Semaphore
template<typename Event >
The documentation for this class was generated from the following files: