![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| void | vehicleStateChanged (const SUMOVehicle *const vehicle, MSNet::VehicleState to, const std::string &info="") |
| Called if a vehicle changes its state. | |
Data Fields | |
| std::map< MSNet::VehicleState, std::vector< std::string > > | myVehicleStateChanges |
| Changes in the states of simulated vehicles. | |
|
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 |
Implements MSNet::VehicleStateListener.
Definition at line 2133 of file Helper.cpp.
References Named::getID(), and myVehicleStateChanges.
| std::map<MSNet::VehicleState, std::vector<std::string> > libsumo::Helper::VehicleStateListener::myVehicleStateChanges |
Changes in the states of simulated vehicles.
Definition at line 269 of file Helper.h.
Referenced by vehicleStateChanged().