![]() |
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 317 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 323 of file NIImporter_OpenDrive.h.
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 2082 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, 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 335 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection().
int NIImporter_OpenDrive::OpenDriveLane::id |
The lane's id.
Definition at line 330 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::findWidthSplit(), NIImporter_OpenDrive::LaneSorter::operator()(), NIImporter_OpenDrive::recomputeWidths(), and NIImporter_OpenDrive::setLaneAttributes().
std::string NIImporter_OpenDrive::OpenDriveLane::level |
The lane's level (not used)
Definition at line 331 of file NIImporter_OpenDrive.h.
SVCPermissions NIImporter_OpenDrive::OpenDriveLane::permission |
The access permissions (set in post-processing)
Definition at line 338 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection(), and NIImporter_OpenDrive::setLaneAttributes().
int NIImporter_OpenDrive::OpenDriveLane::predecessor |
The lane's predecessor lane.
Definition at line 334 of file NIImporter_OpenDrive.h.
double NIImporter_OpenDrive::OpenDriveLane::speed |
The lane's speed (set in post-processing)
Definition at line 336 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection(), and NIImporter_OpenDrive::setLaneAttributes().
int NIImporter_OpenDrive::OpenDriveLane::successor |
The lane's successor lane.
Definition at line 333 of file NIImporter_OpenDrive.h.
std::string NIImporter_OpenDrive::OpenDriveLane::type |
The lane's type.
Definition at line 332 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), NIImporter_OpenDrive::findWidthSplit(), NIImporter_OpenDrive::recomputeWidths(), and NIImporter_OpenDrive::setLaneAttributes().
double NIImporter_OpenDrive::OpenDriveLane::width |
Definition at line 337 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::recomputeWidths(), and NIImporter_OpenDrive::setLaneAttributes().
std::vector<OpenDriveWidth> NIImporter_OpenDrive::OpenDriveLane::widthData |
Definition at line 339 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::findWidthSplit(), and NIImporter_OpenDrive::recomputeWidths().