MSNet::VehicleStateListener Class Reference

#include <MSNet.h>

Inheritance diagram for MSNet::VehicleStateListener:

traci::TraCIServer

Detailed Description

Interface for objects listening to vehicle state changes.

Definition at line 453 of file MSNet.h.


Public Member Functions

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

Constructor & Destructor Documentation

MSNet::VehicleStateListener::VehicleStateListener (  )  throw () [inline]

Constructor.

Definition at line 456 of file MSNet.h.

00456 { }

virtual MSNet::VehicleStateListener::~VehicleStateListener (  )  throw () [inline, virtual]

Destructor.

Definition at line 459 of file MSNet.h.

00459 { }


Member Function Documentation

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

Called if a vehicle changes its state.

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

Implemented in traci::TraCIServer.


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

Generated on Wed May 5 00:06:49 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6