Apply clang-format to Lts/Common and DTC/enum headers
- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
848 files changed
+89305
-100020
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
// STUB-HEADER: Diese Datei wird normalerweise von ddsdtc generiert
|
||||
// Für die Migration erstellen wir minimale Forward-Declarations
|
||||
|
||||
@@ -6,7 +7,7 @@ namespace InfrastructureManagement
|
||||
{
|
||||
namespace Interface
|
||||
{
|
||||
class Dtc;
|
||||
class Ftc;
|
||||
}
|
||||
}
|
||||
class Dtc;
|
||||
class Ftc;
|
||||
} // namespace Interface
|
||||
} // namespace InfrastructureManagement
|
||||
@@ -8,7 +8,8 @@
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace InfrastructureManagement {
|
||||
namespace InfrastructureManagement
|
||||
{
|
||||
|
||||
// MountingPointType als enum class mit allen Werten
|
||||
enum class MountingPointType : int32_t {
|
||||
@@ -29,24 +30,16 @@ enum class MountingPointType : int32_t {
|
||||
};
|
||||
|
||||
// MountingPointState als enum class mit allen Werten
|
||||
enum class MountingPointState : int32_t {
|
||||
Undefined = 0,
|
||||
Equipped = 1,
|
||||
Empty = 2,
|
||||
Idle = 3
|
||||
};
|
||||
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
|
||||
};
|
||||
enum class AimState : int32_t { Undefined = 0, Active = 1, Inactive = 2 };
|
||||
|
||||
// DDS type wrapper für MountingPointType
|
||||
struct MountingPointType_def {
|
||||
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;
|
||||
@@ -65,9 +58,10 @@ struct MountingPointType_def {
|
||||
};
|
||||
|
||||
// DDS type wrapper für MountingPointState
|
||||
struct MountingPointState_def {
|
||||
struct MountingPointState_def
|
||||
{
|
||||
using type = MountingPointState;
|
||||
|
||||
|
||||
static constexpr MountingPointState Undefined = MountingPointState::Undefined;
|
||||
static constexpr MountingPointState Equipped = MountingPointState::Equipped;
|
||||
static constexpr MountingPointState Empty = MountingPointState::Empty;
|
||||
@@ -75,9 +69,10 @@ struct MountingPointState_def {
|
||||
};
|
||||
|
||||
// DDS type wrapper für AimState
|
||||
struct AimState_def {
|
||||
struct AimState_def
|
||||
{
|
||||
using type = AimState;
|
||||
|
||||
|
||||
static constexpr AimState Undefined = AimState::Undefined;
|
||||
static constexpr AimState Active = AimState::Active;
|
||||
static constexpr AimState Inactive = AimState::Inactive;
|
||||
|
||||
Reference in new issue
Block a user