Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <string>
#include <utils/options/Option.h>
#include <utils/options/OptionsCont.h>
#include <utils/options/OptionsIO.h>
#include <utils/common/MsgHandler.h>
#include <utils/common/UtilExceptions.h>
#include <utils/common/SystemFrame.h>
#include <utils/common/RandHelper.h>
#include <utils/common/ToString.h>
#include <utils/xml/XMLSubSys.h>
#include <utils/common/StringUtils.h>
#include <od/ODDistrictCont.h>
#include <od/ODDistrictHandler.h>
#include <od/ODMatrix.h>
#include <utils/common/SUMOTime.h>
#include <utils/common/StringTokenizer.h>
#include <utils/common/FileHelpers.h>
#include <utils/vehicle/SUMOVehicleParameter.h>
#include <utils/importio/LineReader.h>
#include <utils/iodevices/OutputDevice.h>
Go to the source code of this file.
Functions | |
bool | checkOptions () |
void | fillOptions () |
int | main (int argc, char **argv) |
Definition in file od2trips_main.cpp.
bool checkOptions | ( | ) |
Definition at line 189 of file od2trips_main.cpp.
References SUMOVehicleParameter::arrivalLane, SUMOVehicleParameter::arrivalLaneProcedure, SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, SUMOVehicleParameter::arrivalSpeed, SUMOVehicleParameter::arrivalSpeedProcedure, SystemFrame::checkOptions(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, OptionsCont::getBool(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), SUMOVehicleParameter::parseArrivalLane(), SUMOVehicleParameter::parseArrivalPos(), SUMOVehicleParameter::parseArrivalSpeed(), SUMOVehicleParameter::parseDepartLane(), SUMOVehicleParameter::parseDepartPos(), SUMOVehicleParameter::parseDepartSpeed(), TL, and WRITE_ERROR.
Referenced by main().
void fillOptions | ( | ) |
Definition at line 61 of file od2trips_main.cpp.
References OptionsCont::addCallExample(), SystemFrame::addConfigurationOptions(), OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), SystemFrame::addReportOptions(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), OptionsCont::getOptions(), RandHelper::insertRandOptions(), and TL.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 246 of file od2trips_main.cpp.
References ODMatrix::applyCurve(), checkOptions(), SystemFrame::close(), OutputDevice::createDeviceByOption(), fillOptions(), OptionsCont::getBool(), OutputDevice::getDeviceByOption(), MsgHandler::getErrorInstance(), OptionsCont::getFloat(), ODMatrix::getNumDiscarded(), ODMatrix::getNumLoaded(), ODMatrix::getNumWritten(), OptionsCont::getOptions(), OptionsIO::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MsgHandler::inform(), XMLSubSys::init(), MsgHandler::initOutputOptions(), RandHelper::initRandGlobal(), OptionsCont::isDefault(), OptionsCont::isSet(), ODDistrictCont::loadDistricts(), ODMatrix::loadMatrix(), ODMatrix::parseTimeLine(), OptionsCont::processMetaOptions(), OptionsCont::setApplicationDescription(), OptionsCont::setApplicationName(), OptionsIO::setArgs(), XMLSubSys::setValidation(), NamedObjectCont< T >::size(), string2time(), SUMOTime_MAX, TL, toString(), ODMatrix::write(), WRITE_ERROR, WRITE_MESSAGE, and ODMatrix::writeFlows().