![]() |
SUMO - Simulation of Urban MObility
|
#include <MSPushButton.h>


Public Member Functions | |
| virtual bool | isActivated () const =0 |
| Checks if the the pushbutton has been pressed. More... | |
| virtual | ~MSPushButton () |
Static Public Member Functions | |
| static bool | anyActive (const std::vector< MSPushButton *> &) |
| Checks if any pushbutton in the vector is active. More... | |
Protected Member Functions | |
| MSPushButton (const MSEdge *edge, const MSEdge *crossingEdge) | |
Protected Attributes | |
| const MSEdge * | m_crossingEdge |
| const MSEdge * | m_edge |
Abstract push button class
Definition at line 33 of file MSPushButton.h.
|
virtual |
do not delete the MSEdge here
Definition at line 34 of file MSPushButton.cpp.
Protected constructor
| [in] | edge | the edge where the push button is located |
| [in] | crossingEdge | the crossing controlled by the push button |
Definition at line 29 of file MSPushButton.cpp.
References m_crossingEdge, and m_edge.
|
static |
Checks if any pushbutton in the vector is active.
Definition at line 38 of file MSPushButton.cpp.
References MSPedestrianPushButton::m_crossingEdgeMap, and MSPedestrianPushButton::m_crossingEdgeMapLoaded.
Referenced by MSSOTLTrafficLightLogic::isPushButtonPressed().
|
pure virtual |
Checks if the the pushbutton has been pressed.
Implemented in MSPedestrianPushButton.
Referenced by MSPedestrianPushButton::~MSPedestrianPushButton().
|
protected |
Definition at line 56 of file MSPushButton.h.
Referenced by MSPedestrianPushButton::isActivated(), and MSPushButton().
|
protected |
Definition at line 55 of file MSPushButton.h.
Referenced by MSPedestrianPushButton::isActivated(), and MSPushButton().