|
SUMO - Simulation of Urban MObility
|
Struct to store the data of the counted vehicle internally. More...
#include <MSInductLoop.h>

Public Member Functions | |
| VehicleData (const std::string &id, SUMOReal vehLength, SUMOReal entryTimestep, SUMOReal leaveTimestep, const std::string &typeID) | |
| Constructor. More... | |
Data Fields | |
| SUMOReal | entryTimeM |
| Entry-time of the vehicle in [s]. More... | |
| std::string | idM |
| The id of the vehicle. More... | |
| SUMOReal | leaveTimeM |
| Leave-time of the vehicle in [s]. More... | |
| SUMOReal | lengthM |
| Length of the vehicle. More... | |
| SUMOReal | speedM |
| Speed of the vehicle in [m/s]. More... | |
| std::string | typeIDM |
| Type of the vehicle in. More... | |
Struct to store the data of the counted vehicle internally.
These data is fed into a container.
Definition at line 243 of file MSInductLoop.h.
|
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 252 of file MSInductLoop.h.
| SUMOReal MSInductLoop::VehicleData::entryTimeM |
Entry-time of the vehicle in [s].
Definition at line 262 of file MSInductLoop.h.
Referenced by TraCIServerAPI_InductionLoop::processGet().
| std::string MSInductLoop::VehicleData::idM |
The id of the vehicle.
Definition at line 258 of file MSInductLoop.h.
Referenced by TraCIServerAPI_InductionLoop::processGet().
| SUMOReal MSInductLoop::VehicleData::leaveTimeM |
Leave-time of the vehicle in [s].
Definition at line 264 of file MSInductLoop.h.
Referenced by TraCIServerAPI_InductionLoop::processGet().
| SUMOReal MSInductLoop::VehicleData::lengthM |
Length of the vehicle.
Definition at line 260 of file MSInductLoop.h.
Referenced by MSInductLoop::lengthSum(), and TraCIServerAPI_InductionLoop::processGet().
| SUMOReal MSInductLoop::VehicleData::speedM |
Speed of the vehicle in [m/s].
Definition at line 266 of file MSInductLoop.h.
Referenced by MSInductLoop::collectVehiclesOnDet(), and MSInductLoop::speedSum().
| std::string MSInductLoop::VehicleData::typeIDM |
Type of the vehicle in.
Definition at line 268 of file MSInductLoop.h.
Referenced by TraCIServerAPI_InductionLoop::processGet().