![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Representation of a lane. More...
#include <NIImporter_OpenDrive.h>
Public Member Functions | |
| SVCPermissions | computePermission (const NBTypeCont &tc, const std::vector< std::string > &allowed, const std::vector< std::string > &denied) const |
| compute the actual SUMO lane permissions given the lane type as a start solution | |
| OpenDriveLane (int idArg, const std::string &levelArg, const std::string &typeArg) | |
| Constructor. | |
Data Fields | |
| std::vector< std::pair< double, LaneAttributeChange > > | attributeChanges |
| List of permission and speed changes. | |
| int | id |
| The lane's id. | |
| std::string | level |
| The lane's level (not used). | |
| SVCPermissions | permission |
| The access permissions (set in post-processing). | |
| int | predecessor |
| The lane's predecessor lane. | |
| double | speed |
| The lane's speed (set in post-processing). | |
| int | successor |
| The lane's successor lane. | |
| std::string | type |
| The lane's type. | |
| double | width |
| std::vector< OpenDriveWidth > | widthData |
Representation of a lane.
Definition at line 323 of file NIImporter_OpenDrive.h.
|
inline |
Constructor.
| [in] | idArg | The OpenDrive id of the lane |
| [in] | levelArg | The level |
| [in] | typeArg | type of the lane |
Definition at line 329 of file NIImporter_OpenDrive.h.
References id, level, permission, predecessor, speed, successor, type, UNSET_CONNECTION, and width.
| SVCPermissions NIImporter_OpenDrive::OpenDriveLane::computePermission | ( | const NBTypeCont & | tc, |
| const std::vector< std::string > & | allowed, | ||
| const std::vector< std::string > & | denied ) const |
compute the actual SUMO lane permissions given the lane type as a start solution
Definition at line 2141 of file NIImporter_OpenDrive.cpp.
References NBTypeCont::getEdgeTypePermissions(), SVC_BICYCLE, SVC_BUS, SVC_DELIVERY, SVC_EMERGENCY, SVC_IGNORING, SVC_MOTORCYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_TAXI, SVC_TRAILER, SVC_TRUCK, TL, type, and WRITE_WARNING.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection().
| std::vector< std::pair<double, LaneAttributeChange> > NIImporter_OpenDrive::OpenDriveLane::attributeChanges |
List of permission and speed changes.
Definition at line 341 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection().
| int NIImporter_OpenDrive::OpenDriveLane::id |
The lane's id.
Definition at line 336 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::myStartElement(), OpenDriveLane(), NIImporter_OpenDrive::recomputeWidths(), and NIImporter_OpenDrive::setLaneAttributes().
| std::string NIImporter_OpenDrive::OpenDriveLane::level |
The lane's level (not used).
Definition at line 337 of file NIImporter_OpenDrive.h.
Referenced by OpenDriveLane().
| SVCPermissions NIImporter_OpenDrive::OpenDriveLane::permission |
The access permissions (set in post-processing).
Definition at line 344 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection(), OpenDriveLane(), and NIImporter_OpenDrive::setLaneAttributes().
| int NIImporter_OpenDrive::OpenDriveLane::predecessor |
The lane's predecessor lane.
Definition at line 340 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::myStartElement(), and OpenDriveLane().
| double NIImporter_OpenDrive::OpenDriveLane::speed |
The lane's speed (set in post-processing).
Definition at line 342 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection(), OpenDriveLane(), and NIImporter_OpenDrive::setLaneAttributes().
| int NIImporter_OpenDrive::OpenDriveLane::successor |
The lane's successor lane.
Definition at line 339 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::myStartElement(), and OpenDriveLane().
| std::string NIImporter_OpenDrive::OpenDriveLane::type |
The lane's type.
Definition at line 338 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), computePermission(), NIImporter_OpenDrive::myStartElement(), OpenDriveLane(), NIImporter_OpenDrive::recomputeWidths(), and NIImporter_OpenDrive::setLaneAttributes().
| double NIImporter_OpenDrive::OpenDriveLane::width |
Definition at line 343 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::myStartElement(), OpenDriveLane(), NIImporter_OpenDrive::recomputeWidths(), and NIImporter_OpenDrive::setLaneAttributes().
| std::vector<OpenDriveWidth> NIImporter_OpenDrive::OpenDriveLane::widthData |
Definition at line 345 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::myStartElement(), and NIImporter_OpenDrive::recomputeWidths().