functie 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.
De methode Append van de klasse ara::diag::ClientAuthenticationHandle wordt door applicaties gebruikt om een dynamische toegangslijst (dynamicAccessList) toe te voegen aan de reeds bestaande DynamicAccessList van een actieve diagnoseconversatie [SWS_DM_01152]. De interface wordt beschikbaar gesteld via de header ara/diag/client_authentication_handle.h AUTOSAR_AP_SWS_Diagnostics §8.6.1.1.3.1 “Append”.
De aanroep wordt synchroon uitgevoerd en is gespecificeerd als noexcept [SWS_DM_01152]. Als invoerparameter accepteert de functie een DiagnosticServiceDynamicAccessList. Het retourtype ara::core::Result<void> signaleert de succesvolle afronding of transporteert bij een fout de foutcode DiagErrc::kServiceNotAvailable [SWS_DM_01152]. Deze laatste geeft aan dat essentiële functies van Diagnostic Management momenteel niet beschikbaar zijn. Voor dit foutgeval geldt een rollback-semantiek, zodat de eerdere toestand van de toegangslijst behouden blijft [SWS_DM_01152].
Met betrekking tot gelijktijdigheid geldt de operatie als uitzonderingsveilig (exception safe), maar is deze uitdrukkelijk geclassificeerd als niet threadveilig (not thread-safe) [SWS_DM_01152]. Bij parallelle toegang tot hetzelfde handle-object is externe synchronisatie door de aanroepende applicatie dan ook vermoedelijk vereist. Vraag Q-f0da9a0538a86a16 (open)
Deze gebruiksinstructie is automatisch gegenereerd en is uitsluitend gebaseerd op de specificatiegegevens van AUTOSAR R25-11.
Implementer's Guide volgt (complexiteit 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#0dad8b8d- Content hash
0dad8b8d- 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 · Duits origineel