neoGFX
Cross-platform C++ app/game engine
|
#include <queue.hpp>
Classes | |
struct | no_sink |
class | sink |
Public Types | |
typedef QueueItem | value_type |
Public Member Functions | |
queue () | |
queue (sink &aSink) | |
void | wait () |
bool | wait (uint32_t aTimeout_ms) |
void | loop (bool(*aYieldProc)()=nullptr) |
void | loop (uint32_t aTimeout_ms, bool(*aYieldProc)()=nullptr) |
void | send (const QueueItem &aItem) |
bool | send (const QueueItem &aItem, uint32_t aTimeout_ms) |
void | send (const event &aEvent, const QueueItem &aItem) |
bool | send (const event &aEvent, const QueueItem &aItem, uint32_t aTimeout_ms) |
void | interlocked_send (const interlockable &aOther, const QueueItem &aItem) |
bool | interlocked_send (const interlockable &aOther, const QueueItem &aItem, uint32_t aTimeout_ms) |
void | interlocked_send (const interlockable &aOther, const event &aEvent, const QueueItem &aItem) |
bool | interlocked_send (const interlockable &aOther, const event &aEvent, const QueueItem &aItem, uint32_t aTimeout_ms) |
void | post (const QueueItem &aItem) |
QueueItem & | next () |
void | pop_next () |
bool | any () const |
void | clear () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |