SUMO - Simulation of Urban MObility
GUIEvent_Message Class Reference

#include <GUIEvent_Message.h>

Inheritance diagram for GUIEvent_Message:
GUIEvent

Public Member Functions

const std::string & getMsg () const
 Returns the message.
GUIEventType getOwnType () const
 returns the event type
 GUIEvent_Message (MsgHandler::MsgType type, const std::string &msg)
 constructor
 ~GUIEvent_Message ()
 destructor

Protected Attributes

std::string myMsg
 The message.
GUIEventType myType
 the type of the event

Detailed Description

GUIEvent_Message Throw from GUIRunThread to GUIApplicationWindow and then further to all displays after a step has been performed

Definition at line 46 of file GUIEvent_Message.h.


Constructor & Destructor Documentation

destructor

Definition at line 67 of file GUIEvent_Message.h.


Member Function Documentation

const std::string& GUIEvent_Message::getMsg ( ) const [inline]

Returns the message.

Definition at line 70 of file GUIEvent_Message.h.

References myMsg.

Referenced by GUIApplicationWindow::handleEvent_Message().

GUIEventType GUIEvent::getOwnType ( ) const [inline, inherited]

returns the event type

Definition at line 77 of file GUIEvent.h.

References GUIEvent::myType.

Referenced by GUIApplicationWindow::eventOccured(), and GUIApplicationWindow::handleEvent_Message().


Field Documentation

std::string GUIEvent_Message::myMsg [protected]

The message.

Definition at line 77 of file GUIEvent_Message.h.

Referenced by getMsg().

GUIEventType GUIEvent::myType [protected, inherited]

the type of the event

Definition at line 92 of file GUIEvent.h.

Referenced by GUIEvent::getOwnType(), and GUIEvent_Message().


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines