#include <MessageQueue.h>
Public Member Functions | |
MessageQueue (int max) | |
void | newMessage (int playerid, const char *msg) |
void | newMessage (msgstruct msg) |
int | deleteMessages (int id) |
msgstruct | getNextMessage () |
int | getNumMessages () |
bool | isEmpty () |
int | delMessageFrom (int id) |
Private Attributes | |
Message * | msg |
int | num |
int | max |
Definition at line 6 of file MessageQueue.h.
|
Definition at line 3 of file MessageQueue.cpp. |
|
|
|
Definition at line 47 of file MessageQueue.cpp. References Message::isFrom(), and msg. Here is the call graph for this function: |
|
Definition at line 27 of file MessageQueue.cpp. References msgstruct::msg, msg, num, and msgstruct::playerid. Referenced by Gne::getNextMessage(). |
|
Definition at line 22 of file MessageQueue.cpp. References num. |
|
Definition at line 40 of file MessageQueue.cpp. References num. Referenced by Gne::isMessagePending(). |
|
Definition at line 15 of file MessageQueue.cpp. References msgstruct::msg, num, and msgstruct::playerid. |
|
Definition at line 9 of file MessageQueue.cpp. References num. Referenced by Gne::aPlayer(), Gne::clientThread(), and Gne::sendChatMsg(). |
|
Definition at line 10 of file MessageQueue.h. |
|
Definition at line 8 of file MessageQueue.h. Referenced by delMessageFrom(), getNextMessage(), and MessageQueue(). |
|
Definition at line 9 of file MessageQueue.h. Referenced by getNextMessage(), getNumMessages(), isEmpty(), MessageQueue(), and newMessage(). |