mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Doxygen, style
This commit is contained in:
@@ -23,7 +23,6 @@ namespace BlackCore
|
||||
public:
|
||||
//! Constructor
|
||||
DeleteAtc(const QString &sender, const QString &cid);
|
||||
virtual ~DeleteAtc() {}
|
||||
|
||||
//! Message converted to tokens
|
||||
QStringList toTokens() const;
|
||||
@@ -34,7 +33,7 @@ namespace BlackCore
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "#DA"; }
|
||||
|
||||
QString m_cid;
|
||||
QString m_cid; //! id
|
||||
|
||||
private:
|
||||
DeleteAtc();
|
||||
|
||||
@@ -33,8 +33,10 @@ namespace BlackCore
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "$DI"; }
|
||||
|
||||
//! Properties @{
|
||||
QString m_serverVersion;
|
||||
QString m_initialChallenge;
|
||||
//! @}
|
||||
|
||||
private:
|
||||
FSDIdentification();
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace BlackCore
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "#SB"; }
|
||||
|
||||
//! Properties @{
|
||||
double m_latitude = 0.0;
|
||||
double m_longitude = 0.0;
|
||||
int m_altitudeTrue = 0.0;
|
||||
@@ -42,7 +43,8 @@ namespace BlackCore
|
||||
double m_pitch = 0.0;
|
||||
double m_bank = 0.0;
|
||||
double m_heading = 0.0;
|
||||
bool m_onGround = false;
|
||||
bool m_onGround = false;
|
||||
//! @}
|
||||
|
||||
private:
|
||||
InterimPilotDataUpdate();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace BlackCore
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "$!!"; }
|
||||
|
||||
QString m_reason;
|
||||
QString m_reason; //!< reason for kill request/kicked
|
||||
|
||||
private:
|
||||
KillRequest();
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
//! Message type
|
||||
enum class MessageType
|
||||
{
|
||||
Unknown,
|
||||
|
||||
@@ -36,18 +36,20 @@ namespace BlackCore
|
||||
//! PDU identifier
|
||||
static QString pdu() { return "@"; }
|
||||
|
||||
//! Properties @{
|
||||
BlackMisc::Aviation::CTransponder::TransponderMode m_transponderMode = BlackMisc::Aviation::CTransponder::StateStandby;
|
||||
int m_transponderCode = 0;
|
||||
PilotRating m_rating = PilotRating::Unknown;
|
||||
double m_latitude = 0.0;
|
||||
double m_latitude = 0.0;
|
||||
double m_longitude = 0.0;
|
||||
int m_altitudeTrue = 0.0;
|
||||
int m_altitudePressure = 0.0;
|
||||
int m_groundSpeed = 0;
|
||||
double m_pitch = 0.0;
|
||||
double m_bank = 0.0;
|
||||
double m_bank = 0.0;
|
||||
double m_heading = 0.0;
|
||||
bool m_onGround = false;
|
||||
//! @}
|
||||
|
||||
private:
|
||||
PilotDataUpdate();
|
||||
|
||||
Reference in New Issue
Block a user