DEENESPTFRRUARHIKOZHNL
AUTOSAR_AP_EXP_SWArchitecture FIG-62df51c7c95b36e0 607 × 341 px 1 Release(s)

Figure 9.4: Interfaces for State Management

SHA-256 Inhalts-Fingerabdruck: 62df51c7c95b36e0644d87fc068ae95048617eb588d5b5dc88044410f7c4961d
✦ 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 Interaktion zwischen State Management und Execution Management in den AUTOSAR Adaptive Platform Releases R24-11 und R25-11. Es zeigt die konsolidierte Architektur für Funktionsgruppen- und Maschinenzustandssteuerung mittels nativer und portbasierter Schnittstellen.

2. Komponenten, Entitäten & Schnittstellen

Beteiligt sind die Cluster («aapFunctionalCluster», daemon-based) State Management (Client/Nutzer) und Execution Management (Provider/Realisation). Dazwischen stehen drei Komponenten:

  1. StateClient («aapAPI,aapNativeInterface»): Methoden + Create(function) (statisch), + GetExecutionError(), + GetInitialMachineStateTransitionResult(), + SetState(FunctionGroupState): Future. Genutzt von SM via «use».
  2. FunctionGroup («aapAPI,aapPortInterface»): Statische Methode + Create(). Eingebunden von SM über «use» und «aapRequiredPort».
  3. FunctionGroupState («aapAPI,aapNativeInterface»): Neu stereotypisiert als Native Interface («aapAPI,aapNativeInterface») mit statischer Methode + Create(). Genutzt von SM über «use».

Alle drei Entitäten werden von Execution Management realisiert.

3. Dynamisches Verhalten & Sequenzablauf

Instanzen von FunctionGroup, FunctionGroupState und StateClient werden deterministisch über ihre jeweiligen statischen Create()-Methoden instanziiert. State Management triggert Zustandswechsel über StateClient::SetState() unter Übergabe des konkreten FunctionGroupState-Objekts und verarbeitet das resultierende Future. Boot-Ergebnisse werden via GetInitialMachineStateTransitionResult() und Ausführungsfehler via GetExecutionError() ausgelesen.

4. Normative Relevanz & Entwickler-Hinweise

Normative Typkorrektur und Methodenergänzung: FunctionGroupState ist nun konsistent als Native Interface («aapAPI,aapNativeInterface») typisiert, passend zur C++-Klasse ara::exec::FunctionGroupState. Die Einführung statischer Create()-Methoden auf allen drei Entitäten standardisiert die exception-freie Objekterzeugung (ara::core::Result<T>). State Management benötigt für FunctionGroup einen Required Port.

Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Aus dem Dokument extrahierter Text & Kontext

Beschriftungen im Schaubild:

«aapFunctionalCluster» Execution Management daemon-based | «aapFunctionalCluster» | State Management daemon-based | «aapAPI,aapNativeInterface» | StateClient | + Create(function) + GetExecutionError() + GetInitialMachineStateTransitionResult() + SetState(FunctionGroupState): Future | «aapAPI,aapNativeInterface» | FunctionGroupState | + Create() | «aapAPI,aapPortInterface» | FunctionGroup | + Create() | «use» «use» «aapRequiredPort» | «use»

Begleitender Spezifikationstext:

Explanation of Adaptive Platform Software Architecture AUTOSAR AP R24-11 △ Description: This interface provides functionality for a Process to report its execution state to Execution Management. Create Named constructor for this interface. Operations: ReportExecutionState Report the internal state of a Process to Execution Management. 9.2.1.1.2 Interfaces for State Management The StateClient API (cf. Figure 9.4) provides operations to control FunctionGroupStates. «aapFunctionalCluster» Execution Management daemon-based «aapFunctionalCluster» State Management daemon-based «aapAPI,aapNativeInterface» StateClient + Create(function) + GetExecutionError() + GetInitialMachineStateTransitionResult() + SetState(FunctionGroupState): Future «aapAPI,aapNativeInterface» FunctionGroupState + Create() «aapAPI,aapPortInterface» FunctionGroup + Create() «use» «use» «aapRequiredPort» «use» Figure 9.4: Interfaces for State Management Name: StateClient Technology: Native interface Usage: Public API Description: This interface provides the functionality to request FunctionGroupState transitions and to perform error detection and error handling. Create Named constructor of this interface. It requires a callback to be invoked if a FunctionGroup changes its state unexpectedly to an undefined FunctionGroupState, i.e. without previous request by SetState(). The affected FunctionGroup is provided as an argument to the callback. GetExecutionError Returns the execution error which changed the given Fu

Vorkommen in AUTOSAR-Releases (1)

Release Dokument Seite Nr. Bildunterschrift im Dokument
R24-11 AUTOSAR_AP_EXP_SWArchitecture S. 49 9.4 Figure 9.4: Interfaces for State Management