BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
BALL::VIEW::MessageEvent Class Reference

#include <BALL/VIEW/KERNEL/threads.h>

Inheritance diagram for BALL::VIEW::MessageEvent:
QEvent

Public Member Functions

 MessageEvent (Message *msg=0)
 
void setMessage (Message *msg)
 
MessagegetMessage ()
 

Protected Attributes

Messagemessage_
 

Detailed Description

A QT Event, that can contain a VIEW message. Use this class to post events and thus messages over thread boundaries. Create the Message on the heap, it will be automatically deleted after sending!

Definition at line 31 of file threads.h.

Constructor & Destructor Documentation

BALL::VIEW::MessageEvent::MessageEvent ( Message msg = 0)
inline

Definition at line 37 of file threads.h.

Member Function Documentation

Message* BALL::VIEW::MessageEvent::getMessage ( )
inline

Definition at line 46 of file threads.h.

void BALL::VIEW::MessageEvent::setMessage ( Message msg)
inline

Definition at line 43 of file threads.h.

Member Data Documentation

Message* BALL::VIEW::MessageEvent::message_
protected

Definition at line 50 of file threads.h.