|
Oxygine
1
2g game engine
|
#include <ThreadDispatcher.h>
Classes | |
| struct | message |
| struct | peekMessage |
Public Types | |
| typedef void(* | callback) (const message &m) |
Public Member Functions | |
| bool | empty () |
| size_t | size () |
| void | wait () |
| void | get (message &ev) |
| bool | peek (peekMessage &ev, bool del) |
| void | clear () |
| void * | send (int msgid, void *arg1, void *arg2) |
| void * | sendCallback (void *arg1, void *arg2, callback cb, void *cbData, bool highPriority=false) |
| void | sendCallback (const std::function< void()> &) |
| void | post (int msgid, void *arg1, void *arg2) |
| void | postCallback (int msgid, void *arg1, void *arg2, callback cb, void *cbData) |
| void | postCallback (void *arg1, void *arg2, callback cb, void *cbData) |
| void | postCallback (const std::function< void()> &) |
| void | removeCallback (int msgid, callback cb, void *cbData) |
| void | reply (void *val) |
| std::vector< message > & | lockMessages () |
| void | unlockMessages () |
Messages Queue used for communication between threads
1.8.14