function 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.
use
The synchronous method Add of class ara::diag::DynamicAccessListDiagServiceBuilder serves to add a single byte (Byte value) to a DynamicAccessListPattern [SWS_DM_01175]. The passed byte value is checked for an exact match during the evaluation of access rights for diagnostic services [SWS_DM_01175]. By returning a reference to the instance of the same object (DynamicAccessListDiagServiceBuilder&), the function supports invocation as a fluent API [SWS_DM_01175].
Error Handling and Exception Safety
The operation is declared as noexcept and specified as exception safe (exception safe) [SWS_DM_01175]. Neither error codes nor return values of type ara::core::Result are returned; specific DET or DEM messages are not identified in the payload for this function.
Concurrency and Limitations
The method is specified as not thread-safe (not thread-safe) [SWS_DM_01175]. Interpretation: Calls on the same builder instance are therefore typically expected to occur sequentially within a single thread before the created access pattern is evaluated in the diagnostic server. Question Q-69d895fc6bf90cb4 (open)
Interaction
Within interface DynamicAccessListDiagServiceBuilder, this method complements related overloads of Add with which byte sequences via ByteString [SWS_DM_01176] or value ranges via ByteRange [SWS_DM_01177] can be added to a DynamicAccessListPattern.
This text was generated by an AI based on the AUTOSAR specification R25-11.
Implementer's Guide to follow (complexity 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#e8ba163d- Content hash
e8ba163d- 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 · German original