함수 ExecuteCapability [SWS_DM_02384] Upstream: RS_Diag_04262
virtual ara::core::Future< OperationExecutionStatus > Execute Capability (OperationExecutionCapability capability, DiagnosticSovd ContentData const &sovd_content_data, ara::diag::MetaInfo const &meta_ info, ara::diag::CancellationHandler cancellation_handler) noexcept=0;
Called for " Support for execute / freeze / reset" for the specified SOVD Operation.
ara::diag::SovdOperationExecution의 순수 가상 메서드 ExecuteCapability은(는) [SWS_DM_02384]에 따라 지정된 SOVD 연산을 실행, 고정 또는 재설정하는 데 사용됩니다(SWS Diagnostics §8.62.5.2.1.1 “ExecuteCapability”). 이 함수는 protected 및 순수 가상으로 정의되어 있으므로 일반적으로 애플리케이션별 하위 클래스에 의해 재정의되고 진단 데몬에 의해 호출될 것으로 추정됩니다. 질문 Q-66c5defcf6d00f57 (열림)
호출은 비동기식으로 수행되며 ara::core::Future<OperationExecutionStatus>을(를) 반환합니다[SWS_DM_02384]. 호출 시 실행할 기능(capability), 추가 메타 정보(meta_info), cancellation_handler 및 페이로드(sovd_content_data)가 전달됩니다. sovd_content_data의 데이터는 연결된 Promise가 충족되거나 cancellation_handler을(를) 통해 처리가 중단될 때까지 유효하게 유지됩니다[SWS_DM_02384].
동시성 및 수명에 대해 명확한 사양이 적용됩니다. 연산은 스레드 안전 및 예외 안전(exception safe 또는 noexcept)(으)로 지정되어 있습니다. 전달된 cancellation_handler 객체는 진행 중인 요청의 중단을 알립니다. 이는 어떠한 경우에도 이 연산의 수명을 초과하여 저장되거나 참조되어서는 안 됩니다[SWS_DM_02384].
성공 시 Future는 실행 상태 OperationExecutionStatus을(를) 반환합니다. 처리에 실패하면 Future를 통해 ISO 17978-3 또는 ASAM SOVD 1.1에 따른 적절한 SOVD 오류 코드를 반환해야 합니다[SWS_DM_02384].
이 사용 지침은 AUTOSAR R25-11 사양을 바탕으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/diag/generic_diagnostic_sovd_operation.h" |
|---|---|
| Scope | class ara::diag::SovdOperationExecution |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
| Sichtbarkeit | protected |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| capability | The SOVD operation execution capability |
| sovd_content_data | The SOVD content data. Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler |
| meta_info | contains additional meta information |
| cancellation_handler | Informs if the current request is cancelled. This object shall not be stored or accessed beyond the lifetime of this operation. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Future<OperationExecutionStatus > | A future with either execution status (for a positive response message) or a SOVD Error (for an negative response message) |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| Please use an applicable SOVD error code, as defined in ISO 17978-3 / ASAM SOVD 1.1. | |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_02384- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_02384@rel:R25-11#0f35b05e- Content hash
0f35b05e- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02384
Status: valid/unmigrated
Version: rel:R25-11#38d7bf66
Versionshistorie & Revisions (1 transition)
- 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_DM_02384@rel:R25-11#38d7bf66
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문