![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A single movement state of the vehicle. More...
#include <MSDevice_BTsender.h>
Public Member Functions | |
| VehicleState (const double _speed, const Position &_position, const std::string &_laneID, const double _lanePos, const int _routePos) | |
| Constructor. | |
| ~VehicleState () | |
| Destructor. | |
Data Fields | |
| std::string | laneID |
| The lane the vehicle was at. | |
| double | lanePos |
| The position at the lane of the vehicle. | |
| Position | position |
| The position of the vehicle. | |
| int | routePos |
| The position in the route of the vehicle. | |
| double | speed |
| The speed of the vehicle. | |
A single movement state of the vehicle.
Definition at line 111 of file MSDevice_BTsender.h.
|
inline |
Constructor.
| [in] | _speed | The speed of the vehicle |
| [in] | _position | The position of the vehicle |
| [in] | _laneID | The id of the lane the vehicle is located at |
| [in] | _lanePos | The position of the vehicle along the lane |
Definition at line 119 of file MSDevice_BTsender.h.
|
inline |
Destructor.
Definition at line 124 of file MSDevice_BTsender.h.
| std::string MSDevice_BTsender::VehicleState::laneID |
The lane the vehicle was at.
Definition at line 131 of file MSDevice_BTsender.h.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::writeOutput().
| double MSDevice_BTsender::VehicleState::lanePos |
The position at the lane of the vehicle.
Definition at line 133 of file MSDevice_BTsender.h.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::writeOutput().
| Position MSDevice_BTsender::VehicleState::position |
The position of the vehicle.
Definition at line 129 of file MSDevice_BTsender.h.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), and MSDevice_BTreceiver::BTreceiverUpdate::writeOutput().
| int MSDevice_BTsender::VehicleState::routePos |
The position in the route of the vehicle.
Definition at line 135 of file MSDevice_BTsender.h.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::leaveRange().
| double MSDevice_BTsender::VehicleState::speed |
The speed of the vehicle.
Definition at line 127 of file MSDevice_BTsender.h.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::writeOutput().