|
SUMO - Simulation of Urban MObility
|
The definition of a single phase of the logic. More...
#include <NBTrafficLightLogic.h>
Public Member Functions | |
| bool | operator!= (const PhaseDefinition &pd) const |
| Comparison operator. | |
| PhaseDefinition (SUMOTime durationArg, const std::string &stateArg) | |
| Constructor. | |
| ~PhaseDefinition () | |
| Destructor. | |
Data Fields | |
| SUMOTime | duration |
| The duration of the phase in s. | |
| std::string | state |
| The state definition. | |
The definition of a single phase of the logic.
Definition at line 64 of file NBTrafficLightLogic.h.
|
inline |
Constructor.
| [in] | durationArg | The duration of the phase |
| [in] | stateArg | Signals per link |
Definition at line 76 of file NBTrafficLightLogic.h.
|
inline |
Destructor.
Definition at line 80 of file NBTrafficLightLogic.h.
|
inline |
Comparison operator.
| [in] | pd | A second phase |
Definition at line 86 of file NBTrafficLightLogic.h.
| SUMOTime NBTrafficLightLogic::PhaseDefinition::duration |
The duration of the phase in s.
Definition at line 67 of file NBTrafficLightLogic.h.
Referenced by operator!=().
| std::string NBTrafficLightLogic::PhaseDefinition::state |
The state definition.
Definition at line 70 of file NBTrafficLightLogic.h.
Referenced by operator!=().