Qt6-Migration: STUB-Header und Type-Definitionen vervollständigt
- 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>
This commit is contained in:
16 files changed
+371
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Translation Helper für ParticipantManagement Module
|
||||
// Wrapper für QObject::tr() in nicht-QObject Klassen
|
||||
|
||||
#include <QString>
|
||||
#include "ppmcommon_export.h"
|
||||
|
||||
namespace ParticipantManagement
|
||||
{
|
||||
|
||||
PPMCOMMON_EXPORT QString tr(const char *sourceText, const char *comment = nullptr, int n = -1);
|
||||
|
||||
} // namespace ParticipantManagement
|
||||
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
// Export-Macro für ParticipantManagement Module
|
||||
// STUB: Wird normalerweise von CMake generiert
|
||||
|
||||
#ifdef PPMCOMMON_LIBRARY
|
||||
#define PPMCOMMON_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define PPMCOMMON_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
Reference in new issue
Block a user