Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSPushButton.cpp File Reference
Include dependency graph for MSPushButton.cpp:

Go to the source code of this file.

Functions

void getWalking (const std::vector< MSEdge * > &edges, std::vector< MSEdge * > &walkingEdges)
 Checks if any of the edges is a walking area.
 
const std::vector< MSEdge * > getWalkingAreas (const MSEdge *crossing)
 Get the walking areas adjacent to the crossing.
 

Detailed Description

Author
Federico Caselli
Date
2015-07-15

Definition in file MSPushButton.cpp.

Function Documentation

◆ getWalking()

void getWalking ( const std::vector< MSEdge * > &  edges,
std::vector< MSEdge * > &  walkingEdges 
)

Checks if any of the edges is a walking area.

Definition at line 131 of file MSPushButton.cpp.

References MSEdge::getPermissions(), MSEdge::isWalkingArea(), and SVC_PEDESTRIAN.

Referenced by getWalkingAreas().

Here is the caller graph for this function:

◆ getWalkingAreas()

const std::vector< MSEdge * > getWalkingAreas ( const MSEdge crossing)

Get the walking areas adjacent to the crossing.

Definition at line 141 of file MSPushButton.cpp.

References MSEdge::getPredecessors(), MSEdge::getSuccessors(), and getWalking().

Referenced by MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), and MSPedestrianPushButton::loadPushButtons().

Here is the caller graph for this function: