Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIImporter_OpenDrive::OpenDriveSignal Struct Reference

Representation of a signal. More...

#include <NIImporter_OpenDrive.h>

Public Member Functions

 OpenDriveSignal ()
 dummy constructor for use in maps
 OpenDriveSignal (const std::string &idArg, const std::string typeArg, const std::string nameArg, int orientationArg, bool dynamicArg, double sArg)
 Constructor.

Data Fields

std::string controller
 the controller ID
bool dynamic
std::string id
int maxLane
int minLane
 signal validity range
std::string name
int orientation
std::string priority
double s
std::string type

Detailed Description

Representation of a signal.

Definition at line 407 of file NIImporter_OpenDrive.h.

Constructor & Destructor Documentation

◆ OpenDriveSignal() [1/2]

NIImporter_OpenDrive::OpenDriveSignal::OpenDriveSignal ( const std::string & idArg,
const std::string typeArg,
const std::string nameArg,
int orientationArg,
bool dynamicArg,
double sArg )
inline

Constructor.

Parameters
[in]idArgThe OpenDrive id of the signal
[in]typeArgThe type of the signal
[in]nameArgThe type of the signal
[in]orientationArgThe direction the signal belongs to
[in]dynamicArgWhether the signal is dynamic
[in]sArgThe offset from the start, counted from the begin

Definition at line 416 of file NIImporter_OpenDrive.h.

References dynamic, id, maxLane, minLane, name, orientation, s, type, and UNSET_LANEVALIDITY.

◆ OpenDriveSignal() [2/2]

NIImporter_OpenDrive::OpenDriveSignal::OpenDriveSignal ( )
inline

dummy constructor for use in maps

Definition at line 424 of file NIImporter_OpenDrive.h.

Field Documentation

◆ controller

std::string NIImporter_OpenDrive::OpenDriveSignal::controller

the controller ID

Definition at line 437 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork().

◆ dynamic

bool NIImporter_OpenDrive::OpenDriveSignal::dynamic

Definition at line 431 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ id

std::string NIImporter_OpenDrive::OpenDriveSignal::id

Definition at line 426 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ maxLane

int NIImporter_OpenDrive::OpenDriveSignal::maxLane

Definition at line 435 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ minLane

int NIImporter_OpenDrive::OpenDriveSignal::minLane

signal validity range

Definition at line 434 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ name

std::string NIImporter_OpenDrive::OpenDriveSignal::name

Definition at line 428 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ orientation

int NIImporter_OpenDrive::OpenDriveSignal::orientation

Definition at line 430 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ priority

std::string NIImporter_OpenDrive::OpenDriveSignal::priority

Definition at line 429 of file NIImporter_OpenDrive.h.

◆ s

double NIImporter_OpenDrive::OpenDriveSignal::s

Definition at line 432 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().

◆ type

std::string NIImporter_OpenDrive::OpenDriveSignal::type

Definition at line 427 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and OpenDriveSignal().


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