Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBLoadedTLDef::SignalGroup::PhaseDef Class Reference

Definition of a single, loaded phase. More...

#include <NBLoadedTLDef.h>

Public Member Functions

 PhaseDef (SUMOTime time, TLColor color)
 Constructor.

Data Fields

TLColor myColor
 A signal's color from this time.
SUMOTime myTime
 The begin time of this phase.

Detailed Description

Definition of a single, loaded phase.

Definition at line 144 of file NBLoadedTLDef.h.

Constructor & Destructor Documentation

◆ PhaseDef()

NBLoadedTLDef::SignalGroup::PhaseDef::PhaseDef ( SUMOTime time,
TLColor color )
inline

Constructor.

Parameters
[in]timeThe begin time of this phase
[in]colorA signal's color from this time

Definition at line 150 of file NBLoadedTLDef.h.

References myColor, and myTime.

Field Documentation

◆ myColor

TLColor NBLoadedTLDef::SignalGroup::PhaseDef::myColor

A signal's color from this time.

Definition at line 156 of file NBLoadedTLDef.h.

Referenced by PhaseDef().

◆ myTime

SUMOTime NBLoadedTLDef::SignalGroup::PhaseDef::myTime

The begin time of this phase.

Definition at line 154 of file NBLoadedTLDef.h.

Referenced by PhaseDef().


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