SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSInductLoop::VehicleData Struct Reference

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.

Data Fields

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

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 256 of file MSInductLoop.h.

Constructor & Destructor Documentation

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

Constructor.

Used if the vehicle has passed the induct loop completely

Parameters
[in]vehLengthThe length of the vehicle
[in]entryTimestepThe time at which the vehicle entered the detector
[in]leaveTimestepThe time at which the vehicle left the detector

Definition at line 265 of file MSInductLoop.h.

Field Documentation

SUMOReal MSInductLoop::VehicleData::entryTimeM

Entry-time of the vehicle in [s].

Definition at line 275 of file MSInductLoop.h.

Referenced by TraCIServerAPI_InductionLoop::processGet().

std::string MSInductLoop::VehicleData::idM

The id of the vehicle.

Definition at line 271 of file MSInductLoop.h.

Referenced by TraCIServerAPI_InductionLoop::processGet().

SUMOReal MSInductLoop::VehicleData::leaveTimeM

Leave-time of the vehicle in [s].

Definition at line 277 of file MSInductLoop.h.

Referenced by TraCIServerAPI_InductionLoop::processGet().

SUMOReal MSInductLoop::VehicleData::lengthM

Length of the vehicle.

Definition at line 273 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 279 of file MSInductLoop.h.

Referenced by MSInductLoop::collectVehiclesOnDet(), and MSInductLoop::speedSum().

std::string MSInductLoop::VehicleData::typeIDM

Type of the vehicle in.

Definition at line 281 of file MSInductLoop.h.

Referenced by TraCIServerAPI_InductionLoop::processGet().


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