SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSDevice_BTsender::VehicleState Class Reference

A single movement state of the vehicle. More...

#include <MSDevice_BTsender.h>

Public Member Functions

 VehicleState (SUMOReal _time, SUMOReal _speed, SUMOReal _angle, const Position &_position, const std::string &_laneID, SUMOReal _lanePos)
 Constructor.
 ~VehicleState ()
 Destructor.

Data Fields

SUMOReal angle
 The angle of the vehicle.
std::string laneID
 The lane the vehicle was at.
SUMOReal lanePos
 The position at the lane of the vehicle.
Position position
 The position of the vehicle.
SUMOReal speed
 The speed of the vehicle.
SUMOReal time
 The current time.

Detailed Description

A single movement state of the vehicle.

Definition at line 136 of file MSDevice_BTsender.h.

Constructor & Destructor Documentation

MSDevice_BTsender::VehicleState::VehicleState ( SUMOReal  _time,
SUMOReal  _speed,
SUMOReal  _angle,
const Position _position,
const std::string &  _laneID,
SUMOReal  _lanePos 
)
inline

Constructor.

Parameters
[in]_timeThe current time
[in]_speedThe speed of the vehicle
[in]_angleThe angle of the vehicle
[in]_positionThe position of the vehicle
[in]_laneIDThe id of the lane the vehicle is located at
[in]_lanePosThe position of the vehicle along the lane

Definition at line 146 of file MSDevice_BTsender.h.

MSDevice_BTsender::VehicleState::~VehicleState ( )
inline

Destructor.

Definition at line 150 of file MSDevice_BTsender.h.

Field Documentation

SUMOReal MSDevice_BTsender::VehicleState::angle

The angle of the vehicle.

Definition at line 157 of file MSDevice_BTsender.h.

std::string MSDevice_BTsender::VehicleState::laneID

The lane the vehicle was at.

Definition at line 161 of file MSDevice_BTsender.h.

SUMOReal MSDevice_BTsender::VehicleState::lanePos

The position at the lane of the vehicle.

Definition at line 163 of file MSDevice_BTsender.h.

Position MSDevice_BTsender::VehicleState::position

The position of the vehicle.

Definition at line 159 of file MSDevice_BTsender.h.

SUMOReal MSDevice_BTsender::VehicleState::speed

The speed of the vehicle.

Definition at line 155 of file MSDevice_BTsender.h.

SUMOReal MSDevice_BTsender::VehicleState::time

The current time.

Definition at line 153 of file MSDevice_BTsender.h.


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