函数 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#dbb0c159- Content hash
dbb0c159- 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 · 德文原文