SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 42 of file RODUAFrame.h.

Member Function Documentation

void RODUAFrame::addDUAOptions ( )
staticprotected

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

Definition at line 101 of file RODUAFrame.cpp.

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

Referenced by fillOptions().

void RODUAFrame::addImportOptions ( )
staticprotected

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

Definition at line 79 of file RODUAFrame.cpp.

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

Referenced by fillOptions().

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 140 of file RODUAFrame.cpp.

References SUMOVehicleParameter::arrivallaneValidate(), SUMOVehicleParameter::arrivalposValidate(), SUMOVehicleParameter::arrivalspeedValidate(), SUMOVehicleParameter::departlaneValidate(), SUMOVehicleParameter::departposValidate(), SUMOVehicleParameter::departspeedValidate(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), and WRITE_ERROR.

Referenced by main().

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 56 of file RODUAFrame.cpp.

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

Referenced by main().


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