The message callbacks hold a reference to a message. More...
#include <message.hpp>
Public Member Functions | |
virtual | ~tmessage () |
The message callbacks hold a reference to a message.
The contents of the message differ per type. This class is a base with a virtual destructor, which makes it possible to use a dynamic_cast on the class received to make sure the proper message type is send.
This means all messages used in the events need to be derived from this class. When a message needs no `content' it can send this class as message. This is done by:
Definition at line 45 of file message.hpp.
|
inlinevirtual |
Definition at line 47 of file message.hpp.