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

Sets and checks options for dua-routing. More...

#include <RODUAFrame.h>

Static Public Member Functions

static bool checkOptions ()
 Checks set options from the OptionsCont-singleton for being valid for usage within duarouter.
 
static void fillOptions ()
 Inserts options used by duarouter into the OptionsCont-singleton.
 

Static Protected Member Functions

static void addDUAOptions ()
 Inserts dua options used by duarouter into the OptionsCont-singleton.
 
static void addImportOptions ()
 Inserts import options used by duarouter into the OptionsCont-singleton.
 

Detailed Description

Sets and checks options for dua-routing.

Definition at line 32 of file RODUAFrame.h.

Member Function Documentation

◆ addDUAOptions()

void RODUAFrame::addDUAOptions ( )
staticprotected

Inserts dua options used by duarouter into the OptionsCont-singleton.

Definition at line 122 of file RODUAFrame.cpp.

References OptionsCont::addDescription(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), OptionsCont::getOptions(), and TL.

Referenced by fillOptions().

Here is the caller graph for this function:

◆ addImportOptions()

void RODUAFrame::addImportOptions ( )
staticprotected

Inserts import options used by duarouter into the OptionsCont-singleton.

Definition at line 65 of file RODUAFrame.cpp.

References OptionsCont::addDescription(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), OptionsCont::getOptions(), and TL.

Referenced by fillOptions().

Here is the caller graph for this function:

◆ checkOptions()

bool RODUAFrame::checkOptions ( )
static

Checks set options from the OptionsCont-singleton for being valid for usage within duarouter.

Currently, this is done via a call to "ROFrame::checkOptions".

Returns
Whether all needed options are set
Todo:
probably, more things should be checked...

Definition at line 203 of file RODUAFrame.cpp.

References SUMOVehicleParameter::arrivalLane, SUMOVehicleParameter::arrivalLaneProcedure, SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, SUMOVehicleParameter::arrivalSpeed, SUMOVehicleParameter::arrivalSpeedProcedure, ROFrame::checkOptions(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, OptionsCont::getBool(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), gTaxiClasses, OptionsCont::isDefault(), OptionsCont::isSet(), SUMOVehicleParameter::parseArrivalLane(), SUMOVehicleParameter::parseArrivalPos(), SUMOVehicleParameter::parseArrivalSpeed(), SUMOVehicleParameter::parseDepartLane(), SUMOVehicleParameter::parseDepartPos(), SUMOVehicleParameter::parseDepartSpeed(), parseVehicleClasses(), OptionsCont::set(), OptionsCont::setDefault(), TL, WRITE_ERROR, WRITE_ERRORF, and WRITE_WARNING.

Referenced by main().

Here is the caller graph for this function:

◆ fillOptions()

void RODUAFrame::fillOptions ( )
static

Inserts options used by duarouter into the OptionsCont-singleton.

As duarouter shares several options with other routing appplications, the insertion of these is done via a call to ROFrame::fillOptions.

duarouter-specific options are added afterwards via calls to "addImportOptions" and "addDUAOptions".

Definition at line 43 of file RODUAFrame.cpp.

References OptionsCont::addCallExample(), SystemFrame::addConfigurationOptions(), addDUAOptions(), addImportOptions(), OptionsCont::addOptionSubTopic(), ROFrame::fillOptions(), OptionsCont::getOptions(), RandHelper::insertRandOptions(), and TL.

Referenced by main().

Here is the caller graph for this function:

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