![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <utils/common/SwarmDebug.h>
#include "MSPushButton.h"
#include "MSPhaseDefinition.h"
#include "../MSEdge.h"
#include "../MSLane.h"
#include "../MSVehicle.h"
#include <microsim/pedestrians/MSPerson.h>
Go to the source code of this file.
Macros | |
#define | SWARM_DEBUG |
Functions | |
void | getWalking (const std::vector< MSEdge * > &edges, std::vector< MSEdge * > &walkingEdges) |
Checks if any of the edges is a walking area. More... | |
const std::vector< MSEdge * > | getWalkingAreas (const MSEdge *crossing) |
Get the walking areas adjacent to the crossing. More... | |
#define SWARM_DEBUG |
Definition at line 18 of file MSPushButton.cpp.
Checks if any of the edges is a walking area.
Definition at line 119 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 129 of file MSPushButton.cpp.
References MSEdge::getPredecessors(), MSEdge::getSuccessors(), and getWalking().
Referenced by MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), and MSPedestrianPushButton::loadPushButtons().