Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSActuatedTrafficLightLogic::InductLoopInfo Struct Reference

#include <MSActuatedTrafficLightLogic.h>

Collaboration diagram for MSActuatedTrafficLightLogic::InductLoopInfo:
[legend]

Public Member Functions

 InductLoopInfo (MSInductLoop *_loop, const MSLane *_lane, int numPhases, double _maxGap, double _jamThreshold)
bool isJammed () const

Data Fields

double jamThreshold
const MSLanelane
SUMOTime lastGreenTime = 0
MSInductLooploop
double maxGap
std::vector< bool > servedPhase

Detailed Description

Definition at line 158 of file MSActuatedTrafficLightLogic.h.

Constructor & Destructor Documentation

◆ InductLoopInfo()

MSActuatedTrafficLightLogic::InductLoopInfo::InductLoopInfo ( MSInductLoop * _loop,
const MSLane * _lane,
int numPhases,
double _maxGap,
double _jamThreshold )
inline

Definition at line 159 of file MSActuatedTrafficLightLogic.h.

References jamThreshold, lane, loop, maxGap, and servedPhase.

Member Function Documentation

◆ isJammed()

bool MSActuatedTrafficLightLogic::InductLoopInfo::isJammed ( ) const
inline

Definition at line 168 of file MSActuatedTrafficLightLogic.h.

References jamThreshold, and loop.

Referenced by MSActuatedTrafficLightLogic::getDetectorPriority().

Here is the caller graph for this function:

Field Documentation

◆ jamThreshold

double MSActuatedTrafficLightLogic::InductLoopInfo::jamThreshold

◆ lane

const MSLane* MSActuatedTrafficLightLogic::InductLoopInfo::lane

◆ lastGreenTime

SUMOTime MSActuatedTrafficLightLogic::InductLoopInfo::lastGreenTime = 0

◆ loop

MSInductLoop* MSActuatedTrafficLightLogic::InductLoopInfo::loop

◆ maxGap

double MSActuatedTrafficLightLogic::InductLoopInfo::maxGap

◆ servedPhase

std::vector<bool> MSActuatedTrafficLightLogic::InductLoopInfo::servedPhase

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