mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Doxygen fixes
This commit is contained in:
@@ -77,19 +77,19 @@ namespace BlackCore
|
||||
virtual ~IContextApplication() {}
|
||||
|
||||
//! Output redirection (redirect my output)
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
RedirectionLevel getOutputRedirectionLevel() const;
|
||||
|
||||
//! Output redirection (redirect my output)
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void setOutputRedirectionLevel(RedirectionLevel redirectionLevel);
|
||||
|
||||
//! Redirected output generated by others
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
RedirectionLevel getStreamingForRedirectedOutputLevel() const;
|
||||
|
||||
//! Redirected output generated by others
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void setStreamingForRedirectedOutputLevel(RedirectionLevel redirectionLevel) ;
|
||||
|
||||
//! Reset output redirection
|
||||
@@ -146,7 +146,7 @@ namespace BlackCore
|
||||
static QtMessageHandler s_oldHandler;
|
||||
|
||||
//! Message handler, handles one individual context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void messageHandler(QtMsgType type, const QMessageLogContext &messageContext, const QString &messsage);
|
||||
|
||||
//! Handle output dispatch, handles all contexts
|
||||
|
||||
@@ -59,39 +59,39 @@ namespace BlackCore
|
||||
const QDBusConnection &getDBusConnection() const { return this->m_dbusConnection; }
|
||||
|
||||
//! Enable / disable all logging
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void signalLog(bool enabled);
|
||||
|
||||
//! Signal logging for application context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool signalLogForApplication(bool enabled);
|
||||
|
||||
//! Signal logging for audio context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool signalLogForAudio(bool enabled);
|
||||
|
||||
//! Signal logging for network context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool signalLogForNetwork(bool enabled);
|
||||
|
||||
//! Signal logging for own aircraft context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool signalLogForOwnAircraft(bool enabled);
|
||||
|
||||
//! Signal logging for settings context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool signalLogForSettings(bool enabled);
|
||||
|
||||
//! Signal logging for simulator context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool signalLogForSimulator(bool enabled);
|
||||
|
||||
//! Enable / disable all logging
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLog(bool enabled);
|
||||
|
||||
//! Slot logging for application context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLogForApplication(bool enabled)
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
@@ -99,7 +99,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for audio context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLogForAudio(bool enabled)
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
@@ -107,7 +107,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for network context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLogForNetwork(bool enabled)
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
@@ -115,7 +115,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for own aircraft context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLogForOwnAircraft(bool enabled)
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
@@ -123,7 +123,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for settings context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLogForSettings(bool enabled)
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
@@ -131,7 +131,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for simulator context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
void slotLogForSimulator(bool enabled)
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
@@ -139,7 +139,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for application context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogForApplicationEnabled() const
|
||||
{
|
||||
QReadLocker rl(&m_lock);
|
||||
@@ -147,7 +147,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for audio context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogForAudioEnabled() const
|
||||
{
|
||||
QReadLocker rl(&m_lock);
|
||||
@@ -155,7 +155,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for network context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogForNetworkEnabled() const
|
||||
{
|
||||
QReadLocker rl(&m_lock);
|
||||
@@ -163,7 +163,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot log for own aircraft
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogForOwnAircraftEnabled() const
|
||||
{
|
||||
QReadLocker rl(&m_lock);
|
||||
@@ -171,7 +171,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for settings context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogForSettingsEnabled() const
|
||||
{
|
||||
QReadLocker rl(&m_lock);
|
||||
@@ -179,7 +179,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for simulator context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogForSimulatorEnabled() const
|
||||
{
|
||||
QReadLocker rl(&m_lock);
|
||||
@@ -187,7 +187,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
//! Slot logging for specified context
|
||||
//! \threadsafe
|
||||
//! \remarks thread safe
|
||||
bool isSlotLogEnabledFor(LogContext context) const;
|
||||
|
||||
//! Slot logging
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKCORE_NETWORK_VATLIB_H
|
||||
#define BLACKCORE_NETWORK_VATLIB_H
|
||||
|
||||
@@ -18,17 +20,17 @@
|
||||
namespace BlackCore
|
||||
{
|
||||
/*!
|
||||
* \brief Implementation of INetwork using the vatlib shim
|
||||
* Implementation of INetwork using the vatlib shim
|
||||
*/
|
||||
class CNetworkVatlib : public INetwork
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! \brief Constructor
|
||||
//! Constructor
|
||||
CNetworkVatlib(QObject *parent = nullptr);
|
||||
|
||||
//! \brief Destructor
|
||||
//! Destructor
|
||||
virtual ~CNetworkVatlib();
|
||||
|
||||
//! \copydoc INetwork::isConnected()
|
||||
|
||||
Reference in New Issue
Block a user