함수 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&)를 반환함으로써, 이 함수는 Fluent API로서의 호출을 지원합니다[SWS_DM_01175].
오류 처리 및 예외 안전성
이 연산은 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)으로 지정되어 있습니다[SWS_DM_01175]. 오류 코드나 ara::core::Result 유형의 반환 값은 모두 반환되지 않으며, 이 함수에 대한 페이로드에 특정 DET 또는 DEM 메시지는 명시되어 있지 않습니다.
동시성 및 제약사항
이 메서드는 스레드 안전하지 않음(not thread-safe)으로 지정되어 있습니다[SWS_DM_01175]. 해석: 따라서 생성된 액세스 패턴이 진단 서버에서 평가되기 전에 동일한 빌더 인스턴스에 대한 호출은 일반적으로 단일 스레드 내에서 순차적으로 발생할 것으로 보입니다. 질문 Q-69d895fc6bf90cb4 (열림)
상호 작용
DynamicAccessListDiagServiceBuilder 인터페이스 내에서 이 메서드는 ByteString [SWS_DM_01176]을(를) 통한 바이트 시퀀스 또는 ByteRange [SWS_DM_01177]을(를) 통한 값 범위를 DynamicAccessListPattern에 추가할 수 있는 Add의 관련 오버로드를 보완합니다.
이 텍스트는 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#90005ada- Content hash
90005ada- 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 · 독일어 원문