MSVehicleQuitReminded Class Reference

#include <MSVehicleQuitReminded.h>

Inheritance diagram for MSVehicleQuitReminded:

MSE2Collector MSE3Collector MSInductLoop MSVehicle GUI_E2_ZS_Collector GUIE3Collector GUIInductLoop GUIVehicle

Detailed Description

Abstract thing that shall be informed about a certain vehicle's quitting.

Because several classes track vehicles using own containers, it is necessary to inform them as soon one of these tracked vehicles disappears from the simulation. So it's besically a listener...

For this, each vehicle holds a list of structures to be informed about its leaving from the net. Each element of this list has to be derived from MSVehicleQuitReminded and will be informed about the vehicle's leaving via removeOnTripEnd.

A vehicle has to be informed about a listener using "quitRemindedEnter". A listener may be removed from the vehicle using "quitRemindedLeft".

Definition at line 58 of file MSVehicleQuitReminded.h.


Public Member Functions

virtual ~MSVehicleQuitReminded () throw ()
 (Virtual) destructor
Abstract Methods to be implemented by derived classes
virtual void removeOnTripEnd (MSVehicle *veh)=0 throw ()
 Called when the observed vehicle leaves the simulation.

Constructor & Destructor Documentation

virtual MSVehicleQuitReminded::~MSVehicleQuitReminded (  )  throw () [inline, virtual]

(Virtual) destructor

Definition at line 61 of file MSVehicleQuitReminded.h.

00061 {}


Member Function Documentation

virtual void MSVehicleQuitReminded::removeOnTripEnd ( MSVehicle veh  )  throw () [pure virtual]

Called when the observed vehicle leaves the simulation.

Parameters:
[in] veh The vehicle that quits the simulation

Implemented in MSVehicle, MSE2Collector, MSE3Collector, and MSInductLoop.


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

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