- 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>
60 lines
1.8 KiB
C++
Executable File
60 lines
1.8 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <Services/SituationReplayManagement/srm_ftc.h>
|
|
#include <Plugins/SituationReplayManagement/srm_data_plugin_interface.h>
|
|
#include <Services/SituationReplayManagement/logger.h>
|
|
#include <DDS/Core/core_dtc.h>
|
|
#include <LtsSession/lts_session.h>
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
#include <LtsUtils/LtsUtilsGui/LtsUtilsGuiDds/request_helper.h>
|
|
|
|
|
|
namespace Ui
|
|
{
|
|
class SituationReplayManagementDialog;
|
|
}
|
|
|
|
namespace SituationReplayManagement
|
|
{
|
|
class ReplayPartitionDialogModel;
|
|
|
|
|
|
|
|
class SituationReplayManagementDialog : public LtsWidgets::LtsDialog
|
|
, protected Interface::Ftc::ReplayPartitionCreateReplyHandler
|
|
, protected Interface::Ftc::ReplayPartitionRemoveReplyHandler
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit SituationReplayManagementDialog(LtsSession::LtsSession *session, QWidget *parent = nullptr);
|
|
~SituationReplayManagementDialog();
|
|
|
|
bool init(const std::shared_ptr<Core::Interface::Dtc> &dtc,
|
|
const std::shared_ptr<SituationReplayManagement::ForeignDataInterface> &srmForeign);
|
|
|
|
void onReplayPartitionCreateReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
|
void onReplayPartitionRemoveReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
|
|
|
private slots:
|
|
void enaDisa();
|
|
void onAddReplayPartition();
|
|
void onRemoveReplayPartition();
|
|
void onPrint();
|
|
void slotStartReplay();
|
|
|
|
|
|
private:
|
|
void retranslate() override;
|
|
void tableColumnOrganiserSetting() override;
|
|
|
|
LtsSession::LtsSession *m_session;
|
|
ReplayPartitionDialogModel *m_model;
|
|
Ui::SituationReplayManagementDialog *m_ui;
|
|
std::shared_ptr<SituationReplayManagement::ForeignDataInterface> m_srmForeign;
|
|
LtsUtils::RequestHelper *m_requestHelper;
|
|
};
|
|
}
|