SUMO - Simulation of Urban MObility
MSDevice_Vehroutes::StateListener Class Reference
Inheritance diagram for MSDevice_Vehroutes::StateListener:
MSNet::VehicleStateListener

Public Member Functions

void vehicleStateChanged (const SUMOVehicle *const vehicle, MSNet::VehicleState to)
 Called if a vehicle changes its state.
 ~StateListener ()
 Destructor.

Data Fields

std::map< const SUMOVehicle
*, MSDevice_Vehroutes * > 
myDevices
 A map for internal notification.

Detailed Description

Definition at line 163 of file MSDevice_Vehroutes.h.


Constructor & Destructor Documentation

Destructor.

Definition at line 166 of file MSDevice_Vehroutes.h.


Member Function Documentation

Called if a vehicle changes its state.

Parameters:
[in]vehicleThe vehicle which changed its state
[in]toThe state the vehicle has changed to

Implements MSNet::VehicleStateListener.

Definition at line 99 of file MSDevice_Vehroutes.cpp.

References myDevices, and MSNet::VEHICLE_STATE_NEWROUTE.


Field Documentation


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines