SUMO - Simulation of Urban MObility
NBTypeCont::TypeDefinition Struct Reference

Public Member Functions

 TypeDefinition ()
 Constructor.
 TypeDefinition (int _noLanes, SUMOReal _speed, int _priority, SUMOReal _width, SVCPermissions _permissions, bool _oneWay)
 Constructor.

Data Fields

bool discard
 Whether edges of this type shall be discarded.
int noLanes
 The number of lanes of an edge.
bool oneWay
 Whether one-way traffic is mostly common for this type (mostly unused)
SVCPermissions permissions
 List of vehicle types that are allowed on this edge.
int priority
 The priority of an edge.
SUMOReal speed
 The maximal velocity on an edge in m/s.
SUMOReal width
 The width of lanes of edges of this type [m].

Detailed Description

Definition at line 193 of file NBTypeCont.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 195 of file NBTypeCont.h.

NBTypeCont::TypeDefinition::TypeDefinition ( int  _noLanes,
SUMOReal  _speed,
int  _priority,
SUMOReal  _width,
SVCPermissions  _permissions,
bool  _oneWay 
) [inline]

Constructor.

Definition at line 201 of file NBTypeCont.h.


Field Documentation

Whether edges of this type shall be discarded.

Definition at line 218 of file NBTypeCont.h.

Referenced by NBTypeCont::getShallBeDiscarded().

The number of lanes of an edge.

Definition at line 208 of file NBTypeCont.h.

Referenced by NBTypeCont::getNumLanes(), and NBTypeCont::setDefaults().

Whether one-way traffic is mostly common for this type (mostly unused)

Definition at line 216 of file NBTypeCont.h.

Referenced by NBTypeCont::getIsOneWay().

List of vehicle types that are allowed on this edge.

Definition at line 214 of file NBTypeCont.h.

Referenced by NBTypeCont::getPermissions().

The priority of an edge.

Definition at line 212 of file NBTypeCont.h.

Referenced by NBTypeCont::getPriority(), and NBTypeCont::setDefaults().

The maximal velocity on an edge in m/s.

Definition at line 210 of file NBTypeCont.h.

Referenced by NBTypeCont::getSpeed(), and NBTypeCont::setDefaults().

The width of lanes of edges of this type [m].

Definition at line 220 of file NBTypeCont.h.

Referenced by NBTypeCont::getWidth().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines