SUMO - Simulation of Urban MObility
|
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. |
Sets and checks options for dua-routing.
Definition at line 42 of file RODUAFrame.h.
void RODUAFrame::addDUAOptions | ( | ) | [static, protected] |
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 | ( | ) | [static, protected] |
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".
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().