function 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.
The pure virtual method ExecuteCapability from ara::diag::SovdOperationExecution serves to execute, freeze, or reset a specified SOVD operation according to [SWS_DM_02384] (SWS Diagnostics §8.62.5.2.1.1 “ExecuteCapability”). Because the function is defined as protected and pure virtual, it is typically likely to be overridden by application-specific subclasses and called by the diagnostic daemon. Question Q-66c5defcf6d00f57 (open)
The invocation is asynchronous and returns an ara::core::Future<OperationExecutionStatus> [SWS_DM_02384]. Upon invocation, the capability to be executed (capability), additional meta-information (meta_info), an cancellation_handler, and the payload (sovd_content_data) are passed. The data in sovd_content_data remains valid until the associated promise is fulfilled or processing is canceled via the cancellation_handler [SWS_DM_02384].
Clear specifications apply to concurrency and lifetime: The operation is specified as thread-safe and exception-safe (exception safe and noexcept, respectively). The passed object cancellation_handler informs about a cancellation of the ongoing request; it must under no circumstances be stored or referenced beyond the lifetime of this operation [SWS_DM_02384].
In case of success, the future returns the execution status OperationExecutionStatus. If processing fails, a suitable SOVD error code according to ISO 17978-3 or ASAM SOVD 1.1 must be returned via the future [SWS_DM_02384].
This usage note was generated automatically based on the AUTOSAR R25-11 specification.
Implementer's Guide to follow (complexity 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#38d7bf66- Content hash
38d7bf66- 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 · German original