Public Member Functions

gui2::event::tmessage Struct Reference

The message callbacks hold a reference to a message. More...

#include <message.hpp>

Inheritance diagram for gui2::event::tmessage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~tmessage ()

Detailed Description

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: * REQUEST_PLACEMENT

Definition at line 44 of file message.hpp.


Constructor & Destructor Documentation

virtual gui2::event::tmessage::~tmessage (  )  [inline, virtual]

Definition at line 46 of file message.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:36 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs