swift
Public Member Functions | Static Public Member Functions | List of all members
swift::core::fsd::EuroscopeSimData Class Reference

Pilot data update broadcast by Euroscope Simulator every second. More...

Inheritance diagram for swift::core::fsd::EuroscopeSimData:
[legend]

Public Member Functions

 EuroscopeSimData (const QString &sender, const QString &model, const QString &livery, quint64 timestamp, double latitude, double longitude, double altitude, double heading, int bank, int pitch, int groundSpeed, bool onGround, double gearPercent, double thrustPercent, const swift::misc::aviation::CAircraftLights &lights)
 Constructor.
 
QStringList toTokens () const
 Message converted to tokens.
 
- Public Member Functions inherited from swift::core::fsd::MessageBase
 MessageBase ()
 Default Constructor.
 
 MessageBase (const QString &sender)
 Constructor.
 
 MessageBase (const QString &sender, const QString &receiver)
 Constructor.
 
void setCallsign (const QString &sender)
 Set callsign.
 
QString sender () const
 get message sender
 
void setReceiver (const QString &receiver)
 Set message receiver.
 
QString receiver () const
 Get message receiver.
 
bool isValid () const
 Is message valid?
 
void setValid (bool isValid)
 set message valid
 

Static Public Member Functions

static EuroscopeSimData fromTokens (const QStringList &tokens)
 Construct from tokens.
 
static QString pdu ()
 PDU identifier.
 

Public Attributes

QString m_model
 Properties.
 
QString m_livery
 Properties.
 
quint64 m_timestamp = 0
 Properties.
 
double m_latitude = 0
 Properties.
 
double m_longitude = 0
 Properties.
 
double m_altitude = 0
 Properties.
 
double m_heading = 0
 Properties.
 
int m_bank = 0
 Properties.
 
int m_pitch = 0
 Properties.
 
int m_groundSpeed = 0
 Properties.
 
bool m_onGround = false
 Properties.
 
int m_gearPercent = 0
 Properties.
 
int m_thrustPercent = 0
 Properties.
 
swift::misc::aviation::CAircraftLights m_lights
 Properties.
 

Additional Inherited Members

- Protected Attributes inherited from swift::core::fsd::MessageBase
QString m_sender
 message sender
 
QString m_receiver
 message receiver
 
bool m_isValid = true
 is valid?
 

Detailed Description

Pilot data update broadcast by Euroscope Simulator every second.

Definition at line 16 of file euroscopesimdata.h.


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