DEENESPTFRRUARHIKOZHNL
AUTOSAR_AP_EXP_SWArchitecture FIG-1117427dd6b41fb9 480 × 340 px 1 Release(s)

Figure 9.4: Interfaces for State Management

SHA-256 Inhalts-Fingerabdruck: 1117427dd6b41fb98f3f9ec108cf48b672a8af13b8189810f5507afcea9aa486
✦ 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 Interaktionsarchitektur zwischen State Management und Execution Management in der AUTOSAR Adaptive Platform (Release R23-11). Es stellt die verfeinerte Native- und Port-Interface-Struktur zur Verwaltung von Funktionsgruppenzuständen dar.

2. Komponenten, Entitäten & Schnittstellen

Enthält die funktionalen Cluster («aapFunctionalCluster», daemon-based) State Management und Execution Management. Gegenüber früheren Fassungen ist FunctionGroup entfallen; vorhanden sind:

  1. StateClient («aapAPI,aapNativeInterface»): Realisiert von Execution Management, genutzt von State Management («use»). Enthält + Create(function) (statische Fabrikmethode, unterstrichen), + GetExecutionError(), + GetInitialMachineStateTransitionResult() und + SetState(FunctionGroupState): Future.
  2. FunctionGroupState («aapAPI,aapPortInterface»): Realisiert von Execution Management, von State Management als «aapRequiredPort» über «use» referenziert.

3. Dynamisches Verhalten & Sequenzablauf

Die Erzeugung des StateClient erfolgt über die statische Fabrikmethode Create(function). State Management fragt Transitionsstatus über GetInitialMachineStateTransitionResult() ab und stößt Zustandswechsel an Funktionsgruppen via SetState(FunctionGroupState) an. Der Aufruf liefert ein Future zur asynchronen Statuskontrolle. Fehlerdetails werden bei Bedarf über GetExecutionError() bezogen.

4. Normative Relevanz & Entwickler-Hinweise

Normative Umstellung von Konstruktoren auf die statische Factory-Methode Create() gemäß dem AUTOSAR C++-Pattern ohne Exceptions (Rückgabe von ara::core::Result). Der Wegfall von FunctionGroup im Diagramm strafft die Schnittstelle auf die funktionale State-Repräsentation FunctionGroupState. State Management fungiert für FunctionGroupState nun normativ als Required-Port-Nutzer.

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,aapPortInterface» | FunctionGroupState | «use» «use» «aapRequiredPort»

Begleitender Spezifikationstext:

Explanation of Adaptive Platform Software Architecture AUTOSAR AP R23-11 9.2.1.1.1 Interfaces for state reporting All processes started by Execution Management (i.e. all processes of the AUTOSAR Adaptive Platform and all processes of Adaptive Applications) shall report their execution state back to Execution Management via the ExecutionClient interface (cf. Figure 9.3). «aapFunctionalCluster» Execution Management daemon-based «aapAPI,aapNativeInterface» ExecutionClient + Create() + ReportExecutionState(ExecutionState): Result Adaptive Application «use» Figure 9.3: Interfaces for state reporting Name: ExecutionClient Technology: Native interface Usage: Public API 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,aapPortInterface» FunctionGroupState «use» «use» «aapRequiredPort» Figure 9.4: Interfaces for State Management 41 of 198 Document ID 982: AUTOSAR_AP_EX

Vorkommen in AUTOSAR-Releases (1)

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