![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Interface for objects listening to vehicle state changes. More...
#include <MSNet.h>
Public Member Functions | |
| virtual void | vehicleStateChanged (const SUMOVehicle *const vehicle, VehicleState to, const std::string &info="")=0 |
| Called if a vehicle changes its state. More... | |
| VehicleStateListener () | |
| Constructor. More... | |
| virtual | ~VehicleStateListener () |
| Destructor. More... | |
|
inline |
|
inlinevirtual |
|
pure virtual |
Called if a vehicle changes its state.
| [in] | vehicle | The vehicle which changed its state |
| [in] | to | The state the vehicle has changed to |
| [in] | info | Additional information on the state change |
Implemented in MSDynamicShapeUpdater, MSVehicle::Influencer::GapControlVehStateListener, libsumo::Helper::VehicleStateListener, MSDevice_Vehroutes::StateListener, and TraCIServer.