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

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

#include <MSNet.h>

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

Public Member Functions

virtual void vehicleStateChanged (const SUMOVehicle *const vehicle, VehicleState to)=0
 Called if a vehicle changes its state. More...
 
 VehicleStateListener ()
 Constructor. More...
 
virtual ~VehicleStateListener ()
 Destructor. More...
 

Detailed Description

Interface for objects listening to vehicle state changes.

Definition at line 510 of file MSNet.h.

Constructor & Destructor Documentation

MSNet::VehicleStateListener::VehicleStateListener ( )
inline

Constructor.

Definition at line 513 of file MSNet.h.

virtual MSNet::VehicleStateListener::~VehicleStateListener ( )
inlinevirtual

Destructor.

Definition at line 516 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 TraCIServer.


The documentation for this class was generated from the following file: