- ppm_types.h: Participant, Party, Dtc, Type-Struct mit getId()/getTypeClass() - ppm_enums.hpp: DataModification, TypeClass, SymbolAppearance, SymbolVisibility - exm_exercise.h: Exercise mit exercises()-Methode - exm_dtc.h: Dtc mit DataModification Signal - gna_dtc.h: Dtc mit NasatAircraftParticipant Support - gna_nasat_aircraft.h/.cpp: NasatAircraft Implementierung - gna_nasat_aircraft_participant.h/.cpp: NasatAircraftParticipant Implementierung - mrk_marker.h: Marker mit timeStamp() Methode - alm_translation.h, gna_translation.h, ppm_translation.h: Übersetzungs-Header - *_export.h: Export-Makros für Shared Libraries - Dockerfile.rti: RTI Connext Installation im Image - rti_license.dat: Leere RTI-Lizenzdatei Build erfolgreich validiert mit BUILD_RTI=ON Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 participantId = 0;
|
|
|
|
// Helper method für Kompatibilität
|
|
int participantId() const { return participantId; }
|
|
};
|
|
|
|
} // 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.participantId << "}";
|
|
return os;
|
|
} |