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

#include <GUIEvent_CloseView.h>

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

Public Member Functions

const std::string & getCaption () const
GUIEventType getOwnType () const
 returns the event type
 GUIEvent_CloseView (const std::string &caption)
 constructor
 ~GUIEvent_CloseView ()
 destructor

Protected Attributes

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

Detailed Description

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

Definition at line 36 of file GUIEvent_CloseView.h.

Constructor & Destructor Documentation

◆ GUIEvent_CloseView()

GUIEvent_CloseView::GUIEvent_CloseView ( const std::string & caption)
inline

constructor

Definition at line 39 of file GUIEvent_CloseView.h.

References GUIEvent::GUIEvent(), and myCaption.

◆ ~GUIEvent_CloseView()

GUIEvent_CloseView::~GUIEvent_CloseView ( )
inline

destructor

Definition at line 44 of file GUIEvent_CloseView.h.

Member Function Documentation

◆ getCaption()

const std::string & GUIEvent_CloseView::getCaption ( ) const
inline

Definition at line 46 of file GUIEvent_CloseView.h.

References myCaption.

Referenced by GUIApplicationWindow::eventOccurred().

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 myType.

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

Here is the caller graph for this function:

Field Documentation

◆ myCaption

std::string GUIEvent_CloseView::myCaption
protected

The message.

Definition at line 53 of file GUIEvent_CloseView.h.

Referenced by getCaption(), and GUIEvent_CloseView().

◆ myType

GUIEventType GUIEvent::myType
protectedinherited

the type of the event

Definition at line 102 of file GUIEvent.h.

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


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