DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::DiagnosticServiceDynamicAccessList

[SWS_DM_01156] Upstream: RS_Diag_04251

class DiagnosticServiceDynamicAccessList final {...};

Definition of the DiagnosticServiceDynamicAccessList class, which is used by the application to build a DynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

사용자 가이드AI 생성

Adaptive 애플리케이션이 진단 서비스를 위한 동적 액세스 목록 및 서비스 패턴을 구축할 수 있도록 합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: d14f1d69eb64 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

Adaptive 애플리케이션이 진단 서비스를 위한 동적 액세스 목록 및 서비스 패턴을 구축할 수 있도록 합니다.

이 클래스는 Adaptive 애플리케이션이 진단 서비스를 위한 동적 액세스 목록을 생성하고 구성하는 데 사용됩니다 [SWS_DM_01156]. 메모리의 선택적 사전 할당 후, MakeServiceBuilder과(와) 같은 메서드를 통해 개별 서비스 ID 또는 바이트 시퀀스의 패턴 정의를 위한 인스턴스를 생성합니다 [SWS_DM_01164]. 모든 멤버 함수는 noexcept(으)로 예외에 안전하게 선언되어 있으며, 수정 작업은 애플리케이션 측에서 동시 액세스로부터 보호되어야 합니다 [SWS_DM_01163].

컨텍스트

ara::diag::DiagnosticServiceDynamicAccessList 클래스는 Adaptive 애플리케이션(AA)이 진단 서비스를 위한 동적 액세스 목록(DynamicAccessList)을 구축하는 데 사용됩니다 [SWS_DM_01156]. 이 클래스는 DynamicAccessListDiagServiceBuilder의 인스턴스를 생성하여 서비스 패턴의 팩토리 및 관리 단위 역할을 합니다 [SWS_DM_01164], [SWS_DM_01165]. 아키텍처에서 애플리케이션은 목록과 직접 상호작용하여 진단 하위 시스템의 동적 액세스 제어 기반을 형성하는 서비스 식별자(SID) 또는 바이트 시퀀스 기반의 액세스 규칙을 정의합니다 SWS Diagnostics §8.13.1 “Class: DiagnosticServiceDynamicAccessList”.

수명 주기

DiagnosticServiceDynamicAccessList의 인스턴스는 매개변수가 없는 기본 생성자를 통해 생성됩니다 [SWS_DM_01157]. 이 클래스는 final(으)로 선언되어 있습니다 SWS Diagnostics §8.13.1 “Class: DiagnosticServiceDynamicAccessList”. 완전한 값 의미론을 지원합니다. 즉, 객체를 복사하고 이동할 수 있으며, 이를 위한 적절한 복사 및 이동 생성자 [SWS_DM_01159], [SWS_DM_01160] 및 대입 연산자 [SWS_DM_01161], [SWS_DM_01162]이(가) 제공됩니다. 초기화 후 객체는 패턴 수락 상태에 있으며, 수명 종료 시 소멸자를 통해 정리됩니다 [SWS_DM_01158].

동시성과 관련하여, 생성자(기본, 복사 및 이동 생성자)는 명시적으로 스레드 안전한 것으로 명시되어 있습니다 [SWS_DM_01157], [SWS_DM_01159], [SWS_DM_01160]. 반면 대입, 메모리 예약, 빌더 생성과 같은 모든 조작 메서드 및 소멸자는 스레드 안전하지 않은 것으로 정의되어 있습니다 [SWS_DM_01161], [SWS_DM_01162], [SWS_DM_01163], [SWS_DM_01164], [SWS_DM_01165], [SWS_DM_01158]. 따라서 동일한 객체에 대한 동시 액세스에는 애플리케이션 측의 동기화가 필요합니다.

사용 경로

