#include <MSInductLoop.h>
These data is fed into a container.
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]. | |
| 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
| [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))) {}
| std::string MSInductLoop::VehicleData::idM |
| SUMOReal MSInductLoop::VehicleData::lengthM |
| SUMOReal MSInductLoop::VehicleData::speedM |
1.5.6