Eclipse SUMO - Simulation of Urban MObility
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. More...
 
static unsigned long runHiddenCommand (const std::string &cmd)
 run a shell command without popping up any windows (particuarly on win32) More...
 

Detailed Description

A few system-specific functions.

Definition at line 29 of file SysUtils.h.

Member Function Documentation

◆ getCurrentMillis()

long SysUtils::getCurrentMillis ( )
static

Returns the current time in milliseconds.

Returns
Current time

Definition at line 39 of file SysUtils.cpp.

Referenced by CHBuilder< E, V >::buildContractionHierarchy(), MSNet::closeBuilding(), NBNetBuilder::compute(), SUMOAbstractRouter< E, V >::endQuery(), MSNet::generateStatistics(), GUISUMOAbstractView::paintGL(), GUIRunThread::run(), MSNet::simulationStep(), and SUMOAbstractRouter< E, V >::startQuery().

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 64 of file SysUtils.cpp.

References INFINITE.

Referenced by GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::onCmdNetedit(), and GNEApplicationWindow::onCmdOpenSUMOGUI().

Here is the caller graph for this function:

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