Eclipse SUMO - Simulation of Urban MObility
|
#include <microsim/MSEdge.h>
#include <microsim/MSLane.h>
#include <microsim/MSVehicle.h>
#include <microsim/transportables/MSPerson.h>
#include "MSPushButton.h"
#include "MSPhaseDefinition.h"
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. | |
Definition in file MSPushButton.cpp.
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().
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().