Eclipse SUMO - Simulation of Urban MObility
ROMAFrame Class Reference

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

#include <ROMAFrame.h>

Static Public Member Functions

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

Static Protected Member Functions

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

Detailed Description

Sets and checks options for dua-routing.

Definition at line 33 of file ROMAFrame.h.

Member Function Documentation

◆ addAssignmentOptions()

void ROMAFrame::addAssignmentOptions ( )
staticprotected

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

Definition at line 149 of file ROMAFrame.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 ROMAFrame::addImportOptions ( )
staticprotected

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

Definition at line 66 of file ROMAFrame.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 ROMAFrame::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 236 of file ROMAFrame.cpp.

References OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), TL, WRITE_ERRORF, and WRITE_WARNING.

Referenced by main().

Here is the caller graph for this function:

◆ fillOptions()

void ROMAFrame::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 44 of file ROMAFrame.cpp.

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

Referenced by main().

Here is the caller graph for this function:

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