utility: Added messaging system

To use the messaging system the classes Message and MessageListener need to get derived. The Singelton MessageQueue is
responsible for managing listeners and sending messages in a threadsafe way.

review id = 9

fortune cookie message = You are on your track to starting something new.
This commit is contained in:
Eberhard Graether
2014-05-12 17:35:55 +02:00
parent c3cd0b7e6f
commit ed8d527b65
9 changed files with 518 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef MESSAGE_BASE_H
#define MESSAGE_BASE_H
#include <string>
class MessageBase
{
public:
virtual ~MessageBase()
{
}
virtual std::string getType() const = 0;
};
#endif // MESSAGE_BASE_H