mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
Doxygen
This commit is contained in:
@@ -182,8 +182,10 @@ namespace BlackCore
|
|||||||
//! Heartbeat DTO
|
//! Heartbeat DTO
|
||||||
struct HeartbeatDto
|
struct HeartbeatDto
|
||||||
{
|
{
|
||||||
|
//! Name @{
|
||||||
static QByteArray getDtoName() { return "HeartbeatDto"; }
|
static QByteArray getDtoName() { return "HeartbeatDto"; }
|
||||||
static QByteArray getShortDtoName() { return "H"; }
|
static QByteArray getShortDtoName() { return "H"; }
|
||||||
|
//! @}
|
||||||
|
|
||||||
std::string callsign; //!< callsign
|
std::string callsign; //!< callsign
|
||||||
MSGPACK_DEFINE(callsign)
|
MSGPACK_DEFINE(callsign)
|
||||||
@@ -192,8 +194,11 @@ namespace BlackCore
|
|||||||
//! Heartbeat DTO
|
//! Heartbeat DTO
|
||||||
struct HeartbeatAckDto
|
struct HeartbeatAckDto
|
||||||
{
|
{
|
||||||
|
//! Name @{
|
||||||
static QByteArray getDtoName() { return "HeartbeatAckDto"; }
|
static QByteArray getDtoName() { return "HeartbeatAckDto"; }
|
||||||
static QByteArray getShortDtoName() { return "HA"; }
|
static QByteArray getShortDtoName() { return "HA"; }
|
||||||
|
//! @}
|
||||||
|
|
||||||
MSGPACK_DEFINE()
|
MSGPACK_DEFINE()
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -206,6 +211,7 @@ namespace BlackCore
|
|||||||
float distanceRatio;
|
float distanceRatio;
|
||||||
// std::string RelayCallsign;
|
// std::string RelayCallsign;
|
||||||
//! @}
|
//! @}
|
||||||
|
|
||||||
MSGPACK_DEFINE(id, frequency, distanceRatio/*, RelayCallsign*/)
|
MSGPACK_DEFINE(id, frequency, distanceRatio/*, RelayCallsign*/)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,10 @@ namespace BlackCore
|
|||||||
class BLACKCORE_EXPORT CAfvMapReader : public QObject
|
class BLACKCORE_EXPORT CAfvMapReader : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
//! Map reader properties @{
|
||||||
Q_PROPERTY(CSampleAtcStationModel *atcStationModel READ getAtcStationModel CONSTANT)
|
Q_PROPERTY(CSampleAtcStationModel *atcStationModel READ getAtcStationModel CONSTANT)
|
||||||
|
//! @}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Ctor
|
//! Ctor
|
||||||
|
|||||||
@@ -192,7 +192,6 @@ namespace BlackCore
|
|||||||
//! .unmute unmute BlackCore::Context::CContextAudio
|
//! .unmute unmute BlackCore::Context::CContextAudio
|
||||||
//! .vol .volume volume 0..100 set volume BlackCore::Context::CContextAudio
|
//! .vol .volume volume 0..100 set volume BlackCore::Context::CContextAudio
|
||||||
//! </pre>
|
//! </pre>
|
||||||
//! \copydoc IContext::parseCommandLine
|
|
||||||
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator) override;
|
virtual bool parseCommandLine(const QString &commandLine, const BlackMisc::CIdentifier &originator) override;
|
||||||
|
|
||||||
// ------------- DBus ---------------
|
// ------------- DBus ---------------
|
||||||
|
|||||||
@@ -365,7 +365,10 @@ namespace BlackCore
|
|||||||
//! Connect to receive raw fsd messages
|
//! Connect to receive raw fsd messages
|
||||||
virtual QMetaObject::Connection connectRawFsdMessageSignal(QObject *receiver, RawFsdMessageReceivedSlot rawFsdMessageReceivedSlot) = 0;
|
virtual QMetaObject::Connection connectRawFsdMessageSignal(QObject *receiver, RawFsdMessageReceivedSlot rawFsdMessageReceivedSlot) = 0;
|
||||||
|
|
||||||
|
//! Cmd.line arguments
|
||||||
static const QList<QCommandLineOption> &getCmdLineOptions();
|
static const QList<QCommandLineOption> &getCmdLineOptions();
|
||||||
|
|
||||||
|
//! Client id and key from cmd.line
|
||||||
static bool getCmdLineClientIdAndKey(int &id, QString &key);
|
static bool getCmdLineClientIdAndKey(int &id, QString &key);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -30,9 +30,12 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CLevelMeter : public QFrame
|
class BLACKGUI_EXPORT CLevelMeter : public QFrame
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
//! Properties @{
|
||||||
Q_PROPERTY(QColor lowColor READ getLowColor WRITE setLowColor)
|
Q_PROPERTY(QColor lowColor READ getLowColor WRITE setLowColor)
|
||||||
Q_PROPERTY(QColor highColor READ getHighColor WRITE setHighColor)
|
Q_PROPERTY(QColor highColor READ getHighColor WRITE setHighColor)
|
||||||
Q_PROPERTY(QColor peakColor READ getPeakColor WRITE setPeakColor)
|
Q_PROPERTY(QColor peakColor READ getPeakColor WRITE setPeakColor)
|
||||||
|
//! @}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ namespace BlackSound
|
|||||||
//! Dtor
|
//! Dtor
|
||||||
~COpusEncoder();
|
~COpusEncoder();
|
||||||
|
|
||||||
|
//! Non copyable
|
||||||
|
COpusEncoder(const COpusEncoder &temp_obj) = delete;
|
||||||
|
|
||||||
|
//! Non assignable
|
||||||
|
COpusEncoder &operator=(const COpusEncoder &temp_obj) = delete;
|
||||||
|
|
||||||
//! Bit rate
|
//! Bit rate
|
||||||
void setBitRate(int bitRate);
|
void setBitRate(int bitRate);
|
||||||
|
|
||||||
@@ -41,6 +47,7 @@ namespace BlackSound
|
|||||||
//! Frame count
|
//! Frame count
|
||||||
int frameCount(const QVector<qint16> pcmSamples);
|
int frameCount(const QVector<qint16> pcmSamples);
|
||||||
|
|
||||||
|
//! Encode
|
||||||
QByteArray encode(const QVector<qint16> pcmSamples, int samplesLength, int *encodedLength);
|
QByteArray encode(const QVector<qint16> pcmSamples, int samplesLength, int *encodedLength);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user