Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIEvent_Message Class Reference

#include <GUIEvent_Message.h>

Inheritance diagram for GUIEvent_Message:
[legend]
Collaboration diagram for GUIEvent_Message:
[legend]

Public Member Functions

const std::string & getMsg () const
 Returns the message.
 
GUIEventType getOwnType () const
 returns the event type
 
 GUIEvent_Message (const std::string &msg)
 constructor
 
 GUIEvent_Message (GUIEventType type, const std::string &msg)
 
 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 36 of file GUIEvent_Message.h.

Constructor & Destructor Documentation

◆ GUIEvent_Message() [1/3]

GUIEvent_Message::GUIEvent_Message ( const std::string &  msg)
inline

constructor

Definition at line 39 of file GUIEvent_Message.h.

◆ GUIEvent_Message() [2/3]

GUIEvent_Message::GUIEvent_Message ( GUIEventType  type,
const std::string &  msg 
)
inline

Definition at line 43 of file GUIEvent_Message.h.

◆ GUIEvent_Message() [3/3]

GUIEvent_Message::GUIEvent_Message ( MsgHandler::MsgType  type,
const std::string &  msg 
)
inline

◆ ~GUIEvent_Message()

GUIEvent_Message::~GUIEvent_Message ( )
inline

destructor

Definition at line 71 of file GUIEvent_Message.h.

Member Function Documentation

◆ getMsg()

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

Returns the message.

Definition at line 74 of file GUIEvent_Message.h.

References myMsg.

Referenced by GUIApplicationWindow::handleEvent_Message(), GNEApplicationWindow::handleEvent_Message(), GNERunNetgenerateDialog::onThreadEvent(), and GNERunPythonToolDialog::onThreadEvent().

Here is the caller graph for this function:

◆ getOwnType()

GUIEventType GUIEvent::getOwnType ( ) const
inlineinherited

returns the event type

Definition at line 89 of file GUIEvent.h.

References GUIEvent::myType.

Referenced by GUIApplicationWindow::eventOccurred(), GNEApplicationWindow::eventOccurred(), GUIApplicationWindow::handleEvent_Message(), GNEApplicationWindow::handleEvent_Message(), GNERunNetgenerateDialog::onThreadEvent(), and GNERunPythonToolDialog::onThreadEvent().

Here is the caller graph for this function:

Field Documentation

◆ myMsg

std::string GUIEvent_Message::myMsg
protected

The message.

Definition at line 81 of file GUIEvent_Message.h.

Referenced by getMsg().

◆ myType

GUIEventType GUIEvent::myType
protectedinherited

the type of the event

Definition at line 102 of file GUIEvent.h.

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


The documentation for this class was generated from the following file: