Formats minimally release source files based on former clang-format

This commit is contained in:
torsten committed 2026-10-14 13:28:01 +00:00
1 parent b662e4daf9
commit 5644914fe3
387 files changed
+37323 -38074

No files matched your search

@@ -21,76 +21,75 @@
namespace PrtCnv
{
/**
/**
* This class handles the traffic counting for the
* incoming radio data
*/
class PrtCnvRadioTrafficThread final : public PrtCnvThread
{
Q_OBJECT
public:
explicit PrtCnvRadioTrafficThread(PrtCnvThreadStarter* a_parent);
class PrtCnvRadioTrafficThread final : public PrtCnvThread
{
Q_OBJECT
public:
explicit PrtCnvRadioTrafficThread(PrtCnvThreadStarter *a_parent);
/**
/**
* A new telegram arrived.
*/
void newTelegramArrived(unsigned int size);
void newTelegramArrived(unsigned int size);
/**
/**
* Start the thread handling
*/
int32_t start() override;
int32_t start() override;
protected Q_SLOTS:
/**
protected Q_SLOTS:
/**
* Timeout to recalculate traffic load
*/
void onCalculateTrafficLoad();
void onCalculateTrafficLoad();
/**
/**
* Timeout to throw away old data
*/
void onCleanupTimeout();
void onCleanupTimeout();
protected:
/**
protected:
/**
* The current traffic load
*/
PrtCnvRadioThread::E_TrafficLoad m_receiveLoad;
PrtCnvRadioThread::E_TrafficLoad m_receiveLoad;
/**
/**
* Full load
*/
unsigned int m_fullLoad;
unsigned int m_fullLoad;
/**
/**
* High load
*/
unsigned int m_highLoad;
unsigned int m_highLoad;
/**
/**
* Hysterese
*/
unsigned int m_hystLoad;
unsigned int m_hystLoad;
/**
/**
* Timeout for recalculation
*/
int m_calcTimeout;
int m_calcTimeout;
/**
/**
* Timeout until data is thrown away
*/
int m_cleanupTimeout;
int m_cleanupTimeout;
QRecursiveMutex m_mutex;
QRecursiveMutex m_mutex;
/**
/**
* map<time, nTelegrams>
*/
QMap<time_t, unsigned int> m_data;
QMap<time_t, unsigned int> m_telegrams;
};
QMap<time_t, unsigned int> m_data;
QMap<time_t, unsigned int> m_telegrams;
};
} // namespace PrtCnv