Removes code-generated files that were accidentally committed to the repo
This commit is contained in:
46 files changed
+96
-2547
No files matched your search
@@ -26,7 +26,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
#include <{{ include_prefix }}/{{ namespace_abbr }}_export.h>
|
#include <{{ include_prefix }}/{{ namespace_abbr }}_export.h>
|
||||||
#include <{{ include_prefix }}/{{ namespace_abbr }}_enums.hpp>
|
#include <{{ namespace_abbr }}_enums.hpp>
|
||||||
|
|
||||||
{% for ext_service in ext_services.member %}
|
{% for ext_service in ext_services.member %}
|
||||||
#include <{{ ext_service.baseFilePath }}.hpp>
|
#include <{{ ext_service.baseFilePath }}.hpp>
|
||||||
|
|||||||
@@ -1,49 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER für Qt6-Migration
|
|
||||||
// Dieser Header ersetzt den DDS-generierten Header aes_enums.hpp
|
|
||||||
// DDS-generierte Typen werden im Build-Prozess extern erzeugt
|
|
||||||
// Dieser Stub ermöglicht die Migration und den Build ohne DDS-Generator
|
|
||||||
|
|
||||||
#include <QtCore/QMap>
|
|
||||||
#include <QtCore/QSet>
|
|
||||||
#include <QtCore/QString>
|
|
||||||
|
|
||||||
namespace AreaEffectSimulation
|
|
||||||
{
|
|
||||||
|
|
||||||
// Forward declarations
|
|
||||||
class SymbolAppearance;
|
|
||||||
|
|
||||||
// Enum für Symbol Visibility (aus DDS-generiertem Code)
|
|
||||||
enum class SymbolVisibility { Standard = 0, Faded = 1, Hidden = 2, AdditionalSymbol = 3 };
|
|
||||||
|
|
||||||
// Enum für Unit Symbol Position (aus DDS-generiertem Code)
|
|
||||||
enum class UnitSymbolPosition { Center, Leader };
|
|
||||||
|
|
||||||
// Minimaler Stub für SymbolAppearance DDS-Type
|
|
||||||
// Vollständige Definition wird im Build-Prozess durch DDS generiert
|
|
||||||
class SymbolAppearance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
// Standard-Konstruktor
|
|
||||||
SymbolAppearance() = default;
|
|
||||||
~SymbolAppearance() = default;
|
|
||||||
|
|
||||||
// Copy-Konstruktor und Assignment
|
|
||||||
SymbolAppearance(const SymbolAppearance&) = default;
|
|
||||||
SymbolAppearance& operator=(const SymbolAppearance&) = default;
|
|
||||||
SymbolAppearance(SymbolAppearance&&) = default;
|
|
||||||
SymbolAppearance& operator=(SymbolAppearance&&) = default;
|
|
||||||
|
|
||||||
// Placeholder-Properties (werden durch DDS-Typ ersetzt)
|
|
||||||
// Diese Properties werden im echten DDS-Typ definiert
|
|
||||||
QString id; // Placeholder für DDS key
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace AreaEffectSimulation
|
|
||||||
|
|
||||||
// Globale Namespace Aliase für Kompatibilität
|
|
||||||
using SymbolAppearance = AreaEffectSimulation::SymbolAppearance;
|
|
||||||
using SymbolVisibility = AreaEffectSimulation::SymbolVisibility;
|
|
||||||
using UnitSymbolPosition = AreaEffectSimulation::UnitSymbolPosition;
|
|
||||||
@@ -1,113 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file ism_enums.hpp
|
|
||||||
* @brief DDS-Stub-Header für InfrastructureManagement Enums
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ISM_ENUMS_HPP
|
|
||||||
#define ISM_ENUMS_HPP
|
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QtCore/QString>
|
|
||||||
#include <cstdint>
|
|
||||||
|
|
||||||
namespace InfrastructureManagement
|
|
||||||
{
|
|
||||||
|
|
||||||
// MountingPointType als enum class mit allen Werten
|
|
||||||
enum class MountingPointType : int32_t {
|
|
||||||
Undefined = 0,
|
|
||||||
Generic = 1,
|
|
||||||
Sensor = 2,
|
|
||||||
Actuator = 3,
|
|
||||||
BuildingSensorModule = 4,
|
|
||||||
OutdoorCamera = 5,
|
|
||||||
IndoorCamera = 6,
|
|
||||||
OutdoorIPS = 7,
|
|
||||||
IndoorIPS = 8,
|
|
||||||
MeteoDataUnit = 9,
|
|
||||||
AnnouncementUnit = 10,
|
|
||||||
BuildingNetworkSwitch = 11,
|
|
||||||
EffectGenerationControlUnit = 12,
|
|
||||||
Unknown = 13
|
|
||||||
};
|
|
||||||
|
|
||||||
// MountingPointState als enum class mit allen Werten
|
|
||||||
enum class MountingPointState : int32_t { Undefined = 0, Equipped = 1, Empty = 2, Idle = 3 };
|
|
||||||
|
|
||||||
// AimState als enum class
|
|
||||||
enum class AimState : int32_t { Undefined = 0, Active = 1, Inactive = 2 };
|
|
||||||
|
|
||||||
// DDS type wrapper für MountingPointType
|
|
||||||
struct MountingPointType_def
|
|
||||||
{
|
|
||||||
using type = MountingPointType;
|
|
||||||
|
|
||||||
// Enum values als static members für Kompatibilität
|
|
||||||
static constexpr MountingPointType Undefined = MountingPointType::Undefined;
|
|
||||||
static constexpr MountingPointType Generic = MountingPointType::Generic;
|
|
||||||
static constexpr MountingPointType Sensor = MountingPointType::Sensor;
|
|
||||||
static constexpr MountingPointType Actuator = MountingPointType::Actuator;
|
|
||||||
static constexpr MountingPointType BuildingSensorModule = MountingPointType::BuildingSensorModule;
|
|
||||||
static constexpr MountingPointType OutdoorCamera = MountingPointType::OutdoorCamera;
|
|
||||||
static constexpr MountingPointType IndoorCamera = MountingPointType::IndoorCamera;
|
|
||||||
static constexpr MountingPointType OutdoorIPS = MountingPointType::OutdoorIPS;
|
|
||||||
static constexpr MountingPointType IndoorIPS = MountingPointType::IndoorIPS;
|
|
||||||
static constexpr MountingPointType MeteoDataUnit = MountingPointType::MeteoDataUnit;
|
|
||||||
static constexpr MountingPointType AnnouncementUnit = MountingPointType::AnnouncementUnit;
|
|
||||||
static constexpr MountingPointType BuildingNetworkSwitch = MountingPointType::BuildingNetworkSwitch;
|
|
||||||
static constexpr MountingPointType EffectGenerationControlUnit = MountingPointType::EffectGenerationControlUnit;
|
|
||||||
static constexpr MountingPointType Unknown = MountingPointType::Unknown;
|
|
||||||
};
|
|
||||||
|
|
||||||
// DDS type wrapper für MountingPointState
|
|
||||||
struct MountingPointState_def
|
|
||||||
{
|
|
||||||
using type = MountingPointState;
|
|
||||||
|
|
||||||
static constexpr MountingPointState Undefined = MountingPointState::Undefined;
|
|
||||||
static constexpr MountingPointState Equipped = MountingPointState::Equipped;
|
|
||||||
static constexpr MountingPointState Empty = MountingPointState::Empty;
|
|
||||||
static constexpr MountingPointState Idle = MountingPointState::Idle;
|
|
||||||
};
|
|
||||||
|
|
||||||
// DDS type wrapper für AimState
|
|
||||||
struct AimState_def
|
|
||||||
{
|
|
||||||
using type = AimState;
|
|
||||||
|
|
||||||
static constexpr AimState Undefined = AimState::Undefined;
|
|
||||||
static constexpr AimState Active = AimState::Active;
|
|
||||||
static constexpr AimState Inactive = AimState::Inactive;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace InfrastructureManagement
|
|
||||||
|
|
||||||
// QDebug operator<< für MountingPointType
|
|
||||||
inline QDebug operator<<(QDebug debug, InfrastructureManagement::MountingPointType type)
|
|
||||||
{
|
|
||||||
QDebugStateSaver saver(debug);
|
|
||||||
debug.nospace() << "MountingPointType(" << static_cast<int32_t>(type) << ")";
|
|
||||||
return debug;
|
|
||||||
}
|
|
||||||
|
|
||||||
// QDebug operator<< für MountingPointState
|
|
||||||
inline QDebug operator<<(QDebug debug, InfrastructureManagement::MountingPointState state)
|
|
||||||
{
|
|
||||||
QDebugStateSaver saver(debug);
|
|
||||||
debug.nospace() << "MountingPointState(" << static_cast<int32_t>(state) << ")";
|
|
||||||
return debug;
|
|
||||||
}
|
|
||||||
|
|
||||||
// qHash für MountingPointType (für QMap/QHash)
|
|
||||||
namespace dds
|
|
||||||
{
|
|
||||||
namespace core
|
|
||||||
{
|
|
||||||
static inline uint qHash(const InfrastructureManagement::MountingPointType& mpt)
|
|
||||||
{
|
|
||||||
return ::qHash(static_cast<int32_t>(mpt));
|
|
||||||
}
|
|
||||||
} // namespace core
|
|
||||||
} // namespace dds
|
|
||||||
|
|
||||||
#endif // ISM_ENUMS_HPP
|
|
||||||
@@ -1,33 +1,7 @@
|
|||||||
// Stub file for BUILD_GRANTLEE=OFF
|
// Stub file for pdm_db.h - used when BUILD_GRANTLEE=OFF
|
||||||
// Generated database header for ProjectDataManagement service
|
#ifndef PDM_DB_H
|
||||||
#pragma once
|
#define PDM_DB_H
|
||||||
|
|
||||||
#include <QObject>
|
// Minimal stub - actual database interface generated by codegen when BUILD_GRANTLEE=ON
|
||||||
#include <QString>
|
|
||||||
#include <QVariant>
|
|
||||||
#include <QSqlDatabase>
|
|
||||||
#include <QSqlQuery>
|
|
||||||
#include <QSqlError>
|
|
||||||
|
|
||||||
#include "svcpdmcommon_export.h"
|
#endif // PDM_DB_H
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
|
||||||
|
|
||||||
// Forward declarations
|
|
||||||
class DbImpl;
|
|
||||||
|
|
||||||
// Minimal database interface stub
|
|
||||||
class PDM_COMMON_EXPORT Db {
|
|
||||||
public:
|
|
||||||
Db();
|
|
||||||
virtual ~Db();
|
|
||||||
|
|
||||||
bool isOpen() const;
|
|
||||||
bool open(const QString& connectionName);
|
|
||||||
void close();
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QSqlDatabase m_database;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
+2
-29
@@ -1,31 +1,4 @@
|
|||||||
// Stub file for BUILD_GRANTLEE=OFF
|
// Stub file for pdm_db_impl.cpp - used when BUILD_GRANTLEE=OFF
|
||||||
// Generated database implementation for ProjectDataManagement service
|
|
||||||
#include "pdm_db_impl.h"
|
#include "pdm_db_impl.h"
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
// Minimal stub - actual implementation generated by codegen when BUILD_GRANTLEE=ON
|
||||||
|
|
||||||
Db::Db() = default;
|
|
||||||
Db::~Db() = default;
|
|
||||||
|
|
||||||
bool Db::isOpen() const {
|
|
||||||
return m_database.isOpen();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Db::open(const QString& connectionName) {
|
|
||||||
m_database = QSqlDatabase::database(connectionName);
|
|
||||||
return m_database.open();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Db::close() {
|
|
||||||
m_database.close();
|
|
||||||
}
|
|
||||||
|
|
||||||
DbImpl::DbImpl() = default;
|
|
||||||
DbImpl::~DbImpl() = default;
|
|
||||||
|
|
||||||
bool DbImpl::executeQuery(const QString& query) {
|
|
||||||
Q_UNUSED(query);
|
|
||||||
return true; // Stub implementation
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
+5
-21
@@ -1,23 +1,7 @@
|
|||||||
// Stub file for BUILD_GRANTLEE=OFF
|
// Stub file for pdm_db_impl.h - used when BUILD_GRANTLEE=OFF
|
||||||
// Generated database implementation header for ProjectDataManagement service
|
#ifndef PDM_DB_IMPL_H
|
||||||
#pragma once
|
#define PDM_DB_IMPL_H
|
||||||
|
|
||||||
#include "pdm_db.h"
|
// Minimal stub - actual implementation generated by codegen when BUILD_GRANTLEE=ON
|
||||||
#include <QMap>
|
|
||||||
#include <QVariant>
|
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
#endif // PDM_DB_IMPL_H
|
||||||
|
|
||||||
// Minimal database implementation stub
|
|
||||||
class DbImpl : public Db {
|
|
||||||
public:
|
|
||||||
DbImpl();
|
|
||||||
~DbImpl() override;
|
|
||||||
|
|
||||||
bool executeQuery(const QString& query);
|
|
||||||
|
|
||||||
private:
|
|
||||||
QSqlQuery m_query;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
+2
-8
@@ -1,10 +1,4 @@
|
|||||||
// Stub file for BUILD_GRANTLEE=OFF
|
// Stub file for pdm_db_structs.cpp - used when BUILD_GRANTLEE=OFF
|
||||||
// Generated database structs implementation for ProjectDataManagement service
|
|
||||||
#include "pdm_db_structs.h"
|
#include "pdm_db_structs.h"
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
// Minimal stub - actual implementation generated by codegen when BUILD_GRANTLEE=ON
|
||||||
|
|
||||||
// Minimal stub implementation
|
|
||||||
// No database struct operations needed in stub mode
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
+5
-10
@@ -1,12 +1,7 @@
|
|||||||
// Stub file for BUILD_GRANTLEE=OFF
|
// Stub file for pdm_db_structs.h - used when BUILD_GRANTLEE=OFF
|
||||||
// Generated database structs for ProjectDataManagement service
|
#ifndef PDM_DB_STRUCTS_H
|
||||||
#pragma once
|
#define PDM_DB_STRUCTS_H
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
// Minimal stub - actual structs generated by codegen when BUILD_GRANTLEE=ON
|
||||||
|
|
||||||
// Minimal stub structs for database operations
|
#endif // PDM_DB_STRUCTS_H
|
||||||
struct DbStruct {
|
|
||||||
int id = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
-146
@@ -1,146 +0,0 @@
|
|||||||
// Stub file for pdm_translation.h
|
|
||||||
// This file is used when BUILD_GRANTLEE=OFF to provide basic enum-to-string conversions
|
|
||||||
|
|
||||||
#ifndef PDM_TRANSLATION_H
|
|
||||||
#define PDM_TRANSLATION_H
|
|
||||||
|
|
||||||
#include <QString>
|
|
||||||
#include "pdm_enums.h"
|
|
||||||
|
|
||||||
#ifdef BUILD_RTI
|
|
||||||
#include "svcpdmcommon_export.h"
|
|
||||||
#else
|
|
||||||
#define PDM_COMMON_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
|
||||||
|
|
||||||
PDM_COMMON_EXPORT QString toQString(IgniterFunctionBase e);
|
|
||||||
PDM_COMMON_EXPORT QString toQString(EventType e);
|
|
||||||
PDM_COMMON_EXPORT QString toQString(VulnerabilityState e);
|
|
||||||
|
|
||||||
inline QString toQString(IgniterFunctionBase e)
|
|
||||||
{
|
|
||||||
switch (e)
|
|
||||||
{
|
|
||||||
case IgniterFunctionBase::IfbDefault: return "IfbDefault";
|
|
||||||
case IgniterFunctionBase::IfbTimer: return "IfbTimer";
|
|
||||||
case IgniterFunctionBase::IfbImpact: return "IfbImpact";
|
|
||||||
case IgniterFunctionBase::IfbDelay: return "IfbDelay";
|
|
||||||
case IgniterFunctionBase::IfbProximity: return "IfbProximity";
|
|
||||||
default: return "Unknown";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline QString toQString(EventType e)
|
|
||||||
{
|
|
||||||
switch (e)
|
|
||||||
{
|
|
||||||
case EventType::Hit: return "Hit";
|
|
||||||
case EventType::WeaponAssignment: return "WeaponAssignment";
|
|
||||||
case EventType::BiteMessage: return "BiteMessage";
|
|
||||||
case EventType::FireEvent: return "FireEvent";
|
|
||||||
case EventType::AreaEnter: return "AreaEnter";
|
|
||||||
case EventType::AreaLeave: return "AreaLeave";
|
|
||||||
case EventType::AreaContaminated: return "AreaContaminated";
|
|
||||||
case EventType::AreaDecontaminated: return "AreaDecontaminated";
|
|
||||||
case EventType::AreaContaminationChanged: return "AreaContaminationChanged";
|
|
||||||
case EventType::AreaVisibilityChanged: return "AreaVisibilityChanged";
|
|
||||||
case EventType::AreaOwnershipChanged: return "AreaOwnershipChanged";
|
|
||||||
case EventType::AreaStatusChanged: return "AreaStatusChanged";
|
|
||||||
case EventType::AreaTypeChanged: return "AreaTypeChanged";
|
|
||||||
case EventType::AreaNameChanged: return "AreaNameChanged";
|
|
||||||
case EventType::AreaDescriptionChanged: return "AreaDescriptionChanged";
|
|
||||||
case EventType::AreaIconChanged: return "AreaIconChanged";
|
|
||||||
case EventType::AreaColorChanged: return "AreaColorChanged";
|
|
||||||
case EventType::AreaShapeChanged: return "AreaShapeChanged";
|
|
||||||
case EventType::AreaSizeChanged: return "AreaSizeChanged";
|
|
||||||
case EventType::AreaPositionChanged: return "AreaPositionChanged";
|
|
||||||
case EventType::AreaRotationChanged: return "AreaRotationChanged";
|
|
||||||
case EventType::AreaAltitudeChanged: return "AreaAltitudeChanged";
|
|
||||||
case EventType::AreaElevationChanged: return "AreaElevationChanged";
|
|
||||||
case EventType::AreaDepthChanged: return "AreaDepthChanged";
|
|
||||||
case EventType::AreaWidthChanged: return "AreaWidthChanged";
|
|
||||||
case EventType::AreaLengthChanged: return "AreaLengthChanged";
|
|
||||||
case EventType::AreaHeightChanged: return "AreaHeightChanged";
|
|
||||||
case EventType::AreaRadiusChanged: return "AreaRadiusChanged";
|
|
||||||
case EventType::AreaPointsChanged: return "AreaPointsChanged";
|
|
||||||
case EventType::AreaVerticesChanged: return "AreaVerticesChanged";
|
|
||||||
case EventType::AreaEdgesChanged: return "AreaEdgesChanged";
|
|
||||||
case EventType::AreaFacesChanged: return "AreaFacesChanged";
|
|
||||||
case EventType::AreaVolumeChanged: return "AreaVolumeChanged";
|
|
||||||
case EventType::AreaMassChanged: return "AreaMassChanged";
|
|
||||||
case EventType::AreaDensityChanged: return "AreaDensityChanged";
|
|
||||||
case EventType::AreaTemperatureChanged: return "AreaTemperatureChanged";
|
|
||||||
case EventType::AreaPressureChanged: return "AreaPressureChanged";
|
|
||||||
case EventType::AreaHumidityChanged: return "AreaHumidityChanged";
|
|
||||||
case EventType::AreaWindSpeedChanged: return "AreaWindSpeedChanged";
|
|
||||||
case EventType::AreaWindDirectionChanged: return "AreaWindDirectionChanged";
|
|
||||||
case EventType::AreaWeatherChanged: return "AreaWeatherChanged";
|
|
||||||
case EventType::AreaLightingChanged: return "AreaLightingChanged";
|
|
||||||
case EventType::AreaSoundChanged: return "AreaSoundChanged";
|
|
||||||
case EventType::AreaSmellChanged: return "AreaSmellChanged";
|
|
||||||
case EventType::AirSupport: return "AirSupport";
|
|
||||||
case EventType::ExplosionCluster: return "ExplosionCluster";
|
|
||||||
case EventType::Jamming: return "Jamming";
|
|
||||||
case EventType::Chaff: return "Chaff";
|
|
||||||
case EventType::Flare: return "Flare";
|
|
||||||
case EventType::Smoke: return "Smoke";
|
|
||||||
case EventType::Laser: return "Laser";
|
|
||||||
case EventType::Infrared: return "Infrared";
|
|
||||||
case EventType::Radar: return "Radar";
|
|
||||||
case EventType::Sonar: return "Sonar";
|
|
||||||
case EventType::Acoustic: return "Acoustic";
|
|
||||||
case EventType::Seismic: return "Seismic";
|
|
||||||
case EventType::Magnetic: return "Magnetic";
|
|
||||||
case EventType::Electric: return "Electric";
|
|
||||||
case EventType::Chemical: return "Chemical";
|
|
||||||
case EventType::Biological: return "Biological";
|
|
||||||
case EventType::Radiological: return "Radiological";
|
|
||||||
case EventType::Nuclear: return "Nuclear";
|
|
||||||
case EventType::Thermal: return "Thermal";
|
|
||||||
case EventType::Optical: return "Optical";
|
|
||||||
case EventType::Visual: return "Visual";
|
|
||||||
case EventType::Audible: return "Audible";
|
|
||||||
case EventType::Tactile: return "Tactile";
|
|
||||||
case EventType::Olfactory: return "Olfactory";
|
|
||||||
case EventType::Gustatory: return "Gustatory";
|
|
||||||
case EventType::Vestibular: return "Vestibular";
|
|
||||||
case EventType::Proprioceptive: return "Proprioceptive";
|
|
||||||
case EventType::Interoceptive: return "Interoceptive";
|
|
||||||
case EventType::Nociceptive: return "Nociceptive";
|
|
||||||
case EventType::Thermoceptive: return "Thermoceptive";
|
|
||||||
default: return "Unknown";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline QString toQString(VulnerabilityState e)
|
|
||||||
{
|
|
||||||
switch (e)
|
|
||||||
{
|
|
||||||
case VulnerabilityState::NoChange: return "NoChange";
|
|
||||||
case VulnerabilityState::CombatReady: return "CombatReady";
|
|
||||||
case VulnerabilityState::LightDamage: return "LightDamage";
|
|
||||||
case VulnerabilityState::MediumDamage: return "MediumDamage";
|
|
||||||
case VulnerabilityState::HeavyDamage: return "HeavyDamage";
|
|
||||||
case VulnerabilityState::MobilityKill: return "MobilityKill";
|
|
||||||
case VulnerabilityState::VisibleMobilityKill: return "VisibleMobilityKill";
|
|
||||||
case VulnerabilityState::WeaponSystemDamage: return "WeaponSystemDamage";
|
|
||||||
case VulnerabilityState::VisibleWeaponSystemDamage: return "VisibleWeaponSystemDamage";
|
|
||||||
case VulnerabilityState::CatastrophicKill: return "CatastrophicKill";
|
|
||||||
case VulnerabilityState::TemporarySeverance: return "TemporarySeverance";
|
|
||||||
case VulnerabilityState::NearMiss: return "NearMiss";
|
|
||||||
case VulnerabilityState::HitWithNoEffect: return "HitWithNoEffect";
|
|
||||||
case VulnerabilityState::VulnerabilityBitsChanged: return "VulnerabilityBitsChanged";
|
|
||||||
case VulnerabilityState::Reserved: return "Reserved";
|
|
||||||
case VulnerabilityState::NContamination: return "NContamination";
|
|
||||||
case VulnerabilityState::BContamination: return "BContamination";
|
|
||||||
case VulnerabilityState::CContamination: return "CContamination";
|
|
||||||
case VulnerabilityState::NotReady: return "NotReady";
|
|
||||||
default: return "Unknown";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
|
|
||||||
#endif // PDM_TRANSLATION_H
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace AreaEffectSimulation
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace AreaEffectSimulation
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace AssetManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace AssetManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace AudioVideoManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace AudioVideoManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace Buildings
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace Buildings
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace Core
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace Core
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ExerciseEventManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ExerciseEventManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ExerciseManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ExerciseManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace FileManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace FileManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace InfrastructureManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace InfrastructureManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace NotificationManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace NotificationManagement
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ProjectDataManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Enums für PdmEventFilterHgrMineSearch
|
|
||||||
enum class HgrMineSearchFilterType : int { Unknown = 0 };
|
|
||||||
|
|
||||||
// Enums für PdmGearType
|
|
||||||
enum class GearClass : int { Unknown = 0 };
|
|
||||||
|
|
||||||
// Enums für PdmVulnerability
|
|
||||||
enum class VulnerabilityClass : int { Unknown = 0 };
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ParticipantManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ParticipantManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ReportManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ReportManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace SituationReplay
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace SituationReplay
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace AssetManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace AssetManagement
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
|
|
||||||
#ifdef BUILD_RTI
|
|
||||||
#include <DDS/Core/core.hpp>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace AudioVideoManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef BUILD_RTI
|
|
||||||
// RadioSystem wird von DDS generiert
|
|
||||||
using RadioSystem = dds::core::Reference<class RadioSystemObject>;
|
|
||||||
#else
|
|
||||||
// Stub für BUILD_RTI=OFF
|
|
||||||
enum class RadioSystem : int32_t { Cnr = 0, Tvc = 1 };
|
|
||||||
#endif
|
|
||||||
} // namespace AudioVideoManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace Buildings
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace Buildings
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace Core
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace Core
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file core.hpp
|
|
||||||
* @brief Core DDS Sammel-Header
|
|
||||||
*
|
|
||||||
* Beinhaltet alle Core-Typen für DDS-Integration.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <Core/core_types.h>
|
|
||||||
#include <Core/core_enums.hpp>
|
|
||||||
#include <Core/core_dtc.h>
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file core_dtc_types.h
|
|
||||||
* @brief DDS-Stub für Core-Typen (DTC = Data Transfer Component)
|
|
||||||
*
|
|
||||||
* Dieser Header enthält Stub-Definitionen für DDS-Core-Typen, die von RTI DDS generiert werden würden.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <QtCore/QString>
|
|
||||||
|
|
||||||
namespace IDL
|
|
||||||
{
|
|
||||||
|
|
||||||
enum class PartitionType
|
|
||||||
{
|
|
||||||
Any = 0,
|
|
||||||
Live = 1,
|
|
||||||
Replay = 2,
|
|
||||||
Record = 3,
|
|
||||||
Gateway = 4
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace IDL
|
|
||||||
|
|
||||||
namespace Core
|
|
||||||
{
|
|
||||||
|
|
||||||
class ReplayPartition
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
ReplayPartition() = default;
|
|
||||||
|
|
||||||
int domainId() const { return m_domainId; }
|
|
||||||
int id() const { return m_id; }
|
|
||||||
int exerciseId() const { return m_exerciseId; }
|
|
||||||
QString tcpConnectionUrl() const { return m_tcpConnectionUrl; }
|
|
||||||
|
|
||||||
void setDomainId(int id) { m_domainId = id; }
|
|
||||||
void setId(int id) { m_id = id; }
|
|
||||||
void setExerciseId(int id) { m_exerciseId = id; }
|
|
||||||
void setTcpConnectionUrl(const QString &url) { m_tcpConnectionUrl = url; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
int m_domainId = -1;
|
|
||||||
int m_id = 0;
|
|
||||||
int m_exerciseId = 0;
|
|
||||||
QString m_tcpConnectionUrl;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace Core
|
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
#include <LtsUtils/LtsUtilsCore/data_modification_enum.h>
|
||||||
|
#include <dds/sub/LoanedSamples.hpp>
|
||||||
|
|
||||||
|
namespace NGLLogger
|
||||||
|
{
|
||||||
|
class INGLLogger;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace DTC
|
||||||
|
{
|
||||||
|
class SubscriberListener;
|
||||||
|
|
||||||
|
template <typename DRO_OBJECT, typename SC> class GenericDtcSC
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
using DataReaderObject = DRO_OBJECT;
|
||||||
|
using SubscriberCallback = SC;
|
||||||
|
using TopicType = typename DRO_OBJECT::TopicType;
|
||||||
|
|
||||||
|
GenericDtcSC() = default;
|
||||||
|
virtual ~GenericDtcSC() = default;
|
||||||
|
|
||||||
|
virtual bool setSubscriberCallback(const SubscriberCallback& subscriberCallback) = 0;
|
||||||
|
virtual dds::sub::LoanedSamples<TopicType> readAlive() const = 0;
|
||||||
|
virtual dds::sub::LoanedSamples<TopicType> takeAlive() const = 0;
|
||||||
|
virtual dds::sub::LoanedSamples<TopicType> takeDisposed() const = 0;
|
||||||
|
virtual bool hasSamples() const = 0;
|
||||||
|
virtual DataReaderObject* dataReader() const = 0;
|
||||||
|
virtual bool waitForHistoricalData(int timeoutMSec) = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename DRO_OBJECT>
|
||||||
|
class GenericDtc
|
||||||
|
: public GenericDtcSC<DRO_OBJECT, std::function<void(const typename DRO_OBJECT::TopicType&, DataModification)>>
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename DRO_OBJECT>
|
||||||
|
class GenericDtcSampleInfo
|
||||||
|
: public GenericDtcSC<DRO_OBJECT,
|
||||||
|
std::function<void(const typename DRO_OBJECT::TopicType&, const dds::sub::SampleInfo&)>>
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename DRO_OBJECT>
|
||||||
|
class Ddtc
|
||||||
|
: public GenericDtcSC<
|
||||||
|
DRO_OBJECT, std::function<void(const typename DRO_OBJECT::TopicType&, const std::string&, DataModification)>>
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename DRO_OBJECT>
|
||||||
|
class DdtcSampleInfo
|
||||||
|
: public GenericDtcSC<DRO_OBJECT, std::function<void(const typename DRO_OBJECT::TopicType&, const std::string&,
|
||||||
|
const dds::sub::SampleInfo&)>>
|
||||||
|
{
|
||||||
|
};
|
||||||
|
} // namespace DTC
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ExerciseEventManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ExerciseEventManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ExerciseManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ExerciseManagement
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen basierend auf flm_service.xml
|
|
||||||
|
|
||||||
#include <QtCore/QString>
|
|
||||||
#include <QtCore/QDebug>
|
|
||||||
|
|
||||||
namespace FileManagement
|
|
||||||
{
|
|
||||||
// Enums aus flm_service.xml
|
|
||||||
// FileStatus als enum class für beide Build-Varianten (BUILD_RTI=ON/OFF)
|
|
||||||
enum class FileStatus : int { Valid = 0, Deleted = 1 };
|
|
||||||
|
|
||||||
// QDebug-Operator für FileStatus
|
|
||||||
inline QDebug operator<<(QDebug debug, FileStatus status)
|
|
||||||
{
|
|
||||||
QDebugStateSaver saver(debug);
|
|
||||||
debug.nospace() << "FileStatus::"
|
|
||||||
<< (status == FileStatus::Valid ? "Valid" : "Deleted");
|
|
||||||
return debug;
|
|
||||||
}
|
|
||||||
|
|
||||||
enum class FileCategory : int { Global = 1, Exercise = 2, User = 3 };
|
|
||||||
|
|
||||||
enum class FileType : int {
|
|
||||||
Unknown = 0,
|
|
||||||
Text = 1,
|
|
||||||
Xml = 2,
|
|
||||||
Pdf = 3,
|
|
||||||
Jpg = 4,
|
|
||||||
Png = 5,
|
|
||||||
TacticalPlan = 6,
|
|
||||||
OperatorFavourite = 7,
|
|
||||||
OperatorDefinedSymbol = 8,
|
|
||||||
OpenOfficeDocument = 9,
|
|
||||||
OpenOfficeSpreadsheet = 10,
|
|
||||||
OpenOfficePresentation = 11,
|
|
||||||
MSOfficeDocument = 12,
|
|
||||||
MSOfficeDocument97 = 13,
|
|
||||||
MSOfficeSpreadsheet = 14,
|
|
||||||
MSOfficeSpreadsheet97 = 15,
|
|
||||||
MSOfficePresentation = 16,
|
|
||||||
MSOfficePresentation97 = 17,
|
|
||||||
Zip = 18,
|
|
||||||
Gif = 19,
|
|
||||||
Bmp = 20,
|
|
||||||
Tiff = 21,
|
|
||||||
Wmf = 22,
|
|
||||||
Emf = 23,
|
|
||||||
Rtf = 24,
|
|
||||||
Html = 25,
|
|
||||||
Hlp = 26,
|
|
||||||
Wps = 27,
|
|
||||||
Wpd = 28,
|
|
||||||
Wk3 = 29,
|
|
||||||
Wk4 = 30,
|
|
||||||
Wks = 31,
|
|
||||||
Wr1 = 32,
|
|
||||||
Wr3 = 33,
|
|
||||||
Wq1 = 34,
|
|
||||||
Wq2 = 35,
|
|
||||||
Dif = 36,
|
|
||||||
Dbf = 37,
|
|
||||||
Slk = 38,
|
|
||||||
Xlk = 39,
|
|
||||||
Doc = 40,
|
|
||||||
Dot = 41,
|
|
||||||
Xls = 42,
|
|
||||||
Xlt = 43,
|
|
||||||
Ppt = 44,
|
|
||||||
Pps = 45,
|
|
||||||
Pot = 46,
|
|
||||||
Accdb = 47,
|
|
||||||
Accde = 48,
|
|
||||||
Mwcd = 49,
|
|
||||||
Mwct = 50,
|
|
||||||
Mwcz = 51,
|
|
||||||
Mwcu = 52,
|
|
||||||
Ods = 53,
|
|
||||||
Odt = 54,
|
|
||||||
Odp = 55,
|
|
||||||
Odg = 56,
|
|
||||||
Odf = 57,
|
|
||||||
Odc = 58,
|
|
||||||
Odi = 59,
|
|
||||||
Odm = 60,
|
|
||||||
Otg = 61,
|
|
||||||
Oth = 62,
|
|
||||||
Ots = 63,
|
|
||||||
Ott = 64,
|
|
||||||
Oxt = 65,
|
|
||||||
Six = 66,
|
|
||||||
Msg = 67,
|
|
||||||
Vsd = 68,
|
|
||||||
Vdx = 69,
|
|
||||||
Vsx = 70,
|
|
||||||
Vtx = 71,
|
|
||||||
Vss = 72,
|
|
||||||
Vst = 73,
|
|
||||||
Vsw = 74,
|
|
||||||
VsdX = 75,
|
|
||||||
VssX = 76,
|
|
||||||
VstX = 77,
|
|
||||||
VdxX = 78,
|
|
||||||
VsxX = 79,
|
|
||||||
VtxX = 80,
|
|
||||||
Dwg = 81,
|
|
||||||
Dxf = 82,
|
|
||||||
Dgn = 83,
|
|
||||||
Cgm = 84,
|
|
||||||
Cal = 85,
|
|
||||||
Mil = 86,
|
|
||||||
Img = 87,
|
|
||||||
Grib = 88,
|
|
||||||
Grb2 = 89,
|
|
||||||
Wkt = 90,
|
|
||||||
Shp = 91,
|
|
||||||
Tab = 92,
|
|
||||||
Mif = 93,
|
|
||||||
E00 = 94,
|
|
||||||
Aml = 95,
|
|
||||||
Coverage = 96,
|
|
||||||
Tin = 97,
|
|
||||||
Grid = 98,
|
|
||||||
Lyr = 99,
|
|
||||||
Lrx = 100,
|
|
||||||
Pmf = 101,
|
|
||||||
Pmz = 102,
|
|
||||||
Sxd = 103,
|
|
||||||
Sxm = 104,
|
|
||||||
Sxg = 105,
|
|
||||||
Sxi = 106,
|
|
||||||
Sxc = 107,
|
|
||||||
Sxw = 108,
|
|
||||||
Stw = 109,
|
|
||||||
Sxv = 110,
|
|
||||||
Sxd2 = 111,
|
|
||||||
Sxm2 = 112,
|
|
||||||
Sxg2 = 113,
|
|
||||||
Sxi2 = 114,
|
|
||||||
Sxc2 = 115,
|
|
||||||
Sxw2 = 116,
|
|
||||||
Stw2 = 117,
|
|
||||||
Sxv2 = 118,
|
|
||||||
Video = 119,
|
|
||||||
Audio = 120,
|
|
||||||
Flash = 121,
|
|
||||||
Svg = 122,
|
|
||||||
Svgz = 123
|
|
||||||
};
|
|
||||||
|
|
||||||
// MainFolder Enum
|
|
||||||
enum class MainFolder : int { None = 0, GlobalDocuments = 1, UserDocuments = 2, ExerciseDocuments = 3 };
|
|
||||||
|
|
||||||
// Helper-Funktion
|
|
||||||
inline int toInt(MainFolder folder) { return static_cast<int>(folder); }
|
|
||||||
|
|
||||||
// Forward declarations
|
|
||||||
class Folder;
|
|
||||||
class FileContent;
|
|
||||||
class Ftc;
|
|
||||||
} // namespace FileManagement
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file ism_enums.hpp
|
|
||||||
* @brief DDS-Stub-Header für InfrastructureManagement Enums
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ISM_ENUMS_HPP
|
|
||||||
#define ISM_ENUMS_HPP
|
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
|
|
||||||
namespace InfrastructureManagement
|
|
||||||
{
|
|
||||||
|
|
||||||
// MountingPointType als enum class mit allen Werten
|
|
||||||
enum class MountingPointType : int32_t {
|
|
||||||
Undefined = 0,
|
|
||||||
Generic = 1,
|
|
||||||
Sensor = 2,
|
|
||||||
Actuator = 3,
|
|
||||||
BuildingSensorModule = 4,
|
|
||||||
OutdoorCamera = 5,
|
|
||||||
IndoorCamera = 6,
|
|
||||||
OutdoorIPS = 7,
|
|
||||||
IndoorIPS = 8,
|
|
||||||
MeteoDataUnit = 9,
|
|
||||||
AnnouncementUnit = 10,
|
|
||||||
BuildingNetworkSwitch = 11,
|
|
||||||
EffectGenerationControlUnit = 12,
|
|
||||||
Unknown = 13
|
|
||||||
};
|
|
||||||
|
|
||||||
// MountingPointState als enum class mit allen Werten
|
|
||||||
enum class MountingPointState : int32_t { Undefined = 0, Equipped = 1, Empty = 2, Idle = 3 };
|
|
||||||
|
|
||||||
// AimState als enum class
|
|
||||||
enum class AimState : int32_t { Undefined = 0, Active = 1, Inactive = 2 };
|
|
||||||
|
|
||||||
// DDS type wrapper für MountingPointType
|
|
||||||
struct MountingPointType_def
|
|
||||||
{
|
|
||||||
using type = MountingPointType;
|
|
||||||
|
|
||||||
// Enum values als static members für Kompatibilität
|
|
||||||
static constexpr MountingPointType Undefined = MountingPointType::Undefined;
|
|
||||||
static constexpr MountingPointType Generic = MountingPointType::Generic;
|
|
||||||
static constexpr MountingPointType Sensor = MountingPointType::Sensor;
|
|
||||||
static constexpr MountingPointType Actuator = MountingPointType::Actuator;
|
|
||||||
static constexpr MountingPointType BuildingSensorModule = MountingPointType::BuildingSensorModule;
|
|
||||||
static constexpr MountingPointType OutdoorCamera = MountingPointType::OutdoorCamera;
|
|
||||||
static constexpr MountingPointType IndoorCamera = MountingPointType::IndoorCamera;
|
|
||||||
static constexpr MountingPointType OutdoorIPS = MountingPointType::OutdoorIPS;
|
|
||||||
static constexpr MountingPointType IndoorIPS = MountingPointType::IndoorIPS;
|
|
||||||
static constexpr MountingPointType MeteoDataUnit = MountingPointType::MeteoDataUnit;
|
|
||||||
static constexpr MountingPointType AnnouncementUnit = MountingPointType::AnnouncementUnit;
|
|
||||||
static constexpr MountingPointType BuildingNetworkSwitch = MountingPointType::BuildingNetworkSwitch;
|
|
||||||
static constexpr MountingPointType EffectGenerationControlUnit = MountingPointType::EffectGenerationControlUnit;
|
|
||||||
static constexpr MountingPointType Unknown = MountingPointType::Unknown;
|
|
||||||
};
|
|
||||||
|
|
||||||
// DDS type wrapper für MountingPointState
|
|
||||||
struct MountingPointState_def
|
|
||||||
{
|
|
||||||
using type = MountingPointState;
|
|
||||||
|
|
||||||
static constexpr MountingPointState Undefined = MountingPointState::Undefined;
|
|
||||||
static constexpr MountingPointState Equipped = MountingPointState::Equipped;
|
|
||||||
static constexpr MountingPointState Empty = MountingPointState::Empty;
|
|
||||||
static constexpr MountingPointState Idle = MountingPointState::Idle;
|
|
||||||
};
|
|
||||||
|
|
||||||
// DDS type wrapper für AimState
|
|
||||||
struct AimState_def
|
|
||||||
{
|
|
||||||
using type = AimState;
|
|
||||||
|
|
||||||
static constexpr AimState Undefined = AimState::Undefined;
|
|
||||||
static constexpr AimState Active = AimState::Active;
|
|
||||||
static constexpr AimState Inactive = AimState::Inactive;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace InfrastructureManagement
|
|
||||||
|
|
||||||
#endif // ISM_ENUMS_HPP
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace NotificationManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace NotificationManagement
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
namespace opm {
|
|
||||||
|
|
||||||
enum class OperatorType
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
Supervisor,
|
|
||||||
Trainee,
|
|
||||||
Evaluator,
|
|
||||||
Observer
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class OperatorStatus
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
Active,
|
|
||||||
Inactive,
|
|
||||||
Suspended
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace opm
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
#include <ostream>
|
|
||||||
#include <QtCore/QString>
|
|
||||||
|
|
||||||
namespace ParticipantManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
enum class TypeClass : int {
|
|
||||||
eUninitialized = 0,
|
|
||||||
Unknown = 1,
|
|
||||||
Aircraft = 2,
|
|
||||||
Ground = 3,
|
|
||||||
Naval = 4,
|
|
||||||
Human = 5,
|
|
||||||
Unit = 6,
|
|
||||||
SupportUnit = 7,
|
|
||||||
SupportEntity = 8,
|
|
||||||
Vehicle = 9,
|
|
||||||
GroundVehicle = 10,
|
|
||||||
Airborne = 11,
|
|
||||||
Vessel = 12,
|
|
||||||
Building = 13,
|
|
||||||
WeaponSystem = 14,
|
|
||||||
TargetHuman = 15,
|
|
||||||
TargetVehicle = 16,
|
|
||||||
VehicleWithGear = 17,
|
|
||||||
VehicleMarker = 18,
|
|
||||||
None = 19,
|
|
||||||
Other = 20
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class DataModification : int { eAdded = 0, eModified = 1, eRemoved = 2 };
|
|
||||||
|
|
||||||
inline std::ostream& operator<<(std::ostream& os, TypeClass tc)
|
|
||||||
{
|
|
||||||
switch (tc) {
|
|
||||||
case TypeClass::eUninitialized:
|
|
||||||
os << "eUninitialized";
|
|
||||||
break;
|
|
||||||
case TypeClass::Unknown:
|
|
||||||
os << "Unknown";
|
|
||||||
break;
|
|
||||||
case TypeClass::Aircraft:
|
|
||||||
os << "Aircraft";
|
|
||||||
break;
|
|
||||||
case TypeClass::Ground:
|
|
||||||
os << "Ground";
|
|
||||||
break;
|
|
||||||
case TypeClass::Naval:
|
|
||||||
os << "Naval";
|
|
||||||
break;
|
|
||||||
case TypeClass::Human:
|
|
||||||
os << "Human";
|
|
||||||
break;
|
|
||||||
case TypeClass::Unit:
|
|
||||||
os << "Unit";
|
|
||||||
break;
|
|
||||||
case TypeClass::SupportUnit:
|
|
||||||
os << "SupportUnit";
|
|
||||||
break;
|
|
||||||
case TypeClass::SupportEntity:
|
|
||||||
os << "SupportEntity";
|
|
||||||
break;
|
|
||||||
case TypeClass::Vehicle:
|
|
||||||
os << "Vehicle";
|
|
||||||
break;
|
|
||||||
case TypeClass::GroundVehicle:
|
|
||||||
os << "GroundVehicle";
|
|
||||||
break;
|
|
||||||
case TypeClass::Airborne:
|
|
||||||
os << "Airborne";
|
|
||||||
break;
|
|
||||||
case TypeClass::Vessel:
|
|
||||||
os << "Vessel";
|
|
||||||
break;
|
|
||||||
case TypeClass::Building:
|
|
||||||
os << "Building";
|
|
||||||
break;
|
|
||||||
case TypeClass::WeaponSystem:
|
|
||||||
os << "WeaponSystem";
|
|
||||||
break;
|
|
||||||
case TypeClass::TargetHuman:
|
|
||||||
os << "TargetHuman";
|
|
||||||
break;
|
|
||||||
case TypeClass::TargetVehicle:
|
|
||||||
os << "TargetVehicle";
|
|
||||||
break;
|
|
||||||
case TypeClass::VehicleWithGear:
|
|
||||||
os << "VehicleWithGear";
|
|
||||||
break;
|
|
||||||
case TypeClass::VehicleMarker:
|
|
||||||
os << "VehicleMarker";
|
|
||||||
break;
|
|
||||||
case TypeClass::None:
|
|
||||||
os << "None";
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
os << std::string("Unknown");
|
|
||||||
}
|
|
||||||
return os;
|
|
||||||
}
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ParticipantManagement
|
|
||||||
@@ -1,290 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Forward-Declarations und Stubs
|
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QString>
|
|
||||||
#include <QVector>
|
|
||||||
#include <QStringList>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <memory>
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
namespace DDSConnector
|
|
||||||
{
|
|
||||||
class DdsConnector;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace ProjectDataManagement
|
|
||||||
{
|
|
||||||
|
|
||||||
// Forward declarations and stub types
|
|
||||||
enum class GearClass
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
// Add other values as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class VolatilityType
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
// Add other values as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class IgniterFunctionBase
|
|
||||||
{
|
|
||||||
IfbImpact = 0,
|
|
||||||
// Add other values as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class VulnerabilityClass
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
// Add other values as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class CasEffect
|
|
||||||
{
|
|
||||||
None = 0,
|
|
||||||
// Add other values as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class ChargeTypeProperty
|
|
||||||
{
|
|
||||||
None = 0,
|
|
||||||
// Add other values as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ChargeType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QString baseSuffix;
|
|
||||||
int gearClass = 0;
|
|
||||||
QJsonObject properties;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct IgniterType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QJsonObject properties;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct IgniterFunction
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QJsonObject properties;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct LoadType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QJsonObject properties;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct TargetSubType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct GearType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct GearTypeChargeType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ChargeTypeIgniterTypeIgniterFunction
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
int chargeTypeId = 0;
|
|
||||||
int igniterTypeId = 0;
|
|
||||||
int igniterFunctionId = 0;
|
|
||||||
int igniterFunctionBase = 0;
|
|
||||||
double impactRadius = 0.0;
|
|
||||||
int hazardDistance = 0;
|
|
||||||
int chargeLegacyId = 0;
|
|
||||||
QString adlerChargeTypeName;
|
|
||||||
QString adlerIgniterTypeName;
|
|
||||||
QString adlerIgniterFunctionName;
|
|
||||||
bool isSmart = false;
|
|
||||||
bool isSmoke = false;
|
|
||||||
bool isDus = false;
|
|
||||||
bool isConcrete = false;
|
|
||||||
int volatilityTypeId = 0;
|
|
||||||
QJsonObject properties;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ChargeTypeLoadType
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
int chargeTypeId = 0;
|
|
||||||
int loadTypeId = 0;
|
|
||||||
QJsonObject properties;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct BuildingChargeEffect
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct SanitationProcedure
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
struct PdmBaseName
|
|
||||||
{
|
|
||||||
QString name;
|
|
||||||
// Add other fields as needed
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace Interface
|
|
||||||
{
|
|
||||||
|
|
||||||
// Base class stub - normally generated by DDS
|
|
||||||
class DtcImpl : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit DtcImpl(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector = nullptr);
|
|
||||||
~DtcImpl() override = default;
|
|
||||||
|
|
||||||
// Virtual methods that DtcImplCustom overrides
|
|
||||||
virtual QVector<ProjectDataManagement::ChargeType> chargesForGearClass(GearClass gearClass) = 0;
|
|
||||||
virtual QVector<ProjectDataManagement::IgniterType> ignitersForChargeType(int chargeTypeId) = 0;
|
|
||||||
virtual QVector<ProjectDataManagement::ChargeTypeIgniterTypeIgniterFunction> igniterFunctionsForChargeTypeIgniterType(
|
|
||||||
int chargeTypeId, int igniterTypeId) = 0;
|
|
||||||
virtual QVector<ProjectDataManagement::LoadType> loadsForChargeType(int chargeTypeId) = 0;
|
|
||||||
virtual QVector<TargetSubType> targetSubTypesForTargetType(int targetType) = 0;
|
|
||||||
|
|
||||||
virtual double expansionFactor(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double impactRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double impactEdgeLength(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isDryFire(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int mineClass(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool canBeThrown(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool canBeCreated(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isIed(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isReactivatable(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isSmart(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int maxEffectShows(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isSmoke(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isVisible(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isIndirect(int chargeTypeId) = 0;
|
|
||||||
virtual int searchRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool showHitline(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int remainingTasCode(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int secondaryRemainingTasCode(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int segments(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isLine(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isFromMineLayer(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isMineLaying(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QJsonObject mineLayingPattern(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int height(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isLaserGuidable(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isUasDroppable(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isJamming(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QVector<int> spacing(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual VolatilityType volatilityTypeId(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int hazardDistance(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QVector<CasEffect> casEffects(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual GearClass gearClassFromChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual QVector<int> gearTypeIdFromChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual int chargeTypeIdFromLegacyId(GearClass gearClass, int legacyId) = 0;
|
|
||||||
virtual bool isGmlrs(int chargeTypeId) = 0;
|
|
||||||
virtual bool isDm72(int chargeTypeId) = 0;
|
|
||||||
virtual bool isRocket(int chargeTypeId) = 0;
|
|
||||||
|
|
||||||
virtual ChargeTypeIgniterTypeIgniterFunction getChargeTypeIgniterTypeIgniterFunction(
|
|
||||||
int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual ChargeTypeLoadType getChargeTypeLoadType(int chargeTypeId, int loadTypeId) = 0;
|
|
||||||
|
|
||||||
virtual bool canRestock(int gearTypeId) = 0;
|
|
||||||
virtual bool canSetDefaults(int gearTypeId) = 0;
|
|
||||||
virtual int maxCharges(int gearTypeId) = 0;
|
|
||||||
virtual int cadence(int gearTypeId) = 0;
|
|
||||||
virtual int getAdlerWeaponSystemId(int gearTypeId) = 0;
|
|
||||||
virtual int factoryDefault(int gearTypeId, int chargeTypeId) = 0;
|
|
||||||
virtual int maxCharge(int gearTypeId, int chargeTypeId) = 0;
|
|
||||||
virtual bool isAtMine(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isApMine(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double getLethalRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double getNonLethalRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double getMaxRange(int chargeTypeId, int gearTypeId) = 0;
|
|
||||||
virtual ProjectDataManagement::BuildingChargeEffect getBuildingChargeEffectByChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual bool isVirtuallyFireable(int chargeTypeId) = 0;
|
|
||||||
virtual bool isAdlerChargeType(int chargeTypeId) = 0;
|
|
||||||
virtual int getAmountFireMarkers(int firePurposeId) = 0;
|
|
||||||
virtual bool getWithDurationFirePurpose(int firePurposeId) = 0;
|
|
||||||
|
|
||||||
// get Adler names/ids
|
|
||||||
virtual int getTargetTypeIdFromAdlerTargetType(const QString &typ) = 0;
|
|
||||||
virtual int getTargetSubTypeIdFromAdlerTargetSubType(const QString &subTyp) = 0;
|
|
||||||
virtual int getChargeTypeIdFromAdlerCharges(const QString &geschosssorte) = 0;
|
|
||||||
virtual int getIgniterTypeIdFromAdlerIgniter(const QString &zuender) = 0;
|
|
||||||
virtual int getIgniterFunctionIdFromAdlerIgniterFunction(const QString &zuenderFunktion) = 0;
|
|
||||||
virtual int getLoadTypeIdFromAdlerLoad(const QString &ladung) = 0;
|
|
||||||
virtual QString adlerTargetTypeName(int targetTypeId) = 0;
|
|
||||||
virtual QString adlerTargetSubTypeName(int targetSubTypeId) = 0;
|
|
||||||
virtual QString adlerChargeTypeName(int chargeTypeId) = 0;
|
|
||||||
virtual QString adlerIgniterTypeName(int igniterTypeId) = 0;
|
|
||||||
virtual QString adlerIgniterFunctionName(int igniterFunctionId) = 0;
|
|
||||||
virtual QString adlerLoadTypeName(int loadTypeId) = 0;
|
|
||||||
|
|
||||||
virtual QString trBiteComponentTextName(int biteComponentId) = 0;
|
|
||||||
virtual QString trCanComponentStringName(int canComponentId) = 0;
|
|
||||||
virtual QString trChargeTypeShortName(int chargeTypeId, bool omitBaseSuffix = false) = 0;
|
|
||||||
virtual QString trChargeTypeName(int chargeTypeId, bool omitBaseSuffix = false) = 0;
|
|
||||||
virtual QString trFirePurposeName(int firePurposeId) = 0;
|
|
||||||
virtual QString trGearTypeName(int gearTypeId) = 0;
|
|
||||||
virtual QString trIgniterTypeName(int igniterTypeId) = 0;
|
|
||||||
virtual QString trIgniterTypeShortName(int igniterTypeId) = 0;
|
|
||||||
virtual QString trIgniterFunctionName(int igniterFunctionId) = 0;
|
|
||||||
virtual QString trIgniterFunctionShortName(int igniterFunctionId) = 0;
|
|
||||||
virtual QString trLoadTypeName(int loadTypeId) = 0;
|
|
||||||
virtual QString trLoadTypeShortName(int loadTypeId) = 0;
|
|
||||||
virtual QString trTargetTypeName(int targetTypeId) = 0;
|
|
||||||
virtual QString trTargetSubTypeName(int targetSubTypeId) = 0;
|
|
||||||
virtual QString trLanguageHmiName(int languageHmiId) = 0;
|
|
||||||
virtual QString trLanguageXduName(int languageXduId) = 0;
|
|
||||||
virtual QString trNuclearPresetName(int nucularPresetId) = 0; // "'Nucular'. It's pronounced 'Nucular'!"
|
|
||||||
virtual QString trRadioGroupName(int radioGroupId) = 0;
|
|
||||||
virtual QString trVulnerabilityKindName(int vulnerabilityKindId, VulnerabilityClass vulnerabilityClassId) = 0;
|
|
||||||
virtual QString trSanitationMaterialName(int sanitationMaterialId) = 0;
|
|
||||||
|
|
||||||
virtual QStringList chargeNames(std::vector<int> &chargeIds) = 0;
|
|
||||||
virtual int getAvailableChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual ChargeTypeProperty getChargeTypeSpecialProperty(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QVector<SanitationProcedure> getSanitationProcedures(qint64 procedures) = 0;
|
|
||||||
virtual QStringList sanitationProceduresList(qint64 procedures) = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
class Dtc;
|
|
||||||
class Ftc;
|
|
||||||
|
|
||||||
} // namespace Interface
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
@@ -1,399 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file pdm_dtc_impl.h
|
|
||||||
* @brief Stub header for pdm_dtc_impl.h when BUILD_RTI=OFF
|
|
||||||
*
|
|
||||||
* This file provides stub definitions for the DtcImpl base class and related types
|
|
||||||
* that are normally generated by RTI DDS code generation.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "pdm_types.h"
|
|
||||||
#include <QtCore/QString>
|
|
||||||
#include <QtCore/QVector>
|
|
||||||
#include <QtCore/QJsonObject>
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
namespace DDSConnector
|
|
||||||
{
|
|
||||||
class DdsConnector;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace ProjectDataManagement
|
|
||||||
{
|
|
||||||
|
|
||||||
// Stub types not defined in pdm_types.h
|
|
||||||
enum class GearClass
|
|
||||||
{
|
|
||||||
None = 0,
|
|
||||||
PrimaryWeapon = 1,
|
|
||||||
SecondaryWeapon = 2,
|
|
||||||
Grenade = 3,
|
|
||||||
Mine = 4,
|
|
||||||
Other = 5
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class VolatilityType
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
Low = 1,
|
|
||||||
Medium = 2,
|
|
||||||
High = 3
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class IgniterFunctionBase
|
|
||||||
{
|
|
||||||
IfbImpact = 0,
|
|
||||||
IfbProximity = 1,
|
|
||||||
IfbTime = 2,
|
|
||||||
IfbRemote = 3
|
|
||||||
};
|
|
||||||
|
|
||||||
struct CasEffect
|
|
||||||
{
|
|
||||||
int effectId = 0;
|
|
||||||
QString effectName;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct SanitationProcedure
|
|
||||||
{
|
|
||||||
int procedureId = 0;
|
|
||||||
QString procedureName;
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class ChargeTypeProperty : int
|
|
||||||
{
|
|
||||||
None = 0,
|
|
||||||
LRF = 1,
|
|
||||||
LTD = 2
|
|
||||||
};
|
|
||||||
|
|
||||||
// Use ChargeType from pdm_types.h, but we need a struct for DTC data
|
|
||||||
struct ChargeTypeData
|
|
||||||
{
|
|
||||||
int chargeTypeId = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QString baseSuffix;
|
|
||||||
GearClass gearClass = GearClass::None;
|
|
||||||
QJsonObject properties;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct IgniterType
|
|
||||||
{
|
|
||||||
int igniterTypeId = 0;
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QJsonObject properties;
|
|
||||||
|
|
||||||
bool operator==(const IgniterType &other) const
|
|
||||||
{
|
|
||||||
return igniterTypeId == other.igniterTypeId && id == other.id && name == other.name &&
|
|
||||||
shortName == other.shortName && properties == other.properties;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct IgniterFunction
|
|
||||||
{
|
|
||||||
int igniterFunctionId = 0;
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QJsonObject properties;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct LoadType
|
|
||||||
{
|
|
||||||
int loadTypeId = 0;
|
|
||||||
int id = 0;
|
|
||||||
QString name;
|
|
||||||
QString shortName;
|
|
||||||
QJsonObject properties;
|
|
||||||
|
|
||||||
bool operator==(const LoadType &other) const
|
|
||||||
{
|
|
||||||
return loadTypeId == other.loadTypeId && id == other.id && name == other.name &&
|
|
||||||
shortName == other.shortName && properties == other.properties;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct TargetSubType
|
|
||||||
{
|
|
||||||
int targetSubTypeId = 0;
|
|
||||||
QString name;
|
|
||||||
|
|
||||||
bool operator==(const TargetSubType &other) const
|
|
||||||
{
|
|
||||||
return targetSubTypeId == other.targetSubTypeId && name == other.name;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ChargeTypeIgniterTypeIgniterFunction
|
|
||||||
{
|
|
||||||
int id = 0;
|
|
||||||
int chargeTypeId = 0;
|
|
||||||
int igniterTypeId = 0;
|
|
||||||
int igniterFunctionId = 0;
|
|
||||||
bool isSmoke = false;
|
|
||||||
bool isDus = false;
|
|
||||||
bool isConcrete = false;
|
|
||||||
int volatilityTypeId = 0;
|
|
||||||
IgniterFunctionBase igniterFunctionBase = IgniterFunctionBase::IfbImpact;
|
|
||||||
double impactRadius = 0.0;
|
|
||||||
double hazardDistance = 0.0;
|
|
||||||
int chargeLegacyId = 0;
|
|
||||||
QJsonObject properties;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct ChargeTypeLoadType
|
|
||||||
{
|
|
||||||
int chargeTypeId = 0;
|
|
||||||
int loadTypeId = 0;
|
|
||||||
int id = 0;
|
|
||||||
QJsonObject properties;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct GearType
|
|
||||||
{
|
|
||||||
int gearTypeId = 0;
|
|
||||||
QString name;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct GearTypeChargeType
|
|
||||||
{
|
|
||||||
int gearTypeId = 0;
|
|
||||||
int chargeTypeId = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class PdmBaseName : int
|
|
||||||
{
|
|
||||||
None = 0,
|
|
||||||
ChargeType = 1,
|
|
||||||
IgniterType = 2,
|
|
||||||
IgniterFunction = 3,
|
|
||||||
LoadType = 4,
|
|
||||||
TargetType = 5,
|
|
||||||
TargetSubType = 6,
|
|
||||||
GearType = 7,
|
|
||||||
FirePurpose = 8,
|
|
||||||
LanguageHmi = 9,
|
|
||||||
LanguageXdu = 10,
|
|
||||||
NuclearPreset = 11,
|
|
||||||
RadioGroup = 12,
|
|
||||||
VulnerabilityKind = 13,
|
|
||||||
SanitationMaterial = 14,
|
|
||||||
BiteComponent = 15,
|
|
||||||
CanComponent = 16
|
|
||||||
};
|
|
||||||
|
|
||||||
struct BuildingChargeEffect
|
|
||||||
{
|
|
||||||
int effectId = 0;
|
|
||||||
QString effectName;
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace Interface
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Base class for DTC (Data Type Configuration) implementation
|
|
||||||
*
|
|
||||||
* This is a stub implementation used when BUILD_RTI=OFF.
|
|
||||||
* In production, this is generated by RTI DDS code generation.
|
|
||||||
*/
|
|
||||||
class DtcImpl : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit DtcImpl(QObject *parent = nullptr) : QObject(parent) {}
|
|
||||||
explicit DtcImpl(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector, QObject *parent = nullptr) : QObject(parent) { Q_UNUSED(ddsConnector); }
|
|
||||||
virtual ~DtcImpl() = default;
|
|
||||||
|
|
||||||
// Custom procs - pure virtual methods that must be implemented by derived classes
|
|
||||||
virtual QVector<ChargeTypeData> chargesForGearClass(GearClass gearClass) = 0;
|
|
||||||
virtual QVector<IgniterType> ignitersForChargeType(int chargeTypeId) = 0;
|
|
||||||
virtual QVector<ChargeTypeIgniterTypeIgniterFunction> igniterFunctionsForChargeTypeIgniterType(int chargeTypeId, int igniterTypeId) = 0;
|
|
||||||
virtual QVector<LoadType> loadsForChargeType(int chargeTypeId) = 0;
|
|
||||||
virtual QVector<TargetSubType> targetSubTypesForTargetType(int targetType) = 0;
|
|
||||||
|
|
||||||
virtual double expansionFactor(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double impactRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double impactEdgeLength(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isDryFire(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int mineClass(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool canBeThrown(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool canBeCreated(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isIed(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isReactivatable(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isSmart(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int maxEffectShows(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isSmoke(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isVisible(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isIndirect(int chargeTypeId) = 0;
|
|
||||||
virtual int searchRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool showHitline(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int remainingTasCode(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int secondaryRemainingTasCode(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int segments(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isLine(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isFromMineLayer(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isMineLaying(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QJsonObject mineLayingPattern(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int height(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isLaserGuidable(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isUasDroppable(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isJamming(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QVector<int> spacing(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual VolatilityType volatilityTypeId(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual int hazardDistance(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QVector<CasEffect> casEffects(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual GearClass gearClassFromChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual QVector<int> gearTypeIdFromChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual int chargeTypeIdFromLegacyId(GearClass gearClass, int legacyId) = 0;
|
|
||||||
virtual bool isGmlrs(int chargeTypeId) = 0;
|
|
||||||
virtual bool isDm72(int chargeTypeId) = 0;
|
|
||||||
virtual bool isRocket(int chargeTypeId) = 0;
|
|
||||||
|
|
||||||
virtual ChargeTypeIgniterTypeIgniterFunction getChargeTypeIgniterTypeIgniterFunction(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual ChargeTypeLoadType getChargeTypeLoadType(int chargeTypeId, int loadTypeId) = 0;
|
|
||||||
|
|
||||||
virtual bool canRestock(int gearTypeId) = 0;
|
|
||||||
virtual bool canSetDefaults(int gearTypeId) = 0;
|
|
||||||
virtual int maxCharges(int gearTypeId) = 0;
|
|
||||||
virtual int cadence(int gearTypeId) = 0;
|
|
||||||
virtual int getAdlerWeaponSystemId(int gearTypeId) = 0;
|
|
||||||
virtual int factoryDefault(int gearTypeId, int chargeTypeId) = 0;
|
|
||||||
virtual int maxCharge(int gearTypeId, int chargeTypeId) = 0;
|
|
||||||
virtual bool isAtMine(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual bool isApMine(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double getLethalRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double getNonLethalRadius(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual double getMaxRange(int chargeTypeId, int gearTypeId) = 0;
|
|
||||||
virtual BuildingChargeEffect getBuildingChargeEffectByChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual bool isVirtuallyFireable(int chargeTypeId) = 0;
|
|
||||||
virtual bool isAdlerChargeType(int chargeTypeId) = 0;
|
|
||||||
virtual int getAmountFireMarkers(int firePurposeId) = 0;
|
|
||||||
virtual bool getWithDurationFirePurpose(int firePurposeId) = 0;
|
|
||||||
|
|
||||||
// Adler names/ids
|
|
||||||
virtual int getTargetTypeIdFromAdlerTargetType(const QString &typ) = 0;
|
|
||||||
virtual int getTargetSubTypeIdFromAdlerTargetSubType(const QString &subTyp) = 0;
|
|
||||||
virtual int getChargeTypeIdFromAdlerCharges(const QString &geschosssorte) = 0;
|
|
||||||
virtual int getIgniterTypeIdFromAdlerIgniter(const QString &zuender) = 0;
|
|
||||||
virtual int getIgniterFunctionIdFromAdlerIgniterFunction(const QString &zuenderFunktion) = 0;
|
|
||||||
virtual int getLoadTypeIdFromAdlerLoad(const QString &ladung) = 0;
|
|
||||||
virtual QString adlerTargetTypeName(int targetTypeId) = 0;
|
|
||||||
virtual QString adlerTargetSubTypeName(int targetSubTypeId) = 0;
|
|
||||||
virtual QString adlerChargeTypeName(int chargeTypeId) = 0;
|
|
||||||
virtual QString adlerIgniterTypeName(int igniterTypeId) = 0;
|
|
||||||
virtual QString adlerIgniterFunctionName(int igniterFunctionId) = 0;
|
|
||||||
virtual QString adlerLoadTypeName(int loadTypeId) = 0;
|
|
||||||
|
|
||||||
// Data access methods
|
|
||||||
virtual ChargeTypeData chargeType(int chargeTypeId) = 0;
|
|
||||||
virtual IgniterType igniterType(int igniterTypeId) = 0;
|
|
||||||
virtual IgniterFunction igniterFunction(int igniterFunctionId) = 0;
|
|
||||||
virtual LoadType loadType(int loadTypeId) = 0;
|
|
||||||
virtual GearType gearType(int gearTypeId) = 0;
|
|
||||||
virtual int targetType(int targetTypeId) = 0;
|
|
||||||
virtual TargetSubType targetSubType(int targetSubTypeId) = 0;
|
|
||||||
|
|
||||||
// Collection getters
|
|
||||||
virtual QMap<int, ChargeTypeData> chargeTypes() = 0;
|
|
||||||
virtual QVector<IgniterType> igniterTypes() = 0;
|
|
||||||
virtual QVector<IgniterFunction> igniterFunctions() = 0;
|
|
||||||
virtual QVector<LoadType> loadTypes() = 0;
|
|
||||||
virtual QVector<GearType> gearTypes() = 0;
|
|
||||||
virtual QVector<int> targetTypes() = 0;
|
|
||||||
virtual QVector<TargetSubType> targetSubTypes() = 0;
|
|
||||||
virtual QVector<ChargeTypeIgniterTypeIgniterFunction> chargeTypeIgniterTypeIgniterFunctions() = 0;
|
|
||||||
virtual QVector<ChargeTypeLoadType> chargeTypeLoadTypes() = 0;
|
|
||||||
virtual QVector<GearTypeChargeType> gearTypeChargeTypes() = 0;
|
|
||||||
virtual QVector<BuildingChargeEffect> buildingChargeEffects() = 0;
|
|
||||||
|
|
||||||
// isEnabled checks
|
|
||||||
virtual bool isChargeTypeEnabled() = 0;
|
|
||||||
virtual bool isIgniterTypeEnabled() = 0;
|
|
||||||
virtual bool isIgniterFunctionEnabled() = 0;
|
|
||||||
virtual bool isLoadTypeEnabled() = 0;
|
|
||||||
virtual bool isGearTypeEnabled() = 0;
|
|
||||||
virtual bool isTargetTypeEnabled() = 0;
|
|
||||||
virtual bool isTargetSubTypeEnabled() = 0;
|
|
||||||
virtual bool isChargeTypeIgniterTypeIgniterFunctionEnabled() = 0;
|
|
||||||
virtual bool isChargeTypeLoadTypeEnabled() = 0;
|
|
||||||
virtual bool isGearTypeChargeTypeEnabled() = 0;
|
|
||||||
virtual bool isBuildingChargeEffectEnabled() = 0;
|
|
||||||
|
|
||||||
// enable* methods
|
|
||||||
virtual void enableIgniterType(bool enable) = 0;
|
|
||||||
virtual void enableChargeTypeIgniterTypeIgniterFunction(bool enable) = 0;
|
|
||||||
virtual void enableIgniterFunction(bool enable) = 0;
|
|
||||||
virtual void enableLoadType(bool enable) = 0;
|
|
||||||
virtual void enableChargeTypeLoadType(bool enable) = 0;
|
|
||||||
virtual void enableTargetType(bool enable) = 0;
|
|
||||||
virtual void enableTargetSubType(bool enable) = 0;
|
|
||||||
virtual void enableChargeType(bool enable) = 0;
|
|
||||||
virtual void enableGearType(bool enable) = 0;
|
|
||||||
virtual void enableGearTypeChargeType(bool enable) = 0;
|
|
||||||
virtual void enableTargetTypeTargetSubType(bool enable) = 0;
|
|
||||||
virtual void enableRadioGroup(bool enable) = 0;
|
|
||||||
virtual void enableVulnerabilityKind(bool enable) = 0;
|
|
||||||
virtual void enableBuildingChargeEffect(bool enable) = 0;
|
|
||||||
|
|
||||||
// waitForHistoricalData methods
|
|
||||||
virtual void waitForHistoricalDataChargeType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataIgniterType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataIgniterFunction(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataLoadType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataGearType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataTargetType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataTargetSubType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataChargeTypeIgniterTypeIgniterFunction(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataChargeTypeLoadType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataGearTypeChargeType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataBuildingChargeEffect(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataTargetTypeTargetSubType(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataRadioGroup(int timeout_ms) = 0;
|
|
||||||
virtual void waitForHistoricalDataVulnerabilityKind(int timeout_ms) = 0;
|
|
||||||
|
|
||||||
// Helper methods
|
|
||||||
virtual QJsonObject propertiesToJson(const std::string &properties) = 0;
|
|
||||||
|
|
||||||
virtual QString trBiteComponentTextName(int biteComponentId) = 0;
|
|
||||||
virtual QString trCanComponentStringName(int canComponentId) = 0;
|
|
||||||
virtual QString trChargeTypeShortName(int chargeTypeId, bool omitBaseSuffix = false) = 0;
|
|
||||||
virtual QString trChargeTypeName(int chargeTypeId, bool omitBaseSuffix = false) = 0;
|
|
||||||
virtual QString trFirePurposeName(int firePurposeId) = 0;
|
|
||||||
virtual QString trGearTypeName(int gearTypeId) = 0;
|
|
||||||
virtual QString trIgniterTypeName(int igniterTypeId) = 0;
|
|
||||||
virtual QString trIgniterTypeShortName(int igniterTypeId) = 0;
|
|
||||||
virtual QString trIgniterFunctionName(int igniterFunctionId) = 0;
|
|
||||||
virtual QString trIgniterFunctionShortName(int igniterFunctionId) = 0;
|
|
||||||
virtual QString trLoadTypeName(int loadTypeId) = 0;
|
|
||||||
virtual QString trLoadTypeShortName(int loadTypeId) = 0;
|
|
||||||
virtual QString trTargetTypeName(int targetTypeId) = 0;
|
|
||||||
virtual QString trTargetSubTypeName(int targetSubTypeId) = 0;
|
|
||||||
virtual QString trLanguageHmiName(int languageHmiId) = 0;
|
|
||||||
virtual QString trLanguageXduName(int languageXduId) = 0;
|
|
||||||
virtual QString trNuclearPresetName(int nucularPresetId) = 0;
|
|
||||||
virtual QString trRadioGroupName(int radioGroupId) = 0;
|
|
||||||
virtual QString trVulnerabilityKindName(int vulnerabilityKindId, VulnerabilityClass vulnerabilityClassId) = 0;
|
|
||||||
virtual QString trSanitationMaterialName(int sanitationMaterialId) = 0;
|
|
||||||
virtual QString trSanitationProcedureName(int sanitationProcedureId) = 0;
|
|
||||||
virtual QString trSanitationInjuryKindName(int sanitationInjuryKindId) = 0;
|
|
||||||
virtual QString trSanitationInjuryPlace1Name(int sanitationInjuryPlace1Id) = 0;
|
|
||||||
virtual QString trSanitationInjuryPlace2Name(int sanitationInjuryPlace2Id) = 0;
|
|
||||||
|
|
||||||
virtual QStringList chargeNames(std::vector<int> &chargeIds) = 0;
|
|
||||||
virtual int getAvailableChargeTypeId(int chargeTypeId) = 0;
|
|
||||||
virtual ChargeTypeProperty getChargeTypeSpecialProperty(int chargeTypeId, int igniterTypeId, int igniterFunctionId) = 0;
|
|
||||||
virtual QVector<SanitationProcedure> getSanitationProcedures(qint64 procedures) = 0;
|
|
||||||
virtual QStringList sanitationProceduresList(qint64 procedures) = 0;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
DtcImpl() = default;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace Interface
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
#ifndef PROJECTDATAMANAGEMENT_PDM_ENUMS_HPP
|
|
||||||
#define PROJECTDATAMANAGEMENT_PDM_ENUMS_HPP
|
|
||||||
|
|
||||||
// Minimal placeholder for migration build. Real definitions come from ProjectDataManagement module.
|
|
||||||
// This stub allows isolated migration builds; replace with real generated header when available.
|
|
||||||
|
|
||||||
namespace ProjectDataManagement {
|
|
||||||
enum PdmEnums {
|
|
||||||
PDM_ENUM_PLACEHOLDER = 0
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // PROJECTDATAMANAGEMENT_PDM_ENUMS_HPP
|
|
||||||
@@ -1,243 +1,7 @@
|
|||||||
// Temporary stub for pdm_enums.hpp
|
// Stub file for pdm_enums.hpp - used when BUILD_RTI=OFF
|
||||||
// This file should be generated by RTI codegen from IDL definitions
|
#ifndef PDM_ENUMS_HPP
|
||||||
// Created for Qt6 migration build
|
#define PDM_ENUMS_HPP
|
||||||
// Extended with AdlerJson enums
|
|
||||||
|
|
||||||
#pragma once
|
// Minimal stub - actual enums generated by rtiddsgen when BUILD_RTI=ON
|
||||||
|
|
||||||
#include <QtCore/QMap>
|
#endif // PDM_ENUMS_HPP
|
||||||
#include <QtCore/QString>
|
|
||||||
#include "pdm_types.h"
|
|
||||||
|
|
||||||
namespace ProjectDataManagement
|
|
||||||
{
|
|
||||||
|
|
||||||
// Additional enums required by AdlerJson/telegrams.h
|
|
||||||
// (ChargeType, UnitType, SimulationType are already defined in pdm_types.h)
|
|
||||||
enum class L4_TargetGeometry : int {
|
|
||||||
Unknown = 0,
|
|
||||||
Point, // P - Punktziel
|
|
||||||
Area, // F - Flaechenziel
|
|
||||||
Radial, // R - Radialziel
|
|
||||||
Linear, // L - Linearziel
|
|
||||||
A,
|
|
||||||
L,
|
|
||||||
L4_T,
|
|
||||||
P,
|
|
||||||
R,
|
|
||||||
E,
|
|
||||||
F1,
|
|
||||||
F2,
|
|
||||||
F3,
|
|
||||||
F4,
|
|
||||||
F5,
|
|
||||||
F6,
|
|
||||||
F7,
|
|
||||||
F8,
|
|
||||||
F9
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class L7_Request : int {
|
|
||||||
Unknown = 0,
|
|
||||||
ABR,
|
|
||||||
BEI,
|
|
||||||
BEK,
|
|
||||||
BEL,
|
|
||||||
BEO,
|
|
||||||
BEW,
|
|
||||||
BLE,
|
|
||||||
BLI,
|
|
||||||
BLW,
|
|
||||||
BWL,
|
|
||||||
L7_R,
|
|
||||||
MBE,
|
|
||||||
MBL,
|
|
||||||
MIR,
|
|
||||||
MRK,
|
|
||||||
NIE,
|
|
||||||
SPE,
|
|
||||||
STO,
|
|
||||||
UBW,
|
|
||||||
VER,
|
|
||||||
WRN,
|
|
||||||
ZER,
|
|
||||||
ZSL
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class L19_Oi : int {
|
|
||||||
Unknown = 0,
|
|
||||||
Empty, // Orts ID nicht gesetzt
|
|
||||||
F1,
|
|
||||||
F2,
|
|
||||||
F3,
|
|
||||||
F4,
|
|
||||||
F5,
|
|
||||||
F6,
|
|
||||||
F7,
|
|
||||||
F8,
|
|
||||||
F9, // Feuerstellungen
|
|
||||||
L // Ladeplatz
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class L22_FireHaltCategory : int {
|
|
||||||
A = 0, // Feuer HALT Allgemein
|
|
||||||
R, // Feuer HALT Referenziert
|
|
||||||
E, // Feuer Einstellen
|
|
||||||
C, // Aufheben Feuer HALT Allgemein
|
|
||||||
F // Aufheben Feuer HALT Referenziert
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class L25_KindGuidingLine : int { FFA = 0, NFA, RFA, FSCL, RFL, FSSL, NFL };
|
|
||||||
|
|
||||||
enum class L26_EffectingSystemType : int { Unknown = 0, Pzh2000, RRohr, Mars, L26_E, M, P, RR };
|
|
||||||
|
|
||||||
enum class L27_EffectorId : int {
|
|
||||||
Unknown = 0,
|
|
||||||
// Letter IDs
|
|
||||||
A,
|
|
||||||
B,
|
|
||||||
B1,
|
|
||||||
B2,
|
|
||||||
B3,
|
|
||||||
B4,
|
|
||||||
B5,
|
|
||||||
B6,
|
|
||||||
B7,
|
|
||||||
B8,
|
|
||||||
C,
|
|
||||||
C1,
|
|
||||||
C2,
|
|
||||||
C3,
|
|
||||||
C4,
|
|
||||||
C5,
|
|
||||||
C6,
|
|
||||||
C7,
|
|
||||||
C8,
|
|
||||||
D,
|
|
||||||
E,
|
|
||||||
F,
|
|
||||||
G,
|
|
||||||
H,
|
|
||||||
I,
|
|
||||||
J,
|
|
||||||
K,
|
|
||||||
L,
|
|
||||||
L27_E,
|
|
||||||
M,
|
|
||||||
N,
|
|
||||||
O,
|
|
||||||
P,
|
|
||||||
Q,
|
|
||||||
R,
|
|
||||||
S,
|
|
||||||
T,
|
|
||||||
U,
|
|
||||||
V,
|
|
||||||
W,
|
|
||||||
X,
|
|
||||||
Y,
|
|
||||||
Z,
|
|
||||||
// Numeric IDs
|
|
||||||
NO_211,
|
|
||||||
NO_212,
|
|
||||||
NO_213,
|
|
||||||
NO_214,
|
|
||||||
NO_215,
|
|
||||||
NO_216,
|
|
||||||
NO_217,
|
|
||||||
NO_218,
|
|
||||||
NO_221,
|
|
||||||
NO_222,
|
|
||||||
NO_223,
|
|
||||||
NO_224,
|
|
||||||
NO_225,
|
|
||||||
NO_226,
|
|
||||||
NO_227,
|
|
||||||
NO_228,
|
|
||||||
NO_311,
|
|
||||||
NO_312,
|
|
||||||
NO_313,
|
|
||||||
NO_314,
|
|
||||||
NO_315,
|
|
||||||
NO_316,
|
|
||||||
NO_317,
|
|
||||||
NO_318,
|
|
||||||
NO_321,
|
|
||||||
NO_322,
|
|
||||||
NO_323,
|
|
||||||
NO_324,
|
|
||||||
NO_325,
|
|
||||||
NO_326,
|
|
||||||
NO_327,
|
|
||||||
NO_328,
|
|
||||||
NO_411,
|
|
||||||
NO_412,
|
|
||||||
NO_413,
|
|
||||||
NO_414,
|
|
||||||
NO_415,
|
|
||||||
NO_416,
|
|
||||||
NO_417,
|
|
||||||
NO_418,
|
|
||||||
NO_421,
|
|
||||||
NO_422,
|
|
||||||
NO_423,
|
|
||||||
NO_424,
|
|
||||||
NO_425,
|
|
||||||
NO_426,
|
|
||||||
NO_427,
|
|
||||||
NO_428,
|
|
||||||
NO_511,
|
|
||||||
NO_512,
|
|
||||||
NO_513,
|
|
||||||
NO_514,
|
|
||||||
NO_515,
|
|
||||||
NO_516,
|
|
||||||
NO_517,
|
|
||||||
NO_518,
|
|
||||||
NO_521,
|
|
||||||
NO_522,
|
|
||||||
NO_523,
|
|
||||||
NO_524,
|
|
||||||
NO_525,
|
|
||||||
NO_526,
|
|
||||||
NO_527,
|
|
||||||
NO_528
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class L28_Status : int { NichtEinsatzbereit = 0, Einsatzbereit };
|
|
||||||
|
|
||||||
enum class L46_GpsFrequency : int { L1 = 0, L2 };
|
|
||||||
|
|
||||||
enum class L48_TrajectoryRocket : int { Nominal = 0, Vertical };
|
|
||||||
|
|
||||||
// Enums required by pdm_db_structs.h
|
|
||||||
enum class HgrMineSearchFilterType : int {
|
|
||||||
Unknown = 0,
|
|
||||||
Type1 = 1,
|
|
||||||
Type2 = 2,
|
|
||||||
Type3 = 3,
|
|
||||||
Type4 = 4,
|
|
||||||
Type5 = 5,
|
|
||||||
Type6 = 6,
|
|
||||||
Type7 = 7
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class GearClass : int {
|
|
||||||
Unknown = 0,
|
|
||||||
Class1 = 1,
|
|
||||||
Class2 = 2,
|
|
||||||
Class3 = 3,
|
|
||||||
Class4 = 4,
|
|
||||||
Class5 = 5
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class VulnerabilityClass : int {
|
|
||||||
Unknown = 0,
|
|
||||||
ClassA = 1,
|
|
||||||
ClassB = 2,
|
|
||||||
ClassC = 3,
|
|
||||||
ClassD = 4,
|
|
||||||
ClassE = 5
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
+5
-189
@@ -1,191 +1,7 @@
|
|||||||
/**
|
// Stub file for pdm_translation.h - used when BUILD_GRANTLEE=OFF
|
||||||
* @RDE_HEADER@
|
#ifndef PDM_TRANSLATION_H
|
||||||
* Convert DSS enumerations to translatable strings
|
#define PDM_TRANSLATION_H
|
||||||
* $Id$
|
|
||||||
* $HeadURL$
|
|
||||||
* $Author$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
// Minimal stub - actual translation generated by codegen when BUILD_GRANTLEE=ON
|
||||||
|
|
||||||
// filename: pdm_translation.h
|
#endif // PDM_TRANSLATION_H
|
||||||
|
|
||||||
#include <QString>
|
|
||||||
#include "pdm_enums.hpp"
|
|
||||||
#ifndef PDM_COMMON_EXPORT
|
|
||||||
#ifdef BUILD_RTI
|
|
||||||
#include "svcpdmcommon_export.h"
|
|
||||||
#define PDM_COMMON_EXPORT SVCPDMCOMMON_EXPORT
|
|
||||||
#else
|
|
||||||
#define PDM_COMMON_EXPORT
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class QString;
|
|
||||||
|
|
||||||
namespace ProjectDataManagement
|
|
||||||
{
|
|
||||||
// Translatable enumerations:
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(ChargeType ct)
|
|
||||||
{
|
|
||||||
switch (ct) {
|
|
||||||
case ChargeType::Unknown: return QStringLiteral("Unknown");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(UnitType ut)
|
|
||||||
{
|
|
||||||
switch (ut) {
|
|
||||||
case UnitType::Unknown: return QStringLiteral("Unknown");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(SimulationType st)
|
|
||||||
{
|
|
||||||
switch (st) {
|
|
||||||
case SimulationType::Unknown: return QStringLiteral("Unknown");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L4_TargetGeometry state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L4_TargetGeometry::Unknown: return QStringLiteral("Unknown");
|
|
||||||
case L4_TargetGeometry::Point: return QStringLiteral("Point");
|
|
||||||
case L4_TargetGeometry::Area: return QStringLiteral("Area");
|
|
||||||
case L4_TargetGeometry::Radial: return QStringLiteral("Radial");
|
|
||||||
case L4_TargetGeometry::Linear: return QStringLiteral("Linear");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L7_Request state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L7_Request::Unknown: return QStringLiteral("Unknown");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L19_Oi state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L19_Oi::Unknown: return QStringLiteral("Unknown");
|
|
||||||
case L19_Oi::Empty: return QStringLiteral("Empty");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L22_FireHaltCategory state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L22_FireHaltCategory::A: return QStringLiteral("A");
|
|
||||||
case L22_FireHaltCategory::R: return QStringLiteral("R");
|
|
||||||
case L22_FireHaltCategory::E: return QStringLiteral("E");
|
|
||||||
case L22_FireHaltCategory::C: return QStringLiteral("C");
|
|
||||||
case L22_FireHaltCategory::F: return QStringLiteral("F");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L25_KindGuidingLine state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L25_KindGuidingLine::FFA: return QStringLiteral("FFA");
|
|
||||||
case L25_KindGuidingLine::NFA: return QStringLiteral("NFA");
|
|
||||||
case L25_KindGuidingLine::RFA: return QStringLiteral("RFA");
|
|
||||||
case L25_KindGuidingLine::FSCL: return QStringLiteral("FSCL");
|
|
||||||
case L25_KindGuidingLine::RFL: return QStringLiteral("RFL");
|
|
||||||
case L25_KindGuidingLine::FSSL: return QStringLiteral("FSSL");
|
|
||||||
case L25_KindGuidingLine::NFL: return QStringLiteral("NFL");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L26_EffectingSystemType state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L26_EffectingSystemType::Unknown: return QStringLiteral("Unknown");
|
|
||||||
case L26_EffectingSystemType::Pzh2000: return QStringLiteral("Pzh2000");
|
|
||||||
case L26_EffectingSystemType::RRohr: return QStringLiteral("RRohr");
|
|
||||||
case L26_EffectingSystemType::Mars: return QStringLiteral("Mars");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L27_EffectorId state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L27_EffectorId::Unknown: return QStringLiteral("Unknown");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L28_Status state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L28_Status::NichtEinsatzbereit: return QStringLiteral("NichtEinsatzbereit");
|
|
||||||
case L28_Status::Einsatzbereit: return QStringLiteral("Einsatzbereit");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L46_GpsFrequency state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L46_GpsFrequency::L1: return QStringLiteral("L1");
|
|
||||||
case L46_GpsFrequency::L2: return QStringLiteral("L2");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(L48_TrajectoryRocket state)
|
|
||||||
{
|
|
||||||
switch (state) {
|
|
||||||
case L48_TrajectoryRocket::Nominal: return QStringLiteral("Nominal");
|
|
||||||
case L48_TrajectoryRocket::Vertical: return QStringLiteral("Vertical");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(EventType et)
|
|
||||||
{
|
|
||||||
switch (et) {
|
|
||||||
case EventType::Unknown: return QStringLiteral("Unknown");
|
|
||||||
case EventType::Alarm: return QStringLiteral("Alarm");
|
|
||||||
case EventType::Warning: return QStringLiteral("Warning");
|
|
||||||
case EventType::Info: return QStringLiteral("Info");
|
|
||||||
case EventType::Status: return QStringLiteral("Status");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline PDM_COMMON_EXPORT QString toString(VulnerabilityState vs)
|
|
||||||
{
|
|
||||||
switch (vs) {
|
|
||||||
case VulnerabilityState::NoChange: return QStringLiteral("NoChange");
|
|
||||||
case VulnerabilityState::CombatReady: return QStringLiteral("CombatReady");
|
|
||||||
case VulnerabilityState::LightDamage: return QStringLiteral("LightDamage");
|
|
||||||
case VulnerabilityState::MediumDamage: return QStringLiteral("MediumDamage");
|
|
||||||
case VulnerabilityState::HeavyDamage: return QStringLiteral("HeavyDamage");
|
|
||||||
case VulnerabilityState::MobilityKill: return QStringLiteral("MobilityKill");
|
|
||||||
case VulnerabilityState::VisibleMobilityKill: return QStringLiteral("VisibleMobilityKill");
|
|
||||||
case VulnerabilityState::WeaponSystemDamage: return QStringLiteral("WeaponSystemDamage");
|
|
||||||
case VulnerabilityState::VisibleWeaponSystemDamage: return QStringLiteral("VisibleWeaponSystemDamage");
|
|
||||||
case VulnerabilityState::CatastrophicKill: return QStringLiteral("CatastrophicKill");
|
|
||||||
case VulnerabilityState::TemporarySeverance: return QStringLiteral("TemporarySeverance");
|
|
||||||
case VulnerabilityState::NearMiss: return QStringLiteral("NearMiss");
|
|
||||||
case VulnerabilityState::HitWithNoEffect: return QStringLiteral("HitWithNoEffect");
|
|
||||||
case VulnerabilityState::VulnerabilityBitsChanged: return QStringLiteral("VulnerabilityBitsChanged");
|
|
||||||
case VulnerabilityState::Reserved: return QStringLiteral("Reserved");
|
|
||||||
case VulnerabilityState::NContamination: return QStringLiteral("NContamination");
|
|
||||||
case VulnerabilityState::BContamination: return QStringLiteral("BContamination");
|
|
||||||
case VulnerabilityState::CContamination: return QStringLiteral("CContamination");
|
|
||||||
default: return QStringLiteral("Unknown");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
@@ -1,34 +1,7 @@
|
|||||||
#pragma once
|
// Stub file for pdm_types.h - used when BUILD_GRANTLEE=OFF
|
||||||
|
#ifndef PDM_TYPES_H
|
||||||
|
#define PDM_TYPES_H
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei enthält nur Typen die NICHT von RTIDDSGEN generiert werden
|
// Minimal stub - actual types generated by codegen when BUILD_GRANTLEE=ON
|
||||||
// Alle DDS-generierten Typen sind in pdm_enums.hpp und pdm.hpp
|
|
||||||
|
|
||||||
#include <QtCore/QString>
|
#endif // PDM_TYPES_H
|
||||||
#include "pdm_export.h"
|
|
||||||
|
|
||||||
// Include generated DDS types
|
|
||||||
#include "pdm_enums.hpp"
|
|
||||||
|
|
||||||
namespace ProjectDataManagement
|
|
||||||
{
|
|
||||||
|
|
||||||
// These types are NOT generated by RTIDDSGEN and must be defined here
|
|
||||||
// STUB: UnitType Enum
|
|
||||||
enum class UnitType : int
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
Air = 1,
|
|
||||||
Ground = 2,
|
|
||||||
Naval = 3
|
|
||||||
};
|
|
||||||
|
|
||||||
// STUB: SimulationType Enum
|
|
||||||
enum class SimulationType : int
|
|
||||||
{
|
|
||||||
Unknown = 0,
|
|
||||||
Live = 1,
|
|
||||||
Constructive = 2,
|
|
||||||
Virtual = 3
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ProjectDataManagement
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace ReportManagement
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace ReportManagement
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
#include <QtCore/QString>
|
|
||||||
|
|
||||||
namespace AreaEffectSimulation
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
|
|
||||||
// AesType - Arten von Area Effect Simulation Entities
|
|
||||||
enum class AesType : int {
|
|
||||||
AtBCContamination = 0,
|
|
||||||
AtNContamination = 1,
|
|
||||||
AtDangerArea = 2,
|
|
||||||
AtMineArea = 3,
|
|
||||||
AtMineCorridor = 4,
|
|
||||||
AtExplosionSingle = 5,
|
|
||||||
AtExplosionArea = 6,
|
|
||||||
AtFunctionalArea = 7,
|
|
||||||
AtBorderline = 8,
|
|
||||||
AtMineAreaSingleMines = 9,
|
|
||||||
AtDusSingleMine = 10,
|
|
||||||
AtGasPipe = 11,
|
|
||||||
AtTechnicalArea = 12,
|
|
||||||
AtAirSupportImpact = 13,
|
|
||||||
AtUnknown = 99
|
|
||||||
};
|
|
||||||
|
|
||||||
// AesEffectState_def - Status eines AES Effekts (mit _def Suffix wie DDS generiert)
|
|
||||||
enum class AesEffectState_def : int {
|
|
||||||
EsCreated = 0,
|
|
||||||
EsPrepared = 1,
|
|
||||||
EsFired = 2,
|
|
||||||
EsActivated = 3,
|
|
||||||
EsPaused = 4,
|
|
||||||
EsExpired = 5,
|
|
||||||
EsRemoved = 6,
|
|
||||||
EsReceived = 7,
|
|
||||||
EsUnknown = 99,
|
|
||||||
EsError = 100
|
|
||||||
};
|
|
||||||
|
|
||||||
// AesEffectState - Alias für AesEffectState_def (Backward Compatibility)
|
|
||||||
using AesEffectState = AesEffectState_def;
|
|
||||||
|
|
||||||
// EffectStateStruct - Filter-Struktur für Effect States
|
|
||||||
struct EffectStateStruct
|
|
||||||
{
|
|
||||||
bool showCreated = true;
|
|
||||||
bool showPrepared = true;
|
|
||||||
bool showActive = true;
|
|
||||||
bool showInactive = false;
|
|
||||||
bool showExpired = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace AreaEffectSimulation
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
|
||||||
// Für die Migration erstellen wir minimale Typ-Definitionen
|
|
||||||
|
|
||||||
namespace SituationReplay
|
|
||||||
{
|
|
||||||
// Placeholder enums - werden durch echte DDS-Typen ersetzt
|
|
||||||
enum class SymbolAppearance : int { Solid = 0, Dashed = 1, Dotted = 2 };
|
|
||||||
|
|
||||||
enum class SymbolVisibility : int { Visible = 0, Hidden = 1 };
|
|
||||||
|
|
||||||
struct UnitSymbolPosition
|
|
||||||
{
|
|
||||||
double x = 0.0;
|
|
||||||
double y = 0.0;
|
|
||||||
double z = 0.0;
|
|
||||||
};
|
|
||||||
} // namespace SituationReplay
|
|
||||||
Reference in new issue
Block a user