Aimsun Next Scripting  24.0
Public Member Functions | List of all members
GKControllerDetector Class Reference

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
 
GKObjectgetDetector () const
 
void setDetector (GKObject *detector)
 

Constructor & Destructor Documentation

◆ GKControllerDetector()

GKControllerDetector::GKControllerDetector ( )

Member Function Documentation

◆ addLine()

void GKControllerDetector::addLine ( GKPublicLine line)

Add a line that can be detected by this detector

◆ clearLines()

void GKControllerDetector::clearLines ( )

Removes all the associated lines with this detector

◆ getDetector()

GKObject * GKControllerDetector::getDetector ( ) const

◆ getId()

uint GKControllerDetector::getId ( ) const

The ID of the controller detector in the external controller.

◆ getLines()

const QVector< GKPublicLine * > & GKControllerDetector::getLines ( ) const

Returns all the lines detected by this detector

◆ removeLine()

void GKControllerDetector::removeLine ( GKPublicLine line)

Removes a detected line from this detector

◆ setDetector()

void GKControllerDetector::setDetector ( GKObject detector)

◆ setId()

void GKControllerDetector::setId ( uint  aid)

The ID of the controller detector in the external controller.

◆ uses()

bool GKControllerDetector::uses ( GKPublicLine line) const

Returns true if the detector can detect vehicles in this transit line

© Aimsun SLU
Aimsun ®