SUMO - Simulation of Urban MObility
MSNet::VehicleStateListener Class Reference

Interface for objects listening to vehicle state changes. More...

#include <MSNet.h>

Inheritance diagram for MSNet::VehicleStateListener:
MSDevice_Vehroutes::StateListener traci::TraCIServer

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.

Detailed Description

Interface for objects listening to vehicle state changes.

Definition at line 441 of file MSNet.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 444 of file MSNet.h.

Destructor.

Definition at line 447 of file MSNet.h.


Member Function Documentation

virtual void MSNet::VehicleStateListener::vehicleStateChanged ( const SUMOVehicle *const  vehicle,
VehicleState  to 
) [pure virtual]

Called if a vehicle changes its state.

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

Implemented in MSDevice_Vehroutes::StateListener, and traci::TraCIServer.


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