Files
qt5-legatus-legacy/Lts/Services/AreaEffectSimulation/settings.h
T
2026-08-13 18:33:10 +02:00

114 lines
3.4 KiB
C++
Executable File

/**
* 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