6 #ifndef SWIFT_CORE_FSD_PILOTDATAUPDATE_H
7 #define SWIFT_CORE_FSD_PILOTDATAUPDATE_H
13 namespace swift::core::fsd
21 int transponderCode,
PilotRating rating,
double latitude,
double longitude,
int altitudeTrue,
22 int altitudePressure,
int groundSpeed,
double pitch,
double bank,
double heading,
26 QStringList toTokens()
const;
32 static QString
pdu() {
return "@"; }
38 int m_transponderCode = 0;
40 double m_latitude = 0.0;
41 double m_longitude = 0.0;
42 int m_altitudeTrue = 0.0;
43 int m_altitudePressure = 0.0;
44 int m_groundSpeed = 0;
47 double m_heading = 0.0;
48 bool m_onGround =
false;
bool operator!=(const AddAtc &lhs, const AddAtc &rhs)
Not equal operator.
QString sender() const
get message sender
QString receiver() const
Get message receiver.
Pilot data update broadcasted to all clients in range every 5 seconds.
swift::misc::aviation::CTransponder::TransponderMode m_transponderMode
Properties.
bool m_onGround
Properties.
int m_transponderCode
Properties.
static QString pdu()
PDU identifier.
PilotRating m_rating
Properties.
int m_altitudeTrue
Properties.
double m_pitch
Properties.
double m_longitude
Properties.
double m_heading
Properties.
int m_groundSpeed
Properties.
int m_altitudePressure
Properties.
double m_latitude
Properties.
TransponderMode
Transponder codes.
@ StateStandby
not a real mode, more a state
PilotRating
Pilot ratings.
#define SWIFT_CORE_EXPORT
Export a class or function from the library.