BUILD_RTI: Fix 4 compile errors and add missing type headers

- generic_base.h: Fix dds::topic namespace issue, move RTI includes inside BUILD_RTI guard
- wait_set_handler.h: Remove duplicate m_logger declarations (3→1)
- pub_sub_base.cpp: Fix constructor initializer list syntax (.→,), add m_logger initialization
- training_area_telegrams.h: Fix field naming (m_ prefix) for accessor methods
- PdmComboBox CMakeLists.txt: Add BUILD_RTI AND TARGET guards for svcPdmCommon/svcPdmClient
- PdmDataPlugin CMakeLists.txt: Wrap svcPdmClient link in BUILD_RTI guard
- CMakeLists.txt: Add RTI_UNIX, RTI_POSIX_THREADS compile definitions, remove duplicate add_subdirectory
- alm_types.h, ppm_types.h: Copy missing type headers from include/ directories

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-23 13:15:31 +02:00
1 parent c042faae9e
commit ec75789fae
9 files changed
+157 -40

No files matched your search

@@ -0,0 +1,40 @@
#pragma once
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
// Für die Migration erstellen wir minimale Typ-Definitionen
#include <QString>
#include <ostream>
#include "ppm_enums.hpp"
namespace ParticipantManagement
{
// STUB: Type - wird durch echten DDS-Typ ersetzt
struct Type
{
int id = 0;
QString name;
TypeClass typeClass = TypeClass::Unknown;
// Weitere Felder werden bei Bedarf ergänzt
};
// STUB: Participant - wird durch echten DDS-Typ ersetzt
struct Participant
{
int id = 0;
QString name;
QString callsign;
Type type;
// Weitere Felder werden bei Bedarf ergänzt
};
// Stream-Operator für Logger-Unterstützung
inline std::ostream& operator<<(std::ostream& os, const Participant& participant)
{
os << "Participant(id=" << participant.id << ", name=" << participant.name.toStdString()
<< ", callsign=" << participant.callsign.toStdString() << ")";
return os;
}
} // namespace ParticipantManagement