 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUIMainWindow_h
20 #define GUIMainWindow_h
61 const std::vector<GUIGlChildWindow*>&
getViews()
const {
140 return std::vector<SUMOTime>();
#define UNUSED_PARAMETER(x)
virtual double getDelay() const
Returns the delay (should be overwritten by subclasses if applicable)
bool listParking() const
return whether to list parking vehicles
bool listTeleporting() const
return whether to list teleporting vehicles
bool myAmFullScreen
whether to show the window in full screen mode
FXHorizontalFrame * myCartesianFrame
FXHorizontalFrame * myGeoFrame
void storeWindowSizeAndPos()
record window position and size in registry
FXMDIClient * myMDIClient
The multi view panel.
FXStatusBar * myStatusbar
The status bar.
virtual double getTrackerInterval() const =0
virtual void setStatusBarText(const std::string &)
FXFont * myBoldFont
Font used for popup-menu titles.
virtual void setDelay(double)
Sets the delay of the parent application.
std::vector< GUIGlChildWindow * > myGLWindows
bool myListTeleporting
information whether the locator should list teleporting vehicles
std::vector< std::string > getViewIDs() const
virtual const std::vector< SUMOTime > retrieveBreakpoints() const
retrieve breakpoints if provided by the application
FXMutex myTrackerLock
A lock to make the removal and addition of trackers secure.
virtual void sendBlockingEvent(GUIEvent *event)
Sends an event from the application thread to the GUI and waits until it is handled.
GUISUMOAbstractView * getActiveView() const
get the active view or 0
FXLabel * myCartesianCoordinate
Labels for the current cartesian and geo-coordinate.
static GUIMainWindow * getInstance()
bool isGaming() const
return whether the gui is in gaming mode
void setWindowSizeAndPos()
perform initial window positioning and sizing according to user options / previous call
FXLabel & getCartesianLabel()
std::vector< FXMainWindow * > myTrackerWindows
virtual SUMOTime getCurrentSimTime() const =0
bool myListParking
information whether the locator should list parking vehicles
virtual void setBreakpoints(const std::vector< SUMOTime > &)
Sets the breakpoints of the parent application.
GUIGlChildWindow * getViewByID(const std::string &id) const
void removeChild(FXMainWindow *child)
FXDockSite * myBottomDock
bool myAmGaming
information whether the gui is currently in gaming mode
FXGLVisual * getGLVisual() const
const std::vector< GUIGlChildWindow * > & getViews() const
void addGLChild(GUIGlChildWindow *child)
Adds a further child window to the list.
FXGLVisual * myGLVisual
The gl-visual used.
FXLabel * myGeoCoordinate
virtual long onCmdFullScreen(FXObject *, FXSelector, void *)
Toggle full screen mode.
bool myListInternal
information whether the locator should list internal structures
void removeGLChild(GUIGlChildWindow *child)
removes the given child window from the list
virtual FXGLCanvas * getBuildGLCanvas() const =0
void addChild(FXMainWindow *child)
bool listInternal() const
return whether to list internal structures
static GUIMainWindow * myInstance
the singleton window instance