동적 서비스 액세스 목록을 구축할 때의 일반적인 흐름은 다음 단계를 포함합니다:

  • 메모리 사전 할당: 서비스 패턴을 추가하기 전에, 애플리케이션은 Reserve을(를) 사용하여 예상되는 모든 서비스 패턴에 대한 메모리를 미리 예약할 수 있습니다 [SWS_DM_01163]. 전달된 매개변수 numberOfServiceHeads 및 maxServiceHeadSize은(는) 필요한 메모리의 최악 조건 추정을 가능하게 하여 향후 동적 재할당을 최소화합니다.
  • 패턴 생성: 애플리케이션은 MakeServiceBuilder을(를) 호출하여 진단 서비스 패턴을 시작합니다. 이는 단일 SID 바이트 [SWS_DM_01164] 또는 더 심층적인 패턴 검사를 위한 바이트 시퀀스 serviceHead을(를) 기반으로 수행됩니다 [SWS_DM_01165].
  • 패턴 구성: 메서드는 DynamicAccessListDiagServiceBuilder 타입의 객체를 반환하며 [SWS_DM_01164], 애플리케이션은 이후 이를 구성합니다.
Nutzungsablauf von DiagnosticServiceDynamicAccessListAADiagnosticServiceDynamicAccessListDynamicAccessListDiagServiceBuilderReserve(numberOfServiceHeads, maxServiceHeadSize)alt개별 서비스(SID만 해당)MakeServiceBuilder(sid)Musterabgleich (Byte-Sequenz)MakeServiceBuilder(serviceHead)빌더 인스턴스화DynamicAccessListDiagServiceBuilder 반환

시퀀스 다이어그램: DiagnosticServiceDynamicAccessList를 통한 패턴 생성의 일반적인 흐름. 출처: [SWS_DM_01163], [SWS_DM_01164], [SWS_DM_01165]

오류 시나리오

클래스의 모든 공개 멤버 함수와 생성자는 noexcept(으)로 선언되어 있으며 엄격한 예외 안전성(exception safe)을 보장합니다 [SWS_DM_01157], [SWS_DM_01163], [SWS_DM_01164]. C++ 예외 또는 오류 코드가 포함된 ara::core::Result 반환 형태의 오류 상태는 이 인터페이스에서 발생하지 않습니다. Reserve을(를) 통한 메모리 예약 시 지정된 값은 추정치일 수 있습니다. 과소평가하더라도 기능이 중단되지는 않지만 추후 재할당이 필요할 수 있습니다 [SWS_DM_01163]. 애플리케이션 개발자는 스레드 안전하지 않은 함수 Reserve, MakeServiceBuilder 및 대입 연산자가 외부 잠금 없이 동일한 객체에서 동시에 실행되지 않도록 해야 합니다. 질문 Q-8d33a0315da27aed (열림)

이 가이드는 AUTOSAR 표준 Release R25-11을 기반으로 하며 ara::diag::DiagnosticServiceDynamicAccessList 클래스의 사양을 요약합니다.

멤버 맵

클래스 다이어그램

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__DiagnosticServiceDynamicAccessList408 DiagnosticServiceDynamicAccessList + DiagnosticServiceDynamicAccessList() + ~DiagnosticServiceDynamicAccessList() + MakeServiceBuilder() + Reserve() + operator=()

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Constructor of DiagnosticServiceDynamicAccessList.

오버로드 DiagnosticServiceDynamicAccessList 3
DiagnosticServiceDynamicAccessList () noexcept; SWS_DM_01157
DiagnosticServiceDynamicAccessList (DiagnosticServiceDynamicAccessList const &other) noexcept; SWS_DM_01159
DiagnosticServiceDynamicAccessList (DiagnosticServiceDynamicAccessList &&other) noexcept; SWS_DM_01160

Destructor of DiagnosticServiceDynamicAccessList.

메서드

This function is used by the AA to construct a pattern for the DynamicAccessList, using only the SID.

