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. More... | |
Data Fields | |
std::map< MSNet::VehicleState, std::vector< std::string > > | myVehicleStateChanges |
Changes in the states of simulated vehicles. More... | |
|
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 1944 of file Helper.cpp.
References Named::getID().
std::map<MSNet::VehicleState, std::vector<std::string> > libsumo::Helper::VehicleStateListener::myVehicleStateChanges |
Changes in the states of simulated vehicles.
Definition at line 251 of file Helper.h.
Referenced by libsumo::Helper::clearStateChanges(), and libsumo::Helper::getVehicleStateChanges().