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

Public Member Functions

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

Data Fields

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

Detailed Description

Definition at line 244 of file MSDevice_BTreceiver.h.

Constructor & Destructor Documentation

MSDevice_BTreceiver::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 254 of file MSDevice_BTreceiver.h.

MSDevice_BTreceiver::VehicleState::~VehicleState ( )
inline

Destructor.

Definition at line 258 of file MSDevice_BTreceiver.h.

Field Documentation

SUMOReal MSDevice_BTreceiver::VehicleState::angle

The angle of the vehicle.

Definition at line 265 of file MSDevice_BTreceiver.h.

Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute().

std::string MSDevice_BTreceiver::VehicleState::laneID

The lane the vehicle was at.

Definition at line 269 of file MSDevice_BTreceiver.h.

SUMOReal MSDevice_BTreceiver::VehicleState::lanePos

The position at the lane of the vehicle.

Definition at line 271 of file MSDevice_BTreceiver.h.

Position MSDevice_BTreceiver::VehicleState::position

The position of the vehicle.

Definition at line 267 of file MSDevice_BTreceiver.h.

Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute().

SUMOReal MSDevice_BTreceiver::VehicleState::speed

The speed of the vehicle.

Definition at line 263 of file MSDevice_BTreceiver.h.

Referenced by MSDevice_BTreceiver::BTreceiverUpdate::execute().

SUMOReal MSDevice_BTreceiver::VehicleState::time

The current time.

Definition at line 261 of file MSDevice_BTreceiver.h.


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