SUMO - Simulation of Urban MObility
GUIMainWindow Class Reference

#include <GUIMainWindow.h>

Inheritance diagram for GUIMainWindow:
FXMainWindow GUIApplicationWindow

Public Member Functions

void addChild (FXMDIChild *child, bool updateOnSimStep=true)
 Adds a further child window to the list.
void addChild (FXMainWindow *child, bool updateOnSimStep=true)
FXFont * getBoldFont ()
virtual FXGLCanvasgetBuildGLCanvas () const =0
FXLabelgetCartesianLabel ()
virtual SUMOTime getCurrentSimTime () const =0
FXLabelgetGeoLabel ()
FXGLVisual * getGLVisual () const
FXMDIChildgetViewByID (const std::string &id) const
std::vector< std::string > getViewIDs () const
 GUIMainWindow (FXApp *a)
bool isGaming () const
 return whether the gui is in gaming mode
bool listInternal () const
 return whether to list internal structures
void removeChild (FXMDIChild *child)
 removes the given child window from the list
void removeChild (FXMainWindow *child)
virtual void setStatusBarText (const std::string &)
void updateChildren ()
virtual ~GUIMainWindow ()

Protected Member Functions

 GUIMainWindow ()

Protected Attributes

bool myAmGaming
 information whether the gui is currently in gaming mode
FXFont * myBoldFont
 Font used for popup-menu titles.
FXDockSite * myBottomDock
FXLabelmyCartesianCoordinate
 Labels for the current cartesian and geo-coordinate.
FXHorizontalFramemyCartesianFrame
FXLabelmyGeoCoordinate
FXHorizontalFramemyGeoFrame
FXGLVisual * myGLVisual
 The gl-visual used.
FXDockSite * myLeftDock
bool myListInternal
 information whether the locator should list internal structures
FXMDIClient * myMDIClient
 The multi view panel.
FXDockSite * myRightDock
FXStatusBar * myStatusbar
 The status bar.
std::vector< FXMDIChild * > mySubWindows
FXDockSite * myTopDock
MFXMutex myTrackerLock
 A lock to make the removal and addition of trackers secure.
std::vector< FXMainWindow * > myTrackerWindows

Detailed Description

Definition at line 45 of file GUIMainWindow.h.


Constructor & Destructor Documentation

Definition at line 48 of file GUIMainWindow.cpp.

References myBoldFont, myBottomDock, myLeftDock, myRightDock, and myTopDock.

Definition at line 65 of file GUIMainWindow.cpp.

References myBoldFont, myBottomDock, myLeftDock, myRightDock, and myTopDock.

GUIMainWindow::GUIMainWindow ( ) [inline, protected]

Definition at line 117 of file GUIMainWindow.h.


Member Function Documentation

void GUIMainWindow::addChild ( FXMDIChild child,
bool  updateOnSimStep = true 
)

Adds a further child window to the list.

Definition at line 76 of file GUIMainWindow.cpp.

References mySubWindows.

Referenced by GUIParameterTableWindow::closeBuilding(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().

void GUIMainWindow::addChild ( FXMainWindow child,
bool  updateOnSimStep = true 
)

Definition at line 129 of file GUIMainWindow.cpp.

References myBoldFont.

Referenced by GUIGlObject::buildPopupHeader().

virtual FXGLCanvas* GUIMainWindow::getBuildGLCanvas ( ) const [pure virtual]

Implemented in GUIApplicationWindow.

FXGLVisual * GUIMainWindow::getGLVisual ( ) const

Definition at line 148 of file GUIMainWindow.cpp.

References myGLVisual.

Referenced by GUISUMOViewParent::init().

FXMDIChild * GUIMainWindow::getViewByID ( const std::string &  id) const

Definition at line 118 of file GUIMainWindow.cpp.

References mySubWindows.

Referenced by TraCIServerAPI_GUI::getNamedView().

std::vector< std::string > GUIMainWindow::getViewIDs ( ) const

Definition at line 108 of file GUIMainWindow.cpp.

References mySubWindows.

bool GUIMainWindow::listInternal ( ) const [inline]

return whether to list internal structures

Definition at line 81 of file GUIMainWindow.h.

References myListInternal.

Referenced by GUISUMOViewParent::onCmdLocate().

virtual void GUIMainWindow::setStatusBarText ( const std::string &  ) [inline, virtual]

Reimplemented in GUIApplicationWindow.

Definition at line 70 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::getObjectsInBoundary().


Field Documentation

FXFont* GUIMainWindow::myBoldFont [protected]

Font used for popup-menu titles.

Definition at line 92 of file GUIMainWindow.h.

Referenced by getBoldFont(), GUIMainWindow(), and ~GUIMainWindow().

FXDockSite * GUIMainWindow::myBottomDock [protected]

Definition at line 108 of file GUIMainWindow.h.

Referenced by GUIMainWindow(), and ~GUIMainWindow().

Labels for the current cartesian and geo-coordinate.

Definition at line 101 of file GUIMainWindow.h.

Referenced by GUIApplicationWindow::closeAllWindows(), GUIApplicationWindow::dependentBuild(), and getCartesianLabel().

FXGLVisual* GUIMainWindow::myGLVisual [protected]

The gl-visual used.

Definition at line 106 of file GUIMainWindow.h.

Referenced by getGLVisual(), and GUIApplicationWindow::~GUIApplicationWindow().

FXDockSite * GUIMainWindow::myLeftDock [protected]

Definition at line 108 of file GUIMainWindow.h.

Referenced by GUIMainWindow(), and ~GUIMainWindow().

information whether the locator should list internal structures

Definition at line 114 of file GUIMainWindow.h.

Referenced by listInternal(), and GUIApplicationWindow::onCmdListInternal().

FXDockSite * GUIMainWindow::myRightDock [protected]

Definition at line 108 of file GUIMainWindow.h.

Referenced by GUIMainWindow(), and ~GUIMainWindow().

A lock to make the removal and addition of trackers secure.

Definition at line 89 of file GUIMainWindow.h.

Referenced by addChild(), GUIApplicationWindow::closeAllWindows(), removeChild(), and updateChildren().


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