DEENESPTFRRUARHIKOZHNL

네임스페이스 ara::exec

사용자 가이드AI 생성

프로세스 수명 주기를 제어하고, 실행 상태를 모니터링하며, 함수 그룹의 상태 전환을 조정합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 03a628bdc05e 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

프로세스 수명 주기를 제어하고, 실행 상태를 모니터링하며, 함수 그룹의 상태 전환을 조정합니다.

이 네임스페이스는 AUTOSAR Adaptive Platform에서 프로세스 관리 및 함수 그룹 제어를 위한 인터페이스를 제공합니다. 프로세스는 클라이언트를 사용하여 성공적으로 초기화된 후 자신의 실행 상태 kRunning을 Execution Management에 보고합니다 [SWS_EM_02000]. State Management는 인터페이스를 통해 함수 그룹의 전환을 요청하는 반면, 허용되지 않는 상태 변경 또는 통신 오류는 표준화된 오류 코드를 통해 기록됩니다 [SWS_EM_02281]. 전환 순서의 엄격한 준수가 반드시 요구됩니다.

컨텍스트

네임스페이스 ara::exec은 AUTOSAR Adaptive Platform에서 Execution Management의 인터페이스를 제공합니다. 이 모듈은 프로세스의 시작, 제어 및 모니터링뿐만 아니라 상위 시스템 및 함수 그룹 상태의 조정을 담당합니다. 주요 주체로는 애플리케이션 프로세스, State Management, 그리고 Execution Management 자체가 있습니다. 프로세스는 클래스 ExecutionClient을 사용하여 자신의 내부 런타임 상태를 Execution Management에 보고합니다. State Management는 인터페이스 StateClient를 사용하여 함수 그룹(FunctionGroup 및 FunctionGroupState) 간의 상태 변경을 요청합니다. 함수 그룹 수준의 오류 이벤트에는 ExecutionErrorEvent을 통해 전달될 수 있는 타입 앨리어스 ExecutionError가 사용됩니다 [SWS_EM_02541].

수명 주기

프로세스의 실행 수명 주기는 Execution Management에 의해 제어됩니다 [SWS_EM_02000]. 스케줄링 후 새로 시작된 프로세스는 초기에 애플리케이션 프로그램 코드가 아직 실행되지 않은 암시적 상태 Initializing에 있습니다. Execution Management는 프로세스가 자신의 ExecutionClient을(를) 통해 상태 ExecutionState::kRunning을(를) 능동적으로 보고할 때까지 이 초기화 상태가 지속된다고 가정합니다 [SWS_EM_02000]. 열거형 ExecutionState은(는) 프로세스에서 Execution Management로 보고될 수 있는 상태로만 엄격하게 제한되므로 오직 상태 kRunning만을 포함합니다 [SWS_EM_02000]. Execution Management가 종료를 요청하면 프로세스는 Terminating 단계로 전환되며, 이는 프로세스의 최종 종료와 함께 완료됩니다 [SWS_EM_02000].

prozess_lebenszyklus Initializing Initializing Running Running Initializing->Running Meldung kRunning Terminating Terminating Running->Terminating Terminierungsanforderung Terminiert Terminiert Terminating->Terminiert 프로세스 종료됨

상태 다이어그램: 암시적 상태 및 kRunning 보고를 포함하는 Execution Management 관점에서의 프로세스 수명 주기. 출처: [SWS_EM_02000]

사용 경로

일반적인 사용 흐름은 다음과 같은 단계로 나뉩니다:

  • 시스템 시작 후 프로세스는 Execution Management에 의해 생성되고 내부 초기화를 수행합니다 [SWS_EM_02000].
  • 초기화가 성공적으로 완료되는 즉시, 프로세스는 ExecutionClient의 인스턴스를 통해 상태 ExecutionState::kRunning을(를) Execution Management에 보고합니다 [SWS_EM_02000].
  • Execution Management는 이 전환을 승인합니다. 그러나 프로세스가 이미 실행 중인 상태일 때 kRunning이(가) 보고되면, 이는 허용되지 않는 전환 ExecErrc::kInvalidTransition(으)로 거부됩니다 [SWS_EM_02281].
  • 추가 작동 중에 State Management는 필요에 따라 StateClient을(를) 통해 함수 그룹에 대해 조정된 상태 전환을 요청합니다.
