Files
qt-migration-legatus/qt5-before/dlbo/Lts/Services/AreaEffectSimulation/settings.h
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

114 lines
3.4 KiB
C++

/**
* Settings for AereaEffectSimulation
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <QtCore/QString>
#include "aes_export.h"
namespace NGL
{
class Settings;
}
namespace AreaEffectSimulation
{
namespace Settings
{
//!< Get validity period for weather data in msec
AES_COMMON_EXPORT quint32 getValidityPeriodWeatherData();
//!< Get offset for a newly laid dus single mine
AES_COMMON_EXPORT quint32 getDusSingleMineEffectStartOffset();
//!< Time after stopping from the supply truck until the function room becomes active
//! Time in [ms]
//! Default = 5000
AES_COMMON_EXPORT quint32 getActivationTimeAfterStopSupplyTruck();
//!< Maximum step length for standing ( Criterion for standing on one place)
//! Length in [m]
//! Default = 20
AES_COMMON_EXPORT quint32 getMaximumStepLengthStanding();
//!< Maximum lookup range for minereas to have an unpaired mine (mineId > 70000)
//! Length in [m]
//! Default = 20
AES_COMMON_EXPORT qint32 getUnpairedMinesLookupRange();
//!< EffectStart for mine areas that are create by MiVSys85
//! Time in [ms]
//! Default = 10min (10 * 60 * 1000)
AES_COMMON_EXPORT qint32 getMineAreaByMiVSysEffectStart();
//!< Maximum rounds for ExplosionCluster
//! If set < 10, 10 is returned. If set > 900, 900 is returned.
//! Default = 120
AES_COMMON_EXPORT qint32 getMaxRoundsAreaWideFire();
//!< Afterglow duration for ChargeEffects, before the data topic is deleted
//! Time in [ms]
//! Default = 5min (5 * 60 * 1000)
AES_COMMON_EXPORT qint32 getChargeEffectAfterGlow();
//!< Effector duration for Effector intervalFire
//! Time in [ms]
//! Default = 10 s ( 10 * 1000)
//! Negative value => not activate Timer
AES_COMMON_EXPORT qint32 getEffectorIntervalFireMin();
//! Default = 15 s ( 15 * 1000)
AES_COMMON_EXPORT qint32 getEffectorIntervalFireMax();
//!< Effector duration for Effector intervalReportFired
//! Time in [ms]
//! Default = 10 s ( 10 * 1000)
//! Negative value => not activateTimer
AES_COMMON_EXPORT qint32 getEffectorIntervalReportFiredMin();
//! Default = 15 s ( 15 * 1000)
AES_COMMON_EXPORT qint32 getEffectorIntervalReportFiredMax();
//!< Effector duration for Effector intervalReportFireReadiness
//! Time in [ms]
//! Default = 10 s ( 10 * 1000)
//! Negative value => not activateTimer
AES_COMMON_EXPORT qint32 getEffectorIntervalReportFireReadinessMin();
//! Default = 15 s ( 15 * 1000)
AES_COMMON_EXPORT qint32 getEffectorIntervalReportFireReadinessMax();
//!< Effector duration for Effector intervalReportFireReadiness
//! Time in [ms]
//! Default = 10 s ( 10 * 1000)
//! Negative value => not activateTimer
AES_COMMON_EXPORT qint32 getEffectorInitialReportFireReadinessMin();
//! Default = 15 s ( 15 * 1000)
AES_COMMON_EXPORT qint32 getEffectorInitialReportFireReadinessMax();
//!< Effector patter for fire automaton
//! Possible elements: "all", "next*", "idle"
//! Default = "all,next*,all"
//! Pattern element next-repeat/"next*" must not be used more than once
AES_COMMON_EXPORT QString getAutomatonPattern(qint32);
//!< Default Scatter Deviation Lenght
//! m with precicsion
//! Default = 25.7 m
AES_COMMON_EXPORT double getScatterLenghtDefault();
//!< Default Scatter Deviation Width
//! m with precicsion
//! Default = 1.7 m
AES_COMMON_EXPORT double getScatterWidthDefault();
//!< The real NGL::Settings - object
AES_COMMON_EXPORT NGL::Settings *settings();
AES_COMMON_EXPORT void setIniFile(const QString &ini);
}
} // namespace AreaEffectSimulation