SUMO - Simulation of Urban MObility

NBTypeCont::TypeDefinition Struct Reference

Public Member Functions

 TypeDefinition ()
 Constructor.
 TypeDefinition (int _noLanes, SUMOReal _speed, int _priority, SUMOReal _width)
 Constructor.

Data Fields

SUMOVehicleClasses allowed
 List of vehicle types that are allowed on this edge.
bool discard
 Whether edges of this type shall be discarded.
int noLanes
 The number of lanes of an edge.
SUMOVehicleClasses notAllowed
 List of vehicle types that are not allowed on this edge.
bool oneWay
 Whether one-way traffic is mostly common for this type (mostly unused)
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 210 of file NBTypeCont.h.


Constructor & Destructor Documentation

NBTypeCont::TypeDefinition::TypeDefinition ( ) [inline]

Constructor.

Definition at line 212 of file NBTypeCont.h.

NBTypeCont::TypeDefinition::TypeDefinition ( int  _noLanes,
SUMOReal  _speed,
int  _priority,
SUMOReal  _width 
) [inline]

Constructor.

Definition at line 217 of file NBTypeCont.h.


Field Documentation

List of vehicle types that are allowed on this edge.

Definition at line 228 of file NBTypeCont.h.

Referenced by NBTypeCont::getAllowedClasses(), and NBTypeCont::insert().

Whether edges of this type shall be discarded.

Definition at line 234 of file NBTypeCont.h.

Referenced by NBTypeCont::getShallBeDiscarded().

The number of lanes of an edge.

Definition at line 222 of file NBTypeCont.h.

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

List of vehicle types that are not allowed on this edge.

Definition at line 230 of file NBTypeCont.h.

Referenced by NBTypeCont::getDisallowedClasses(), and NBTypeCont::insert().

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

Definition at line 232 of file NBTypeCont.h.

Referenced by NBTypeCont::getIsOneWay(), and NBTypeCont::insert().

The priority of an edge.

Definition at line 226 of file NBTypeCont.h.

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

The maximal velocity on an edge in m/s.

Definition at line 224 of file NBTypeCont.h.

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

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

Definition at line 236 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