NBTypeCont::TypeDefinition Struct Reference


Detailed Description

Definition at line 208 of file NBTypeCont.h.


Public Member Functions

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

Data Fields

std::vector< SUMOVehicleClassallowed
 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.
std::vector< SUMOVehicleClassnotAllowed
 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.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 210 of file NBTypeCont.h.

00211                 : noLanes(1), speed((SUMOReal) 13.9), priority(-1), oneWay(true), discard(false) { }

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

Destructor.

Definition at line 214 of file NBTypeCont.h.

00215                 : noLanes(_noLanes), speed(_speed), priority(_priority), oneWay(true), discard(false) { }


Field Documentation

List of vehicle types that are allowed on this edge.

Definition at line 224 of file NBTypeCont.h.

Referenced by NBTypeCont::insert().

Whether edges of this type shall be discarded.

Definition at line 230 of file NBTypeCont.h.

The number of lanes of an edge.

Definition at line 218 of file NBTypeCont.h.

Referenced by NBTypeCont::getDefaultNoLanes().

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

Definition at line 226 of file NBTypeCont.h.

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

Definition at line 228 of file NBTypeCont.h.

Referenced by NBTypeCont::insert().

The priority of an edge.

Definition at line 222 of file NBTypeCont.h.

Referenced by NBTypeCont::getDefaultPriority().

The maximal velocity on an edge in m/s.

Definition at line 220 of file NBTypeCont.h.

Referenced by NBTypeCont::getDefaultSpeed().


The documentation for this struct was generated from the following file:

Generated on Wed May 5 00:06:52 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6