Eclipse SUMO - Simulation of Urban MObility
ROMAFrame Class Reference

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

#include <ROMAFrame.h>

Collaboration diagram for ROMAFrame:

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 36 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 198 of file ROMAFrame.cpp.

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

Referenced by fillOptions().

◆ addImportOptions()

void ROMAFrame::addImportOptions ( )
staticprotected

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

Definition at line 68 of file ROMAFrame.cpp.

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

Referenced by fillOptions().

◆ 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 285 of file ROMAFrame.cpp.

References OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), and WRITE_ERROR.

Referenced by main().

◆ 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 46 of file ROMAFrame.cpp.

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

Referenced by main().


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