![]() |
Eclipse SUMO - Simulation of Urban MObility
|
stores information about the phase's detector(s) More...
#include <NEMAController.h>
Public Member Functions | |
| PhaseDetectorInfo () | |
| PhaseDetectorInfo (bool latching, PhasePtr cpdSource, PhasePtr cpdTarget) | |
Data Fields | |
| PhasePtr | cpdSource |
| the cross-phase switching source for myself (1 if 6 should check 1 if 6 is green and I am phase 6) | |
| PhasePtr | cpdTarget |
| the cross-phase switching target for myself (6 if 6 should check 1 if 6 is green and I am phase 1) | |
| bool | detectActive |
| where any of my detectors are active or not | |
| std::vector< MSE2Collector * > | detectors |
| a vector of pointers to the phase's detectors | |
| bool | latching |
| whether the detectors are latching or not | |
stores information about the phase's detector(s)
Definition at line 561 of file NEMAController.h.
|
inline |
Definition at line 562 of file NEMAController.h.
References cpdSource, cpdTarget, detectActive, detectors, and latching.
|
inline |
Definition at line 569 of file NEMAController.h.
References cpdSource, cpdTarget, detectActive, and latching.
| PhasePtr NEMAPhase::PhaseDetectorInfo::cpdSource |
the cross-phase switching source for myself (1 if 6 should check 1 if 6 is green and I am phase 6)
Definition at line 580 of file NEMAController.h.
Referenced by PhaseDetectorInfo(), and PhaseDetectorInfo().
| PhasePtr NEMAPhase::PhaseDetectorInfo::cpdTarget |
the cross-phase switching target for myself (6 if 6 should check 1 if 6 is green and I am phase 1)
Definition at line 578 of file NEMAController.h.
Referenced by PhaseDetectorInfo(), and PhaseDetectorInfo().
| bool NEMAPhase::PhaseDetectorInfo::detectActive |
where any of my detectors are active or not
Definition at line 582 of file NEMAController.h.
Referenced by PhaseDetectorInfo(), and PhaseDetectorInfo().
| std::vector<MSE2Collector*> NEMAPhase::PhaseDetectorInfo::detectors |
a vector of pointers to the phase's detectors
Definition at line 576 of file NEMAController.h.
Referenced by PhaseDetectorInfo().
| bool NEMAPhase::PhaseDetectorInfo::latching |
whether the detectors are latching or not
Definition at line 584 of file NEMAController.h.
Referenced by PhaseDetectorInfo(), and PhaseDetectorInfo().