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

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)
 
GKObjectgetDetector () const
 

Member Enumeration Documentation

◆ Type

The equivalences in Fast UTC are: eNormal: SCOOT eStage: UTC ePushButton: Demand ePT: Bus eSaturation: Saturation

Enumerator
eNormal 
eStage 
ePushButton 
ePT 
eSaturation 

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.

◆ getLane()

int GKControllerDetector::getLane ( ) const

For SCATS-RMS Controllers, the lane of the detector

◆ getLines()

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

Returns all the lines detected by this detector

◆ getName()

const QString & GKControllerDetector::getName ( ) const

For SCATS-RMS Controllers, the name of the detector

◆ getType()

Type GKControllerDetector::getType ( ) const

Detector type.

◆ 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.

◆ setLane()

void GKControllerDetector::setLane ( int  alane)

For SCATS-RMS Controllers, the lane of the detector

◆ setName()

void GKControllerDetector::setName ( const QString &  aname)

For SCATS-RMS Controllers, the name of the detector

◆ setType()

void GKControllerDetector::setType ( Type  value)

Detector type.

◆ uses()

bool GKControllerDetector::uses ( GKPublicLine line) const

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

© Aimsun SLU
Aimsun ®