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

دليل المستخدممولَّد بالذكاء الاصطناعي

يمكّن التطبيقات التكيفية من بناء قوائم وصول ديناميكية وأنماط خدمات لخدمات التشخيص.
مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: d14f1d69eb64 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

يمكّن التطبيقات التكيفية من بناء قوائم وصول ديناميكية وأنماط خدمات لخدمات التشخيص.

يُستخدم الصنف من قِبل التطبيقات التكيفية لإنشاء وتكوين قوائم وصول ديناميكية لخدمات التشخيص [SWS_DM_01156]. وبعد تخصيص مسبق اختياري للذاكرة، فإنه ينشئ عبر دوال مثل MakeServiceBuilder مثيلات لتعريف أنماط معرّفات الخدمات الفردية أو تسلسلات البايتات [SWS_DM_01164]. تم التصريح عن جميع دوال الأعضاء بأنها آمنة من الاستثناءات كـ noexcept، في حين يجب تأمين العمليات المعدِّلة من جانب التطبيق ضد عمليات الوصول المتزامنة [SWS_DM_01163].

السياق

يخدم الصنف ara::diag::DiagnosticServiceDynamicAccessList التطبيق التكيفي (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]. في المقابل، تم تعريف كافة الدوال المُعدِّلة مثل عمليات الإسناد، وحجز الذاكرة، وإنشاء دوال البناء (Builder)، بالإضافة إلى مدمر الكائن، بأنها غير آمنة مؤشريًا [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)إنشاء مثيل لأداة الإنشاء (Builder)إرجاع 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]. سؤال Q-8d33a0315da27aed (مفتوح) ويجب على مطوري التطبيقات التأكد من عدم تنفيذ الدوال غير الآمنة مؤشريًا Reserve، MakeServiceBuilder ومعاملات الإسناد في نفس الوقت على نفس الكائن مطلقًا دون قفل خارجي.

يستند هذا الدليل إلى معيار AUTOSAR الإصدار R25-11 ويلخص مواصفة الصنف ara::diag::DiagnosticServiceDynamicAccessList.

خريطة الأعضاء

الدوال الأعضاء

2

المعاملات

1

مخطط الفئة

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#6bbd3581
Content hash
6bbd3581
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#ddd42495
Content hash
ddd42495
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#df34a011
Content hash
df34a011
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.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: cfdb5e234f29 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تُستخدم الدالة المتزامنة MakeServiceBuilder للفئة ara::diag::DiagnosticServiceDynamicAccessList بواسطة تطبيق تكيفي لبدء نمط لقائمة الوصول الديناميكية (DynamicAccessList) عبر مُعرّف خدمة فردي (sid) ([SWS_DM_01164]). وهي تأخذ المعلمة sid من النوع DynamicAccessListDiagServiceBuilder::Byte وتُرجع مثيلًا جديدًا من DynamicAccessListDiagServiceBuilder ([SWS_DM_01164]). ومن خلال هذا الاستدعاء، يحث التطبيق مثيل خادم التشخيص على بناء 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]). وهي لا تطلق استثناءات ولا تُرجع رموز أخطاء؛ وبالتالي يُرجح ألا تُلاحظ مُعرّفات الخدمة غير الصحيحة إلا عند التقييم اللاحق للنمط بواسطة خادم التشخيص. سؤال Q-eacef79ec6be9fcd (مفتوح) وفيما يتعلق بالتزامن، تم تصنيف الدالة صراحة على أنها غير آمنة لخيوط المعالجة (not thread-safe) ([SWS_DM_01164]). وفي حالة الوصول المتوازي من عدة سياقات تنفيذ، يجب على التطبيق المستدعي توفير مزامنة خارجية.

تم إنشاء ملاحظة الاستخدام هذه بواسطة ذكاء اصطناعي استنادًا إلى مواصفة AUTOSAR 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
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#5810415c
Content hash
5810415c
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.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 7426838ef9df المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الطريقة MakeServiceBuilder للفئة ara::diag::DiagnosticServiceDynamicAccessList بواسطة 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]).

التفاعل ودورة الحياة

عند بدء تشغيل النظام، تكون 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.

دليل المنفِّذ قيد الإعداد (التعقيد 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#b307031a
Content hash
b307031a
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.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 77bde14da8ee المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تخصص الطريقة ara::diag::DiagnosticServiceDynamicAccessList::Reserve مسبقًا ذاكرة لرؤوس الخدمات (Service-Heads) داخل مثيل من DiagnosticServiceDynamicAccessList ([SWS_DM_01163]، SWS Diagnostics §8.13.1.1.3.3 «Reserve»). ولا يلزم أن يصيب هذا التخصيص المسبق حجم الذاكرة الدقيق، بل يجوز حسابه كتقدير لأسوأ الحالات لأقصى قدر مطلوب من الذاكرة ([SWS_DM_01163]).

الاستخدام والمعلمات

يتم الاستدعاء بشكل متزامن ويعالج معلمتي إدخال ([SWS_DM_01163]):

  • numberOfServiceHeads (std::size_t): عدد أنماط خدمات التشخيص (Patterns).
  • maxServiceHeadSize (std::size_t): الحد الأقصى المتوقع لعدد بايتات التشخيص داخل نمط فردي.

لا تُرجع الدالة أي قيمة (void) وهي محددة بـ noexcept بالإضافة إلى الخاصية exception safe ([SWS_DM_01163]). ولا توجد معالجة للأخطاء عبر رموز الإرجاع أو الاستثناءات.

التزامن والقيود

تم تصنيف الدالة على أنها not thread-safe ([SWS_DM_01163]). وبالتالي فإن عمليات الوصول المتزامنة من عدة خيوط معالجة إلى نفس المثيل تتطلب إلزاميًا مزامنة خارجية. ويُرجح أن يتم استدعاء الطريقة قبل تسجيل أنماط الخدمات (Service-Patterns)، وذلك لتقليل عمليات إعادة تخصيص الذاكرة لاحقًا في وقت التشغيل. سؤال Q-e58b6f12a3a0adac (مفتوح)

ترسيم الحدود

يجب تمييز هذه الطريقة عن دوال SOVD التي تحمل الاسم نفسه كما في DiagnosticSovdArrayContentElementDataView ([SWS_DM_02240])، أو DiagnosticSovdRecordContentElementDataView ([SWS_DM_02283])، أو DiagnosticSovdContentElementData ([SWS_DM_02345])، والتي تأخذ كل منها سعة ومحددة على أنها thread-safe.

تستند ملاحظة الاستخدام هذه إلى مواصفة 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#18ae44b0
Content hash
18ae44b0
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#68996d54
Content hash
68996d54
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#1f75833e
Content hash
1f75833e
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#8a7559d2
Content hash
8a7559d2
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