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)=0 |
Called if a vehicle changes its state. | |
VehicleStateListener () | |
Constructor. | |
virtual | ~VehicleStateListener () |
Destructor. |
|
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 |
Implemented in MSDevice_Vehroutes::StateListener, and TraCIServer.