Migrates residual Lts sources to generated rtiddsgen API
Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
This commit is contained in:
1 parent
5485a90385
commit
881d44f4dd
512 files changed
+6887
-6426
No files matched your search
+9
-9
@@ -647,9 +647,9 @@ Core::FunctionReplyObject ObjectExplosionCluster::checkObjectData(const Database
|
||||
|
||||
Core::FunctionReplyObject ret;
|
||||
|
||||
using geoType = AreaEffectSimulation::AesExplosionGeometry_def;
|
||||
const geoType::type curExGeoType = data.explosionGeometryId.underlying();
|
||||
static const QVector<geoType::type> ecValidGeos = {AreaEffectSimulation::AesExplosionGeometry::EgAimPoint, // 0 -> default
|
||||
using geoType = AreaEffectSimulation::AesExplosionGeometry;
|
||||
const geoType curExGeoType = data.explosionGeometryId;
|
||||
static const QVector<geoType> ecValidGeos = {AreaEffectSimulation::AesExplosionGeometry::EgAimPoint, // 0 -> default
|
||||
AreaEffectSimulation::AesExplosionGeometry::EgPoint,
|
||||
AreaEffectSimulation::AesExplosionGeometry::EgArea,
|
||||
AreaEffectSimulation::AesExplosionGeometry::EgRadial,
|
||||
@@ -675,7 +675,7 @@ Core::FunctionReplyObject ObjectExplosionCluster::checkObjectData(const Database
|
||||
else if (!ecValidGeos.contains(curExGeoType))
|
||||
reason = QString(QStringLiteral("ExplosionGeometryType not supported yet (%1)")).arg(static_cast<int>(curExGeoType));
|
||||
|
||||
// else if ((curExGeoType == AreaEffectSimulation::AesExplosionGeometry_def::EgArea) &&
|
||||
// else if ((curExGeoType == AreaEffectSimulation::AesExplosionGeometry::EgArea) &&
|
||||
// (data.impactCount <= 2))
|
||||
// reason = QString(QStringLiteral("ImpactCount invalid (%1)")).arg(QStringLiteral("Area requires at least 2 impacts"));
|
||||
|
||||
@@ -1065,7 +1065,7 @@ void ObjectExplosionCluster::onPublishData()
|
||||
0, // partitionTimeMSec(),
|
||||
{m_data.chargeTypeId, m_data.igniterTypeId, m_data.igniterFunctionId},
|
||||
m_data.effectDuration, // pause/resume: remainDuration
|
||||
toOptional(toMSec(m_data.effectStart)),
|
||||
toOptional<int64_t>(toMSec(m_data.effectStart)),
|
||||
m_data.effectStateId,
|
||||
m_data.effectSourceId,
|
||||
toOptional(m_data.partyId),
|
||||
@@ -1297,7 +1297,7 @@ void ObjectExplosionCluster::adjustTrajectoryToDetonationLocation(int explosionI
|
||||
// Effects:
|
||||
std::vector<AreaEffectSimulation::SingleEffect> &singleEffectsRef = m_effects.singleEffects;
|
||||
SingleEffect &ref = singleEffectsRef[explosionIndex];
|
||||
// ref.effectState(AesSingleEffectState_def::SesScheduled);
|
||||
// ref.effectState(AesSingleEffectState::SesScheduled);
|
||||
ref.position = intersectionLocation;
|
||||
ref.zPlacement = AesZPlacement::ZpAbsolute; // intersection: change from draped to relative
|
||||
// m_effectsHaveChanged = true;
|
||||
@@ -1558,7 +1558,7 @@ void ObjectExplosionCluster::publishAiv()
|
||||
// AtExplosionClusterGunToTargetLine is suppressed at map display, when main object changes to EsActivated
|
||||
// So it does not have to be changed/published anymore.
|
||||
// Especially helpful while restarting scvAes!
|
||||
static QVector<AesEffectState::type> relevantEffStates = {
|
||||
static QVector<AesEffectState> relevantEffStates = {
|
||||
AesEffectState::EsCreated,
|
||||
AesEffectState::EsPrepared,
|
||||
AesEffectState::EsActivated, // 2026-05-27, N.Thoden: E01562-393: GTL auch bei EsFired anzeigen, daher auch bei EsActivated
|
||||
@@ -1886,9 +1886,9 @@ void ObjectExplosionCluster::checkNextFire()
|
||||
// continue;
|
||||
|
||||
// SingleEffect &ref = singleEffectsRef[idx];
|
||||
// if (ref.singleEffectState().underlying() != AesSingleEffectState_def::SesTriggered)
|
||||
// if (ref.singleEffectState().underlying() != AesSingleEffectState::SesTriggered)
|
||||
// {
|
||||
// ref.singleEffectState(AesSingleEffectState_def::SesTriggered);
|
||||
// ref.singleEffectState(AesSingleEffectState::SesTriggered);
|
||||
// ref.singleEffectTime(curPartTime);
|
||||
// bChanged = true;
|
||||
// }
|
||||
|
||||
Reference in new issue
Block a user