functie 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.
De zuiver virtuele methode ExecuteCapability uit ara::diag::SovdOperationExecution dient voor de uitvoering, het bevriezen of het resetten van een gespecificeerde SOVD-bewerking conform [SWS_DM_02384] (SWS Diagnostics §8.62.5.2.1.1 “ExecuteCapability”). Aangezien de functie als protected en zuiver virtueel is gedefinieerd, zal zij typisch door applicatiespecifieke subklassen worden overschreven en door de diagnose-daemon worden aangeroepen. Vraag Q-66c5defcf6d00f57 (open)
De aanroep vindt asynchroon plaats en levert een ara::core::Future<OperationExecutionStatus> terug [SWS_DM_02384]. Bij de aanroep worden de uit te voeren capability (capability), aanvullende meta-informatie (meta_info), een cancellation_handler en de payload (sovd_content_data) meegegeven. De gegevens in sovd_content_data blijven geldig totdat de bijbehorende promise is vervuld of de verwerking via de cancellation_handler is geannuleerd [SWS_DM_02384].
Voor concurrency en levensduur gelden duidelijke richtlijnen: De bewerking is als thread-safe en uitzonderingsveilig (exception safe resp. noexcept) gespecificeerd. Het meegegeven object cancellation_handler informeert over een annulering van het lopende verzoek; het mag in geen geval voorbij de levensduur van deze bewerking worden opgeslagen of gerefereerd [SWS_DM_02384].
In het geval van succes levert de future de uitvoeringsstatus OperationExecutionStatus op. Mislukt de verwerking, dan moet een passende SOVD-foutcode conform ISO 17978-3 resp. ASAM SOVD 1.1 via de future worden geretourneerd [SWS_DM_02384].
Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatie AUTOSAR R25-11.
Implementer's Guide volgt (complexiteit 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#7cb9fe27- Content hash
7cb9fe27- 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 · Duits origineel