LtsSession-STUB und GuezNasat-Fixes für BUILD_RTI=OFF
- 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
This commit is contained in:
17 files changed
+543
-50
No files matched your search
+92
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* 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
|
||||
Reference in new issue
Block a user