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