A/C details, packed into an array message.
More...
#include <XPMPRemote.h>
|
| | RemoteAcDetailTy () |
| | Default Constructor sets all to zero. More...
|
| |
| | RemoteAcDetailTy (const Aircraft &_ac, double _lat, double _lon, float _alt_ft, std::uint16_t _dTime) |
| | A/c copy constructor fills from passed-in XPMP2::Aircraft object. More...
|
| |
| void | CopyFrom (const Aircraft &_ac, double _lat, double _lon, float _alt_ft, std::uint16_t _dTime) |
| | Copies values from passed-in XPMP2::Aircraft object. More...
|
| |
| void | SetLabelCol (const float _col[4]) |
| | set the label color from a float array (4th number, alpha, is always considered 1.0) More...
|
| |
| void | GetLabelCol (float _col[4]) const |
| | writes color out into a float array More...
|
| |
| void | SetPitch (float _p) |
| | sets pitch from float More...
|
| |
| float | GetPitch () const |
| | returns float pitch More...
|
| |
| void | SetHeading (float _h) |
| | Sets heading from float. More...
|
| |
| float | GetHeading () const |
| | returns float heading More...
|
| |
| void | SetRoll (float _r) |
| | sets pitch from float More...
|
| |
| float | GetRoll () const |
| | returns float pitch More...
|
| |
A/C details, packed into an array message.
◆ RemoteAcDetailTy() [1/2]
| XPMP2::RemoteAcDetailTy::RemoteAcDetailTy |
( |
| ) |
|
Default Constructor sets all to zero.
◆ RemoteAcDetailTy() [2/2]
| XPMP2::RemoteAcDetailTy::RemoteAcDetailTy |
( |
const Aircraft & |
_ac, |
|
|
double |
_lat, |
|
|
double |
_lon, |
|
|
float |
_alt_ft, |
|
|
std::uint16_t |
_dTime |
|
) |
| |
◆ CopyFrom()
| void XPMP2::RemoteAcDetailTy::CopyFrom |
( |
const Aircraft & |
_ac, |
|
|
double |
_lat, |
|
|
double |
_lon, |
|
|
float |
_alt_ft, |
|
|
std::uint16_t |
_dTime |
|
) |
| |
◆ GetHeading()
| float XPMP2::RemoteAcDetailTy::GetHeading |
( |
| ) |
const |
|
inline |
◆ GetLabelCol()
| void XPMP2::RemoteAcDetailTy::GetLabelCol |
( |
float |
_col[4] | ) |
const |
writes color out into a float array
◆ GetPitch()
| float XPMP2::RemoteAcDetailTy::GetPitch |
( |
| ) |
const |
|
inline |
◆ GetRoll()
| float XPMP2::RemoteAcDetailTy::GetRoll |
( |
| ) |
const |
|
inline |
◆ msgSize()
| static constexpr size_t XPMP2::RemoteAcDetailTy::msgSize |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ SetHeading()
| void XPMP2::RemoteAcDetailTy::SetHeading |
( |
float |
_h | ) |
|
Sets heading from float.
- Note
- Only works well for
0 <= _h < 360
◆ SetLabelCol()
| void XPMP2::RemoteAcDetailTy::SetLabelCol |
( |
const float |
_col[4] | ) |
|
set the label color from a float array (4th number, alpha, is always considered 1.0)
◆ SetPitch()
| void XPMP2::RemoteAcDetailTy::SetPitch |
( |
float |
_p | ) |
|
|
inline |
◆ SetRoll()
| void XPMP2::RemoteAcDetailTy::SetRoll |
( |
float |
_r | ) |
|
|
inline |
◆ aiPrio
| std::int16_t XPMP2::RemoteAcDetailTy::aiPrio |
priority for display in limited TCAS target slots, -1 indicates "no TCAS display"
◆ airline
| char XPMP2::RemoteAcDetailTy::airline[40] |
◆ alt_ft
| float XPMP2::RemoteAcDetailTy::alt_ft |
◆ aptFrom
| char XPMP2::RemoteAcDetailTy::aptFrom[5] |
◆ aptTo
| char XPMP2::RemoteAcDetailTy::aptTo[5] |
Destination airport (ICAO)
◆ bDrawLabel
| bool XPMP2::RemoteAcDetailTy::bDrawLabel |
Draw the label of the aircraft? (new with v2)
◆ bOnGrnd
| bool XPMP2::RemoteAcDetailTy::bOnGrnd |
Is the aircraft on the ground?
◆ bRender
| bool XPMP2::RemoteAcDetailTy::bRender |
Shall the CSL model be drawn in 3D world?
◆ bValid
| bool XPMP2::RemoteAcDetailTy::bValid |
is this object valid? (Will be reset in case of exceptions)
◆ bVisible
| bool XPMP2::RemoteAcDetailTy::bVisible |
Shall this plane be drawn at the moment?
◆ contrailDist_m
| std::uint8_t XPMP2::RemoteAcDetailTy::contrailDist_m |
distance between several contrails and to the aircraft's centerline, in meter
◆ contrailLifeTime
| std::uint8_t XPMP2::RemoteAcDetailTy::contrailLifeTime |
this aircraft's contrail's life time
◆ contrailNum
| std::uint8_t XPMP2::RemoteAcDetailTy::contrailNum |
number of contrails requested
◆ dTime
| std::uint16_t XPMP2::RemoteAcDetailTy::dTime |
[0.0001s] time difference to previous position in 1/10000s
◆ filler
| std::uint8_t XPMP2::RemoteAcDetailTy::filler[3] |
yet unused
Array of packed dataRef values for CSL model animation
◆ flightNum
| char XPMP2::RemoteAcDetailTy::flightNum[10] |
◆ heading
| std::uint16_t XPMP2::RemoteAcDetailTy::heading |
◆ icaoOp
| char XPMP2::RemoteAcDetailTy::icaoOp[4] |
◆ icaoType
| char XPMP2::RemoteAcDetailTy::icaoType[4] |
◆ label
| char XPMP2::RemoteAcDetailTy::label[23] |
◆ labelCol
| std::uint8_t XPMP2::RemoteAcDetailTy::labelCol[3] |
◆ lat
| double XPMP2::RemoteAcDetailTy::lat |
◆ lon
| double XPMP2::RemoteAcDetailTy::lon |
◆ manufacturer
| char XPMP2::RemoteAcDetailTy::manufacturer[40] |
a/c manufacturer, human readable
◆ model
| char XPMP2::RemoteAcDetailTy::model[40] |
a/c model, human readable
◆ modeS_id
| std::uint32_t XPMP2::RemoteAcDetailTy::modeS_id |
plane's unique id at the sender side (might differ remotely in case of duplicates)
◆ pitch
| std::int16_t XPMP2::RemoteAcDetailTy::pitch |
◆ pkgHash
| std::uint16_t XPMP2::RemoteAcDetailTy::pkgHash |
hash value of package name
◆ roll
| std::int16_t XPMP2::RemoteAcDetailTy::roll |
◆ sShortId
| char XPMP2::RemoteAcDetailTy::sShortId[20] |
◆ tailNum
| char XPMP2::RemoteAcDetailTy::tailNum[10] |
registration, tail number
The documentation for this struct was generated from the following files: