DEENESPTFRRUARHIKOZHNL
AUTOSAR_AP_SWS_LanguageBindingForModeledAPdatatypes FIG-573f978a098c19b0 791 × 683 px 1 Release(s)

Figure 7.2: CppImplementationDataType

SHA-256 Inhalts-Fingerabdruck: 573f978a098c19b056ea5ddbcdce3e47c7ffd35948dd771ffa52742b33b5f2e5
✦ KI-generierte Bildanalyse & technische Beschreibung Modell: gemini-3.8-flash (via agy) · Rezept figure-series@1 · erstellt am 2026-10-08

1. Diagrammtyp & Architektur-Kontext

UML-Klassendiagramm zur Spezifikation des Metamodells für C++-Implementierungsdatentypen (CppImplementationDataType) innerhalb der AUTOSAR Adaptive Platform (Language Binding for Modeled AP Data Types). Es bettet CppImplementationDataType in die übergeordnete AUTOSAR-Typenhierarchie (AutosarDataType, AbstractImplementationDataType, DataPrototype) ein und differenziert spezifische Ausprägungen für Standard- und benutzerdefinierte Datentypen.

2. Komponenten, Entitäten & Schnittstellen

Das Diagramm definiert folgende Entitäten und Beziehungen:

  • AutosarDataType («ARElement», «AtpType»): Basis-Datentypklasse. Assoziiert von AutosarDataPrototype («DataPrototype») über «isOfType» +type 0..1 {redefines atpType}.
  • AbstractImplementationDataType («AtpBlueprint», «AtpBlueprintable»): Spezialisiert AutosarDataType.
  • CppImplementationDataType (realisiert CppImplementationDataTypeContextTarget, spezialisiert AbstractImplementationDataType): Enthält Attribute headerFile: String [0..1], typeEmitter: NameToken [0..1] und «atpVariation» arraySize: PositiveInteger [0..1]. Besitzt Generalisierungen zu CustomCppImplementationDataType und StdCppImplementationDataType.
  • CustomCppImplementationDataType und StdCppImplementationDataType: Spezialisierungen von CppImplementationDataType.
  • CppImplementationDataTypeElement (spezialisiert AbstractImplementationDataTypeElement, realisiert CppImplementationDataTypeContextTarget): Enthält isOptional: Boolean [0..1]. Komposition von CppImplementationDataType via +subElement 0..* {ordered}.
  • CppImplementationDataTypeElementQualifier: Attribut inplace: Boolean [0..1]. Komposition von CppImplementationDataTypeElement via +typeReference 0..1. Zielgerichtete Assoziation +typeReference 0..1 zu CppImplementationDataType.
  • CppTemplateArgument: Attribute category: CategoryString [0..1] und inplace: Boolean [0..1]. Komposition von CppImplementationDataType via +templateArgument 0..* {ordered}. Assoziation +templateType 0..1 zu CppImplementationDataType und +allocator 0..1 zu Allocator.
  • Allocator («ARElement»): Attribut headerFile: String [0..1]. Komposition +namespace 0..* {ordered} zu SymbolProps.
  • SymbolProps (spezialisiert ImplementationProps, erbt von Referrable): Attribut symbol: CIdentifier [0..1]. Komposition +namespace 0..* {ordered} direkt von CppImplementationDataType sowie von Allocator.

3. Dynamisches Verhalten & Sequenzablauf

Als statisches Metamodell-Klassendiagramm stellt das Schaubild keine dynamischen Interaktionen, Zustandsübergänge oder Laufzeitsequenzen dar. Es beschreibt die deklarative Metamodellstruktur zur Generierungs- und Entwurfszeit für C++-Datentyp-Definitionen.

4. Normative Relevanz & Entwickler-Hinweise

  • CppImplementationDataType ist als AbstractImplementationDataType in die AUTOSAR-Metamodell-Typenhierarchie integriert und kann über AutosarDataPrototype typisiert werden.
  • Die Differenzierung in StdCppImplementationDataType (für C++ Standardbibliotheks-Typen) und CustomCppImplementationDataType steuert die C++-Sprachmittelbindung und Code-Generierung.
  • Geordnete Multiplizitäten ({ordered}) bei subElement, namespace und templateArgument bestimmen die Reihenfolge generierter Namensräume, Template-Argumente und Strukturmitglieder.
  • CppImplementationDataTypeElementQualifier ermöglicht die Referenzierung eines CppImplementationDataType mit Multiplizität 0..1 und Kennzeichnung von Inplace-Semantik.

Versionsvergleich KI-generiert · gemini-3.8-flash (via agy)

R23-11 → R24-11 keine inhaltliche Änderung Vorgänger: FIG-72743e787c8fa244

Keine inhaltlichen Änderungen erkennbar.

R24-11 → R25-11 keine inhaltliche Änderung Nachfolger: FIG-810fcd7a75843273

Keine inhaltlichen Änderungen erkennbar.

Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Aus dem Dokument extrahierter Text & Kontext

Beschriftungen im Schaubild:

CppImplementationDataTypeContextTarget | CppImplementationDataType | + headerFile: String [0..1] + typeEmitter: NameToken [0..1] | «atpVariation» + arraySize: PositiveInteger [0..1] | CustomCppImplementationDataType StdCppImplementationDataType | AtpBlueprint AtpBlueprintable | AbstractImplementationDataType | ARElement | AtpType | AutosarDataType | DataPrototype | AutosarDataPrototype | SymbolProps | Referrable | ImplementationProps | + symbol: CIdentifier [0..1] | ARElement | Allocator | + headerFile: String [0..1] | CppTemplateArgument | + category: CategoryString [0..1] + inplace: Boolean [0..1] | AbstractImplementationDataTypeElement CppImplementationDataTypeContextTarget | CppImplementationDataTypeElement | + isOptional: Boolean [0..1] | CppImplementationDataTypeElementQualifier | + inplace: Boolean [0..1] | «isOfType» | +type | 0..1 {redefines atpType} | +allocator | 0..1 | +typeReference | 0..1 | +namespace | 0..* {ordered} +templateArgument 0..* {ordered} | +subElement | 0..* {ordered} | +typeReference | 0..1 | +namespace | 0..* {ordered} | +templateType | 0..1

Begleitender Spezifikationstext:

Specification of Language Binding for modeled AP data types AUTOSAR AP R24-11 point in the AUTOSAR data type tree where the implementation of the data type becomes bound to the C++ language. For the following sub-chapters, it is essential to have an understanding of the AUTOSAR data type model from the perspective of CppImplementationDataType shown here in Figure 7.2. CppImplementationDataTypeContextTarget CppImplementationDataType + headerFile: String [0..1] + typeEmitter: NameToken [0..1] «atpVariation» + arraySize: PositiveInteger [0..1] CustomCppImplementationDataType StdCppImplementationDataType AtpBlueprint AtpBlueprintable AbstractImplementationDataType ARElement AtpType AutosarDataType DataPrototype AutosarDataPrototype SymbolProps Referrable ImplementationProps + symbol: CIdentifier [0..1] ARElement Allocator + headerFile: String [0..1] CppTemplateArgument + category: CategoryString [0..1] + inplace: Boolean [0..1] AbstractImplementationDataTypeElement CppImplementationDataTypeContextTarget CppImplementationDataTypeElement + isOptional: Boolean [0..1] CppImplementationDataTypeElementQualifier + inplace: Boolean [0..1] «isOfType» +type 0..1 {redefines atpType} +allocator 0..1 +typeReference 0..1 +namespace 0..* {ordered} +templateArgument 0..* {ordered} +subElement 0..* {ordered} +typeReference 0..1 +namespace 0..* {ordered} +templateType 0..1 Figure 7.2: CppImplementationDataType Further, [constr_1578] in [4] must be applied to all CppImplementationDataTypes in the f

Vorkommen in AUTOSAR-Releases (1)

Release Dokument Seite Nr. Bildunterschrift im Dokument
R24-11 AUTOSAR_AP_SWS_LanguageBindingForModeledAPdatatypes S. 16 7.2 Figure 7.2: CppImplementationDataType