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) More... | |
PhasePtr | cpdTarget |
the cross-phase switching target for myself (6 if 6 should check 1 if 6 is green and I am phase 1) More... | |
bool | detectActive |
where any of my detectors are active or not More... | |
std::vector< MSE2Collector * > | detectors |
a vector of pointers to the phase's detectors More... | |
bool | latching |
whether the detectors are latching or not More... | |
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.
|
inline |
Definition at line 569 of file NEMAController.h.
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 NEMAPhase::checkMyDetectors().
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 NEMAPhase::checkMyDetectors().
bool NEMAPhase::PhaseDetectorInfo::detectActive |
where any of my detectors are active or not
Definition at line 582 of file NEMAController.h.
Referenced by NEMAPhase::calcVehicleExtension(), NEMAPhase::callActive(), NEMAPhase::checkMyDetectors(), NEMAPhase::clearMyDetectors(), and NEMAPhase::detectActive().
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 NEMAPhase::checkMyDetectors(), NEMAPhase::getDetectors(), and NEMAPhase::setDetectors().
bool NEMAPhase::PhaseDetectorInfo::latching |
whether the detectors are latching or not
Definition at line 584 of file NEMAController.h.
Referenced by NEMAPhase::clearMyDetectors().