Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
SysUtils Class Reference

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)
 

Detailed Description

A few system-specific functions.

Definition at line 30 of file SysUtils.h.

Member Function Documentation

◆ getCurrentMillis()

long SysUtils::getCurrentMillis ( )
static

Returns the current time in milliseconds.

Returns
Current time

Definition at line 44 of file SysUtils.cpp.

Referenced by CHBuilder< E, V >::buildContractionHierarchy(), MSNet::closeBuilding(), MSNet::closeSimulation(), NBNetBuilder::compute(), SUMOAbstractRouter< E, V >::endQuery(), GUIApplicationWindow::handleEvent_SimulationStep(), GUISUMOAbstractView::paintGL(), MSNet::postMoveStep(), signalHandler(), MSNet::simulationStep(), SUMOAbstractRouter< E, V >::startQuery(), and GUIRunThread::tryStep().

Here is the caller graph for this function:

◆ getModifiedTime()

long long SysUtils::getModifiedTime ( const std::string &  fname)
static

@brie get modified time

Definition at line 109 of file SysUtils.cpp.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

Here is the caller graph for this function:

◆ runHiddenCommand()

unsigned long SysUtils::runHiddenCommand ( const std::string &  cmd)
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().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: