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

@@ -42,7 +42,7 @@ NGL_TARGET_LINK_LIBRARIES(svcEsmCommon
PRIVATE
RTI::nddscpp2
PUBLIC
Qt5::Core
Qt6::Core
ddscore
ngldb
NGLLogger
@@ -154,7 +154,7 @@ NGL_TARGET_LINK_LIBRARIES(svcEsmServer
svcTabClient
svcPdmClient
PUBLIC
Qt5::Core
Qt6::Core
ddsconnector
NGLLogger
)
@@ -7,6 +7,7 @@
*/
#include "handler_effect_show.h"
#include <utility>
#include "handler_ppm_data.h"
#include "handler_tab_data.h"
#include "handler_mdm_data.h"
@@ -610,7 +611,7 @@ void HandlerEffectShow::removeEffectShowsRelatedToAes(int idAes, bool retract)
//-------------------------------------------------------------------------------
void HandlerEffectShow::updateEffectShowsRelatedToMineArea(const AreaEffectSimulation::MineArea &data)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == data.id())
{
@@ -624,7 +625,7 @@ void HandlerEffectShow::updateEffectShowsRelatedToMineArea(const AreaEffectSimul
//-------------------------------------------------------------------------------
void HandlerEffectShow::updateEffectShowsRelatedToExplosionArea(const AreaEffectSimulation::ExplosionArea &data)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == data.id())
{
@@ -638,7 +639,7 @@ void HandlerEffectShow::updateEffectShowsRelatedToExplosionArea(const AreaEffect
void HandlerEffectShow::updateEffectShowsRelatedToExplosionCluster(const AreaEffectSimulation::ExplosionCluster &data)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == data.id())
{
@@ -652,7 +653,7 @@ void HandlerEffectShow::updateEffectShowsRelatedToExplosionCluster(const AreaEff
void HandlerEffectShow::updateEffectShowsRelatedToEffectCluster(const AreaEffectSimulation::EffectCluster &data)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == data.id())
{
@@ -726,7 +727,7 @@ void HandlerEffectShow::modifyEffectShows(const QVector<Database::EsmEffectShow>
//-------------------------------------------------------------------------------
void HandlerEffectShow::updateEffectShowOrdersRelatedToAes(int idAes)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == idAes)
triggerEffectShowOrder(obj);
@@ -735,7 +736,7 @@ void HandlerEffectShow::updateEffectShowOrdersRelatedToAes(int idAes)
//-------------------------------------------------------------------------------
void HandlerEffectShow::pauseEffectShowsRelatedToAes(int idAes)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == idAes)
triggerEffectShowStop(obj);
@@ -744,7 +745,7 @@ void HandlerEffectShow::pauseEffectShowsRelatedToAes(int idAes)
//-------------------------------------------------------------------------------
void HandlerEffectShow::continueEffectShowsRelatedToAes(int idAes)
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
if (obj->getIdAES() == idAes)
triggerEffectShowContinue(obj);
@@ -891,7 +892,7 @@ void HandlerEffectShow::triggerMeteoData(const ObjectEffectShow *ifs)
//-----------------------------------------------------------------------------
void HandlerEffectShow::onSendMeteoData()
{
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
const Database::EsmEffectShow &effectShow = obj->getData();
if (effectShow.esmParticipantId == -1)
@@ -909,7 +910,7 @@ void HandlerEffectShow::onCleanUp()
{
DEBUG_LOG(m_logger) << "Start Cleanup ";
QVector<ObjectEffectShow * > objects;
for (ObjectEffectShow *obj : qAsConst(m_effectShowObjMap))
for (ObjectEffectShow *obj : std::as_const(m_effectShowObjMap))
{
const Database::EsmEffectShow &effectShow = obj->getData();
if (effectShow.orderConfirmation == OrderConfirmation_e::OrderCarriedOut || effectShow.startTime <= 0 || effectShow.id <= 0)
@@ -6,6 +6,7 @@
*/
#include "handler_mdm_data.h"
#include <utility>
#include "initialization.h"
#include <LtsCoordTrans/lts_coord_trans.h>
#include "settings.h"
@@ -49,7 +50,7 @@ bool HandlerMdmData::getNearestWeather(const Core::GeoPosition2D &pos,
double nearestDistanceSquared = std::numeric_limits<double>::max();
bool found = false;
for (const auto &md : qAsConst(m_meteoData))
for (const auto &md : std::as_const(m_meteoData))
{
if (md.isStaticMeteoData())
continue;