Execution Management에 대한 프로세스의 상태 보고프로세스ExecutionClientExecution ManagementUse Case: 시작 및 상태 보고Prozessinitialisierung abgeschlossenZustandsmeldung kRunningMeldung an Execution Managementalt성공적인 전환상태 변경 적용됨Erfolg (void)Fehlerfall (z. B. kInvalidTransition)Fehler aufgetretenExecErrc::kInvalidTransition 반환

시퀀스 다이어그램: ExecutionClient를 통한 상태 보고 및 잘못된 전환 처리 시의 호출 순서. 출처: [SWS_EM_02000], [SWS_EM_02281]

오류 시나리오

오류 상황은 네임스페이스 ara::exec에서 열거형 타입 ExecErrc 및 오류 도메인 ExecErrorDomain을(를) 통해 매핑됩니다 [SWS_EM_02281]. 글로벌 도메인 객체에 대한 참조는 스레드 및 예외 안전성을 갖춘 함수 GetExecErrorDomain()에서 제공합니다 [SWS_EM_02290]. ara::core::ErrorCode 타입의 구체적인 오류 객체는 오류 코드 및 제조사별 컨텍스트 데이터를 전달하여 헬퍼 함수 MakeErrorCode()을(를) 통해 생성됩니다 [SWS_EM_02291]. 또한 예외 처리를 위해 클래스 ExecException도 제공됩니다.

지정된 오류 원인에는 다음이 포함됩니다 [SWS_EM_02281]:

  • ExecErrc::kNoCommunication: 클라이언트와 Execution Management 간 또는 State Management와 Execution Management 간의 통신 오류를 알립니다. 시스템 수준에서 이러한 상태는 복구 불가능한 상태로의 진입을 요구할 것으로 보입니다 [SWS_EM_02281]. 질문 Q-ad08207b6a16c6f9 (열림)
  • ExecErrc::kInvalidTransition: 잘못된 전환입니다. 예를 들어 프로세스가 kRunning을(를) 반복적으로 보고하는 경우입니다 [SWS_EM_02281].
  • ExecErrc::kOperationFailed: 연산이 실패했습니다. 예를 들어 kRunning이(가) 제때 보고되지 않아 함수 그룹 전환을 완료할 수 없는 경우입니다 [SWS_EM_02281].
  • ExecErrc::kOperationCanceled: 더 새로운 요청으로 인해 함수 그룹의 상태 변경이 중단되었습니다 [SWS_EM_02281].
  • ExecErrc::kIntegrityOrAuthenticityCheckFailed: 시작할 프로세스의 무결성 또는 진위성 검사에 실패했습니다 [SWS_EM_02281].
  • ExecErrc::kUnexpectedTermination: 전환 중 비정상적인 중단이 발생했습니다 [SWS_EM_02281].
  • ExecErrc::kInvalidMetaModelIdentifier 및 ExecErrc::kInvalidArgument: 허용되지 않는 메타모델 식별자 또는 유효하지 않은 매개변수 값입니다 [SWS_EM_02281].

이 가이드는 Execution Management(ara::exec) 모듈에 대한 AUTOSAR Adaptive R25-11 사양을 기반으로 합니다.

주제 맵

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

클래스 다이어그램

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::exec nara__exec__ExecErrorDomain ExecErrorDomain next_ara__core__ErrorDomain ara::core::ErrorDomain nara__exec__ExecErrorDomain->next_ara__core__ErrorDomain nara__exec__ExecException ExecException next_ara__core__Exception ara::core::Exception nara__exec__ExecException->next_ara__core__Exception nara__exec__ExecutionClient ExecutionClient nara__exec__ExecutionErrorEvent «struct» ExecutionErrorEvent nara__exec__FunctionGroup FunctionGroup nara__exec__FunctionGroupState FunctionGroupState nara__exec__StateClient StateClient

