Files
qt-migration-legatus/qt5-before/dlbo/Lts/Services/SituationReplay/srp_service.xml
T
torstenandCopilot 7173785915 Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list

Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF

Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
  - Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
  - Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)

Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified

Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:26 +00:00

84 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<service namespace="SituationReplay" abbreviation="SRP" procNames="SituationReplay" exerciseDependency="Exercise">
<rcs>
<Id Id="$Id$"/>
<HeadURL HeadURL="$HeadURL$"/>
<Author Author="$Author$"/>
</rcs>
<tables>
<table name="srp_replay_journal" comment="Information about past and currently used situation replay(as a journal)">
<column name="id" datatype="integer" isPrimaryKey="1">
<sequence start="1" increment="1"/>
</column>
<column name="situation_replay_id" datatype="integer"/>
<column name="replay_partition_id" datatype="integer"/>
<column name="srp_state_id" datatype="integer" isForeignKey="1"/>
<column name="begin_time" datatype="bigint"/>
<column name="end_time" datatype="bigint"/>
<column name="changed_at" datatype="timestamp"/>
<column name="pace" datatype="real"/>
<foreignKey name="FK_srp_journal_srp_state">
<source table="srp_replay_journal" column="srp_state_id"/>
<destination table="srp_state" column="id"/>
</foreignKey>
</table>
<table name="srp_situation_replay">
<column name="id" datatype="integer" isPrimaryKey="1">
<sequence start="1" increment="1"/>
</column>
<column name="srp_state_id" datatype="integer" isForeignKey="1"/>
<column name="replay_partition_id" datatype="integer"/>
<column name="begin_time" datatype="bigint"/>
<column name="end_time" datatype="bigint"/>
<column name="pace" datatype="real"/>
<foreignKey name="FK_srp_situation_replay_srp_state">
<source table="srp_situation_replay" column="srp_state_id"/>
<destination table="srp_state" column="id"/>
</foreignKey>
</table>
<table name="srp_state">
<column name="id" datatype="integer" isPrimaryKey="1"/>
<column name="name" datatype="text"/>
</table>
</tables>
<views/>
<dbServiceStructs>
<serviceStruct name="SrpReplayJournal" table="srp_replay_journal"/>
<serviceStruct name="SrpSituationReplay" table="srp_situation_replay"/>
<table name="srp_replay_journal"/>
<table name="srp_situation_replay"/>
</dbServiceStructs>
<topicTypes>
<topicType name="ChangeReplayStateRequest">
<column name="id" idlType="long"/>
<column name="state" idlType="SrpState"/>
<column name="replayPartitionId" idlType="long"/>
<column name="beginTime" idlType="long long"/>
<column name="endTime" idlType="long long"/>
<column name="pace" idlType="double" isOptional="1"/>
</topicType>
<topicType name="SitReplay" extensibility="EXTENSIBLE" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
<column name="id" idlType="long" isKey="1"/>
<column name="state" idlType="SrpState"/>
<column name="exerciseId" idlType="long" comment="Only in idl-struct, not needed in table"/>
<column name="replayPartitionId" idlType="long"/>
<column name="beginTime" idlType="long long"/>
<column name="endTime" idlType="long long"/>
<column name="pace" idlType="double"/>
</topicType>
</topicTypes>
<functionTopics>
<functionTopic name="ChangeReplayState" requestTopicType="ChangeReplayStateRequest" replyTopicType="Core::FunctionReply" requestTopicName="ChangeReplayStateRequest" replyTopicName="ChangeReplayStateReply" routeInReplay="0"/>
</functionTopics>
<enumerations>
<enumeration name="SrpState" table="srp_state">
<attribute key="Unknown" value="0"/>
<attribute key="Started" value="1"/>
<attribute key="Paused" value="2"/>
<attribute key="Resumed" value="3"/>
<attribute key="Stopped" value="4"/>
</enumeration>
</enumerations>
<operatorRights offset="36"/>
</service>