Eclipse SUMO - Simulation of Urban MObility
|
#include <MSPushButton.h>
Public Member Functions | |
virtual bool | isActivated () const =0 |
Checks if the pushbutton has been pressed. | |
virtual | ~MSPushButton () |
Static Public Member Functions | |
static bool | anyActive (const std::vector< MSPushButton * > &) |
Checks if any pushbutton in the vector is active. | |
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 34 of file MSPushButton.h.
|
virtual |
do not delete the MSEdge here
Definition at line 44 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 39 of file MSPushButton.cpp.
References m_crossingEdge, and m_edge.
|
static |
Checks if any pushbutton in the vector is active.
Definition at line 48 of file MSPushButton.cpp.
Referenced by MSSOTLTrafficLightLogic::isPushButtonPressed().
|
pure virtual |
Checks if the pushbutton has been pressed.
Implemented in MSPedestrianPushButton.
|
protected |
Definition at line 57 of file MSPushButton.h.
Referenced by MSPedestrianPushButton::isActivated(), and MSPushButton().
|
protected |
Definition at line 56 of file MSPushButton.h.
Referenced by MSPedestrianPushButton::isActivated(), and MSPushButton().