फ़ंक्शन 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] (SWS Diagnostics §8.62.5.2.1.1 “ExecuteCapability”) के अनुसार एक निर्दिष्ट SOVD ऑपरेशन के निष्पादन, फ़्रीज़िंग या रीसेटिंग का कार्य करता है। चूंकि फ़ंक्शन को protected और प्योर वर्चुअल के रूप में परिभाषित किया गया है, इसलिए इसे आमतौर पर एप्लिकेशन-विशिष्ट सबक्लासेस द्वारा ओवरराइड किया जाना चाहिए और डायग्नोस्टिक डीमन द्वारा कॉल किया जाना चाहिए। प्रश्न Q-66c5defcf6d00f57 (खुला)
कॉल एसिंक्रोनस रूप से होता है और एक ara::core::Future<OperationExecutionStatus> लौटाता है [SWS_DM_02384]। कॉल के दौरान, निष्पादित की जाने वाली क्षमता (capability), अतिरिक्त मेटा-जानकारी (meta_info), एक cancellation_handler और पेलोड (sovd_content_data) पास किए जाते हैं। sovd_content_data में डेटा तब तक मान्य रहता है जब तक कि संबंधित प्रॉमिस पूरा न हो जाए या cancellation_handler के माध्यम से प्रसंस्करण रद्द न कर दिया जाए [SWS_DM_02384]।
समवर्तीता और जीवनकाल के लिए स्पष्ट आवश्यकताएं लागू होती हैं: ऑपरेशन को थ्रेड-सुरक्षित और अपवाद-सुरक्षित (क्रमशः exception safe और noexcept) के रूप में निर्दिष्ट किया गया है। पास की गई वस्तु cancellation_handler चालू अनुरोध के रद्दीकरण के बारे में सूचित करती है; इसे इस ऑपरेशन के जीवनकाल से परे किसी भी परिस्थिति में संग्रहीत या संदर्भित नहीं किया जाना चाहिए [SWS_DM_02384]।
सफलता की स्थिति में Future निष्पादन स्थिति OperationExecutionStatus प्रदान करता है। यदि प्रसंस्करण विफल हो जाता है, तो ISO 17978-3 या ASAM SOVD 1.1 के अनुसार एक उपयुक्त SOVD त्रुटि कोड Future के माध्यम से लौटाया जाना चाहिए [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#e7d8580c- Content hash
e7d8580c- 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 · जर्मन मूल