Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBTypeCont::LaneTypeDefinition Struct Reference

laneType definition More...

#include <NBTypeCont.h>

Inheritance diagram for NBTypeCont::LaneTypeDefinition:
[legend]

Public Member Functions

 LaneTypeDefinition ()
 default Constructor
 LaneTypeDefinition (const double speed, const double friction, const double width, SVCPermissions permissions, const std::set< SumoXMLAttr > &attrs)
 parameter constructor
 LaneTypeDefinition (const EdgeTypeDefinition *edgeTypeDefinition)
 constructor (using parameters of EdgeTypeDefinition)
 LaneTypeDefinition (const LaneTypeDefinition *laneTypeDefinition)
 copy constructor

Data Fields

std::set< SumoXMLAttrattrs
 The attributes which have been set.
double friction
 The default friction on a lane.
SVCPermissions permissions
 List of vehicle edgeTypes that are allowed on this lane.
std::map< SUMOVehicleClass, double > restrictions
 The vehicle class specific speed restrictions.
double speed
 The maximal velocity on a lane in m/s.
double width
 lane width [m]

Detailed Description

laneType definition

Definition at line 59 of file NBTypeCont.h.

Constructor & Destructor Documentation

◆ LaneTypeDefinition() [1/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( )

default Constructor

Definition at line 43 of file NBTypeCont.cpp.

References friction, permissions, speed, SVC_UNSPECIFIED, and width.

Referenced by GNELaneType::GNELaneType(), and LaneTypeDefinition().

Here is the caller graph for this function:

◆ LaneTypeDefinition() [2/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( const EdgeTypeDefinition * edgeTypeDefinition)

constructor (using parameters of EdgeTypeDefinition)

Definition at line 51 of file NBTypeCont.cpp.

References friction, permissions, speed, and width.

◆ LaneTypeDefinition() [3/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( const double speed,
const double friction,
const double width,
SVCPermissions permissions,
const std::set< SumoXMLAttr > & attrs )

parameter constructor

Definition at line 59 of file NBTypeCont.cpp.

References attrs, friction, permissions, speed, and width.

◆ LaneTypeDefinition() [4/4]

NBTypeCont::LaneTypeDefinition::LaneTypeDefinition ( const LaneTypeDefinition * laneTypeDefinition)

copy constructor

Definition at line 68 of file NBTypeCont.cpp.

References attrs, friction, LaneTypeDefinition(), permissions, restrictions, speed, and width.

Field Documentation

◆ attrs

std::set<SumoXMLAttr> NBTypeCont::LaneTypeDefinition::attrs

The attributes which have been set.

Definition at line 89 of file NBTypeCont.h.

Referenced by NIXMLEdgesHandler::addEdge(), GNELaneType::getAttribute(), LaneTypeDefinition(), LaneTypeDefinition(), and GNELaneType::setAttribute().

◆ friction

double NBTypeCont::LaneTypeDefinition::friction

The default friction on a lane.

Definition at line 77 of file NBTypeCont.h.

Referenced by NIXMLEdgesHandler::addEdge(), LaneTypeDefinition(), LaneTypeDefinition(), LaneTypeDefinition(), and LaneTypeDefinition().

◆ permissions

SVCPermissions NBTypeCont::LaneTypeDefinition::permissions

List of vehicle edgeTypes that are allowed on this lane.

Definition at line 80 of file NBTypeCont.h.

Referenced by NIXMLEdgesHandler::addEdge(), GNELaneType::getAttribute(), LaneTypeDefinition(), LaneTypeDefinition(), LaneTypeDefinition(), LaneTypeDefinition(), and GNELaneType::setAttribute().

◆ restrictions

std::map<SUMOVehicleClass, double> NBTypeCont::LaneTypeDefinition::restrictions

The vehicle class specific speed restrictions.

Definition at line 86 of file NBTypeCont.h.

Referenced by LaneTypeDefinition().

◆ speed

double NBTypeCont::LaneTypeDefinition::speed

◆ width

double NBTypeCont::LaneTypeDefinition::width

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