Aimsun Next Scripting
24.0
|
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 |
GKObject * | getDetector () const |
void | setDetector (GKObject *detector) |
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.
const QVector< GKPublicLine * > & GKControllerDetector::getLines | ( | ) | const |
Returns all the lines detected by this detector
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.
bool GKControllerDetector::uses | ( | GKPublicLine * | line | ) | const |
Returns true if the detector can detect vehicles in this transit line