फ़ंक्शन Append [SWS_DM_01152] Upstream: RS_Diag_04251
ara::core::Result< void > Append (DiagnosticServiceDynamicAccessList dynamicAccessList) noexcept;
This function is used by the application to append a DynamicAccessList to the already existing DynamicAccessList of a Diagnostic Conversation.
क्लास ara::diag::ClientAuthenticationHandle की मेथड Append का उपयोग अनुप्रयोगों द्वारा किसी सक्रिय डायग्नोस्टिक वार्तालाप की पहले से मौजूद DynamicAccessList में एक डायनेमिक एक्सेस सूची (dynamicAccessList) जोड़ने के लिए किया जाता है [SWS_DM_01152]। इंटरफ़ेस हेडर ara/diag/client_authentication_handle.h के माध्यम से प्रदान किया जाता है AUTOSAR_AP_SWS_Diagnostics §8.6.1.1.3.1 “Append”।
कॉल सिंक्रोनस रूप से निष्पादित होती है और इसे noexcept के रूप में निर्दिष्ट किया गया है [SWS_DM_01152]। इनपुट पैरामीटर के रूप में, फ़ंक्शन DiagnosticServiceDynamicAccessList स्वीकार करता है। रिटर्न प्रकार ara::core::Result<void> सफल समापन का संकेत देता है या विफलता के मामले में त्रुटि कोड DiagErrc::kServiceNotAvailable स्थानांतरित करता है [SWS_DM_01152]। उत्तरार्द्ध इंगित करता है कि Diagnostic Management के आवश्यक फ़ंक्शन वर्तमान में उपलब्ध नहीं हैं। इस त्रुटि मामले के लिए रोलबैक सेमेंटिक्स लागू होती है, जिससे कि एक्सेस सूची की पिछली स्थिति बनी रहे [SWS_DM_01152]।
कॉनकरेंसी के संदर्भ में, ऑपरेशन को अपवाद-सुरक्षित (exception safe) माना जाता है, लेकिन इसे स्पष्ट रूप से थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में वर्गीकृत किया गया है [SWS_DM_01152]। समान हैंडल ऑब्जेक्ट पर समानांतर एक्सेस के मामले में, कॉलिंग एप्लिकेशन द्वारा बाहरी सिंक्रनाइज़ेशन आवश्यक होने की संभावना है। प्रश्न Q-f0da9a0538a86a16 (खुला)
यह उपयोग नोट स्वचालित रूप से तैयार किया गया था और विशेष रूप से AUTOSAR R25-11 के विनिर्देश डेटा पर आधारित है।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)
| Header-Datei | #include "ara/diag/client_authentication_handle.h" |
|---|---|
| Scope | class ara::diag::ClientAuthenticationHandle |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| dynamicAccessList | The DynamicAccessList to be appended in the client. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< void > | Returns nothing or an error. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| DiagErrc::kServiceNotAvailable | rollback_semantics The call cannot be executed, because essential DM functionality is currently not available. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_01152- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01152@rel:R25-11#9ec3bcd6- Content hash
9ec3bcd6- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01152
Status: valid/unmigrated
Version: rel:R25-11#760cf1a2
Versionshistorie & Revisions (1 transition, 6 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_DM_01152@rel:R25-11#760cf1a2
Recorded Revisions (6):
- R25-11
rel:R25-11#5fbe369d2026-09-30 - R21-11
rel:R21-11#fe6687392026-10-14 - R22-11
rel:R22-11#4d5753f62026-10-14 - R23-11
rel:R23-11#85d630192026-10-14 - R24-11
rel:R24-11#e44623a72026-10-14 - R25-11
rel:R25-11#760cf1a22026-10-14 active
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 · जर्मन मूल