PyANGKernel.GKControllerPedestrianWalk

class GKControllerPedestrianWalk

A pedestrian walk in a controller.

Details

It contains N pedestrian crossings from the same junction.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
__init__(pw)
Parameters:

pwGKControllerPedestrianWalk

addPedestrianCrossing(object)
Parameters:

objectGKGeoObject

clearPedestrianCrossings()
getId()
Return type:

int

The unique id (in a controller) of this controller pedestrian walk, that is the push-button id

getPedestrianType()
Return type:

GKMobileAgent

getSignalGroupId()
Return type:

int

The ID of the signal group related to this controller pedestrian walk, that is the external signal group id defined in the controller

nodeDeleted(node)
Parameters:

nodeGKNode

The Node ‘node’ has been deleted: remove any pedestrian crossing associated with it.

removePedestrianCrossing(object)
Parameters:

objectGKGeoObject

setController(controller)
Parameters:

controllerGKController

setId(aid)
Parameters:

aid – int

The unique id (in a controller) of this controller pedestrian walk, that is the push-button id

setPedestrianType(pedestrianType)
Parameters:

pedestrianTypeGKMobileAgent

setSignalGroupId(aid)
Parameters:

aid – int

The ID of the signal group related to this controller pedestrian walk, that is the external signal group id defined in the controller

uses(object)
Parameters:

objectGKGeoObject

Return type:

bool

Returns true the object is used.