Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Proxies/TrainingAreaBase/tab_enums.idl
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

434 lines
5.8 KiB
Plaintext

/**
* @RDE_HEADER@
* Template for idl struct definitions
* $Id$
* $HeadURL$
* $Author$
* Created by Hanna E. Rathje, SLSE, 2015-08-19
*/
// filename: tab_enums.idl
#ifndef tab_enums_idl_included
#define tab_enums_idl_included
//@copy #include <TrainingAreaBase/tab_export.h> // #define NDDSUSERDllExport for linux
module TrainingAreaBase
{
enum AgdusHwMode
{
withoutHelmetWithoutVest = 1,
withHelmetWithoutVest = 2,
withHelmetWithVest = 3
};
enum FaultPositionHandling
{
FaultPositionHandling_NoChange = 0,
NoPositions = 1,
InvalidPositionValue = 2,
EstimatedPosition = 3
};
enum FirMode
{
NoFir = 0,
Fir = 1,
FirSpzMarder = 2
};
enum L19_Oi
{
L19_Oi_Empty = 1,
L19_Oi_F1 = 2,
L19_Oi_F2 = 3,
L19_Oi_F3 = 4,
L19_Oi_F4 = 5,
L19_Oi_F5 = 6,
L19_Oi_F6 = 7,
L19_Oi_F7 = 8,
L19_Oi_F8 = 9,
L19_Oi_F9 = 10,
L19_Oi_L = 11
};
enum L22_FireHaltCategory
{
L22_FireHaltCategory_A = 1,
L22_FireHaltCategory_R = 2,
L22_FireHaltCategory_E = 3,
L22_FireHaltCategory_C = 4,
L22_FireHaltCategory_F = 5
};
enum L25_KindGuidingLine
{
FFA = 1,
NFA = 2,
RFA = 3,
FSCL = 4,
RFL = 5,
FSSL = 6,
NFL = 7
};
enum L26_EffectingSystemType
{
Pzh2000 = 1,
RRohr = 2,
Mars = 3
};
enum L27_EffectorId
{
A = 1,
B = 2,
C = 3,
D = 4,
E = 5,
F = 6,
G = 7,
H = 8,
I = 9,
J = 10,
K = 11,
L = 12,
M = 13,
N = 14,
O = 15,
P = 16,
Q = 17,
R = 18,
S = 19,
T = 20,
U = 21,
V = 22,
W = 23,
X = 24,
Y = 25,
Z = 26,
B1 = 101,
B2 = 102,
B3 = 103,
B4 = 104,
B5 = 105,
B6 = 106,
B7 = 107,
B8 = 108,
C1 = 151,
C2 = 152,
C3 = 153,
C4 = 154,
C5 = 155,
C6 = 156,
C7 = 157,
C8 = 158,
NO_211 = 211,
NO_212 = 212,
NO_213 = 213,
NO_214 = 214,
NO_215 = 215,
NO_216 = 216,
NO_217 = 217,
NO_218 = 218,
NO_221 = 221,
NO_222 = 222,
NO_223 = 223,
NO_224 = 224,
NO_225 = 225,
NO_226 = 226,
NO_227 = 227,
NO_228 = 228,
NO_311 = 311,
NO_312 = 312,
NO_313 = 313,
NO_314 = 314,
NO_315 = 315,
NO_316 = 316,
NO_317 = 317,
NO_318 = 318,
NO_321 = 321,
NO_322 = 322,
NO_323 = 323,
NO_324 = 324,
NO_325 = 325,
NO_326 = 326,
NO_327 = 327,
NO_328 = 328,
NO_411 = 411,
NO_412 = 412,
NO_413 = 413,
NO_414 = 414,
NO_415 = 415,
NO_416 = 416,
NO_417 = 417,
NO_418 = 418,
NO_421 = 421,
NO_422 = 422,
NO_423 = 423,
NO_424 = 424,
NO_425 = 425,
NO_426 = 426,
NO_427 = 427,
NO_428 = 428,
NO_511 = 511,
NO_512 = 512,
NO_513 = 513,
NO_514 = 514,
NO_515 = 515,
NO_516 = 516,
NO_517 = 517,
NO_518 = 518,
NO_521 = 521,
NO_522 = 522,
NO_523 = 523,
NO_524 = 524,
NO_525 = 525,
NO_526 = 526,
NO_527 = 527,
NO_528 = 528
};
enum L28_Status
{
NichtEinsatzbereit = 0,
Einsatzbereit = 1
};
enum L4_TargetGeometry
{
Point = 1,
Area = 2,
Radial = 3,
Linear = 4
};
enum L7_Request
{
ABR = 1,
BEK = 2,
BEL = 3,
BLE = 4,
NIE = 5,
SPE = 6,
STO = 7,
UBW = 8,
VER = 9,
ZSL = 10,
ZER = 11,
BWL = 12,
MRK = 13,
WRN = 14,
BLI = 15,
BEI = 16,
BEW = 17,
BEO = 18,
BLW = 19,
MBE = 20,
MBL = 21,
MIR = 22
};
enum MineHandgrenadeSensorMode
{
PersonellMode = 0,
NormalVehicleMode = 2,
OcVehicleMode = 3
};
enum MinelayerMode
{
NoMinelayerDevice = 0,
MinelayerTrailer = 1,
MinelayerThrower = 2
};
enum OpticalCode
{
OpticalCode_NoChange = 0,
Osag10 = 1,
Osag20Basic = 2,
SisoStandard = 3
};
enum PositionUpdateIntervall
{
Vehicle = 0,
Personell = 1,
Aircraft = 2
};
enum PowerMethod
{
Unknown = 0,
PowerOn = 1,
PowerOff = 2
};
enum ServiceControlEnum
{
PRESHUTDOWN = 0,
SHUTDOWN = 1,
STOP = 2
};
enum SpecialSensorStandardMode
{
NoSpecialSensorStandard = 0,
ZABC = 3,
CSF = 4,
PzBr = 5,
MRF = 7
};
enum SwitichingPositionIntervall
{
SwitichingPositionIntervall_NoChange = 0,
On = 1,
Off = 2
};
enum ThrowingType
{
Straight = 0,
Right = 1,
Left = 2,
LeftAndRight = 3,
SingleRight = 5,
SingleLeft = 6,
SingleLeftAndRight = 7
};
enum BlockedAreaMode
{
Enter = 0,
Leave = 1
};
enum ControlDataCode
{
rsv = 0,
Flashing = 1
};
enum Qualification
{
NotDefined = 0,
FAA = 1,
FAB = 2,
SANPers = 3
};
enum SanitationResult
{
NoEffect = 0,
Unhandled = 1,
Insufficient = 2,
Sufficient = 3,
Optimal = 4
};
enum SanitationEvaluation
{
NotApplicable = -1,
Okay = 0,
PartlyWrong = 1,
Wrong = 2
};
enum ShootingResult
{
NearMiss = 0,
Hit = 1
};
enum TrajectoryError
{
Ok = 0,
BelowMinimalDistance = 1,
AboveMaximallDistance = 2,
Invalid = 4
};
enum TreatmentResult
{
None = 0,
Success = 1,
Stabilized = 2,
Failure = 3
};
enum WeaponSystemType
{
PZH = 0,
MRS = 1,
MARS = 2
};
}; // module TrainingAreaBase
#endif