Remove STUB files, use real dependencies

- Removed all STUB files for external dependencies:
  - lts_session_stub.h/cpp
  - lts_session_data_dds_stub.h/cpp
  - lts_session_lock_handler_stub.h
  - elevation_map_manager.h/cpp (entire ElevationMap STUB)
  - avm_enums_stub.hpp
  - Test files for STUBs

- Updated LtsSession/CMakeLists.txt:
  - Removed conditional BUILD_RTI logic for STUBs
  - Always use real implementation files
  - BUILD_RTI=ON is now the default

- External dependencies are now expected in ./external/
  - RTI Connext DDS 7.7.0
  - ArcGIS SDK (runtime mount)
  - Other deps to be integrated step by step

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-20 19:15:57 +02:00
1 parent 32041db9a7
commit 8c824f87b4
12 files changed
+26 -821

No files matched your search

@@ -1,20 +0,0 @@
#
# ElevationMap STUB - Qt6 Migration
# Minimal implementation to allow LtsElevation compilation
#
NGL_ADD_LIBRARY2(WS SV HLA situationMapElevationMap SHARED
elevation_map_manager.cpp
elevation_map_manager.h
)
NGL_TARGET_INCLUDE_DIRECTORIES(situationMapElevationMap
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/../../include/Viewer/SituationMap/ElevationMap
)
NGL_TARGET_LINK_LIBRARIES(situationMapElevationMap
PUBLIC
Qt6::Core
Qt6::Gui
)
@@ -1,92 +0,0 @@
/**
* STUB-Implementierung für ElevationMapManager - Qt6 Migration
* Diese Datei ermöglicht das Kompilieren von LtsElevation ohne das vollständige ElevationMap-Modul
*/
#include "elevation_map_manager.h"
namespace SituationMap
{
class ElevationMapManager::Private
{
public:
bool initialized = false;
};
ElevationMapManager::ElevationMapManager() : d(new Private())
{
}
ElevationMapManager::~ElevationMapManager()
{
delete d;
}
int ElevationMapManager::init(const QStringList &filePaths_rough_to_fine)
{
Q_UNUSED(filePaths_rough_to_fine);
d->initialized = true;
return 0; // Success
}
void ElevationMapManager::cleanupCurrentContent()
{
d->initialized = false;
}
bool ElevationMapManager::waitForInitialization()
{
return d->initialized;
}
bool ElevationMapManager::isValid() const
{
return d->initialized;
}
double ElevationMapManager::elevation(double /*lon_rad*/, double /*lat_rad*/, bool * /*bIsCovered*/) const
{
return 0.0;
}
double ElevationMapManager::elevation(double /*lon_rad*/, double /*lat_rad*/, double defaultValue, bool * /*bIsCovered*/) const
{
return defaultValue;
}
QRectF ElevationMapManager::simpleUnitedExtent() const
{
return QRectF();
}
bool ElevationMapManager::contains(const QPointF & /*point*/) const
{
return false;
}
void ElevationMapManager::LOSProfile(const QPointF & /*start*/, const QPointF & /*end*/, LOSVector &losProfile)
{
losProfile.clear();
}
ElevationMapManager::LineOfSight ElevationMapManager::lineOfSightCalculation(const LOSVector & /*losProfile*/,
double /*centerHat*/,
double /*objHat*/) const
{
return LineOfSight::LOS_UNDEFINED;
}
ElevationMapManager::LineOfSight ElevationMapManager::lineOfSightCalculation(const LtsUtils::QPoint3D & /*startPointGeo_absZ*/,
const LtsUtils::QPoint3D & /*endPointGeo_absZ*/)
{
return LineOfSight::LOS_UNDEFINED;
}
ElevationMapManager::LineOfSight ElevationMapManager::lineOfSightCalculation(const QPointF & /*startPointGeo*/, double /*startHat*/,
const QPointF & /*endPointGeo*/, double /*endHat*/)
{
return LineOfSight::LOS_UNDEFINED;
}
} // namespace SituationMap
@@ -1,74 +0,0 @@
/**
* STUB-Header für ElevationMapManager - Qt6 Migration
* Diese Datei ermöglicht das Kompilieren von LtsElevation ohne das vollständige ElevationMap-Modul
*/
#pragma once
#include <QObject>
#include <QStringList>
#include <QRectF>
#include <QPointF>
#include <vector>
namespace LtsUtils
{
struct QPoint3D
{
double x{0.0};
double y{0.0};
double z{0.0};
};
} // namespace LtsUtils
using LOSVector = std::vector<double>;
namespace SituationMap
{
class ElevationMapManager final : public QObject
{
Q_OBJECT
public:
ElevationMapManager();
ElevationMapManager(const ElevationMapManager &) = delete;
ElevationMapManager &operator = (const ElevationMapManager &) = delete;
~ElevationMapManager();
int init(const QStringList &filePaths_rough_to_fine);
void cleanupCurrentContent();
bool waitForInitialization();
bool isValid() const;
double elevation(double lon_rad, double lat_rad, bool *bIsCovered = nullptr) const;
double elevation(double lon_rad, double lat_rad, double defaultValue, bool *bIsCovered = nullptr) const;
QRectF simpleUnitedExtent() const;
bool contains(const QPointF &point) const;
void LOSProfile(const QPointF &start, const QPointF &end, LOSVector &losProfile);
enum class LineOfSight { LOS_UNDEFINED = 0,
LOS_ERROR,
LOS_VISIBLE,
LOS_INVISIBLE };
LineOfSight lineOfSightCalculation(const LOSVector &losProfile,
double centerHat,
double objHat) const;
LineOfSight lineOfSightCalculation(const LtsUtils::QPoint3D &startPointGeo_absZ,
const LtsUtils::QPoint3D &endPointGeo_absZ);
LineOfSight lineOfSightCalculation(const QPointF &startPointGeo, double startHat,
const QPointF &endPointGeo, double endHat);
protected:
class Private;
Private *d;
}; // ElevationMapManager
} // namespace SituationMap