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