DEENESPTFRRUARHIKOZHNL

구조체 ara::exec::ExecutionErrorEvent

[SWS_EM_02544] Upstream: RS_EM_00101, RS_AP_00116, RS_AP_00122, RS_AP_00124, RS_AP_00140, RS_AP_00154

struct ExecutionErrorEvent final {...};

Represents an execution error event which happens in a Function Group.

Header-Datei#include "ara/exec/execution_error_event.h"
Forwarding-Header#include "ara/exec/exec_fwd.h"
Scopenamespace ara::exec

사용자 가이드AI 생성

예기치 않게 종료된 프로세스에 대한 오류 정보를 관련 함수 그룹과 함께 묶습니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: eaa306c71170 출처 열린 질문 (3)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

예기치 않게 종료된 프로세스에 대한 오류 정보를 관련 함수 그룹과 함께 묶습니다.

데이터 구조 ara::exec::ExecutionErrorEvent은 함수 그룹 내의 프로세스가 예기치 않게 종료될 때 오류 이벤트를 캡슐화하는 역할을 합니다. 이를 위해 속성 executionError [SWS_EM_02545]을 통한 해당 프로세스의 특정 오류 코드와 사건이 발생한 관련 functionGroup [SWS_EM_02546]를 번들링합니다. 이 데이터 기반을 바탕으로 상위 오류 처리는 컨텍스트를 분석하고 각 함수 그룹에 적합한 재시작 또는 안전 조치를 시작할 수 있습니다. 순수 데이터 구조로서 이 유형은 자체 메서드를 제공하지 않으며 동시 접근 시 외부 동기화가 필요합니다.

컨텍스트

구조 ara::exec::ExecutionErrorEvent은 모듈 exec에서 함수 그룹 내에서 발생한 실행 오류를 표현하는 역할을 합니다. AUTOSAR Adaptive Platform에서 프로세스는 상태와 수명 주기를 정돈된 방식으로 제어할 수 있도록 함수 그룹으로 논리적으로 분할됩니다. 프로세스 실행 중 예기치 않은 종료로 이어지는 심각한 오류가 발생하면 이 상태는 구조화된 이벤트로 매핑됩니다. 데이터 구조는 발생한 오류 코드를 관련 함수 그룹과 연결하여 관련 세부 정보를 캡슐화합니다.

기본 상호작용 파트너에는 예기치 않은 중단으로 인해 구체적인 오류 값 executionError을 발생시키는 관련 프로세스 [SWS_EM_02545]와 오류가 발생한 컨텍스트의 관련 함수 그룹 functionGroup [SWS_EM_02546]가 포함됩니다. 또 다른 통신 파트너로는 전체 시스템의 상위 인스턴스가 동작합니다. 해석: 이 모니터링 인스턴스는 그룹 수준에서 조정된 반응을 시작하기 위해 이벤트를 수신하고 평가할 것으로 추정됩니다. 질문 (열림)

diag_kontext Prozess 예기치 않게 종료된 프로세스 ExecutionErrorEvent ara::exec::ExecutionErrorEvent Prozess->ExecutionErrorEvent executionError 제공 Funktionsgruppe Funktionsgruppe Funktionsgruppe->ExecutionErrorEvent definiert functionGroup Fehlerueberwachung 오류 모니터링 ExecutionErrorEvent->Fehlerueberwachung meldet Fehler an

컨텍스트 다이어그램: 실행 오류 발생 시 관련 구성요소 간의 상호작용. 출처: [SWS_EM_02545], [SWS_EM_02546]

수명 주기

struct ExecutionErrorEvent final으로의 정의는 이 유형을 상속 관계가 없는 최종 비다형성 데이터 구조로 식별합니다. 순수 데이터 및 값 객체로서 이 구조에는 내부 상태 머신과 독자적인 수명 주기 단계가 없습니다. 인스턴스는 프로세스가 예기치 않게 종료되고 이 사건이 감지될 때 정확히 이벤트 기반으로 생성됩니다. 생성 시 두 개의 공개 멤버 변수가 초기화됩니다. 필드 executionError은 프로세스의 시스템별 오류 값 [SWS_EM_02545]으로 초기화되고 필드 functionGroup은 관련 함수 그룹의 인스턴스 [SWS_EM_02546]로 초기화됩니다.

소유권 관계와 관련하여 구조는 일반적으로 로컬 값 객체로 생성되며 값 복사를 통해 직접 전달되거나 상수 참조를 통해 처리 및 알림 루틴으로 전달됩니다. 객체 자체에 대한 동적 메모리 할당은 일반적으로 필요하지 않습니다. 소멸은 각 처리 루틴의 유효 범위를 벗어날 때 결정론적으로 발생합니다. 동시성과 관련하여 구조는 자체 접근 동기화를 구현하지 않습니다. 해석: ExecutionErrorEvent의 인스턴스가 스레드 경계를 넘어 전달되는 경우 호출자는 동시 읽기 및 쓰기 접근을 외부에서 동기화해야 합니다. 질문 Q-839283a2c3c3e269 (열림)

사용 경로

일반적인 사용 경로는 오류 이벤트의 감지, 전달 및 평가를 포함합니다:

  • 이벤트 생성: 활성 함수 그룹 내에서 모니터링되는 프로세스가 예기치 않게 중단됩니다. 그러면 시스템은 ExecutionErrorEvent 유형의 객체를 인스턴스화합니다.
  • 매개변수 할당: 사건의 컨텍스트 데이터로 속성이 채워집니다. 특정 오류 값은 필드 executionError에 저장되는 반면 [SWS_EM_02545], functionGroup는 실행 함수 그룹에 대한 매핑을 담당합니다 [SWS_EM_02546].
  • 처리 루틴으로 전달: 초기화된 이벤트는 담당 오류 모니터링 또는 재시작 관리로 전달됩니다.
  • 평가 및 반응: 수신 인스턴스는 하위 시스템을 현지화하기 위해 functionGroup [SWS_EM_02546]을 분석하고 executionError [SWS_EM_02545]를 읽습니다. 해석: 이 정보를 바탕으로 모니터링 인스턴스는 프로세스 재시작 또는 함수 그룹의 상태 변경을 결정할 것으로 추정됩니다. 질문 (열림)

오류 시나리오

구조 ExecutionErrorEvent 자체는 오류 코드, 반환값 또는 예외를 정의하지 않습니다. 프로세스 수준에서 발생한 오류 상태에 대한 정보 전달자 역할만 수행합니다. 따라서 기본 오류 시나리오는 프로세스의 예기치 않은 종료이며, 그 원인은 필드 executionError에 매핑됩니다 [SWS_EM_02545].

올바른 처리를 위한 선행 조건으로 두 멤버 변수가 일관되게 채워져 있어야 합니다. 유효한 프로세스 오류 [SWS_EM_02545]이 없거나 기존 함수 그룹 [SWS_EM_02546]에 할당되지 않은 이벤트는 표적화된 오류 처리를 방해합니다. 이벤트 평가의 후행 조건으로 관련 함수 그룹 [SWS_EM_02546]는 다시 정의된 안전한 상태로 전환되어야 합니다.

이 가이드는 AUTOSAR 규격 Adaptive Platform R25-11을 기반으로 합니다. AI 큐레이션 어시스턴트에 의해 준비되었습니다.

UML 클래스 다이어그램

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__exec__ExecutionErrorEvent906 «struct» ExecutionErrorEvent + executionError + functionGroup

상수

The execution error of the Process which unexpectedly terminated .

ExecutionError executionError;

The function group in which the error occurred .

FunctionGroup functionGroup;

상수 / 변수 문서

변수 executionError [SWS_EM_02545] Upstream: RS_EM_00101, RS_AP_00124

ExecutionError executionError;

The execution error of the Process which unexpectedly terminated .

Header-Datei#include "ara/exec/execution_error_event.h"
Scopestruct ara::exec::ExecutionErrorEvent
SymbolexecutionError
TypExecutionError

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_EM_02545
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02545@rel:R25-11#158f4b13
Content hash
158f4b13
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02545
Status: valid/unmigrated Version: rel:R25-11#643ebf55 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_EM_02545@rel:R25-11#643ebf55
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#d89434332026-09-30
  • R20-11rel:R20-11#03f6c5dd2026-10-14
  • R21-11rel:R21-11#f4acfac22026-10-14
  • R22-11rel:R22-11#579adbee2026-10-14
  • R23-11rel:R23-11#643ebf552026-10-14
  • R24-11rel:R24-11#643ebf552026-10-14
  • R25-11rel:R25-11#643ebf552026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

변수 functionGroup [SWS_EM_02546] Upstream: RS_EM_00101, RS_AP_00124

FunctionGroup functionGroup;

The function group in which the error occurred .

Header-Datei#include "ara/exec/execution_error_event.h"
Scopestruct ara::exec::ExecutionErrorEvent
SymbolfunctionGroup
TypFunctionGroup

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_EM_02546
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02546@rel:R25-11#0f36394d
Content hash
0f36394d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02546
Status: valid/unmigrated Version: rel:R25-11#f89b2827 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_EM_02546@rel:R25-11#f89b2827
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#1c8f49b42026-09-30
  • R20-11rel:R20-11#edb1ca8a2026-10-14
  • R21-11rel:R21-11#47507b502026-10-14
  • R22-11rel:R22-11#d8d390912026-10-14
  • R23-11rel:R23-11#6eaca9c42026-10-14
  • R24-11rel:R24-11#f89b28272026-10-14
  • R25-11rel:R25-11#f89b28272026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill