Qt6 Migration: DDS-Stubs, Logger-Fixes, Export-Header Korrekturen

- NGL_ADD_LIBRARY2: 87 CMakeLists.txt konvertiert für Export-Header Generierung
- 44 Export-Header Include-Pfade korrigiert (_export.h)
- 81 DDS-Stub-Header generiert (*_dtc.h, *_fts.h, *_dts.h, *_ftc.h)
- INGLLogger: Duplikat gelöscht, m_logger Member entfernt, variadische Makros
- Q_FUNC_INFO Redefinition behoben (Qt6 definiert bereits)
- FATAL_LOG Makro hinzugefügt
- InfrastructureManagement DDS-Stubs (ism.hpp, ism_enums.hpp, ism_ftc.h)
- FilterManagement DDS-Stubs (flt_ftc.h, flt_dts.h)
- AreaEffectSimulation DDS-Stubs (aes.hpp, aes_enums.hpp)
- SymbolAppearance Klasse vollständig definiert mit content() Methode
- BuildingComponentFilter Klasse definiert mit Copy-Konstruktor
- Ftc Factory: nullptr Return (abstract class)
- AesFilter Klasse in aes.hpp hinzugefügt
- Dtc Klasse in ppm.hpp mit participantChanged Signal
- AesType Enum: alle 15 At* Werte definiert
- AesEffectState_def: EsReceived hinzugefügt
- DataModification Enum: eAdded/eModified/eRemoved
- function_reply_object.h → core_types.h Include-Pfad (72 Dateien)
- Enum-Class-Streaming Template-Operator in INGLLogger.h
- ism_mounting_point.h: QImage → QtGui/QImage, QGuiApplication/QScreen
- ism_data_plugin_interface.h: QSet Include, Include-Reihenfolge
- QRegExp → QRegularExpression in tpm_js_parser.cpp
- .underlying() Aufrufe zu direktem Enum-Vergleich korrigiert
- Include-Pfade: aes.hpp in symbol_appearance_settings_impl.h und aes_display_filter_impl.h

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-19 06:06:24 +02:00
1 parent 010f91928a
commit b774f4035c
2785 files changed
+18754 -18316

No files matched your search

@@ -29,7 +29,6 @@ MainHandler::MainHandler(QObject *parent)
, m_handlerFolder(nullptr)
, m_handlerFileContent(nullptr)
, m_handlerWebSocket(nullptr)
, m_logger(getLogger("MainHandler"))
{}
MainHandler::~MainHandler()
@@ -49,29 +48,29 @@ bool MainHandler::init(int domainId)
m_dbHandler = std::make_shared<DbHandler>();
if (!m_dbHandler->init(0, Settings::settings()))
{
ERROR_LOG(m_logger) << "Initialisation dbHandler failed.";
ERROR_LOG() << "Initialisation dbHandler failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation dbHandler succesful.";
DEBUG_LOG() << "Initialisation dbHandler succesful.";
// initialize DDS
m_ddsHandler.reset(new DdsHandler(domainId));
if (!m_ddsHandler->init())
{
ERROR_LOG(m_logger) << "Initialisation ddsHandler failed.";
ERROR_LOG() << "Initialisation ddsHandler failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation ddsHandler succesful.";
DEBUG_LOG() << "Initialisation ddsHandler succesful.";
// read project specific data from database
// publish project specific data
// initialize all handlers
if (!initFlmHandler())
{
ERROR_LOG(m_logger) << "Initialisation FlmHandler failed.";
ERROR_LOG() << "Initialisation FlmHandler failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation FlmHandler succesful.";
DEBUG_LOG() << "Initialisation FlmHandler succesful.";
m_ddsHandler->pacemaker()->setNewState(Core::RunningState::Running);
@@ -87,52 +86,52 @@ int MainHandler::exerciseId() const
bool MainHandler::initFlmHandler()
{
DEBUG_LOG(m_logger) << "Start Initialisation FlmHandler";
DEBUG_LOG() << "Start Initialisation FlmHandler";
// FileTypeInfo
m_handlerFileTypeInfo.reset(new HandlerFileTypeInfo(this));
DEBUG_LOG(m_logger) << "Reset HandlerFileTypeInfo successful.";
DEBUG_LOG() << "Reset HandlerFileTypeInfo successful.";
if (!m_handlerFileTypeInfo->init())
{
ERROR_LOG(m_logger) << "Initialisation of HandlerFileTypeInfo failed.";
ERROR_LOG() << "Initialisation of HandlerFileTypeInfo failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation HandlerFileTypeInfo succesful.";
DEBUG_LOG() << "Initialisation HandlerFileTypeInfo succesful.";
// Folder
m_handlerFolder.reset(new HandlerFolder(this));
DEBUG_LOG(m_logger) << "Reset HandlerFolder successful.";
DEBUG_LOG() << "Reset HandlerFolder successful.";
if (!m_handlerFolder->init())
{
ERROR_LOG(m_logger) << "Initialisation of HandlerFolder failed.";
ERROR_LOG() << "Initialisation of HandlerFolder failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation HandlerFolder successful.";
DEBUG_LOG() << "Initialisation HandlerFolder successful.";
// FileContent
m_handlerFileContent.reset(new HandlerFileContent(this));
DEBUG_LOG(m_logger) << "Reset HandlerFileContent successful.";
DEBUG_LOG() << "Reset HandlerFileContent successful.";
if (!m_handlerFileContent->init())
{
ERROR_LOG(m_logger) << "Initialisation of HandlerFileContent failed.";
ERROR_LOG() << "Initialisation of HandlerFileContent failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation HandlerFileContent successful.";
DEBUG_LOG() << "Initialisation HandlerFileContent successful.";
// WebSocketServer
m_handlerWebSocket = std::make_shared<WebSocketInterface::WebSocketInterfaceHandler>(this);
DEBUG_LOG(m_logger) << "Reset WebSocketInterfaceHandler successful.";
DEBUG_LOG() << "Reset WebSocketInterfaceHandler successful.";
if (!m_handlerWebSocket->init())
{
ERROR_LOG(m_logger) << "Initialisation WebSocketInterfaceHandler failed.";
ERROR_LOG() << "Initialisation WebSocketInterfaceHandler failed.";
return false;
}
m_ddsHandler->pacemaker()->addPort(m_handlerWebSocket->serverWebSocketPort(), Core::PortType::WebSocketServer);
DEBUG_LOG(m_logger) << "Initialisation WebSocketInterfaceHandler successful.";
DEBUG_LOG() << "Initialisation WebSocketInterfaceHandler successful.";
@@ -140,7 +139,7 @@ bool MainHandler::initFlmHandler()
m_thpScriptServer.reset(new ThpScriptServer(this));
DEBUG_LOG(m_logger) << "Initialisation ThpTcpScriptServer successful.";
DEBUG_LOG() << "Initialisation ThpTcpScriptServer successful.";
@@ -150,10 +149,10 @@ bool MainHandler::initFlmHandler()
m_pdfServer.reset(new PdfServer(this, this));
if (!m_pdfServer->init())
{
ERROR_LOG(m_logger) << "Initialisation PdfServer failed.";
ERROR_LOG() << "Initialisation PdfServer failed.";
return false;
}
DEBUG_LOG(m_logger) << "Initialisation PdfServer successful.";
DEBUG_LOG() << "Initialisation PdfServer successful.";
return true;
}