![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A static instance of this class in GapControlState deactivates gap control for vehicles whose reference vehicle is removed from the road network. More...
Private Member Functions | |
| void | vehicleStateChanged (const SUMOVehicle *const vehicle, MSNet::VehicleState to, const std::string &info="") |
| Called if a vehicle changes its state. | |
A static instance of this class in GapControlState deactivates gap control for vehicles whose reference vehicle is removed from the road network.
Definition at line 1354 of file MSVehicle.h.
|
privatevirtual |
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 267 of file MSVehicle.cpp.
References MSNet::ARRIVED, MSVehicle::MSVehicle(), MSVehicle::Influencer::GapControlState::refVehMap, MSNet::STARTING_PARKING, MSNet::STARTING_TELEPORT, and SUMOVehicle::SUMOVehicle().