/** * @RDE_HEADER@ * Stub header for lts_session.h when BUILD_RTI=OFF * Provides minimal LtsSession class without RTI Connext DDS dependencies */ #pragma once #include "lts_session_data_dds_stub.h" #include #include namespace LtsSession { // Forward declarations namespace DataPluginBase { class Interface; } namespace GuiPluginBase { class Interface; } /** * @brief Stub LtsSession class for BUILD_RTI=OFF * * This stub provides the same interface as the real LtsSession class * but without any RTI DDS functionality. All methods return default values * or nullptr. */ class LtsSession : public LtsSessionDataDds { Q_OBJECT public: explicit LtsSession(QObject* parent = nullptr); ~LtsSession() override; // Initialization - always returns false in stub mode bool init(const DdsConnectionParams& params); bool isInitialized() const; // Plugin interfaces - return nullptr in stub mode std::shared_ptr dataPlugin() const; std::shared_ptr guiPlugin() const; // Session info - return default values QString sessionId() const; int exerciseId() const; QString toString() const; signals: void initialized(bool success); void sessionEnded(); private: bool m_initialized = false; QString m_sessionId; }; } // namespace LtsSession