Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <csignal>
#include <netload/NLBuilder.h>
#include <utils/common/MsgHandler.h>
#include <utils/common/SystemFrame.h>
#include <utils/options/OptionsIO.h>
#include <utils/xml/XMLSubSys.h>
#include <traci-server/TraCIServer.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | signalHandler (int signum) |
Definition in file sumo_main.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 76 of file sumo_main.cpp.
References MsgHandler::cleanupOnEnd(), MsgHandler::clear(), TraCIServer::close(), SystemFrame::close(), OutputDevice::closeAll(), MsgHandler::getErrorInstance(), OptionsCont::getOptions(), OptionsCont::getString(), MsgHandler::getWarningInstance(), gSimulation, MsgHandler::inform(), XMLSubSys::init(), NLBuilder::init(), OptionsCont::setApplicationDescription(), OptionsCont::setApplicationName(), OptionsIO::setArgs(), signalHandler(), MSNet::SIMSTATE_LOADING, MSNet::simulate(), string2time(), TL, and WRITE_ERROR.
void signalHandler | ( | int | signum | ) |
Definition at line 43 of file sumo_main.cpp.
References MSNet::generateStatistics(), SysUtils::getCurrentMillis(), MSNet::getInstance(), OptionsCont::getOptions(), MSNet::hasInstance(), MSNet::interrupt(), SIMSTEP, string2time(), and TL.
Referenced by main().