SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ROJTRFrame Class Reference

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

#include <ROJTRFrame.h>

Static Public Member Functions

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

Detailed Description

Sets and checks options for jtr-routing.

Definition at line 42 of file ROJTRFrame.h.


Member Function Documentation

bool ROJTRFrame::checkOptions ( )
static

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

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

Definition at line 105 of file ROJTRFrame.cpp.

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

Referenced by main().

void ROJTRFrame::fillOptions ( )
static

Inserts options used by jtrrouter into the OptionsCont-singleton.

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

jtrrouer-specific options are added afterwards.

Definition at line 56 of file ROJTRFrame.cpp.

References OptionsCont::addCallExample(), SystemFrame::addConfigurationOptions(), OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), SystemFrame::addReportOptions(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), OptionsCont::getOptions(), and RandHelper::insertRandOptions().

Referenced by main().


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