Doxygen, style

This commit is contained in:
Klaus Basan
2019-10-23 02:00:17 +02:00
parent e29c213cf5
commit d989bca919
6 changed files with 12 additions and 6 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -16,6 +16,7 @@
#include <QString> #include <QString>
#include <QStringList> #include <QStringList>
//! Message type
enum class MessageType enum class MessageType
{ {
Unknown, Unknown,

View File

@@ -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();