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

@@ -39,7 +39,7 @@ NGL_TARGET_LINK_LIBRARIES(svcGnaCommon
PRIVATE
RTI::nddscpp2
PUBLIC
Qt5::Core
Qt6::Core
ngldb
ddscore
NGLLogger
@@ -113,9 +113,9 @@ NGL_ADD_LIBRARY(AAR SV svcGnaServer SHARED ${SRCS_server})
NGL_TARGET_LINK_LIBRARIES(svcGnaServer
PRIVATE
ddsfts
Qt5::Core
Qt5::Network
Qt5::WebSockets
Qt6::Core
Qt6::Network
Qt6::WebSockets
LtsCoordTrans
NGLLogger
nglsettings
@@ -2,6 +2,7 @@
#include "handler_nasat_aircraft.h"
#include <utility>
#include "initialization.h"
#include "dds_handler.h"
#include "handler_nasat_aircraft_participant.h"
@@ -41,7 +42,7 @@ HandlerNasatAircraft::HandlerNasatAircraft(Initialization *mainHandler)
HandlerNasatAircraft::~HandlerNasatAircraft()
{
for (const auto &data : qAsConst(m_nasatAircrafts))
for (const auto &data : std::as_const(m_nasatAircrafts))
m_dts->removeNasatAircraftByKey(data.id());
}
@@ -2,6 +2,7 @@
#include "handler_nasat_aircraft_participant.h"
#include <utility>
#include "handler_nasat_aircraft.h"
#include "initialization.h"
#include "dds_handler.h"
@@ -47,7 +48,7 @@ HandlerNasatAircraftParticipant::HandlerNasatAircraftParticipant(Initialization
HandlerNasatAircraftParticipant::~HandlerNasatAircraftParticipant()
{
DEBUG_LOG(m_logger) << LOGFUNCTION << " START";
for (const auto &data : qAsConst(m_nasatAircraftParticipants))
for (const auto &data : std::as_const(m_nasatAircraftParticipants))
m_dts->removeNasatAircraftByKey(data.id());
DEBUG_LOG(m_logger) << LOGFUNCTION << " END";
}
@@ -304,7 +305,7 @@ int HandlerNasatAircraftParticipant::removeNapsOfExercise(int exerciseId)
int count = 0;
QHash<int, NasatAircraftParticipant> napsCopy = m_nasatAircraftParticipants;
for (const NasatAircraftParticipant &nap : qAsConst(napsCopy))
for (const NasatAircraftParticipant &nap : std::as_const(napsCopy))
{
if (nap.exerciseId() == exerciseId)
{
@@ -2,6 +2,7 @@
#include "handler_participant.h"
#include <utility>
#include "handler_nasat_aircraft.h"
#include "handler_nasat_aircraft_participant.h"
#include "initialization.h"
@@ -56,7 +57,7 @@ HandlerParticipant::HandlerParticipant(Initialization *mainHandler)
HandlerParticipant::~HandlerParticipant()
{
for (const auto &ex : qAsConst(m_activePublisher))
for (const auto &ex : std::as_const(m_activePublisher))
qDeleteAll(ex);
}
@@ -2,6 +2,7 @@
#include "web_socket_handler.h"
#include <utility>
#include "guez_nasat_telegrams.h"
#include <QWebSocket>
@@ -24,7 +25,7 @@ WebSocketHandler::WebSocketHandler(QObject *parent)
WebSocketHandler::~WebSocketHandler()
{
TRACE_LOG(m_logger) << LOGFUNCTION << " START";
for (auto s : qAsConst(m_webSockets))
for (auto s : std::as_const(m_webSockets))
{
s->disconnect(this);
s->close();
@@ -71,7 +72,7 @@ bool WebSocketHandler::sendTelegramInternal(const QByteArray &tele)
{
const QString msg = QString::fromUtf8(tele);
bool bOk = false;
for (QWebSocket *ws : qAsConst(m_webSockets))
for (QWebSocket *ws : std::as_const(m_webSockets))
{
if (ws->sendTextMessage(msg))
bOk = true;