![]() |
Eclipse SUMO - Simulation of Urban MObility
|
The main window of the SUMO-gui. More...
#include <GUIApplicationWindow.h>
Public Member Functions | |
void | addChild (FXMainWindow *child) |
Adds a further child window to the list (FXMainWindow) More... | |
void | addGLChild (GUIGlChildWindow *child) |
Adds a further child window to the list (GUIGlChildWindow) More... | |
void | addRecentFile (const FX::FXString &f) |
void | dependentBuild () |
GUISUMOAbstractView * | getActiveView () const |
get the active view or 0 More... | |
FXFont * | getBoldFont () |
get bold front More... | |
FXGLCanvas * | getBuildGLCanvas () const |
get build GL Canvas (must be implemented in all children) More... | |
FXLabel & | getCartesianLabel () |
get cartesian label More... | |
SUMOTime | getCurrentSimTime () const |
get current sim time (must be implemented in all children) More... | |
FXCursor * | getDefaultCursor () |
virtual double | getDelay () const |
Returns the simulation delay. More... | |
FXLabel & | getGeoLabel () |
get geo label More... | |
FXGLVisual * | getGLVisual () const |
get GL Visual More... | |
FXDockSite * | getTopDock () |
get top dock More... | |
double | getTrackerInterval () const |
get tracker interval (must be implemented in all children) More... | |
GUIGlChildWindow * | getViewByID (const std::string &id) const |
get specific view by ID More... | |
std::vector< std::string > | getViewIDs () const |
get view IDs More... | |
const std::vector< GUIGlChildWindow * > & | getViews () const |
get views More... | |
GUIApplicationWindow (FXApp *a, const std::string &configPattern) | |
Constructor. More... | |
bool | isFullScreen () |
bool | isGaming () const |
return whether the gui is in gaming mode More... | |
bool | listInternal () const |
return whether to list internal structures More... | |
bool | listParking () const |
return whether to list parking vehicles More... | |
bool | listTeleporting () const |
return whether to list teleporting vehicles More... | |
void | loadOnStartup () |
void | removeChild (FXMainWindow *child) |
removes the given child window from the list (FXMainWindow) More... | |
void | removeGLChild (GUIGlChildWindow *child) |
removes the given child window from the list (GUIGlChildWindow) More... | |
const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve breakpoints if provided by the application More... | |
virtual void | sendBlockingEvent (GUIEvent *event) |
Sends an event from the application thread to the GUI and waits until it is handled. More... | |
virtual void | setBreakpoints (const std::vector< SUMOTime > &breakpoints) |
Sets the breakpoints of the parent application. More... | |
virtual void | setDelay (double delay) |
Sets the delay of the parent application. More... | |
void | setStatusBarText (const std::string &text) |
get status bar text (can be implemented in children) More... | |
void | updateChildren () |
update childrens More... | |
virtual | ~GUIApplicationWindow () |
Destructor. More... | |
FOX-interactions | |
{ | |
virtual void | create () |
Creates the main window (required by FOX) More... | |
virtual void | detach () |
Detaches the tool/menu bar. More... | |
Inter-thread event handling | |
virtual void | eventOccurred () |
void | handleEvent_SimulationLoaded (GUIEvent *e) |
void | handleEvent_SimulationStep (GUIEvent *e) |
void | handleEvent_Message (GUIEvent *e) |
void | handleEvent_SimulationEnded (GUIEvent *e) |
FOX-callbacks | |
long | onCmdOpenConfiguration (FXObject *, FXSelector, void *) |
Called on menu File->Open Configuration. More... | |
long | onCmdOpenNetwork (FXObject *, FXSelector, void *) |
Called on menu File->Open Network. More... | |
long | onCmdOpenShapes (FXObject *, FXSelector, void *) |
Called on menu File->Load Shapes. More... | |
long | onCmdOpenEdgeData (FXObject *, FXSelector, void *) |
Called on menu File->Load EdgeData. More... | |
long | onCmdReload (FXObject *, FXSelector, void *) |
Called on reload. More... | |
long | onCmdOpenRecent (FXObject *, FXSelector, void *) |
Called on opening a recent file. More... | |
long | onCmdSaveConfig (FXObject *, FXSelector, void *) |
Called on menu File->Close. More... | |
long | onCmdClose (FXObject *, FXSelector, void *) |
Called on menu File->Close. More... | |
long | onCmdQuit (FXObject *, FXSelector, void *) |
Called by FOX if the application shall be closed. More... | |
long | onCmdEditChosen (FXObject *, FXSelector, void *) |
Called on menu Edit->Edit Chosen. More... | |
long | onCmdEditBreakpoints (FXObject *, FXSelector, void *) |
Called on menu Edit->Edit Breakpoints. More... | |
long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
Called on menu Edit->Visualization. More... | |
long | onCmdEditViewport (FXObject *, FXSelector, void *) |
Called on menu Edit->Viewport. More... | |
long | onCmdHelp (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Documentation More... | |
long | onCmdNetedit (FXObject *, FXSelector, void *) |
Called on menu Edit->Netedit. More... | |
long | onCmdAppSettings (FXObject *, FXSelector, void *) |
Opens the application settings menu (Settings->Application Settings...) More... | |
long | onCmdGaming (FXObject *, FXSelector, void *) |
Toggle gaming mode. More... | |
long | onCmdFullScreen (FXObject *, FXSelector, void *) |
Toggle full screen mode. More... | |
long | onCmdListInternal (FXObject *, FXSelector, void *) |
Toggle listing of internal structures. More... | |
long | onCmdListParking (FXObject *, FXSelector, void *) |
Toggle listing of parking vehicles. More... | |
long | onCmdListTeleporting (FXObject *, FXSelector, void *) |
Toggle listing of teleporting vehicles. More... | |
long | onCmdAbout (FXObject *, FXSelector, void *) |
Shows the about dialog. More... | |
long | onCmdHallOfFame (FXObject *, FXSelector, void *) |
Shows the Hall of Fame dialog. More... | |
long | onCmdStart (FXObject *, FXSelector, void *) |
Called on "play". More... | |
long | onCmdStop (FXObject *, FXSelector, void *) |
Called on "stop". More... | |
long | onCmdStep (FXObject *, FXSelector, void *) |
Called on "step". More... | |
long | onCmdSaveState (FXObject *, FXSelector, void *) |
Called on "save state". More... | |
long | onCmdTimeToggle (FXObject *, FXSelector, void *) |
Called on "time toggle". More... | |
long | onCmdDelayToggle (FXObject *, FXSelector, void *) |
Called on "delay toggle". More... | |
long | onCmdDemandScale (FXObject *, FXSelector, void *) |
Called on "demand scale". More... | |
long | onCmdNewView (FXObject *, FXSelector, void *) |
Called if a new view shall be opened (2D view) More... | |
long | onUpdOpen (FXObject *, FXSelector, void *) |
Determines whether opening is enabled. More... | |
long | onUpdReload (FXObject *, FXSelector, void *) |
Determines whether reloading is enabled. More... | |
long | onUpdOpenRecent (FXObject *, FXSelector, void *) |
Determines whether opening a recent file is enabled. More... | |
long | onUpdAddView (FXObject *, FXSelector, void *) |
Determines whether adding a view is enabled. More... | |
long | onUpdStart (FXObject *sender, FXSelector, void *ptr) |
Determines whether "play" is enabled. More... | |
long | onUpdStop (FXObject *, FXSelector, void *) |
Determines whether "stop" is enabled. More... | |
long | onUpdStep (FXObject *, FXSelector, void *) |
Determines whether "step" is enabled. More... | |
long | onUpdNeedsSimulation (FXObject *, FXSelector, void *) |
Determines whether some buttons which require an active simulation may be shown. More... | |
long | onUpdTraCIStatus (FXObject *, FXSelector, void *) |
Determines whether traci is active. More... | |
long | onCmdClearMsgWindow (FXObject *, FXSelector, void *) |
Called if the message window shall be cleared. More... | |
long | onCmdLocate (FXObject *, FXSelector, void *) |
Called on menu commands from the Locator menu. More... | |
long | onCmdShowStats (FXObject *, FXSelector, void *) |
Called on commands from the statistic buttons. More... | |
long | onLoadThreadEvent (FXObject *, FXSelector, void *) |
Called on an event from the loading thread. More... | |
long | onRunThreadEvent (FXObject *, FXSelector, void *) |
Called on an event from the simulation thread. More... | |
long | onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr) |
Somebody wants our clipped text. More... | |
long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
handle keys More... | |
long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
Static Public Member Functions | |
static GUIMainWindow * | getInstance () |
get instance More... | |
Protected Member Functions | |
virtual void | addToWindowsMenu (FXMenuPane *) |
virtual void | buildToolBars () |
Builds the tool bar. More... | |
virtual void | fillMenuBar () |
Builds the menu bar. More... | |
void | setWindowSizeAndPos () |
perform initial window positioning and sizing according to user options / previous call More... | |
void | storeWindowSizeAndPos () |
record window position and size in registry More... | |
Protected Attributes | |
bool | hadDependentBuild |
double | myAlternateSimDelay |
The alternate simulation delay in milliseconds for toggling. More... | |
bool | myAmFullScreen |
fox need this More... | |
bool | myAmGaming |
information whether the gui is currently in gaming mode More... | |
bool | myAmLoading |
information whether the gui is currently loading and the load-options shall be greyed out More... | |
FXFont * | myBoldFont |
Font used for popup-menu titles. More... | |
FXDockSite * | myBottomDock |
FXLabel * | myCartesianCoordinate |
Labels for the current cartesian and geo-coordinate. More... | |
FXHorizontalFrame * | myCartesianFrame |
std::string | myConfigPattern |
Input file pattern. More... | |
FXMenuPane * | myControlMenu = nullptr |
FXRealSpinner * | myDemandScaleSpinner = nullptr |
the demand scale More... | |
FXMenuPane * | myEditMenu = nullptr |
FXCondition | myEventCondition |
the semaphore when waiting for event completion More... | |
FXMutex | myEventMutex |
the mutex for the waiting semaphore More... | |
FXSynchQue< GUIEvent * > | myEvents |
List of got requests. More... | |
FXMenuPane * | myFileMenu = nullptr |
the submenus More... | |
FXLabel * | myGeoCoordinate |
FXHorizontalFrame * | myGeoFrame |
FXGLVisual * | myGLVisual |
The gl-visual used. More... | |
std::vector< GUIGlChildWindow * > | myGLWindows |
bool | myHaveNotifiedAboutSimEnd |
whether the simulation end was already announced More... | |
FXMenuPane * | myHelpMenu = nullptr |
FXEX::FXLCDLabel * | myLCDLabel = nullptr |
the simulation step display More... | |
FXDockSite * | myLeftDock |
bool | myListInternal |
information whether the locator should list internal structures More... | |
bool | myListParking |
information whether the locator should list parking vehicles More... | |
bool | myListTeleporting |
information whether the locator should list teleporting vehicles More... | |
GUILoadThread * | myLoadThread |
the thread that loads simulations More... | |
FXEX::FXThreadEvent | myLoadThreadEvent |
io-event with the load-thread More... | |
FXMenuPane * | myLocatorMenu |
FXSplitter * | myMainSplitter = nullptr |
The splitter that divides the main window into views and the log window. More... | |
FXMDIClient * | myMDIClient |
The multi view panel. More... | |
FXMDIMenu * | myMDIMenu = nullptr |
The menu used for the MDI-windows. More... | |
FXMenuBar * | myMenuBar = nullptr |
The application menu bar. More... | |
FXToolBarShell * | myMenuBarDrag = nullptr |
GUIMessageWindow * | myMessageWindow = nullptr |
A window to display messages, warnings and error in. More... | |
std::string | myName |
the name of the simulation More... | |
FXRecentFiles | myRecentFiles |
List of recent files. More... | |
FXDockSite * | myRightDock |
GUIRunThread * | myRunThread |
the thread that runs simulations More... | |
FXEX::FXThreadEvent | myRunThreadEvent |
io-event with the run-thread More... | |
FXMenuPane * | mySelectByPermissions = nullptr |
FXMenuCascade * | mySelectLanesMenuCascade = nullptr |
the menu cascades More... | |
FXMenuPane * | mySettingsMenu = nullptr |
bool | myShowTimeAsHMS |
whether to show time as hour:minute:second More... | |
double | mySimDelay = 0. |
the simulation delay in milliseconds More... | |
FXSlider * | mySimDelaySlider = nullptr |
FXRealSpinner * | mySimDelaySpinner = nullptr |
FXDataTarget * | mySimDelayTarget = nullptr |
std::vector< FXButton * > | myStatButtons |
Buttons showing and running values and triggering statistic windows. More... | |
FXStatusBar * | myStatusbar |
The status bar. More... | |
FXToolBar * | myToolBar1 = nullptr |
The application tool bar. More... | |
FXToolBar * | myToolBar2 = nullptr |
FXToolBar * | myToolBar3 = nullptr |
FXToolBar * | myToolBar4 = nullptr |
FXToolBar * | myToolBar5 = nullptr |
FXToolBar * | myToolBar8 = nullptr |
FXToolBarShell * | myToolBarDrag1 = nullptr |
for some menu detaching fun More... | |
FXToolBarShell * | myToolBarDrag2 = nullptr |
FXToolBarShell * | myToolBarDrag3 = nullptr |
FXToolBarShell * | myToolBarDrag4 = nullptr |
FXToolBarShell * | myToolBarDrag5 = nullptr |
FXToolBarShell * | myToolBarDrag8 = nullptr |
FXDockSite * | myTopDock |
FXMutex | myTrackerLock |
A lock to make the removal and addition of trackers secure. More... | |
std::vector< FXMainWindow * > | myTrackerWindows |
int | myViewNumber |
The current view number. More... | |
bool | myWasStarted = false |
the information whether the simulation was started before More... | |
FXMenuPane * | myWindowsMenu |
Static Protected Attributes | |
static GUIMainWindow * | myInstance = nullptr |
the singleton window instance More... | |
Private Member Functions | |
void | checkGamingEvents () |
handles additional game-related events More... | |
void | checkGamingEventsDRT () |
void | closeAllWindows () |
void | loadConfigOrNet (const std::string &file) |
GUISUMOAbstractView * | openNewView (GUISUMOViewParent::ViewType vt=GUISUMOViewParent::VIEW_2D_OPENGL) |
void | updateTimeLCD (SUMOTime time) |
updates the simulation time display More... | |
game related things | |
RandomDistributor< std::string > | myJamSounds |
RandomDistributor< std::string > | myCollisionSounds |
double | myJamSoundTime |
waiting time after which vehicles trigger jam sounds More... | |
int | myPreviousCollisionNumber |
bool | myTLSGame |
current game mode More... | |
FXEX::FXLCDLabel * | myWaitingTimeLabel = nullptr |
performance indicators More... | |
FXEX::FXLCDLabel * | myTimeLossLabel = nullptr |
FXEX::FXLCDLabel * | myTotalDistanceLabel = nullptr |
FXEX::FXLCDLabel * | myEmergencyVehicleLabel = nullptr |
SUMOTime | myWaitingTime |
SUMOTime | myTimeLoss |
SUMOTime | myEmergencyVehicleCount |
double | myTotalDistance |
FXToolBar * | myToolBar6 = nullptr |
FXToolBar * | myToolBar7 = nullptr |
FXToolBar * | myToolBar9 = nullptr |
FXToolBar * | myToolBar10 = nullptr |
FXToolBarShell * | myToolBarDrag6 = nullptr |
FXToolBarShell * | myToolBarDrag7 = nullptr |
FXToolBarShell * | myToolBarDrag9 = nullptr |
FXToolBarShell * | myToolBarDrag10 = nullptr |
static std::mt19937 | myGamingRNG |
A random number generator used to choose a gaming sound. More... | |
The main window of the SUMO-gui.
Beside views on the simulation, shown within a MDI-window, the main window may also have some further views (children) assigned which are stored within a separate list.
Definition at line 63 of file GUIApplicationWindow.h.
GUIApplicationWindow::GUIApplicationWindow | ( | FXApp * | a, |
const std::string & | configPattern | ||
) |
Constructor.
[in] | a | The FOX application |
[in] | configPattern | The pattern used for loading configurations |
Definition at line 209 of file GUIApplicationWindow.cpp.
References GUICursorSubSys::initCursors(), and GUIIconSubSys::initIcons().
|
virtual |
Destructor.
Definition at line 336 of file GUIApplicationWindow.cpp.
References GUIIconSubSys::close(), closeAllWindows(), FXSynchQue< T, Container >::empty(), myControlMenu, myEditMenu, myEvents, myFileMenu, GUIMainWindow::myGLVisual, myHelpMenu, myLoadThread, myLocatorMenu, myRunThread, mySelectByPermissions, mySettingsMenu, myToolBarDrag1, myWindowsMenu, FXSynchQue< T, Container >::pop(), GUIRunThread::prepareDestruction(), and FXSynchQue< T, Container >::top().
|
inherited |
Adds a further child window to the list (FXMainWindow)
Definition at line 106 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIParameterTableWindow::closeBuilding(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().
|
inherited |
Adds a further child window to the list (GUIGlChildWindow)
Definition at line 91 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
void GUIApplicationWindow::addRecentFile | ( | const FX::FXString & | f | ) |
Definition at line 1844 of file GUIApplicationWindow.cpp.
References myRecentFiles.
Referenced by GUILoadThread::run().
|
inlineprotectedvirtual |
Definition at line 300 of file GUIApplicationWindow.h.
Referenced by fillMenuBar().
|
protectedvirtual |
Builds the tool bar.
game specific stuff
Definition at line 585 of file GUIApplicationWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignButtonToolbarText, GUIDesignSlider, GUIDesignSpinDial, GUIDesignToolBar, GUIDesignToolBarGrip, GUIDesignToolBarRaisedNextTop, GUIDesignToolBarRaisedSameTop, MICROVIEW, MID_DELAY_TOOGLE, MID_DEMAND_SCALE, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_NEW_MICROVIEW, MID_NEW_OSGVIEW, MID_OPEN_CONFIG, MID_OPEN_NETWORK, MID_TIME_TOOGLE, myDemandScaleSpinner, myEmergencyVehicleLabel, myLCDLabel, mySimDelay, mySimDelaySlider, mySimDelaySpinner, mySimDelayTarget, myTimeLossLabel, myToolBar1, myToolBar10, myToolBar2, myToolBar3, myToolBar4, myToolBar5, myToolBar6, myToolBar7, myToolBar8, myToolBar9, myToolBarDrag1, myToolBarDrag10, myToolBarDrag2, myToolBarDrag3, myToolBarDrag4, myToolBarDrag5, myToolBarDrag6, myToolBarDrag7, myToolBarDrag8, myToolBarDrag9, GUIMainWindow::myTopDock, myTotalDistanceLabel, myWaitingTimeLabel, OPEN_CONFIG, OPEN_NET, OSGVIEW, RELOAD, FXEX::FXLCDLabel::setGroove(), FXEX::FXLCDLabel::setHorizontal(), FXEX::FXLCDLabel::setText(), FXEX::FXLCDLabel::setThickness(), FXEX::FXLCDLabel::setVertical(), START, STEP, and STOP.
Referenced by dependentBuild().
|
private |
handles additional game-related events
Definition at line 1640 of file GUIApplicationWindow.cpp.
References DELTA_T, RandomDistributor< T >::get(), MSVehicleControl::getCollisionCount(), MSBaseVehicle::getEdge(), Named::getID(), MSNet::getInstance(), MSVehicleType::getMaxSpeed(), RandomDistributor< T >::getOverallProb(), MSVehicle::getSpeed(), MSEdge::getSpeedLimit(), MSNet::getVehicleControl(), MSBaseVehicle::getVehicleType(), MSVehicle::isOnRoad(), MSBaseVehicle::isStopped(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), MIN2(), myCollisionSounds, myEmergencyVehicleCount, myEmergencyVehicleLabel, myGamingRNG, myJamSounds, myJamSoundTime, myPreviousCollisionNumber, myTimeLoss, myTimeLossLabel, myWaitingTime, myWaitingTimeLabel, SysUtils::runHiddenCommand(), FXEX::FXLCDLabel::setText(), SUMO_const_haltingSpeed, TIME2STEPS, time2string(), and TS.
Referenced by handleEvent_SimulationStep().
|
private |
Definition at line 1695 of file GUIApplicationWindow.cpp.
References DELTA_T, MSNet::getInstance(), GUIRunThread::getNet(), GUINet::getPersonControl(), MSVehicle::getSpeed(), MSNet::getVehicleControl(), MSTransportableControl::getWaitingForVehicleNumber(), MSVehicle::isOnRoad(), MSBaseVehicle::isStopped(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), myRunThread, myTotalDistance, myTotalDistanceLabel, myWaitingTime, myWaitingTimeLabel, FXEX::FXLCDLabel::setText(), SPEED2DIST, time2string(), and toString().
Referenced by handleEvent_SimulationStep().
|
private |
this method closes all windows and deletes the current simulation
Definition at line 1774 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUISelectedStorage::clear(), GUITexturesHelper::clearTextures(), GUIRunThread::deleteSim(), MFXUtils::getTitleText(), gSelected, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGLWindows, myLCDLabel, myMessageWindow, myRunThread, myStatButtons, GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, GLHelper::resetFont(), and FXEX::FXLCDLabel::setText().
Referenced by handleEvent_SimulationEnded(), handleEvent_SimulationLoaded(), loadConfigOrNet(), onCmdClose(), onCmdReload(), and ~GUIApplicationWindow().
|
virtual |
Creates the main window (required by FOX)
Definition at line 300 of file GUIApplicationWindow.cpp.
References gCurrentFolder, OptionsCont::getOptions(), myAlternateSimDelay, GUIMainWindow::myCartesianFrame, myControlMenu, myEditMenu, myFileMenu, GUIMainWindow::myGeoFrame, myHelpMenu, myLocatorMenu, myMenuBarDrag, mySelectByPermissions, mySettingsMenu, myShowTimeAsHMS, myToolBarDrag1, myToolBarDrag2, myToolBarDrag3, myToolBarDrag4, myToolBarDrag5, myToolBarDrag6, myToolBarDrag7, myWindowsMenu, and GUIMainWindow::setWindowSizeAndPos().
void GUIApplicationWindow::dependentBuild | ( | ) |
Definition at line 234 of file GUIApplicationWindow.cpp.
References buildToolBars(), fillMenuBar(), GUIIconSubSys::getIcon(), MFXUtils::getTitleText(), GREENEDGE, GREENPERSON, GREENVEHICLE, GUIDesignHorizontalFrameStatusBar, GUIDesignMDIButtonLeft, GUIDesignMDIButtonRight, GUIDesignSplitter, GUIDesignSplitterMDI, GUIDesignStatusBar, GUIDesignToolBar, GUIDesignToolBarGrip, GUIDesignToolbarMenuBar, hadDependentBuild, ID_LOADTHREAD_EVENT, ID_RUNTHREAD_EVENT, MID_SHOWPERSONSTATS, MID_SHOWVEHSTATS, MID_WINDOW, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myCartesianFrame, myEvents, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGeoFrame, myLoadThread, myLoadThreadEvent, myMainSplitter, GUIMainWindow::myMDIClient, myMDIMenu, myMenuBar, myMenuBarDrag, myMessageWindow, myRunThread, myRunThreadEvent, mySimDelay, myStatButtons, GUIMainWindow::myStatusbar, myToolBar10, myToolBar6, myToolBar7, myToolBar9, GUIMainWindow::myTopDock, FXEX::FXBaseObject::setSelector(), FXEX::FXBaseObject::setTarget(), SUMO, and SUMO_MINI.
Referenced by main().
|
virtual |
Detaches the tool/menu bar.
Definition at line 368 of file GUIApplicationWindow.cpp.
References myMenuBarDrag, and myToolBarDrag1.
|
virtual |
Implements MFXInterThreadEventClient.
Definition at line 1391 of file GUIApplicationWindow.cpp.
References FXSynchQue< T, Container >::empty(), EVENT_DEBUG_OCCURRED, EVENT_ERROR_OCCURRED, EVENT_GLDEBUG_OCCURRED, EVENT_MESSAGE_OCCURRED, EVENT_SIMULATION_ENDED, EVENT_SIMULATION_LOADED, EVENT_SIMULATION_STEP, EVENT_STATUS_OCCURRED, EVENT_WARNING_OCCURRED, GUIEvent::getOwnType(), handleEvent_Message(), handleEvent_SimulationEnded(), handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), myEvents, myRunThread, myToolBar2, myToolBar3, FXSynchQue< T, Container >::pop(), GUIRunThread::simulationAvailable(), and FXSynchQue< T, Container >::top().
Referenced by onLoadThreadEvent(), and onRunThreadEvent().
|
protectedvirtual |
Builds the menu bar.
Definition at line 376 of file GUIApplicationWindow.cpp.
References addToWindowsMenu(), GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandRecentFile(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GUIShortcutsSubSys::buildSUMOAccelerators(), CLOSE, FLAG, GUIIconSubSys::getIcon(), MSGlobals::gUseMesoSim, GUIMainWindow::listParking(), LOCATEADD, LOCATECONTAINER, LOCATEEDGE, LOCATEJUNCTION, LOCATEPERSON, LOCATEPOI, LOCATEPOLY, LOCATETLS, LOCATEVEHICLE, MID_APPSETTINGS, MID_CLEARMESSAGEWINDOW, MID_EDITCHOSEN, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_F_FULSCREENMODE, MID_HOTKEY_CTRL_G_GAMINGMODE_TOOGLEGRID, MID_HOTKEY_CTRL_I_EDITVIEWPORT, MID_HOTKEY_CTRL_P, MID_HOTKEY_CTRL_Q_CLOSE, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_S_SAVENETWORK_AS, MID_HOTKEY_CTRL_W_CLOSESIMULATION, MID_HOTKEY_F12_ABOUT, MID_HOTKEY_F1_ONLINEDOCUMENTATION, MID_HOTKEY_F9_EDIT_VIEWSCHEME, MID_LISTINTERNAL, MID_LISTPARKING, MID_LISTTELEPORTING, MID_LOCATEADD, MID_LOCATECONTAINER, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPERSON, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATETLS, MID_LOCATEVEHICLE, MID_NETEDIT, MID_OPEN_CONFIG, MID_OPEN_EDGEDATA, MID_OPEN_NETWORK, MID_RECENTFILE, MID_SIMSAVE, myControlMenu, myEditMenu, myFileMenu, myHelpMenu, GUIMainWindow::myListParking, myLocatorMenu, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, myRecentFiles, mySelectByPermissions, mySelectLanesMenuCascade, mySettingsMenu, GUIMainWindow::myStatusbar, myToolBar3, myToolBar4, myWindowsMenu, NETEDIT_MINI, OPEN_CONFIG, OPEN_NET, OPEN_SHAPES, RELOAD, SAVE, START, STEP, STOP, SUMO_MINI, SumoVehicleClassStrings, WINDOWS_CASCADE, WINDOWS_TILE_HORI, and WINDOWS_TILE_VERT.
Referenced by dependentBuild().
|
inherited |
get the active view or 0
Definition at line 226 of file GUIMainWindow.cpp.
References GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.
Referenced by GUIVehicle::drawOutsideNetwork().
|
inherited |
get bold front
Definition at line 150 of file GUIMainWindow.cpp.
References GUIMainWindow::myBoldFont.
Referenced by GUIGlObject::buildPopupHeader().
|
virtual |
get build GL Canvas (must be implemented in all children)
Implements GUIMainWindow.
Definition at line 1763 of file GUIApplicationWindow.cpp.
References GUIGlChildWindow::getBuildGLCanvas(), and GUIMainWindow::myMDIClient.
Referenced by openNewView().
|
inherited |
get cartesian label
Definition at line 181 of file GUIMainWindow.cpp.
References GUIMainWindow::myCartesianCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformation().
|
virtual |
get current sim time (must be implemented in all children)
Implements GUIMainWindow.
Definition at line 1819 of file GUIApplicationWindow.cpp.
References MSNet::getCurrentTimeStep(), GUIRunThread::getNet(), and myRunThread.
FXCursor * GUIApplicationWindow::getDefaultCursor | ( | ) |
Definition at line 1813 of file GUIApplicationWindow.cpp.
|
inlinevirtual |
Returns the simulation delay.
Reimplemented from GUIMainWindow.
Definition at line 277 of file GUIApplicationWindow.h.
References mySimDelay.
|
inherited |
get geo label
Definition at line 187 of file GUIMainWindow.cpp.
References GUIMainWindow::myGeoCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformation().
|
inherited |
get GL Visual
Definition at line 175 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLVisual.
Referenced by GUISUMOViewParent::init().
|
staticinherited |
get instance
Definition at line 217 of file GUIMainWindow.cpp.
References GUIMainWindow::myInstance.
Referenced by GUIVehicle::drawOutsideNetwork(), TraCIServerAPI_GUI::getNamedView(), GUITexturesHelper::getTextureID(), TraCIServerAPI_GUI::processGet(), GUIMessageWindow::setCursorPos(), and GUIRunThread::waitForSnapshots().
|
inherited |
|
virtual |
get tracker interval (must be implemented in all children)
Implements GUIMainWindow.
Definition at line 1825 of file GUIApplicationWindow.cpp.
References GUIGlobals::gTrackerInterval.
|
inherited |
get specific view by ID
Definition at line 139 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by TraCIServerAPI_GUI::getNamedView().
|
inherited |
get view IDs
Definition at line 129 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by TraCIServerAPI_GUI::processGet().
|
inherited |
get views
Definition at line 156 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GUIRunThread::waitForSnapshots().
void GUIApplicationWindow::handleEvent_Message | ( | GUIEvent * | e | ) |
Definition at line 1604 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::appendMsg(), EVENT_STATUS_OCCURRED, GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), myMessageWindow, and setStatusBarText().
Referenced by eventOccurred().
void GUIApplicationWindow::handleEvent_SimulationEnded | ( | GUIEvent * | e | ) |
Definition at line 1615 of file GUIApplicationWindow.cpp.
References closeAllWindows(), GUIGlobals::gDemoAutoReload, GUIEvent_SimulationEnded::getReason(), MSNet::getStateMessage(), GUIEvent_SimulationEnded::getTimeStep(), GUIGlobals::gQuitOnEnd, myHaveNotifiedAboutSimEnd, onCmdReload(), onCmdStop(), MSNet::SIMSTATE_ERROR_IN_SIM, MSNet::SIMSTATE_LOADING, and time2string().
Referenced by eventOccurred().
void GUIApplicationWindow::handleEvent_SimulationLoaded | ( | GUIEvent * | e | ) |
Definition at line 1428 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::addDecals(), GUISettingsHandler::addSettings(), GUISettingsHandler::applyViewport(), closeAllWindows(), GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), GUISettingsHandler::getBreakpoints(), GUISettingsHandler::getDecals(), GUISettingsHandler::getDelay(), GUISettingsHandler::getEventDistribution(), GUISettingsHandler::getJamSoundTime(), OptionsCont::getOptions(), MFXUtils::getTitleText(), GUISettingsHandler::getViewType(), GUIGlobals::gQuitOnEnd, GUIGlobals::gRunAfterLoad, GUIRunThread::init(), OptionsCont::isDefault(), myAmLoading, GUIEvent_SimulationLoaded::myBegin, myCollisionSounds, myDemandScaleSpinner, GUIEvent_SimulationLoaded::myEnd, GUIEvent_SimulationLoaded::myFile, GUIMainWindow::myGLWindows, myHaveNotifiedAboutSimEnd, myJamSounds, myJamSoundTime, myLCDLabel, GUIEvent_SimulationLoaded::myNet, GUIEvent_SimulationLoaded::myOsgView, myRunThread, GUIEvent_SimulationLoaded::mySettingsFiles, mySimDelay, mySimDelaySlider, mySimDelaySpinner, myStatButtons, myTLSGame, myViewNumber, GUIEvent_SimulationLoaded::myViewportFromRegistry, myWasStarted, onCmdGaming(), onCmdStart(), openNewView(), Position::set(), setDelay(), GUISettingsHandler::setSnapshots(), setStatusBarText(), FXEX::FXLCDLabel::setText(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), GUIRunThread::simulationIsStartable(), string2time(), GUISUMOViewParent::VIEW_2D_OPENGL, GUISUMOViewParent::VIEW_3D_OSG, Position::x(), and Position::y().
Referenced by eventOccurred().
void GUIApplicationWindow::handleEvent_SimulationStep | ( | GUIEvent * | e | ) |
Definition at line 1562 of file GUIApplicationWindow.cpp.
References checkGamingEvents(), checkGamingEventsDRT(), GUINet::getContainerControl(), MSNet::getCurrentTimeStep(), GUIIconSubSys::getIcon(), MSNet::getInsertionControl(), GUIRunThread::getNet(), GUINet::getPersonControl(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSNet::getVehicleControl(), MSInsertionControl::getWaitingVehicleNo(), GREENVEHICLE, MSNet::hasContainers(), MSNet::hasPersons(), GUIMainWindow::myAmGaming, myRunThread, myStatButtons, myTLSGame, GUIRunThread::simulationIsStartable(), toString(), GUIMainWindow::updateChildren(), updateTimeLCD(), and YELLOWVEHICLE.
Referenced by eventOccurred().
|
inlineinherited |
Definition at line 147 of file GUIMainWindow.h.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIViewTraffic::onDoubleClicked().
|
inherited |
return whether the gui is in gaming mode
Definition at line 193 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmGaming.
Referenced by GUISUMOViewParent::init(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), and GUIViewTraffic::setColorScheme().
|
inherited |
return whether to list internal structures
Definition at line 199 of file GUIMainWindow.cpp.
References GUIMainWindow::myListInternal.
Referenced by GUISUMOViewParent::onCmdLocate().
|
inherited |
return whether to list parking vehicles
Definition at line 205 of file GUIMainWindow.cpp.
References GUIMainWindow::myListParking.
Referenced by fillMenuBar(), and GUISUMOViewParent::onCmdLocate().
|
inherited |
return whether to list teleporting vehicles
Definition at line 211 of file GUIMainWindow.cpp.
References GUIMainWindow::myListTeleporting.
Referenced by GUISUMOViewParent::onCmdLocate().
|
private |
starts to load a simulation
Definition at line 1714 of file GUIApplicationWindow.cpp.
References closeAllWindows(), gSchemeStorage, GUILoadThread::loadConfigOrNet(), myAmLoading, myLoadThread, GUICompleteSchemeStorage::saveViewport(), setStatusBarText(), and GUIMainWindow::storeWindowSizeAndPos().
Referenced by loadOnStartup(), onCmdOpenConfiguration(), onCmdOpenNetwork(), and onCmdOpenRecent().
void GUIApplicationWindow::loadOnStartup | ( | ) |
Definition at line 1831 of file GUIApplicationWindow.cpp.
References loadConfigOrNet().
Referenced by main().
long GUIApplicationWindow::onClipboardRequest | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
Somebody wants our clipped text.
Definition at line 1368 of file GUIApplicationWindow.cpp.
References GUIUserIO::clipped.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdAbout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Shows the about dialog.
Definition at line 1352 of file GUIApplicationWindow.cpp.
References GUIDialog_AboutSUMO::create().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdAppSettings | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Opens the application settings menu (Settings->Application Settings...)
Definition at line 1205 of file GUIApplicationWindow.cpp.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdClearMsgWindow | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called if the message window shall be cleared.
Definition at line 1126 of file GUIApplicationWindow.cpp.
References GUIMessageWindow::clear(), and myMessageWindow.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Close.
Definition at line 988 of file GUIApplicationWindow.cpp.
References closeAllWindows().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdDelayToggle | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "delay toggle".
Definition at line 1108 of file GUIApplicationWindow.cpp.
References myAlternateSimDelay, and mySimDelay.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdDemandScale | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "demand scale".
Definition at line 1117 of file GUIApplicationWindow.cpp.
References GUIRunThread::getNet(), MSNet::getVehicleControl(), myDemandScaleSpinner, myRunThread, MSVehicleControl::setScale(), and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditBreakpoints | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Edit Breakpoints.
Definition at line 769 of file GUIApplicationWindow.cpp.
References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), myRunThread, and GUIDialog_Breakpoints::show().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditChosen | ( | FXObject * | menu, |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Edit Chosen.
Definition at line 734 of file GUIApplicationWindow.cpp.
References MSEdge::getAllEdges(), GUIGlObject::getGlID(), MSLane::getPermissions(), GUIGlChildWindow::getView(), GUISUMOAbstractView::getVisualisationSettings(), gSelected, GUIVisualizationSettings::laneColorer, myAmLoading, GUIMainWindow::myMDIClient, myRunThread, GUISelectedStorage::select(), GUIPropertySchemeStorage< T >::setActive(), GUIRunThread::simulationAvailable(), SumoVehicleClassStrings, and GUIMainWindow::updateChildren().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditViewport | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Viewport.
Definition at line 777 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdEditViewScheme | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Visualization.
Definition at line 786 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by FXDEFMAP().
|
virtual |
Toggle full screen mode.
Reimplemented from GUIMainWindow.
Definition at line 1268 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myAmFullScreen, GUIMainWindow::myAmGaming, GUIMainWindow::myGLWindows, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, GUIMainWindow::myStatusbar, myToolBar1, myToolBar2, myToolBar3, myToolBar4, myToolBar5, myToolBar6, myToolBar7, myToolBar8, onCmdGaming(), and GUISUMOViewParent::setToolBarVisibility().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdGaming | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle gaming mode.
Definition at line 1214 of file GUIApplicationWindow.cpp.
References MFXUtils::getFXColor(), RGBColor::GREEN, GUIMainWindow::myAmFullScreen, GUIMainWindow::myAmGaming, myEmergencyVehicleLabel, GUIMainWindow::myGLWindows, myLCDLabel, GUIMainWindow::myMDIClient, myMenuBar, myMessageWindow, GUIMainWindow::myStatusbar, myTimeLossLabel, myTLSGame, myToolBar1, myToolBar10, myToolBar2, myToolBar4, myToolBar5, myToolBar6, myToolBar7, myToolBar8, myToolBar9, myTotalDistanceLabel, myWaitingTimeLabel, RGBColor::RED, FXEX::FXLCDLabel::setFgColor(), and GUISUMOViewParent::setToolBarVisibility().
Referenced by FXDEFMAP(), handleEvent_SimulationLoaded(), and onCmdFullScreen().
long GUIApplicationWindow::onCmdHallOfFame | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Shows the Hall of Fame dialog.
Definition at line 1360 of file GUIApplicationWindow.cpp.
References GUIDialog_HallOfFame::create().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdHelp | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Documentation
Definition at line 795 of file GUIApplicationWindow.cpp.
References FXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdListInternal | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle listing of internal structures.
Definition at line 1316 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myListInternal.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdListParking | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle listing of parking vehicles.
Definition at line 1323 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myListParking.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdListTeleporting | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Toggle listing of teleporting vehicles.
Definition at line 1329 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myListTeleporting.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdLocate | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
Called on menu commands from the Locator menu.
Definition at line 1183 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GUISUMOViewParent::onCmdLocate().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdNetedit | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Netedit.
Definition at line 802 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::getChanger(), OptionsCont::getOptions(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), FileHelpers::isReadable(), GUIMainWindow::myGLWindows, SysUtils::runHiddenCommand(), and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdNewView | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called if a new view shall be opened (2D view)
Definition at line 1336 of file GUIApplicationWindow.cpp.
References openNewView(), and GUISUMOViewParent::VIEW_2D_OPENGL.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenConfiguration | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Open Configuration.
Definition at line 837 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myConfigPattern, myRecentFiles, and OPEN_CONFIG.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenEdgeData | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Load EdgeData.
Definition at line 907 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUINet::getGUIInstance(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getView(), GUIMainWindow::myMDIClient, OPEN_NET, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Open Network.
Definition at line 857 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myRecentFiles, and OPEN_NET.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenRecent | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Called on opening a recent file.
Definition at line 949 of file GUIApplicationWindow.cpp.
References loadConfigOrNet(), myAmLoading, and GUIMainWindow::myStatusbar.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdOpenShapes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Load Shapes.
Definition at line 877 of file GUIApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), GUIRunThread::getNet(), MSNet::getShapeContainer(), GUIGlChildWindow::getView(), GUIMainWindow::myMDIClient, myRunThread, OPEN_SHAPES, XMLSubSys::runParser(), and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdQuit | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called by FOX if the application shall be closed.
Called either by FileMenu->Quit, the normal close-menu or SIGINT
Definition at line 722 of file GUIApplicationWindow.cpp.
References gCurrentFolder, myAlternateSimDelay, myShowTimeAsHMS, and GUIMainWindow::storeWindowSizeAndPos().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdReload | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on reload.
Definition at line 934 of file GUIApplicationWindow.cpp.
References closeAllWindows(), myAmLoading, myLoadThread, setStatusBarText(), and GUIMainWindow::storeWindowSizeAndPos().
Referenced by FXDEFMAP(), and handleEvent_SimulationEnded().
long GUIApplicationWindow::onCmdSaveConfig | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu File->Close.
Definition at line 961 of file GUIApplicationWindow.cpp.
References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), OptionsCont::getOptions(), SAVE, setStatusBarText(), MFXUtils::userPermitsOverwritingWhenFileExists(), and OptionsCont::writeConfiguration().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdSaveState | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "save state".
Definition at line 1076 of file GUIApplicationWindow.cpp.
References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), MSNet::getInstance(), SAVE, MSStateHandler::saveState(), setStatusBarText(), and MFXUtils::userPermitsOverwritingWhenFileExists().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdShowStats | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on commands from the statistic buttons.
Definition at line 1195 of file GUIApplicationWindow.cpp.
References GUINet::getGUIInstance(), GUINet::getParameterWindow(), GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdStart | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "play".
Definition at line 1033 of file GUIApplicationWindow.cpp.
References GUIRunThread::begin(), myRunThread, GUIMainWindow::myStatusbar, myWasStarted, GUIRunThread::resume(), and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP(), and handleEvent_SimulationLoaded().
long GUIApplicationWindow::onCmdStep | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "step".
Definition at line 1059 of file GUIApplicationWindow.cpp.
References GUIRunThread::begin(), myRunThread, GUIMainWindow::myStatusbar, myWasStarted, GUIRunThread::simulationAvailable(), and GUIRunThread::singleStep().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onCmdStop | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "stop".
Definition at line 1051 of file GUIApplicationWindow.cpp.
References myRunThread, and GUIRunThread::stop().
Referenced by FXDEFMAP(), and handleEvent_SimulationEnded().
long GUIApplicationWindow::onCmdTimeToggle | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on "time toggle".
Definition at line 1098 of file GUIApplicationWindow.cpp.
References MSNet::getCurrentTimeStep(), GUIRunThread::getNet(), myRunThread, myShowTimeAsHMS, GUIRunThread::simulationAvailable(), and updateTimeLCD().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onKeyPress | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
handle keys
Definition at line 1884 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GUISUMOViewParent::onKeyPress().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onKeyRelease | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
Definition at line 1897 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GUISUMOViewParent::onKeyRelease().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onLoadThreadEvent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on an event from the loading thread.
Definition at line 1377 of file GUIApplicationWindow.cpp.
References eventOccurred().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onRunThreadEvent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on an event from the simulation thread.
Definition at line 1384 of file GUIApplicationWindow.cpp.
References eventOccurred().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdAddView | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether adding a view is enabled.
Definition at line 1023 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdNeedsSimulation | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether some buttons which require an active simulation may be shown.
Definition at line 1163 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, mySelectLanesMenuCascade, and GUIRunThread::simulationAvailable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdOpen | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether opening is enabled.
Definition at line 995 of file GUIApplicationWindow.cpp.
References myAmLoading.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdOpenRecent | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether opening a recent file is enabled.
Definition at line 1014 of file GUIApplicationWindow.cpp.
References myAmLoading.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdReload | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether reloading is enabled.
Definition at line 1004 of file GUIApplicationWindow.cpp.
References GUILoadThread::getFileName(), TraCIServer::getInstance(), myAmLoading, and myLoadThread.
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdStart | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether "play" is enabled.
Definition at line 1133 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, and GUIRunThread::simulationIsStartable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdStep | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether "step" is enabled.
Definition at line 1153 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, and GUIRunThread::simulationIsStepable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdStop | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether "stop" is enabled.
Definition at line 1143 of file GUIApplicationWindow.cpp.
References myAmLoading, myRunThread, and GUIRunThread::simulationIsStopable().
Referenced by FXDEFMAP().
long GUIApplicationWindow::onUpdTraCIStatus | ( | FXObject * | sender, |
FXSelector | , | ||
void * | ptr | ||
) |
Determines whether traci is active.
Definition at line 1176 of file GUIApplicationWindow.cpp.
References TraCIServer::getInstance().
Referenced by FXDEFMAP().
|
private |
opens a new simulation display
Definition at line 1729 of file GUIApplicationWindow.cpp.
References GUISUMOAbstractView::copyViewportTo(), GUIGlChildWindow::create(), getBuildGLCanvas(), GUIIconSubSys::getIcon(), GUIRunThread::getNet(), GUIGlChildWindow::getView(), GUISUMOViewParent::init(), GUIMainWindow::myMDIClient, myMDIMenu, myRunThread, GUIMainWindow::myStatusbar, myViewNumber, GUIRunThread::simulationAvailable(), SUMO_MINI, and toString().
Referenced by handleEvent_SimulationLoaded(), and onCmdNewView().
|
inherited |
removes the given child window from the list (FXMainWindow)
Definition at line 114 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints(), GUIDialog_ChooserAbstract::~GUIDialog_ChooserAbstract(), GUIDialog_GLChosenEditor::~GUIDialog_GLChosenEditor(), GUIParameterTableWindow::~GUIParameterTableWindow(), GUIParameterTracker::~GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::~GUITLLogicPhasesTrackerWindow().
|
inherited |
removes the given child window from the list (GUIGlChildWindow)
Definition at line 97 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
virtual |
retrieve breakpoints if provided by the application
Reimplemented from GUIMainWindow.
Definition at line 1928 of file GUIApplicationWindow.cpp.
References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), and myRunThread.
|
virtual |
Sends an event from the application thread to the GUI and waits until it is handled.
event | the event to send |
Reimplemented from GUIMainWindow.
Definition at line 1910 of file GUIApplicationWindow.cpp.
References myEventCondition, myEventMutex, myEvents, myRunThreadEvent, FXSynchQue< T, Container >::push_back(), and FXEX::FXThreadEvent::signal().
|
virtual |
Sets the breakpoints of the parent application.
Reimplemented from GUIMainWindow.
Definition at line 1919 of file GUIApplicationWindow.cpp.
References GUIRunThread::getBreakpointLock(), GUIRunThread::getBreakpoints(), and myRunThread.
|
inlinevirtual |
Sets the delay of the parent application.
delay | the new delay in milliseconds |
Reimplemented from GUIMainWindow.
Definition at line 284 of file GUIApplicationWindow.h.
References mySimDelay.
Referenced by handleEvent_SimulationLoaded().
|
virtual |
get status bar text (can be implemented in children)
Reimplemented from GUIMainWindow.
Definition at line 1837 of file GUIApplicationWindow.cpp.
References GUIMainWindow::myStatusbar.
Referenced by handleEvent_Message(), handleEvent_SimulationLoaded(), loadConfigOrNet(), onCmdReload(), onCmdSaveConfig(), and onCmdSaveState().
|
protectedinherited |
perform initial window positioning and sizing according to user options / previous call
Definition at line 236 of file GUIMainWindow.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), StringUtils::toInt(), toString(), and WRITE_ERROR.
Referenced by create(), GNEApplicationWindow::create(), GNEApplicationWindow::handleEvent_NetworkLoaded(), and handleEvent_SimulationLoaded().
|
protectedinherited |
record window position and size in registry
Definition at line 276 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmFullScreen.
Referenced by loadConfigOrNet(), GNEApplicationWindow::loadConfigOrNet(), onCmdQuit(), GNEApplicationWindow::onCmdQuit(), and onCmdReload().
|
inherited |
update childrens
Definition at line 162 of file GUIMainWindow.cpp.
References MID_SIMSTEP, GUIMainWindow::myMDIClient, GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by handleEvent_SimulationStep(), GUIDialog_GLChosenEditor::onCmdClear(), GUIDialog_GLChosenEditor::onCmdDeselect(), and onCmdEditChosen().
|
private |
updates the simulation time display
Definition at line 1850 of file GUIApplicationWindow.cpp.
References DELTA_T, GUIRunThread::getSimEndTime(), GUIMainWindow::myAmGaming, myLCDLabel, myRunThread, myShowTimeAsHMS, and FXEX::FXLCDLabel::setText().
Referenced by handleEvent_SimulationStep(), and onCmdTimeToggle().
|
protected |
Definition at line 409 of file GUIApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
The alternate simulation delay in milliseconds for toggling.
Definition at line 380 of file GUIApplicationWindow.h.
Referenced by create(), onCmdDelayToggle(), and onCmdQuit().
|
protectedinherited |
fox need this
whether to show the window in full screen mode
Definition at line 161 of file GUIMainWindow.h.
Referenced by GUIMainWindow::isFullScreen(), onCmdFullScreen(), onCmdGaming(), and GUIMainWindow::storeWindowSizeAndPos().
|
protectedinherited |
information whether the gui is currently in gaming mode
Definition at line 190 of file GUIMainWindow.h.
Referenced by handleEvent_SimulationStep(), GUIMainWindow::isGaming(), onCmdFullScreen(), onCmdGaming(), and updateTimeLCD().
|
protected |
information whether the gui is currently loading and the load-options shall be greyed out
Definition at line 346 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), loadConfigOrNet(), onCmdEditChosen(), onCmdOpenRecent(), onCmdReload(), onUpdAddView(), onUpdNeedsSimulation(), onUpdOpen(), onUpdOpenRecent(), onUpdReload(), onUpdStart(), onUpdStep(), and onUpdStop().
|
protectedinherited |
Font used for popup-menu titles.
Definition at line 171 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Definition at line 187 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Labels for the current cartesian and geo-coordinate.
Definition at line 180 of file GUIMainWindow.h.
Referenced by closeAllWindows(), GNEApplicationWindow::closeAllWindows(), dependentBuild(), GNEApplicationWindow::dependentBuild(), and GUIMainWindow::getCartesianLabel().
|
protectedinherited |
Definition at line 182 of file GUIMainWindow.h.
Referenced by create(), GNEApplicationWindow::create(), dependentBuild(), and GNEApplicationWindow::dependentBuild().
|
protected |
Definition at line 426 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().
|
protected |
Input file pattern.
Definition at line 407 of file GUIApplicationWindow.h.
Referenced by onCmdOpenConfiguration().
|
protected |
Definition at line 350 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
the demand scale
Definition at line 377 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), handleEvent_SimulationLoaded(), and onCmdDemandScale().
|
protected |
Definition at line 349 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
Definition at line 442 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protected |
Definition at line 439 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEvents(), and onCmdGaming().
|
protected |
the semaphore when waiting for event completion
Definition at line 421 of file GUIApplicationWindow.h.
Referenced by sendBlockingEvent().
|
protected |
the mutex for the waiting semaphore
Definition at line 418 of file GUIApplicationWindow.h.
Referenced by sendBlockingEvent().
|
protected |
List of got requests.
Definition at line 383 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), eventOccurred(), sendBlockingEvent(), and ~GUIApplicationWindow().
|
protected |
the submenus
Definition at line 349 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
staticprotected |
A random number generator used to choose a gaming sound.
Definition at line 430 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protectedinherited |
Definition at line 180 of file GUIMainWindow.h.
Referenced by closeAllWindows(), GNEApplicationWindow::closeAllWindows(), dependentBuild(), GNEApplicationWindow::dependentBuild(), and GUIMainWindow::getGeoLabel().
|
protectedinherited |
Definition at line 182 of file GUIMainWindow.h.
Referenced by create(), GNEApplicationWindow::create(), dependentBuild(), and GNEApplicationWindow::dependentBuild().
|
protectedinherited |
The gl-visual used.
Definition at line 185 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getGLVisual(), GNEApplicationWindow::~GNEApplicationWindow(), and ~GUIApplicationWindow().
|
protectedinherited |
Definition at line 163 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addGLChild(), closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GUIMainWindow::getViewByID(), GUIMainWindow::getViewIDs(), GUIMainWindow::getViews(), handleEvent_SimulationLoaded(), onCmdEditViewport(), onCmdEditViewScheme(), onCmdFullScreen(), onCmdGaming(), onCmdNetedit(), and GUIMainWindow::removeGLChild().
|
protected |
whether the simulation end was already announced
Definition at line 415 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationEnded(), and handleEvent_SimulationLoaded().
|
protected |
Definition at line 351 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
staticprotectedinherited |
the singleton window instance
Definition at line 202 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getInstance(), and GUIMainWindow::GUIMainWindow().
|
protected |
Definition at line 425 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().
|
protected |
waiting time after which vehicles trigger jam sounds
Definition at line 428 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and handleEvent_SimulationLoaded().
|
protected |
the simulation step display
Definition at line 395 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), closeAllWindows(), handleEvent_SimulationLoaded(), onCmdGaming(), and updateTimeLCD().
|
protectedinherited |
Definition at line 187 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
information whether the locator should list internal structures
Definition at line 193 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listInternal(), and onCmdListInternal().
|
protectedinherited |
information whether the locator should list parking vehicles
Definition at line 196 of file GUIMainWindow.h.
Referenced by fillMenuBar(), GUIMainWindow::listParking(), and onCmdListParking().
|
protectedinherited |
information whether the locator should list teleporting vehicles
Definition at line 199 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listTeleporting(), and onCmdListTeleporting().
|
protected |
the thread that loads simulations
Definition at line 334 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), loadConfigOrNet(), onCmdReload(), onUpdReload(), and ~GUIApplicationWindow().
|
protected |
io-event with the load-thread
Definition at line 398 of file GUIApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
Definition at line 350 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
The splitter that divides the main window into views and the log window.
Definition at line 363 of file GUIApplicationWindow.h.
Referenced by dependentBuild().
|
protectedinherited |
The multi view panel.
Definition at line 174 of file GUIMainWindow.h.
Referenced by dependentBuild(), GNEApplicationWindow::dependentBuild(), fillMenuBar(), GUIMainWindow::getActiveView(), getBuildGLCanvas(), GNEApplicationWindow::handleEvent_NetworkLoaded(), onCmdEditChosen(), onCmdFullScreen(), onCmdGaming(), onCmdLocate(), GNEApplicationWindow::onCmdLocate(), onCmdOpenEdgeData(), onCmdOpenShapes(), onCmdShowStats(), onKeyPress(), GNEApplicationWindow::onKeyPress(), onKeyRelease(), GNEApplicationWindow::onKeyRelease(), openNewView(), and GUIMainWindow::updateChildren().
|
protected |
The menu used for the MDI-windows.
Definition at line 386 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), and openNewView().
|
protected |
The application menu bar.
Definition at line 389 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), fillMenuBar(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 367 of file GUIApplicationWindow.h.
Referenced by create(), dependentBuild(), and detach().
|
protected |
A window to display messages, warnings and error in.
Definition at line 360 of file GUIApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), fillMenuBar(), handleEvent_Message(), onCmdClearMsgWindow(), onCmdFullScreen(), and onCmdGaming().
|
protected |
the name of the simulation
Definition at line 331 of file GUIApplicationWindow.h.
|
protected |
Definition at line 431 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protected |
List of recent files.
Definition at line 404 of file GUIApplicationWindow.h.
Referenced by addRecentFile(), fillMenuBar(), onCmdOpenConfiguration(), and onCmdOpenNetwork().
|
protectedinherited |
Definition at line 187 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
the thread that runs simulations
Definition at line 337 of file GUIApplicationWindow.h.
Referenced by checkGamingEventsDRT(), closeAllWindows(), dependentBuild(), eventOccurred(), getCurrentSimTime(), handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), onCmdDemandScale(), onCmdEditBreakpoints(), onCmdEditChosen(), onCmdOpenShapes(), onCmdStart(), onCmdStep(), onCmdStop(), onCmdTimeToggle(), onUpdAddView(), onUpdNeedsSimulation(), onUpdStart(), onUpdStep(), onUpdStop(), openNewView(), retrieveBreakpoints(), setBreakpoints(), updateTimeLCD(), and ~GUIApplicationWindow().
|
protected |
io-event with the run-thread
Definition at line 401 of file GUIApplicationWindow.h.
Referenced by dependentBuild(), and sendBlockingEvent().
|
protected |
Definition at line 349 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
the menu cascades
Definition at line 354 of file GUIApplicationWindow.h.
Referenced by fillMenuBar(), and onUpdNeedsSimulation().
|
protected |
Definition at line 349 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().
|
protected |
whether to show time as hour:minute:second
Definition at line 412 of file GUIApplicationWindow.h.
Referenced by create(), onCmdQuit(), onCmdTimeToggle(), and updateTimeLCD().
|
protected |
the simulation delay in milliseconds
Definition at line 371 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), getDelay(), handleEvent_SimulationLoaded(), onCmdDelayToggle(), and setDelay().
|
protected |
Definition at line 374 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and handleEvent_SimulationLoaded().
|
protected |
Definition at line 373 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and handleEvent_SimulationLoaded().
|
protected |
Definition at line 372 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protected |
Buttons showing and running values and triggering statistic windows.
Definition at line 357 of file GUIApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), handleEvent_SimulationLoaded(), and handleEvent_SimulationStep().
|
protectedinherited |
The status bar.
Definition at line 177 of file GUIMainWindow.h.
Referenced by dependentBuild(), GNEApplicationWindow::dependentBuild(), fillMenuBar(), GNEApplicationWindow::fillMenuBar(), onCmdFullScreen(), onCmdGaming(), onCmdOpenRecent(), GNEApplicationWindow::onCmdOpenRecent(), onCmdStart(), onCmdStep(), openNewView(), GNEApplicationWindow::setStatusBarText(), and setStatusBarText().
|
protected |
Definition at line 441 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents().
|
protected |
Definition at line 437 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEvents(), and onCmdGaming().
|
protected |
current game mode
Definition at line 433 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), handleEvent_SimulationStep(), and onCmdGaming().
|
protected |
The application tool bar.
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 444 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), and onCmdGaming().
|
protected |
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), eventOccurred(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), eventOccurred(), fillMenuBar(), and onCmdFullScreen().
|
protected |
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), fillMenuBar(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 444 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 444 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 392 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), onCmdFullScreen(), and onCmdGaming().
|
protected |
Definition at line 444 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), dependentBuild(), and onCmdGaming().
|
protected |
for some menu detaching fun
Definition at line 366 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), create(), detach(), and ~GUIApplicationWindow().
|
protected |
Definition at line 445 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protected |
Definition at line 366 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 366 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 367 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 367 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 445 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 445 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), and create().
|
protected |
Definition at line 368 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protected |
Definition at line 445 of file GUIApplicationWindow.h.
Referenced by buildToolBars().
|
protectedinherited |
Definition at line 187 of file GUIMainWindow.h.
Referenced by buildToolBars(), dependentBuild(), GUIMainWindow::getTopDock(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
Definition at line 443 of file GUIApplicationWindow.h.
Referenced by checkGamingEventsDRT().
|
protected |
Definition at line 438 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEventsDRT(), and onCmdGaming().
|
protectedinherited |
A lock to make the removal and addition of trackers secure.
Definition at line 168 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protectedinherited |
Definition at line 165 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), closeAllWindows(), GNEApplicationWindow::closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protected |
The current view number.
Definition at line 343 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), and openNewView().
|
protected |
Definition at line 440 of file GUIApplicationWindow.h.
Referenced by checkGamingEvents(), and checkGamingEventsDRT().
|
protected |
performance indicators
Definition at line 436 of file GUIApplicationWindow.h.
Referenced by buildToolBars(), checkGamingEvents(), checkGamingEventsDRT(), and onCmdGaming().
|
protected |
the information whether the simulation was started before
Definition at line 340 of file GUIApplicationWindow.h.
Referenced by handleEvent_SimulationLoaded(), onCmdStart(), and onCmdStep().
|
protected |
Definition at line 351 of file GUIApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GUIApplicationWindow().