|
Aimsun Next Scripting
24.0
|
Public Types | |
| enum | Type { ParallelDetector , ParallelReportingPoint , SerialReportingPoint } |
Public Member Functions | |
| OCITControllerDetector () | |
| void | clearLines () |
| void | addLine (GKPublicLine *line) |
| void | removeLine (GKPublicLine *line) |
| void | addLine (GKPublicLine *line, GKBusStop *stop, double secondsBeforeDeparture) |
| GKBusStop * | getBusStop (GKPublicLine *line) |
| sipCpp | applyLines ([&a0, &res](GKPublicLine *line, GKBusStop *stop, double){ if(a0==line){ res=stop;} }) |
| End double | getSecondsBeforeDeparture (GKPublicLine *transitLine) |
| sipCpp | applyLines ([&a0, &res](GKPublicLine *line, GKBusStop *, double secondsBeforeDeparture){ if(a0==line){ res=secondsBeforeDeparture;} }) |
| End void | setCallingPointType (Type type) |
| Type | getCallingPointType () const |
Public Attributes | |
| MethodCode GKBusStop * | res = nullptr |
| sipRes = res | |
| MethodCode double | res = 0.0 |
| OCITControllerDetector::OCITControllerDetector | ( | ) |
| void OCITControllerDetector::addLine | ( | GKPublicLine * | line | ) |
| void OCITControllerDetector::addLine | ( | GKPublicLine * | line, |
| GKBusStop * | stop, | ||
| double | secondsBeforeDeparture | ||
| ) |
For Yutraffic Controllers, the Bus Stop and the number of Seconds Before Departure a Transit telegram needs to be sent for T?rschlie?-Detector
| sipCpp OCITControllerDetector::applyLines | ( | [&a0, &res] (GKPublicLine *line, GKBusStop *, double secondsBeforeDeparture){ if(a0==line){ res=secondsBeforeDeparture;} } | ) |
References res.
| sipCpp OCITControllerDetector::applyLines | ( | [&a0, &res] (GKPublicLine *line, GKBusStop *stop, double){ if(a0==line){ res=stop;} } | ) |
References res.
| void OCITControllerDetector::clearLines | ( | ) |
| GKBusStop * OCITControllerDetector::getBusStop | ( | GKPublicLine * | line | ) |
| Type OCITControllerDetector::getCallingPointType | ( | ) | const |
| End double OCITControllerDetector::getSecondsBeforeDeparture | ( | GKPublicLine * | transitLine | ) |
| void OCITControllerDetector::removeLine | ( | GKPublicLine * | line | ) |
| MethodCode GKBusStop* OCITControllerDetector::res = nullptr |
Referenced by applyLines().
| MethodCode double OCITControllerDetector::res = 0.0 |
| OCITControllerDetector::sipRes = res |
1.9.4