Removes code-generated files that were accidentally committed to the repo

This commit is contained in:
torsten committed 2026-09-14 11:21:00 +00:00
1 parent 1cb7a2ea22
commit eb02c1f001
46 files changed
+96 -2547

No files matched your search

@@ -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
// Generated database header for ProjectDataManagement service
#pragma once
// Stub file for pdm_db.h - used when BUILD_GRANTLEE=OFF
#ifndef PDM_DB_H
#define PDM_DB_H
#include <QObject>
#include <QString>
#include <QVariant>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>
// Minimal stub - actual database interface generated by codegen when BUILD_GRANTLEE=ON
#include "svcpdmcommon_export.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
#endif // PDM_DB_H
@@ -1,31 +1,4 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database implementation for ProjectDataManagement service
// Stub file for pdm_db_impl.cpp - used when BUILD_GRANTLEE=OFF
#include "pdm_db_impl.h"
namespace ProjectDataManagement {
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
// Minimal stub - actual implementation generated by codegen when BUILD_GRANTLEE=ON
@@ -1,23 +1,7 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database implementation header for ProjectDataManagement service
#pragma once
// Stub file for pdm_db_impl.h - used when BUILD_GRANTLEE=OFF
#ifndef PDM_DB_IMPL_H
#define PDM_DB_IMPL_H
#include "pdm_db.h"
#include <QMap>
#include <QVariant>
// Minimal stub - actual implementation generated by codegen when BUILD_GRANTLEE=ON
namespace ProjectDataManagement {
// Minimal database implementation stub
class DbImpl : public Db {
public:
DbImpl();
~DbImpl() override;
bool executeQuery(const QString& query);
private:
QSqlQuery m_query;
};
} // namespace ProjectDataManagement
#endif // PDM_DB_IMPL_H
@@ -1,10 +1,4 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database structs implementation for ProjectDataManagement service
// Stub file for pdm_db_structs.cpp - used when BUILD_GRANTLEE=OFF
#include "pdm_db_structs.h"
namespace ProjectDataManagement {
// Minimal stub implementation
// No database struct operations needed in stub mode
} // namespace ProjectDataManagement
// Minimal stub - actual implementation generated by codegen when BUILD_GRANTLEE=ON
@@ -1,12 +1,7 @@
// Stub file for BUILD_GRANTLEE=OFF
// Generated database structs for ProjectDataManagement service
#pragma once
// Stub file for pdm_db_structs.h - used when BUILD_GRANTLEE=OFF
#ifndef PDM_DB_STRUCTS_H
#define PDM_DB_STRUCTS_H
namespace ProjectDataManagement {
// Minimal stub - actual structs generated by codegen when BUILD_GRANTLEE=ON
// Minimal stub structs for database operations
struct DbStruct {
int id = 0;
};
} // namespace ProjectDataManagement
#endif // PDM_DB_STRUCTS_H
@@ -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