오버로드 MakeServiceBuilder 2
auto MakeServiceBuilder (DynamicAccessListDiagServiceBuilder::Byte String serviceHead) noexcept -> DynamicAccessListDiagServiceBuilder; SWS_DM_01165
Reserve 함수

Preallocates memory for all service heads to fit into the DynamicAccessList. The preallocation can be just estimated and may calculate just the worst case of memory needed, not exact memory size needed for data numberOfServiceHeads.

void Reserve (std::size_t numberOfServiceHeads, std::size_t maxService HeadSize) noexcept;

연산자

operator= 함수 2

Copy assignment operator of DiagnosticServiceDynamicAccessList.

오버로드 = 2

메서드 문서

함수 DiagnosticServiceDynamicAccessList [SWS_DM_01157] Upstream: RS_Diag_04251

DiagnosticServiceDynamicAccessList () noexcept;

Constructor of DiagnosticServiceDynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01157
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01157@rel:R25-11#0e57f21f
Content hash
0e57f21f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01157
Status: valid/unmigrated Version: rel:R25-11#650f2a0d 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_01157@rel:R25-11#650f2a0d
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#42df3dfe2026-09-30
  • R21-11rel:R21-11#09c51dc72026-10-14
  • R22-11rel:R22-11#113ea8dc2026-10-14
  • R23-11rel:R23-11#4acd84372026-10-14
  • R24-11rel:R24-11#9677d51c2026-10-14
  • R25-11rel:R25-11#650f2a0d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 DiagnosticServiceDynamicAccessList [SWS_DM_01159] Upstream: RS_Diag_04251

DiagnosticServiceDynamicAccessList (DiagnosticServiceDynamicAccessList const &other) noexcept;

Copy constructor of DiagnosticServiceDynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
otherObject to copy-construct from

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01159
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01159@rel:R25-11#f3de7278
Content hash
f3de7278
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01159
Status: valid/unmigrated Version: rel:R25-11#5af28b9b 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_01159@rel:R25-11#5af28b9b
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#04f2998d2026-09-30
  • R21-11rel:R21-11#512324732026-10-14
  • R22-11rel:R22-11#cb06a8392026-10-14
  • R23-11rel:R23-11#0c46643c2026-10-14
  • R24-11rel:R24-11#68d000522026-10-14
  • R25-11rel:R25-11#5af28b9b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 DiagnosticServiceDynamicAccessList [SWS_DM_01160] Upstream: RS_Diag_04251

DiagnosticServiceDynamicAccessList (DiagnosticServiceDynamicAccessList &&other) noexcept;

Move constructor of DiagnosticServiceDynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
otherObject to move-construct from

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01160
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01160@rel:R25-11#421cc9f4
Content hash
421cc9f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01160
Status: valid/unmigrated Version: rel:R25-11#12aff0c0 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_01160@rel:R25-11#12aff0c0
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#b1d30f912026-09-30
  • R21-11rel:R21-11#7324eeed2026-10-14
  • R22-11rel:R22-11#fe02969e2026-10-14
  • R23-11rel:R23-11#50b95efd2026-10-14
  • R24-11rel:R24-11#f4a6a02c2026-10-14
  • R25-11rel:R25-11#12aff0c02026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 MakeServiceBuilder [SWS_DM_01164] Upstream: RS_Diag_04251

auto MakeServiceBuilder (DynamicAccessListDiagServiceBuilder::Byte sid) noexcept -> DynamicAccessListDiagServiceBuilder;

This function is used by the AA to construct a pattern for the DynamicAccessList, using only the SID.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: cfdb5e234f29 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

