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

#include <GUIEvent_AddView.h>

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

Public Member Functions

const std::string & getCaption () const
GUIEventType getOwnType () const
 returns the event type
const std::string & getSchemeName () const
 GUIEvent_AddView (const std::string &caption, const std::string schemeName, bool in3D)
 constructor
bool in3D () const
 ~GUIEvent_AddView ()
 destructor

Protected Attributes

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

Detailed Description

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

Definition at line 36 of file GUIEvent_AddView.h.

Constructor & Destructor Documentation

◆ GUIEvent_AddView()

GUIEvent_AddView::GUIEvent_AddView ( const std::string & caption,
const std::string schemeName,
bool in3D )
inline

constructor

Definition at line 39 of file GUIEvent_AddView.h.

References GUIEvent::GUIEvent(), in3D(), myCaption, myIn3D, and mySchemeName.

◆ ~GUIEvent_AddView()

GUIEvent_AddView::~GUIEvent_AddView ( )
inline

destructor

Definition at line 44 of file GUIEvent_AddView.h.

Member Function Documentation

◆ getCaption()

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

Definition at line 46 of file GUIEvent_AddView.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:

◆ getSchemeName()

const std::string & GUIEvent_AddView::getSchemeName ( ) const
inline

Definition at line 49 of file GUIEvent_AddView.h.

References mySchemeName.

Referenced by GUIApplicationWindow::eventOccurred().

Here is the caller graph for this function:

◆ in3D()

bool GUIEvent_AddView::in3D ( ) const
inline

Definition at line 52 of file GUIEvent_AddView.h.

References myIn3D.

Referenced by GUIApplicationWindow::eventOccurred(), and GUIEvent_AddView().

Here is the caller graph for this function:

Field Documentation

◆ myCaption

std::string GUIEvent_AddView::myCaption
protected

The message.

Definition at line 59 of file GUIEvent_AddView.h.

Referenced by getCaption(), and GUIEvent_AddView().

◆ myIn3D

bool GUIEvent_AddView::myIn3D
protected

Definition at line 63 of file GUIEvent_AddView.h.

Referenced by GUIEvent_AddView(), and in3D().

◆ mySchemeName

std::string GUIEvent_AddView::mySchemeName
protected

Definition at line 61 of file GUIEvent_AddView.h.

Referenced by getSchemeName(), and GUIEvent_AddView().

◆ 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: