- CMakeLists.txt: Conditional compilation für BUILD_RTI=ON/OFF - lts_session_stub.h/cpp: NEU - STUB-Implementation ohne RTI-Abhängigkeit - lts_session_data_dds_stub.h: Doppeltes Namespace-Closing entfernt - gna_nasat_aircraft.h: participantId zu participantIdValue umbenannt (Konflikt) - gna_dtc.h: Doppeldefinitionen entfernt - gna_nasat_aircraft_participant.h: Doppeldefinitionen entfernt - ppm_enums.hpp: DataModification-Enum im ParticipantManagement-Namespace - ElevationMap-STUB: ArcGIS-Abhängigkeit für BUILD_RTI=OFF gekapselt - Viewer-STUB: Header für BUILD_RTI=OFF Build Build-Validierung: Configure erfolgreich, LtsSession-Fehler behoben
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
#pragma once
|
|
|
|
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
|
|
#include <QString>
|
|
#include "gna_export.h"
|
|
|
|
namespace GuezNasat
|
|
{
|
|
|
|
// STUB: NasatAircraft - wird durch echten DDS-Typ ersetzt
|
|
struct GNACOMMON_EXPORT NasatAircraft
|
|
{
|
|
int id = 0;
|
|
QString name;
|
|
int exerciseId = 0;
|
|
// Weitere Felder werden bei Bedarf ergänzt
|
|
};
|
|
|
|
// STUB: NasatAircraftParticipant - wird durch echten DDS-Typ ersetzt
|
|
struct GNACOMMON_EXPORT NasatAircraftParticipant
|
|
{
|
|
int id = 0;
|
|
int nasatAircraftId = 0;
|
|
int exerciseId = 0;
|
|
int participantIdValue = 0;
|
|
|
|
// Helper method für Kompatibilität
|
|
int participantId() const { return participantIdValue; }
|
|
};
|
|
|
|
} // namespace GuezNasat
|
|
|
|
// Stream-Operatoren für Logger-Unterstützung
|
|
#include <ostream>
|
|
inline std::ostream& operator<<(std::ostream& os, const GuezNasat::NasatAircraft& aircraft)
|
|
{
|
|
os << "NasatAircraft{id=" << aircraft.id << ", name=" << aircraft.name.toStdString()
|
|
<< ", exerciseId=" << aircraft.exerciseId << "}";
|
|
return os;
|
|
}
|
|
|
|
inline std::ostream& operator<<(std::ostream& os, const GuezNasat::NasatAircraftParticipant& participant)
|
|
{
|
|
os << "NasatAircraftParticipant{id=" << participant.id
|
|
<< ", nasatAircraftId=" << participant.nasatAircraftId
|
|
<< ", participantId=" << participant.participantIdValue << "}";
|
|
return os;
|
|
} |