ara::diag::DiagnosticServiceDynamicAccessList 클래스의 동기 함수 MakeServiceBuilder은 적응형 애플리케이션이 단일 서비스 식별자(sid)를 통해 동적 접근 목록(DynamicAccessList)을 위한 패턴을 시작하는 데 사용됩니다([SWS_DM_01164]). 이 함수는 DynamicAccessListDiagServiceBuilder::Byte 타입의 sid 매개변수를 전달받고 DynamicAccessListDiagServiceBuilder의 새 인스턴스를 반환합니다([SWS_DM_01164]). 이 호출을 통해 애플리케이션은 Diagnostic Server 인스턴스가 전달된 단일 바이트 패턴으로 시작하는 새 DynamicAccessList를 구성하도록 유도합니다([SWS_DM_01218]; AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.4 “DynamicAccessList Creation and Update”).

상호 작용 및 대안

시작 후 모든 클라이언트의 동적 접근 목록은 기본적으로 비어 있습니다([SWS_DM_01214]). 이 함수 외에도 애플리케이션은 바이트 문자열(serviceHead)을 사용하는 오버로드를 사용할 수 있습니다([SWS_DM_01165]). 두 오버로드 모두 서버에서 새 접근 목록의 생성이 트리거되는 진입점을 나타냅니다([SWS_DM_01218]).

오류 처리 및 동시성

이 인터페이스는 noexcept으로 선언되어 있으며 예외 안전(exception safe)으로 지정되어 있습니다([SWS_DM_01164]). 예외를 발생시키지 않으며 오류 코드를 반환하지 않습니다. 따라서 잘못된 서비스 식별자는 이후 Diagnostic Server에 의한 패턴 평가 시에만 드러날 것으로 보입니다. 동시성과 관련하여 이 함수는 명시적으로 스레드 안전하지 않은 것(not thread-safe)으로 분류되어 있습니다([SWS_DM_01164]). 여러 실행 컨텍스트에서 병렬로 접근할 경우 호출 애플리케이션이 외부 동기화를 보장해야 합니다. 질문 Q-eacef79ec6be9fcd (열림)

이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
sidThe diagnostic service identifier

Rückgabewert

TypBeschreibung
DynamicAccessListDiagServiceBuilderReturns an instance of a diagnostic service pattern builder.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01164
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01164@rel:R25-11#99dce056
Content hash
99dce056
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01164
Status: valid/unmigrated Version: rel:R25-11#3c379a56 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_01164@rel:R25-11#3c379a56
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#1eac24272026-09-30
  • R21-11rel:R21-11#230b7fcc2026-10-14
  • R22-11rel:R22-11#afc594cf2026-10-14
  • R23-11rel:R23-11#9cb67f682026-10-14
  • R24-11rel:R24-11#6c185f572026-10-14
  • R25-11rel:R25-11#3c379a562026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 MakeServiceBuilder [SWS_DM_01165] Upstream: RS_Diag_04251

auto MakeServiceBuilder (DynamicAccessListDiagServiceBuilder::Byte String serviceHead) noexcept -> DynamicAccessListDiagServiceBuilder;

This function is used by the AA to construct a pattern for the DynamicAccessList, using a string of bytes.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 7426838ef9df 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

ara::diag::DiagnosticServiceDynamicAccessList 클래스의 MakeServiceBuilder 메서드는 Adaptive Application이 바이트 시퀀스를 기반으로 DynamicAccessList을 위한 진단 패턴을 생성하는 데 사용됩니다([SWS_DM_01165]).

사용

호출은 ara::diag::DiagnosticServiceDynamicAccessList 클래스의 인터페이스를 통해 동기식으로 수행됩니다(AUTOSAR_AP_SWS_Diagnostics §8.13.1.1.3.1 “MakeServiceBuilder”):

  • 매개변수: serviceHead(타입 DynamicAccessListDiagServiceBuilder::Byte String)은 진단 매칭을 위한 패턴의 시작을 정의하는 바이트 시퀀스를 전달합니다([SWS_DM_01165]).
  • 반환값: 서비스 패턴의 추가 구성을 위해 DynamicAccessListDiagServiceBuilder의 인스턴스를 반환합니다([SWS_DM_01165]).

ERR HTTP Error 429: Too Many Requests

시스템 시작 시 모든 클라이언트의 DynamicAccessList은 기본적으로 비어 있습니다([SWS_DM_01214]). MakeServiceBuilder의 오버로드가 호출되면 Diagnostic Server 인스턴스는 전달된 바이트 문자열 패턴으로 시작하는 새 DynamicAccessList의 생성을 유도합니다([SWS_DM_01218], AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.4 “DynamicAccessList Creation and Update”). 대안으로 단일 바이트를 위한 오버로드를 사용할 수 있습니다([SWS_DM_01164]).

동시성 및 오류 처리

이 함수는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)하므로 C++ 예외를 생성하지 않습니다([SWS_DM_01165]). 이 호출에 대해 오류 코드나 DET/DEM 메시지는 지정되어 있지 않습니다. 이 연산은 스레드 안전하지 않음(not thread-safe)으로 분류되므로, 동일한 인스턴스에 대한 병렬 호출은 애플리케이션 측에서 동기화되어야 합니다([SWS_DM_01165]).

이 사용 지침은 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
serviceHeadA string of bytes to start the DynamicAccess pattern-match

Rückgabewert

TypBeschreibung
DynamicAccessListDiagServiceBuilderReturns an instance of a diagnostic service pattern builder

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01165
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01165@rel:R25-11#245b9e92
Content hash
245b9e92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01165
Status: valid/unmigrated Version: rel:R25-11#4638ae8b 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_01165@rel:R25-11#4638ae8b
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#91e264c52026-09-30
  • R21-11rel:R21-11#a05ce1b82026-10-14
  • R22-11rel:R22-11#081641a52026-10-14
  • R23-11rel:R23-11#47836da72026-10-14
  • R24-11rel:R24-11#236438b42026-10-14
  • R25-11rel:R25-11#4638ae8b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Reserve [SWS_DM_01163] Upstream: RS_Diag_04251

void Reserve (std::size_t numberOfServiceHeads, std::size_t maxService HeadSize) noexcept;

Preallocates memory for all service heads to fit into the DynamicAccessList. The preallocation can be just estimated and may calculate just the worst case of memory needed, not exact memory size needed for data numberOfServiceHeads.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 77bde14da8ee 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

ara::diag::DiagnosticServiceDynamicAccessList::Reserve 메서드는 DiagnosticServiceDynamicAccessList 인스턴스 내의 서비스 헤드를 위한 메모리를 사전에 할당합니다([SWS_DM_01163], SWS Diagnostics §8.13.1.1.3.3 “Reserve”). 이 사전 할당은 정확한 메모리 크기와 일치할 필요는 없으며, 최대로 필요한 메모리의 최악 조건 추정치로 계산될 수 있습니다([SWS_DM_01163]).

사용법 및 매개변수

호출은 동기식으로 수행되며 두 개의 입력 매개변수를 처리합니다([SWS_DM_01163]):

  • numberOfServiceHeads (std::size_t): 진단 서비스 패턴의 수.
  • maxServiceHeadSize (std::size_t): 단일 패턴 내에서 예상되는 최대 진단 바이트 수.

이 함수는 반환값을 제공하지 않으며(void), noexcept 및 exception safe 속성으로 지정되어 있습니다([SWS_DM_01163]). 반환 코드나 예외를 통한 오류 처리는 존재하지 않습니다.

동시성 및 제약사항

이 함수는 not thread-safe로 분류되어 있습니다([SWS_DM_01163]). 따라서 동일한 인스턴스에 대한 여러 스레드의 동시 접근에는 반드시 외부 동기화가 필요합니다. 런타임에 향후 메모리 재할당을 최소화하기 위해 서비스 패턴을 등록하기 전에 이 메서드가 호출될 것으로 보입니다. 질문 Q-e58b6f12a3a0adac (열림)

경계