상세 보기

개요에서 항목을 선택하세요.

Fehlerbehandlung

ExecErrorDomain 클래스

Defines a class representing the Execution Management error domain.

상속 대상 ara::core::ErrorDomain

ExecException 클래스

Defines a class for exceptions to be thrown by the Execution Management.

상속 대상 ara::core::Exception

Returns a reference to the global ExecErrorDomain object.

const ara::core::ErrorDomain & GetExecErrorDomain () noexcept;

Creates an instance of ErrorCode.

ExecErrc 열거형

Defines an enumeration class for the Execution Management error codes.

enum class ExecErrc : ara::core::ErrorDomain::CodeType {...};

Ausführungsfehler

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

ExecutionError 타입 별칭

Represents the execution error.

using ExecutionError = std::uint32_t;

Funktionsgruppen

FunctionGroup 클래스

Class representing Function Group defined in meta-model (ARXML)

Class representing Function Group State defined in meta-model (ARXML)

StateClient 클래스

ara::exec::StateClient is an interface of Execution Management that is used by State Management to request transitions between Function Grou

Prozesszustand

ExecutionClient 클래스

The ara::exec::ExecutionClient API provides the functionality for a Process to report its Execution State to the Execution Management.

ExecutionState 열거형

Defines the internal states of a Process. Scoped enumeration of uint32_t. Please note that ara::exec::ExecutionState includes only states reportable by the Process to Execution Management and therefore does not include enumerations e.g. the "Initializing" state mentioned in Figure 7.2 and Figure 7.12, which are an implied states for Execution Management. The Initializing state starts when Process is first scheduled (so no code executed yet) and ends when kRunning is reported ([SWS_EM_01004]). The Terminating state starts when termination is requested by Execution Management and ends when the Process terminates ([SWS_EM_01404]). For the reasons mentioned, Execution Management assumes that Process is in initializing state until kRunning will be reported by it.

enum class ExecutionState : std::uint32_t {...};

열거형

열거형 ExecErrc [SWS_EM_02281] Upstream: RS_AP_00130, RS_AP_00122, RS_AP_00127, RS_AP_00154, RS_AP_00125, RS_AP_00142, RS_AP_00129, RS_AP_00149

enum class ExecErrc :            ara::core::ErrorDomain::CodeType {...};

Defines an enumeration class for the Execution Management error codes.

Header-Datei#include "ara/exec/exec_error_domain.h"
Forwarding-Header#include "ara/exec/exec_fwd.h"
Scopenamespace ara::exec
SymbolExecErrc
Basistypara::core::ErrorDomain::CodeType

Werte

EnumeratorBeschreibung
kNoCommunication=3 Communication error occurred, e.g. request cannot be send or result cannot be retrieved
kInvalidMetaModelIdentifier=4 Wrong meta model identifier passed to a function
kOperationCanceled=5 Transition to the requested Function Group state was canceled by a newer request
kOperationFailed=6 Requested operation could not be performed, e.g. Function Group state transition cannot be finished because kRunning was not reported on time
kInvalidTransition=9 Invalid transition (e.g. Process attempted to report kRunning, when it was already in a Running Process State)
kIntegrityOrAuthenticityCheckFailed= 14 Integrity or authenticity check for a Process to be spawned in the requested Function Group state failed
kUnexpectedTermination= 15 Abnormal Termination during a Function Group State transition occurred
kInvalidArgument= 16 Passed argument doesn’t appear to be valid.
Hinweise: If a kNoCommunication occurs at Execution Management or State Management level (or communication between both), the system may need to enter an Unrecoverable State. The internal mechanisms can detect this issue in the moment that a communication attempt occurs. This is not the case for applications that are using the interface of the ara::exec:: ExecutionClient or ara::exec::StateClient - they eventually get a communication error in the moment of the API use, i.e. possibly after the actual error occurrence. However, this is not problematic as the recovery options are limited from a client side viewpoint.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: d5c66509eff5 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

열거형 ExecErrc [SWS_EM_02281]은(는) 기본 타입 ara::core::ErrorDomain::CodeType을(를) 기반으로 네임스페이스 ara::exec에서 Execution Management를 위한 오류 코드를 정의합니다. ara::core::ErrorCode에서 캡슐화를 위해 MakeErrorCode [SWS_EM_02291]과(와) 함께 사용되며, ara::core::Result을(를) 통해 동기식으로 또는 ara::core::Future을(를) 통해 비동기식으로 호출자에게 전달됩니다.

열거자는 다양한 오류 상태를 다룹니다 [SWS_EM_02281]:

  • kNoCommunication은(는) 요청 전송 또는 결과 검색 시 통신 오류를 나타냅니다 [SWS_EM_02281]. Execution Management와 State Management 사이에서 이러한 오류가 발생하면 시스템이 복구 불가능한 상태(Unrecoverable State)로 전환될 수 있습니다 [SWS_EM_02281]. ExecutionClient 또는 StateClient과(와) 같은 클라이언트는 다음 메서드 호출 시에야 이를 감지하며, 클라이언트 측 복구 옵션은 제한적입니다 [SWS_EM_02281].
  • kOperationCanceled 및 kOperationFailed은(는) SetState [SWS_EM_02278] 또는 머신 시작 전환이 중단될 때와 같이 함수 그룹의 상태 변경 시 발생합니다 [SWS_EM_02281] [SWS_EM_02279].
  • kInvalidTransition은(는) 유효하지 않은 프로세스 전환을 신호로 알리며, 예를 들어 프로세스가 kRunning을(를) 반복해서 보고하는 경우로서 ReportExecutionState [SWS_EM_02003] 시 관련이 있습니다 [SWS_EM_02281].
  • kIntegrityOrAuthenticityCheckFailed, kUnexpectedTermination, kInvalidMetaModelIdentifier 및 kInvalidArgument은(는) 무결성 검사 오류, 함수 그룹 상태 변경 시 비정상적인 프로세스 중단 또는 유효하지 않은 함수 매개변수를 처리합니다 [SWS_EM_02281].

호출자는 이러한 오류 코드를 평가하여 상태 전환이 성공적으로 완료되었는지, 후속 요청에 의해 선점되었는지, 구성 오류로 인해 차단되었는지를 확인합니다 [SWS_EM_02281].

이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Record
AUTOSAR/AP/record/SWS_EM_02281
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02281@rel:R25-11#bc39fe3c
Content hash
bc39fe3c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02281
Status: valid/unmigrated Version: rel:R25-11#402d3486 Versionshistorie & Revisions (1 transition, 8 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_02281@rel:R25-11#402d3486
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#24bf4c2a2026-09-30
  • R19-11rel:R19-11#e465fc4b2026-10-14
  • R20-11rel:R20-11#e55946a82026-10-14
  • R21-11rel:R21-11#dfccc8ea2026-10-14
  • R22-11rel:R22-11#b421a5762026-10-14
  • R23-11rel:R23-11#11de95902026-10-14
  • R24-11rel:R24-11#f58eddc22026-10-14
  • R25-11rel:R25-11#402d34862026-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

열거형 ExecutionState [SWS_EM_02000] Upstream: RS_EM_00103, RS_AP_00125, RS_AP_00143, RS_AP_00129

enum class ExecutionState :              std::uint32_t {...};

Defines the internal states of a Process. Scoped enumeration of uint32_t. Please note that ara::exec::ExecutionState includes only states reportable by the Process to Execution Management and therefore does not include enumerations e.g. the "Initializing" state mentioned in Figure 7.2 and Figure 7.12, which are an implied states for Execution Management. The Initializing state starts when Process is first scheduled (so no code executed yet) and ends when kRunning is reported ([SWS_EM_01004]). The Terminating state starts when termination is requested by Execution Management and ends when the Process terminates ([SWS_EM_01404]). For the reasons mentioned, Execution Management assumes that Process is in initializing state until kRunning will be reported by it.

Header-Datei#include "ara/exec/execution_client.h"
Forwarding-Header#include "ara/exec/exec_fwd.h"
Scopenamespace ara::exec
SymbolExecutionState
Basistypstd::uint32_t

Werte

EnumeratorBeschreibung
kRunning=0 After a Process has been started by Execution Management, it reports ExecutionState kRunning.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 92ab45854562 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

타입화된 열거형 ara::exec::ExecutionState [SWS_EM_02000]은(는) 프로세스가 Execution Management에 능동적으로 보고할 수 있는 내부 상태를 정의합니다. 이는 기본 타입 std::uint32_t을(를) 기반으로 하며, 네임스페이스 ara::exec에서 헤더 파일 ara/exec/execution_client.h 또는 전달 헤더 ara/exec/exec_fwd.h을(를) 통해 제공됩니다.

사양은 프로세스에 대해 보고 가능한 열거자를 정의합니다:

  • kRunning = 0: 이 상태는 프로세스가 Execution Management에 의해 시작된 후 해당 프로세스에 의해 보고됩니다 [SWS_EM_02000].

열거형에는 능동적으로 보고할 수 있는 상태만 포함됩니다. 따라서 Initializing 또는 Terminating과(와) 같은 Execution Management의 암시적 상태는 포함되지 않습니다 [SWS_EM_02000]. 초기화 단계는 프로세스의 첫 스케줄링과 함께 시작되어 kRunning 보고로 끝납니다 [SWS_EM_01004]. 이 보고가 있을 때까지 Execution Management는 프로세스가 초기화 중이라고 간주합니다. 종료 단계는 종료 요청과 함께 시작되어 프로세스 중지 시 끝납니다 [SWS_EM_01404].

상태 보고는 인터페이스 ara::exec::ExecutionClient::ReportExecutionState [SWS_EM_02003]을(를) 통해 수행됩니다. 이 메서드는 현재 ExecutionState을(를) 매개변수로 전달받으며, noexcept(으)로 선언되어 있고 스레드 안전하면서도 예외 안전합니다. 성공을 확인하거나 오류 발생 시 오류 코드를 캡슐화하는 ara::core::Result<void>을(를) 반환합니다 [SWS_EM_02003].

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Record
AUTOSAR/AP/record/SWS_EM_02000
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02000@rel:R25-11#d387d103
Content hash
d387d103
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02000
Status: valid/unmigrated Version: rel:R25-11#c62757d2 Versionshistorie & Revisions (1 transition, 8 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_02000@rel:R25-11#c62757d2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a8ba80b52026-09-30
  • R19-11rel:R19-11#88b56faf2026-10-14
  • R20-11rel:R20-11#8e0737ad2026-10-14
  • R21-11rel:R21-11#658c6ef72026-10-14
  • R22-11rel:R22-11#658c6ef72026-10-14
  • R23-11rel:R23-11#81d91b0f2026-10-14
  • R24-11rel:R24-11#2e1e59b22026-10-14
  • R25-11rel:R25-11#c62757d22026-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

타입 별칭

타입 별칭 ExecutionError [SWS_EM_02541] Upstream: RS_EM_00101, RS_AP_00122, RS_AP_00154

using ExecutionError = std::uint32_t;

Represents the execution error.

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

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

Record
AUTOSAR/AP/record/SWS_EM_02541
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02541@rel:R25-11#e44613c7
Content hash
e44613c7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02541
Status: valid/unmigrated Version: rel:R25-11#ec889983 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_02541@rel:R25-11#ec889983
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7aa66e052026-09-30
  • R20-11rel:R20-11#15d29ee52026-10-14
  • R21-11rel:R21-11#15d29ee52026-10-14
  • R22-11rel:R22-11#269b4a962026-10-14
  • R23-11rel:R23-11#ec8899832026-10-14
  • R24-11rel:R24-11#506e98662026-10-14
  • R25-11rel:R25-11#ec8899832026-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

자유 함수 문서

함수 GetExecErrorDomain [SWS_EM_02290] Upstream: RS_AP_00120, RS_AP_00130, RS_AP_00154, RS_AP_00159

const ara::core::ErrorDomain & GetExecErrorDomain () noexcept;

Returns a reference to the global ExecErrorDomain object.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 1181df7c532c 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

