फ़ंक्शन Add [SWS_DM_01175] Upstream: RS_Diag_04251
auto Add (Byte value) noexcept -> DynamicAccessListDiagServiceBuilder &;
This function is used by the application to add a single byte to a DynamicAccessListPattern.
उपयोग
क्लास ara::diag::DynamicAccessListDiagServiceBuilder का सिंक्रोनस मेथड Add एक DynamicAccessListPattern में एकल बाइट (Byte value) जोड़ने के लिए उपयोग किया जाता है [SWS_DM_01175]। पास किए गए बाइट मान की डायग्नोस्टिक सेवाओं के लिए एक्सेस अधिकारों के मूल्यांकन के दौरान सटीक मिलान के लिए जाँच की जाती है [SWS_DM_01175]। समान ऑब्जेक्ट (DynamicAccessListDiagServiceBuilder&) के इंस्टेंस का संदर्भ लौटाकर यह फ़ंक्शन एक फ़्लुएंट API [SWS_DM_01175] के रूप में कॉल का समर्थन करता है।
त्रुटि प्रबंधन और अपवाद सुरक्षा
ऑपरेशन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_01175]। न तो कोई त्रुटि कोड और न ही ara::core::Result प्रकार के रिटर्न मान लौटाए जाते हैं; इस फ़ंक्शन के लिए पेलोड में कोई विशिष्ट DET या DEM संदेश निर्दिष्ट नहीं हैं।
समवर्तीता और प्रतिबंध
मेथड को गैर-थ्रेड-सुरक्षित (not thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_01175]। व्याख्या: इसलिए डायग्नोस्टिक सर्वर में निर्मित एक्सेस पैटर्न का मूल्यांकन होने से पहले समान बिल्डर इंस्टेंस पर कॉल्स आमतौर पर एकल थ्रेड के भीतर अनुक्रमिक रूप से की जानी चाहिए। प्रश्न Q-69d895fc6bf90cb4 (खुला)
इंटरैक्शन
इंटरफ़ेस DynamicAccessListDiagServiceBuilder के भीतर यह मेथड Add के संबंधित ओवरलोड्स को पूरक बनाता है, जिनके साथ बाइट अनुक्रमों को ByteString [SWS_DM_01176] के माध्यम से या मान श्रेणियों को ByteRange [SWS_DM_01177] के माध्यम से एक DynamicAccessListPattern में जोड़ा जा सकता है।
यह पाठ AUTOSAR विनिर्देश R25-11 के आधार पर एक AI द्वारा जनरेट किया गया था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)
| Header-Datei | #include "ara/diag/dynamic_access_list_diag_service_builder.h" |
|---|---|
| Scope | class ara::diag::DynamicAccessListDiagServiceBuilder |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| value | The byte value to add to the DynamicAccessList. The value will be used to check for an exact match during evaluation of the diagnostic service access rights. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| DynamicAccessListDiagServiceBuilder | Returns the instance of the same object to allow fluent API usage. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_01175- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01175@rel:R25-11#ace4acfd- Content hash
ace4acfd- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01175
Status: valid/unmigrated
Version: rel:R25-11#4b661972
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_01175@rel:R25-11#4b661972
Recorded Revisions (6):
- R25-11
rel:R25-11#e8ba163d2026-09-30 - R21-11
rel:R21-11#eb8856682026-10-14 - R22-11
rel:R22-11#446a90f62026-10-14 - R23-11
rel:R23-11#462b645d2026-10-14 - R24-11
rel:R24-11#fba796202026-10-14 - R25-11
rel:R25-11#4b6619722026-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 · जर्मन मूल