SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NIImporter_OpenDrive::OpenDriveLane Struct Reference

Representation of a lane. More...

#include <NIImporter_OpenDrive.h>

Public Member Functions

 OpenDriveLane (int idArg, const std::string &levelArg, const std::string &typeArg)
 Constructor. More...
 

Data Fields

int id
 The lane's id. More...
 
std::string level
 The lane's level (not used) More...
 
int predecessor
 The lane's predecessor lane. More...
 
SUMOReal speed
 The lane's speed (set in post-processing) More...
 
std::vector< std::pair
< SUMOReal, SUMOReal > > 
speeds
 List of positions/speeds of speed changes. More...
 
int successor
 The lane's successor lane. More...
 
std::string type
 The lane's type. More...
 
SUMOReal width
 The lane's width;. More...
 

Detailed Description

Representation of a lane.

Definition at line 242 of file NIImporter_OpenDrive.h.

Constructor & Destructor Documentation

NIImporter_OpenDrive::OpenDriveLane::OpenDriveLane ( int  idArg,
const std::string &  levelArg,
const std::string &  typeArg 
)
inline

Constructor.

Parameters
[in]idArgThe OpenDrive id of the lane
[in]levelArgThe level
[in]typeArgtype of the lane

Definition at line 248 of file NIImporter_OpenDrive.h.

Field Documentation

int NIImporter_OpenDrive::OpenDriveLane::id

The lane's id.

Definition at line 252 of file NIImporter_OpenDrive.h.

std::string NIImporter_OpenDrive::OpenDriveLane::level

The lane's level (not used)

Definition at line 253 of file NIImporter_OpenDrive.h.

int NIImporter_OpenDrive::OpenDriveLane::predecessor

The lane's predecessor lane.

Definition at line 256 of file NIImporter_OpenDrive.h.

SUMOReal NIImporter_OpenDrive::OpenDriveLane::speed
std::vector<std::pair<SUMOReal, SUMOReal> > NIImporter_OpenDrive::OpenDriveLane::speeds

List of positions/speeds of speed changes.

Definition at line 257 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneSection().

int NIImporter_OpenDrive::OpenDriveLane::successor

The lane's successor lane.

Definition at line 255 of file NIImporter_OpenDrive.h.

std::string NIImporter_OpenDrive::OpenDriveLane::type
SUMOReal NIImporter_OpenDrive::OpenDriveLane::width

The lane's width;.

Todo:
: this is the maximum width only

Definition at line 259 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork().


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