reworked Queue, added TODO, corrected documentation, prepared execution of regular tasks in MainLoop

This commit is contained in:
john30
2015-10-31 16:22:13 +01:00
parent 944feb2a2e
commit bd1c991c77
8 changed files with 198 additions and 31 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ public:
* Add a client @a NetMessage to the queue.
* @param message the client @a NetMessage to handle.
*/
void addMessage(NetMessage* message) { m_netQueue.add(message); }
void addMessage(NetMessage* message) { m_netQueue.push(message); }
private:
@@ -80,8 +80,8 @@ private:
/** the created @a Network instance. */
Network* m_network;
/** the queue for @a NetMessage instances. */
WQueue<NetMessage*> m_netQueue;
/** the @a NetMessage @a Queue. */
Queue<NetMessage*> m_netQueue;
/** the path for HTML files served by the HTTP port. */
string m_htmlPath;