SUMO - Simulation of Urban MObility
|
#include <GUIEvent_Message.h>
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 |
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.
GUIEvent_Message::GUIEvent_Message | ( | MsgHandler::MsgType | type, |
const std::string & | msg | ||
) | [inline] |
constructor
Definition at line 49 of file GUIEvent_Message.h.
References EVENT_ERROR_OCCURED, EVENT_MESSAGE_OCCURED, EVENT_WARNING_OCCURED, MsgHandler::MT_ERROR, MsgHandler::MT_MESSAGE, MsgHandler::MT_WARNING, and GUIEvent::myType.
GUIEvent_Message::~GUIEvent_Message | ( | ) | [inline] |
destructor
Definition at line 67 of file GUIEvent_Message.h.
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().
std::string GUIEvent_Message::myMsg [protected] |
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().