Files
qt-migration-legatus/qt5-before/dlbo/Lts/Services/ExerciseEventManagement/eem_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

79 lines
5.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<service namespace="ExerciseEventManagement" abbreviation="EEM" procNames="ExerciseEventManagement" exerciseDependency="Exercise" groups="ExercisePreparation,ExerciseExecution,ExercisePaused,ExerciseAfterActionReview" prio="4">
<rcs>
<Id Id="$Id$"/>
<HeadURL HeadURL="$HeadURL$"/>
<Author Author="$Author$"/>
</rcs>
<operatorRights offset="11">
<guiPlugin name="ExerciseEventManagement" offset="1">
<operatorRightGroup name="Exercise Event Management" description="Show Exercise Events">
<operatorRight right="EventsDialogShow" value="1" description="Show the events dialog"/>
<operatorRight right="HitEventsShow" value="2" description="Show Hit Events on Participants and Buildings"/>
<operatorRight right="WeaponAssignmentEventsShow" value="3" description="Show Weapon Assignments to Participants"/>
<operatorRight right="BiteMessageEventsShow" value="4" description="Show Bite Message Events"/>
<operatorRight right="FireEventsShow" value="5" description="Show Participant Firing Events"/>
<operatorRight right="ManipulationEventsShow" value="6" description="Show Manipulation Events"/>
<operatorRight right="AvEventsShow" value="7" description="Show Audio-/Video Events"/>
<operatorRight right="AesEventsShow" value="8" description="Show Area Effect Simulation Events"/>
</operatorRightGroup>
</guiPlugin>
</operatorRights>
<tables>
<table name="eem_event">
<column name="id" datatype="integer" isPrimaryKey="1">
<sequence start="1" increment="1"/>
</column>
<column name="event_type_id" datatype="integer" isForeignKey="1"/>
<column name="short_name" datatype="text"/>
<column name="participant_id" datatype="integer" comment="no foreign key since parameter can contain -1"/>
<column name="party_id" datatype="integer" comment="no foreign key since parameter can contain -1"/>
<column name="equipment_number" datatype="integer"/>
<column name="properties" datatype="jsonb"/>
<column name="sample_time" datatype="bigint"/>
<column name="position" datatype="point_3d"/>
<foreignKey name="FK_eem_event_pdm_event_type">
<source table="eem_event" column="event_type_id"/>
<destination service="ProjectDataManagement" serviceAbbr="pdm" schema="pdm" table="pdm_event_type" column="id"/>
</foreignKey>
<constraint name="IDX_eem_event_sample_time" type="index">
<column name="sample_time"/>
</constraint>
<constraint name="IDX_eem_event_event_type_id" type="index">
<column name="event_type_id"/>
</constraint>
<constraint name="UQ_eem_event_event_type_id_sample_time_participant_id_party_id_" type="unique">
<column name="event_type_id"/>
<column name="sample_time"/>
<column name="participant_id"/>
<column name="party_id"/>
<column name="equipment_number"/>
<column name="properties"/>
</constraint>
</table>
</tables>
<views/>
<dbServiceStructs>
<serviceStruct name="EemEvent" table="eem_event"/>
<table name="eem_event"/>
</dbServiceStructs>
<topicTypes>
<topicType name="Event" isDataObject="1" routeToClient="0" routeToServer="0" routeInReplay="0" recordTopic="0">
<column name="id" idlType="long long" isKey="1"/>
<column name="sampleTime" idlType="long long"/>
<column name="eventTypeId" idlType="ProjectDataManagement::EventType"/>
<column name="participantId" idlType="long"/>
<column name="partyId" idlType="long"/>
<column name="equipmentNumber" idlType="long"/>
<column name="properties" idlType="string" comment="&lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;Hit&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; VulnerabilityState OriginatorId OriginatorType OriginatorChargeTypeId FriendlyFire Optional: OriginatorEquipmentNumber &lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;FireEvent&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; GearId GearTypeId ChargeTypeId Remain &lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;WeaponAssignment&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; GearId GearTypeId DryFire &lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;Manipulation&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; DeviceType &lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;BiteMessage&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; BatteryState BiteState ConfigState JSonArray BiteErrors: ErrorNo CanDeviceNumber SubDeviceNumber UniqueId &lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;HitBuilding&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; &lt;u&gt; &lt;/u&gt;ChargetTypeId damagePercent damagePercentOld AesId VunerabilityState OrigiatorParticipantId StructureElementId &lt;u&gt; &lt;/u&gt;&lt;u&gt;Properties fuer EventType &lt;/u&gt;&lt;b&gt;&lt;u&gt;HitIndrect, HitMine, HitN, HitC, EnterDangerArea, LeaveDangerArea ..&lt;/u&gt;&lt;/b&gt; &lt;b&gt;&lt;u&gt;Alle EventTypes von CES&lt;/u&gt;&lt;/b&gt;&lt;u&gt;:&lt;/u&gt; AesId FriendlyFire"/>
<column name="position" idlType="Core::GeoPosition"/>
</topicType>
</topicTypes>
<functionTopics/>
<enumerations>
<enumeration name="EnumDummy">
<attribute key="Dummy" value="0"/>
</enumeration>
</enumerations>
</service>