MSInductLoop::VehicleData Struct Reference

#include <MSInductLoop.h>


Detailed Description

Struct to store the data of the counted vehicle internally.

These data is fed into a container.

See also:
myVehicleDataCont

Definition at line 302 of file MSInductLoop.h.


Public Member Functions

 VehicleData (const std::string &id, SUMOReal vehLength, SUMOReal entryTimestep, SUMOReal leaveTimestep) throw ()
 Constructor.

Data Fields

SUMOReal entryTimeM
 Entry-time of the vehicle in [ms].
std::string idM
 The id of the vehicle.
SUMOReal leaveTimeM
 Leave-time of the vehicle in [ms].
SUMOReal lengthM
 Length of the vehicle.
SUMOReal speedM
 Speed of the vehicle in [m/s].

Constructor & Destructor Documentation

MSInductLoop::VehicleData::VehicleData ( const std::string &  id,
SUMOReal  vehLength,
SUMOReal  entryTimestep,
SUMOReal  leaveTimestep 
) throw () [inline]

Constructor.

Used if the vehicle has passed the induct loop completely

Parameters:
[in] vehLength The length of the vehicle
[in] entryTimestep The time at which the vehicle entered the detector
[in] leaveTimestep The time at which the vehicle left the detector

Definition at line 311 of file MSInductLoop.h.

00312                 : idM(id), lengthM(vehLength), entryTimeM(entryTimestep), leaveTimeM(leaveTimestep),
00313                 speedM(lengthM / ((leaveTimeM - entryTimeM))) {}


Field Documentation

Entry-time of the vehicle in [ms].

Definition at line 320 of file MSInductLoop.h.

The id of the vehicle.

Definition at line 316 of file MSInductLoop.h.

Leave-time of the vehicle in [ms].

Definition at line 322 of file MSInductLoop.h.

Length of the vehicle.

Definition at line 318 of file MSInductLoop.h.

Speed of the vehicle in [m/s].

Definition at line 324 of file MSInductLoop.h.


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

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