Eclipse SUMO - Simulation of Urban MObility
|
A few system-specific functions. More...
#include <SysUtils.h>
Static Public Member Functions | |
static long | getCurrentMillis () |
Returns the current time in milliseconds. | |
static long long | getModifiedTime (const std::string &fname) |
@brie get modified time | |
static unsigned long | runHiddenCommand (const std::string &cmd) |
run a shell command without popping up any windows (particuarly on win32) | |
A few system-specific functions.
Definition at line 30 of file SysUtils.h.
|
static |
Returns the current time in milliseconds.
Definition at line 44 of file SysUtils.cpp.
Referenced by CHBuilder< E, V >::buildContractionHierarchy(), MSNet::closeBuilding(), MSNet::closeSimulation(), AFRouter< E, N, V, M >::compute(), NBNetBuilder::compute(), AFBuild< E, N, V, M >::computeArcFlags(), AFBuild< E, N, V, M >::computeArcFlagsAux(), AFBuild< E, N, V, M >::computeArcFlagsNaive(), AFRouter< E, N, V, M >::endQuery(), SUMOAbstractRouter< E, V >::endQuery(), GUIApplicationWindow::handleEvent_SimulationStep(), GUISUMOAbstractView::paintGL(), MSNet::postMoveStep(), AFRouter< E, N, V, M >::reset(), signalHandler(), MSNet::simulationStep(), AFRouter< E, N, V, M >::startQuery(), SUMOAbstractRouter< E, V >::startQuery(), and GUIRunThread::tryStep().
|
static |
@brie get modified time
Definition at line 109 of file SysUtils.cpp.
Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().
|
static |
run a shell command without popping up any windows (particuarly on win32)
Definition at line 69 of file SysUtils.cpp.
References INFINITE, and StringUtils::transcodeToLocal().
Referenced by GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::onCmdNewWindow(), GNEApplicationWindow::onCmdNewWindow(), GUIApplicationWindow::onCmdOpenInNetedit(), GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEPythonTool::saveConfiguration().