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

Public Member Functions

 GKControllerPedestrianWalk ()
 
 GKControllerPedestrianWalk (GKControllerPedestrianWalk *pw)
 
uint getId () const
 
void setId (uint aid)
 
uint getSignalGroupId () const
 
void setSignalGroupId (uint aid)
 
void addPedestrianCrossing (const GKPedestrianCrossing *pc)
 
void removePedestrianCrossing (const GKPedestrianCrossing *pc)
 
void clearPedestrianCrossings ()
 
bool uses (const GKPedestrianCrossing *pc) const
 

Detailed Description

It contains N pedestrian crossings from the same junction.

Constructor & Destructor Documentation

◆ GKControllerPedestrianWalk() [1/2]

GKControllerPedestrianWalk::GKControllerPedestrianWalk ( )

◆ GKControllerPedestrianWalk() [2/2]

GKControllerPedestrianWalk::GKControllerPedestrianWalk ( GKControllerPedestrianWalk pw)

Member Function Documentation

◆ addPedestrianCrossing()

void GKControllerPedestrianWalk::addPedestrianCrossing ( const GKPedestrianCrossing pc)

Adds a pedestrian crossing to this controller pedestrian walk.

◆ clearPedestrianCrossings()

void GKControllerPedestrianWalk::clearPedestrianCrossings ( )

Removes all the pedestrian crossings from this controller pedestrian walk.

◆ getId()

uint GKControllerPedestrianWalk::getId ( ) const

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

◆ getSignalGroupId()

uint GKControllerPedestrianWalk::getSignalGroupId ( ) const

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

◆ removePedestrianCrossing()

void GKControllerPedestrianWalk::removePedestrianCrossing ( const GKPedestrianCrossing pc)

Removes a pedestrian crossing from this controller pedestrian walk.

◆ setId()

void GKControllerPedestrianWalk::setId ( uint  aid)

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

◆ setSignalGroupId()

void GKControllerPedestrianWalk::setSignalGroupId ( uint  aid)

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

◆ uses()

bool GKControllerPedestrianWalk::uses ( const GKPedestrianCrossing pc) const

Returns all the pedestrian crossings in this controller pedestrian walk.

Returns true is this object uses the pedestrian crossing "pc".

© Aimsun SLU
Aimsun ®