Adds immediate migration results in progress

This commit is contained in:
torsten committed 2026-08-19 11:18:24 +02:00
1 parent 8453e104c5
commit 3bb6e89496
2102 files changed
+17482 -15071

No files matched your search

@@ -14,10 +14,9 @@
namespace HighLevelArchitecture
{
NgsHandler::NgsHandler(QObject *parent)
: QObject(parent)
, m_ddsHandler(nullptr)
{}
NgsHandler::NgsHandler(QObject *parent) : QObject(parent)
, m_ddsHandler(nullptr),
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {}
NgsHandler::~NgsHandler()
{
@@ -39,7 +38,7 @@ bool NgsHandler::init(const std::shared_ptr<DdsHandler> &ddsHandler)
ngs::IObserver::ProtocolType protocol = Settings::hlaProtocol();
INFO_LOG() << "Protocol = " << protToStr.value(protocol, QStringLiteral("UNKNOWN"));
INFO_LOG(m_logger) << "Protocol = " << protToStr.value(protocol, QStringLiteral("UNKNOWN"));
m_ngsConnector =
@@ -61,9 +60,9 @@ void NgsHandler::onFirstTickFinished()
m_ppmHandler = std::make_shared<PpmHandler>(this);
m_aesHandler = std::make_shared<AesHandler>(this);
if (!m_ppmHandler->init())
ERROR_LOG() << "Could not init ppm handler - not able to publish participants to HLA";
ERROR_LOG(m_logger) << "Could not init ppm handler - not able to publish participants to HLA";
if (!m_aesHandler->init())
ERROR_LOG() << "Could not init ppm handler - not able to publish area effect simulations to HLA";
ERROR_LOG(m_logger) << "Could not init ppm handler - not able to publish area effect simulations to HLA";
connect(m_ppmHandler.get(), &PpmHandler::externalEquipmentNumberAdded,
this, &NgsHandler::externalEquipmentNumberAdded);
@@ -89,11 +88,11 @@ void NgsHandler::initSocketReaders()
sr->start();
connect(sr, &SocketReader::newData, this, &NgsHandler::onNewSocketReaderData);
m_socketReaders.append(sr);
INFO_LOG() << "SocketReader with ID " << sd.hlaRequestIdentifier << " connected";
INFO_LOG(m_logger) << "SocketReader with ID " << sd.hlaRequestIdentifier << " connected";
}
else
{
ERROR_LOG() << "Could not initialize SocketReader " << sd.hlaRequestIdentifier;
ERROR_LOG(m_logger) << "Could not initialize SocketReader " << sd.hlaRequestIdentifier;
}
}
}