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
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Stub implementation for lts_session.cpp when BUILD_RTI=OFF
|
||||
* Provides minimal LtsSession class without RTI Connext DDS dependencies
|
||||
*/
|
||||
|
||||
#include "lts_session_stub.h"
|
||||
#include <QDebug>
|
||||
|
||||
namespace LtsSession
|
||||
{
|
||||
|
||||
LtsSession::LtsSession(QObject* parent)
|
||||
: LtsSessionDataDds(parent)
|
||||
, m_initialized(false)
|
||||
, m_sessionId(QStringLiteral("stub-session"))
|
||||
{
|
||||
}
|
||||
|
||||
LtsSession::~LtsSession() = default;
|
||||
|
||||
bool LtsSession::init(const DdsConnectionParams& /*params*/)
|
||||
{
|
||||
qWarning() << "LtsSession::init() called in STUB mode (BUILD_RTI=OFF) - no DDS functionality available";
|
||||
m_initialized = false;
|
||||
emit initialized(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool LtsSession::isInitialized() const
|
||||
{
|
||||
return m_initialized;
|
||||
}
|
||||
|
||||
std::shared_ptr<DataPluginBase::Interface> LtsSession::dataPlugin() const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::shared_ptr<GuiPluginBase::Interface> LtsSession::guiPlugin() const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
QString LtsSession::sessionId() const
|
||||
{
|
||||
return m_sessionId;
|
||||
}
|
||||
|
||||
int LtsSession::exerciseId() const
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
QString LtsSession::toString() const
|
||||
{
|
||||
return QStringLiteral("LtsSession(stub, initialized=%1)").arg(m_initialized ? "true" : "false");
|
||||
}
|
||||
|
||||
} // namespace LtsSession
|
||||
Reference in new issue
Block a user