|
Aimsun Next Scripting
22
|
Public Types | |
| enum | Type { eNormal , eStage , ePushButton , ePT , eSaturation } |
Public Member Functions | |
| GKControllerDetector () | |
| bool | uses (GKPublicLine *line) const |
| const QVector< GKPublicLine * > & | getLines () const |
| void | clearLines () |
| void | addLine (GKPublicLine *line) |
| void | removeLine (GKPublicLine *line) |
| void | setId (uint aid) |
| uint | getId () const |
| void | setType (Type value) |
| Type | getType () const |
| const QString & | getName () const |
| void | setName (const QString &aname) |
| int | getLane () const |
| void | setLane (int alane) |
| void | setDetector (GKObject *detector) |
| GKObject * | getDetector () const |
| GKControllerDetector::GKControllerDetector | ( | ) |
| void GKControllerDetector::addLine | ( | GKPublicLine * | line | ) |
Add a line that can be detected by this detector
| void GKControllerDetector::clearLines | ( | ) |
Removes all the associated lines with this detector
| GKObject * GKControllerDetector::getDetector | ( | ) | const |
| uint GKControllerDetector::getId | ( | ) | const |
The ID of the controller detector in the external controller.
| int GKControllerDetector::getLane | ( | ) | const |
For SCATS-RMS Controllers, the lane of the detector
| const QVector< GKPublicLine * > & GKControllerDetector::getLines | ( | ) | const |
Returns all the lines detected by this detector
| const QString & GKControllerDetector::getName | ( | ) | const |
For SCATS-RMS Controllers, the name of the detector
| Type GKControllerDetector::getType | ( | ) | const |
Detector type.
| void GKControllerDetector::removeLine | ( | GKPublicLine * | line | ) |
Removes a detected line from this detector
| void GKControllerDetector::setDetector | ( | GKObject * | detector | ) |
| void GKControllerDetector::setId | ( | uint | aid | ) |
The ID of the controller detector in the external controller.
| void GKControllerDetector::setLane | ( | int | alane | ) |
For SCATS-RMS Controllers, the lane of the detector
| void GKControllerDetector::setName | ( | const QString & | aname | ) |
For SCATS-RMS Controllers, the name of the detector
| void GKControllerDetector::setType | ( | Type | value | ) |
Detector type.
| bool GKControllerDetector::uses | ( | GKPublicLine * | line | ) | const |
Returns true if the detector can detect vehicles in this transit line
1.9.4