이 메서드는 각각 용량을 전달받고 thread-safe로 지정된 DiagnosticSovdArrayContentElementDataView([SWS_DM_02240]), DiagnosticSovdRecordContentElementDataView([SWS_DM_02283]) 또는 DiagnosticSovdContentElementData([SWS_DM_02345])의 동일한 이름의 SOVD 함수와 구별되어야 합니다.

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
numberOfServiceHeadsThe number of diagnostic service patterns.
maxServiceHeadSizeThe expected maximum number of diagnostic service bytes in a single pattern.

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01163
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01163@rel:R25-11#03a4ec6e
Content hash
03a4ec6e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01163
Status: valid/unmigrated Version: rel:R25-11#231ea52a 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_01163@rel:R25-11#231ea52a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#4f6a02da2026-09-30
  • R21-11rel:R21-11#7c00aaff2026-10-14
  • R22-11rel:R22-11#9b2d4beb2026-10-14
  • R23-11rel:R23-11#39885db92026-10-14
  • R24-11rel:R24-11#c550adcb2026-10-14
  • R25-11rel:R25-11#231ea52a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_DM_01161] Upstream: RS_Diag_04251

auto operator= (DiagnosticServiceDynamicAccessList const &other) & noexcept -> DiagnosticServiceDynamicAccessList &;

Copy assignment operator of DiagnosticServiceDynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherObject to copy-assign from.

Rückgabewert

TypBeschreibung
DiagnosticServiceDynamicAccessListDiagnosticService DynamicAccessList& Reference to self.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01161
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01161@rel:R25-11#889c15b9
Content hash
889c15b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01161
Status: valid/unmigrated Version: rel:R25-11#bce030a7 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_01161@rel:R25-11#bce030a7
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#92a7fbd62026-09-30
  • R21-11rel:R21-11#827b61ac2026-10-14
  • R22-11rel:R22-11#b8b5ca432026-10-14
  • R23-11rel:R23-11#df8cf67a2026-10-14
  • R24-11rel:R24-11#d76fed172026-10-14
  • R25-11rel:R25-11#bce030a72026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_DM_01162] Upstream: RS_Diag_04251

auto operator= (DiagnosticServiceDynamicAccessList &&other) & noexcept -> DiagnosticServiceDynamicAccessList &;

Move assignment operator of DiagnosticServiceDynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherObject to move-assign from.

Rückgabewert

TypBeschreibung
DiagnosticServiceDynamicAccessListDiagnosticService DynamicAccessList& Reference to self.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01162
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01162@rel:R25-11#69a024bf
Content hash
69a024bf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01162
Status: valid/unmigrated Version: rel:R25-11#45605241 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_01162@rel:R25-11#45605241
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#aeb26d702026-09-30
  • R21-11rel:R21-11#13f622882026-10-14
  • R22-11rel:R22-11#2543a3962026-10-14
  • R23-11rel:R23-11#66dedb2b2026-10-14
  • R24-11rel:R24-11#02a7987a2026-10-14
  • R25-11rel:R25-11#456052412026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ~DiagnosticServiceDynamicAccessList [SWS_DM_01158] Upstream: RS_Diag_04251

~DiagnosticServiceDynamicAccessList () noexcept;

Destructor of DiagnosticServiceDynamicAccessList.

Header-Datei#include "ara/diag/diagnostic_service_dynamic_access_list.h"
Scopeclass ara::diag::DiagnosticServiceDynamicAccessList
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01158
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01158@rel:R25-11#4333bda2
Content hash
4333bda2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01158
Status: valid/unmigrated Version: rel:R25-11#dfc56fdd 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_01158@rel:R25-11#dfc56fdd
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#d795d66e2026-09-30
  • R21-11rel:R21-11#5abdb5112026-10-14
  • R22-11rel:R22-11#c2b638722026-10-14
  • R23-11rel:R23-11#606ce0002026-10-14
  • R24-11rel:R24-11#f7853b742026-10-14
  • R25-11rel:R25-11#dfc56fdd2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill