Adds immediate migration results

This commit is contained in:
torsten committed 2026-08-18 22:12:24 +02:00
1 parent ba4121728b
commit 6a2a0667ab
2395 files changed
+357322 -2524

No files matched your search

@@ -1,6 +1,7 @@
#include "tx_mixin.h"
#include <utility>
namespace TrainingAreaBase
{
@@ -20,7 +21,7 @@ bool TxMixin::removeTxHandler(const std::shared_ptr<SendToTab> &txCallback)
void TxMixin::resetSendCounter()
{
for (const std::shared_ptr<SendToTab> &tx : qAsConst(m_txHandler))
for (const std::shared_ptr<SendToTab> &tx : std::as_const(m_txHandler))
tx->resetSendCounter();
}
@@ -280,7 +281,7 @@ bool TxMixin::txDataToAll(const T &data)
if (equipmentNumber == 0)
{
for (const std::shared_ptr<SendToTab> &tx : qAsConst(m_txHandler))
for (const std::shared_ptr<SendToTab> &tx : std::as_const(m_txHandler))
{
const HandleState hs = tx->canHandleTelegram(equipmentNumber, TrainingAreaBase::TetraIcd::Constraints<T>::id());
if (hs == HandleState::No)
@@ -296,7 +297,7 @@ bool TxMixin::txDataToAll(const T &data)
{
bool bConsumed = false;
std::shared_ptr<SendToTab> fallbackHandler;
for (const std::shared_ptr<SendToTab> &tx : qAsConst(m_txHandler))
for (const std::shared_ptr<SendToTab> &tx : std::as_const(m_txHandler))
{
const HandleState hs = tx->canHandleTelegram(equipmentNumber, TrainingAreaBase::TetraIcd::Constraints<T>::id());
switch (hs)