네임스페이스 ara::exec의 함수 GetExecErrorDomain은(는) 헤더 파일 ara/exec/exec_error_domain.h을(를) 통해 포함됩니다 [SWS_EM_02290]. 매개변수를 받지 않으며 전역 ExecErrorDomain 객체에 대한 const ara::core::ErrorDomain & 타입의 상수 참조를 동기식으로 반환합니다 [SWS_EM_02290]. 이 함수는 일반적으로 Execution Management 컨텍스트에서 오류 처리 시 오류 도메인을 식별하거나 ara::core::ErrorCode 인스턴스와 비교하는 데 사용됩니다.

오류 처리 및 예외 안전성

이 함수는 지정자 noexcept(으)로 선언되어 있으며 exception safe로 정의되어 있습니다 [SWS_EM_02290]. 기존 객체 참조만을 반환하므로 예외를 발생시키지 않고 오류 코드를 보고하지 않으며 호출 시 오류 검사가 필요하지 않습니다 [SWS_EM_02290].

동시성 및 상호 작용

사양에 따르면 이 함수는 thread-safe로 명시되어 있습니다 [SWS_EM_02290]. 외부 동기화 없이 임의의 스레드에서 동시에 호출할 수 있습니다. 이 함수는 요구사항 [RS_AP_00120], [RS_AP_00130], [RS_AP_00154] 및 [RS_AP_00159]과(와) 관련이 있습니다. 반환된 전역 싱글톤 객체는 전체 애플리케이션 수명 동안 변경되지 않고 유효하게 유지될 것으로 추정됩니다. 질문 Q-060bbe6d5156346c (열림)

이 텍스트는 사양을 기반으로 AI 시스템에 의해 생성되었습니다.

Header-Datei#include "ara/exec/exec_error_domain.h"
Scopenamespace ara::exec
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const ara::core::ErrorDomain &Return a reference to the global ExecErrorDomain object.

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

Record
AUTOSAR/AP/record/SWS_EM_02290
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02290@rel:R25-11#0423591f
Content hash
0423591f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02290
Status: valid/unmigrated Version: rel:R25-11#b2fe447e Versionshistorie & Revisions (1 transition, 8 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_02290@rel:R25-11#b2fe447e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#fea7e7fe2026-09-30
  • R19-11rel:R19-11#33d8bf8c2026-10-14
  • R20-11rel:R20-11#202753092026-10-14
  • R21-11rel:R21-11#202753092026-10-14
  • R22-11rel:R22-11#27b9334a2026-10-14
  • R23-11rel:R23-11#27d8586b2026-10-14
  • R24-11rel:R24-11#9c6228c12026-10-14
  • R25-11rel:R25-11#b2fe447e2026-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

함수 MakeErrorCode [SWS_EM_02291] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00130, RS_AP_00154, RS_AP_00159

ara::core::ErrorCode MakeErrorCode (ara::exec::ExecErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Creates an instance of ErrorCode.

Header-Datei#include "ara/exec/exec_error_domain.h"
Scopenamespace ara::exec
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
codeError code number.
dataVendor defined data associated with the error.

Rückgabewert

TypBeschreibung
ara::core::ErrorCodeAn ErrorCode object.

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

Record
AUTOSAR/AP/record/SWS_EM_02291
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_EM_02291@rel:R25-11#ffdddeb6
Content hash
ffdddeb6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_ExecutionManagement.pdf#nameddest=SWS_EM_02291
Status: valid/unmigrated Version: rel:R25-11#0c8635c0 Versionshistorie & Revisions (1 transition, 8 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_02291@rel:R25-11#0c8635c0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#edcfc5232026-09-30
  • R19-11rel:R19-11#14c66c032026-10-14
  • R20-11rel:R20-11#2da017f22026-10-14
  • R21-11rel:R21-11#2da017f22026-10-14
  • R22-11rel:R22-11#65c1e3672026-10-14
  • R23-11rel:R23-11#71cba68d2026-10-14
  • R24-11rel:R24-11#0f447dbc2026-10-14
  • R25-11rel:R25-11#0c8635c02026-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