- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
93 lines
1.9 KiB
C++
93 lines
1.9 KiB
C++
#pragma once
|
|
// STUB-HEADER: Diese Datei wird normalerweise von DDS generiert
|
|
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
|
|
#include <QString>
|
|
#include <QList>
|
|
#include <QVector>
|
|
|
|
namespace AreaEffectSimulation
|
|
{
|
|
|
|
// Forward declarations
|
|
struct ExplosionSingle;
|
|
struct EffectCluster;
|
|
struct AirSupportImpact;
|
|
struct OffRouteMine;
|
|
struct TrajectoryAdler;
|
|
|
|
// ExplosionSingle - Einzelne Explosion
|
|
struct ExplosionSingle {
|
|
int id = 0;
|
|
double x = 0.0;
|
|
double y = 0.0;
|
|
double z = 0.0;
|
|
double radius = 0.0;
|
|
double damage = 0.0;
|
|
qint64 timestamp = 0;
|
|
QString type;
|
|
};
|
|
|
|
// EffectCluster - Gruppe von Effekten
|
|
struct EffectCluster {
|
|
int id = 0;
|
|
QString name;
|
|
double x = 0.0;
|
|
double y = 0.0;
|
|
double z = 0.0;
|
|
QList<int> effectIds;
|
|
qint64 timestamp = 0;
|
|
};
|
|
|
|
// AirSupportImpact - Luftunterstützungseffekt
|
|
struct AirSupportImpact {
|
|
int id = 0;
|
|
double x = 0.0;
|
|
double y = 0.0;
|
|
double z = 0.0;
|
|
QString aircraftType;
|
|
QString weaponType;
|
|
qint64 timestamp = 0;
|
|
};
|
|
|
|
// OffRouteMine - Abseits-Mine
|
|
struct OffRouteMine {
|
|
int id = 0;
|
|
double x = 0.0;
|
|
double y = 0.0;
|
|
double z = 0.0;
|
|
bool active = true;
|
|
QString mineType;
|
|
qint64 timestamp = 0;
|
|
};
|
|
|
|
// TrajectoryAdler - Flugbahn für Adler
|
|
struct TrajectoryAdler {
|
|
int id = 0;
|
|
QList<double> xPoints;
|
|
QList<double> yPoints;
|
|
QList<double> zPoints;
|
|
qint64 timestamp = 0;
|
|
QString trajectoryType;
|
|
};
|
|
|
|
// AesFilter - Filter für Area Effect Simulation Entities
|
|
class AesFilter {
|
|
public:
|
|
AesFilter() = default;
|
|
virtual ~AesFilter() = default;
|
|
|
|
// ID getter/setter
|
|
int id() const { return m_id; }
|
|
void setId(int id) { m_id = id; }
|
|
|
|
// Content getter/setter für DDS-Daten
|
|
QString content() const { return m_content; }
|
|
void setContent(const QString& content) { m_content = content; }
|
|
|
|
private:
|
|
int m_id = 0;
|
|
QString m_content;
|
|
};
|
|
|
|
} // namespace AreaEffectSimulation
|