DEENESPTFRRUARHIKOZHNL

فئة ara::core::MonotonicBufferResource

[SWS_CORE_06520] Upstream: RS_AP_00130

class MonotonicBufferResource :            public MemoryResource {...};

Implementation of std::pmr::monotonic_buffer_resource type from [mem.res.monotonic.buffer]

Header-Datei#include "ara/core/memory_resource.h"
Forwarding-Header#include "ara/core/core_fwd.h"
Scopenamespace ara::core
Basisklasse(n)MemoryResource

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

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

يدير كتل الذاكرة في مخزن مؤقت ينمو بشكل رتيب مع تخصيص خالٍ من الاستثناءات وتحرير مجمع.

توفر الفئة ara::core::MonotonicBufferResource مورد ذاكرة متخصصًا لعمليات التخصيص السريعة والرتبية من مخزن مؤقت ثابت للذاكرة أو عبر مورد upstream. تُمنح الذاكرة المطلوبة تدريجيًا ولا يتم تحريرها فورًا عند عمليات إلغاء التخصيص الفردية، بل تتم إعادة تعيينها مجمعة فقط عبر release() ([SWS_CORE_06530]). تم الإعلان عن جميع العمليات لتكون خالية من الاستثناءات تمامًا، حيث تتم الإشارة إلى نقص الذاكرة عن طريق إرجاع nullptr بدلاً من إطلاق استثناء ([SWS_CORE_06569]). والمثيلات غير قابلة للنسخ وتتطلب مزامنة خارجية في حالة الوصول المتوازي من خيوط متعددة.

السياق

تُعد الفئة ara::core::MonotonicBufferResource مورد ذاكرة ملموسًا ضمن الوحدة core في منصة AUTOSAR Adaptive وترث من الفئة الأساسية ara::core::MemoryResource. وهي تكيف مفهوم std::pmr::monotonic_buffer_resource المعروف من معيار ++C من [mem.res.monotonic.buffer] لتطبيقات المركبات المحددة زمنيًا وذات الصلة بالسلامة. يتمثل الدور الأساسي للفئة في تلبية طلبات التخصيص بأقل قدر من العبء الإداري من نطاق ذاكرة مستمر، وذلك عن طريق منح الذاكرة بشكل رتيب.

يعمل كشركاء تفاعل من ناحية المكونات المستدعية والمخصصات متعددة الأشكال والحاويات التي تطلب كتل الذاكرة في وقت التشغيل. ومن ناحية أخرى، تتفاعل الفئة مع مورد ذاكرة upstream اختياري ذي مستوى أعلى (MemoryResource). يمكن تمرير مورد upstream هذا عبر منشئات مثل [SWS_CORE_06521] والاستعلام عنه عبر طريقة الوصول upstream_resource() ([SWS_CORE_06531]).

دورة الحياة

يمكن التحكم في تهيئة ara::core::MonotonicBufferResource عبر عدة منشئات. بالإضافة إلى المنشئ الافتراضي الخالي من المعلمات ([SWS_CORE_06524])، تتوفر تحميَلات زائدة تقبل مورد upstream صريحًا ([SWS_CORE_06521])، أو تحدد حجمًا أوليًا للمخزن المؤقت ([SWS_CORE_06525]، [SWS_CORE_06522])، أو تستخدم نطاق ذاكرة خام مقدمًا خارجيًا (void* buffer، std::size_t buffer_size) كمخزن مؤقت أولي ([SWS_CORE_06526]، [SWS_CORE_06523]).

فيما يتعلق بعلاقات الملكية، تُعرَّف الفئة بأنها غير قابلة للنسخ بشكل صارم: حيث تم حذف منشئ النسخ ([SWS_CORE_06527]) وعامل تشغيل التعيين بالنسخ ([SWS_CORE_06529]) (=delete). وعلى عكس معيار ISO-14882، تنفذ فئة AUTOSAR مع ذلك دلالات نقل صريحة عبر منشئ النقل ([SWS_CORE_06576]) وعامل تشغيل التعيين بالنقل ([SWS_CORE_06577])، واللذين تم تعريف كل منهما كـ noexcept=default.

يتم التدمير عبر المدمر ~MonotonicBufferResource() ([SWS_CORE_06528]). ويكمن انحراف جوهري لـ AUTOSAR عن المعيار في أن المدمر لم يُعلن كافتراضي (virtual). وعبر الطريقة release() ([SWS_CORE_06530])، يمكن إعادة تعيين كامل الذاكرة المخصصة قبل انتهاء دورة حياة الكائن.

يجب مراعاة فصل صارم في حالة التزامن: تم الإعلان عن المنشئ الخالي من المعلمات ([SWS_CORE_06524])، وفحص التساوي do_is_equal() ([SWS_CORE_06571])، والاستعلام upstream_resource() ([SWS_CORE_06531]) بأنها آمنة بالنسبة للخيوط. أما جميع المنشئات ذات المعلمات ([SWS_CORE_06521]، [SWS_CORE_06522]، [SWS_CORE_06523]، [SWS_CORE_06525]، [SWS_CORE_06526])، وعمليات التخصيص ([SWS_CORE_06569]، [SWS_CORE_06570])، وrelease() ([SWS_CORE_06530])، بالإضافة إلى المدمر ([SWS_CORE_06528])، فليست آمنة بالنسبة للخيوط وتتطلب مزامنة خارجية في حالة الوصول المتوازي.

مسار الاستخدام

يتضمن تسلسل الاستخدام النمطي التوفير والتخصيص المستمر والتحرير المجمع:

  1. إنشاء المثيل: ينشئ التطبيق مثيلاً، على سبيل المثال مع تحديد حجم المخزن المؤقت ومورد upstream ([SWS_CORE_06522]) أو مخزن مؤقت ثابت ([SWS_CORE_06526]).
  2. التخصيص: تتم تلبية طلبات الذاكرة عبر الطريقة المحمية do_allocate(bytes, alignment) ([SWS_CORE_06569]). وإذا لم يكن المخزن المؤقت الحالي كافيًا، يستمد المثيل مخزنًا مؤقتًا جديدًا من مورد upstream.
  3. إلغاء التخصيص: لا تؤدي استدعاءات do_deallocate(p, bytes, alignment) ([SWS_CORE_06570]) إلى تقليص المخزن المؤقت بشكل فردي؛ بل يواصل مؤشر التخصيص الداخلي التقدم بشكل رتيب.
  4. إعادة تعيين المخزن المؤقت: باستخدام release() ([SWS_CORE_06530])، يتم تحرير جميع كتل الذاكرة المستمدة عبر upstream دفعة واحدة، ويصبح المخزن المؤقت جاهزًا لدورات جديدة.
  5. مقارنة الموارد: عبر do_is_equal() ([SWS_CORE_06571])، يمكن التحقق مما إذا كان موردا الذاكرة متطابقين.
دورة تخصيص وتحرير رتيبةالتطبيقMonotonicBufferResourceUpstream-MemoryResourceErzeugungMonotonicBufferResource(initial_size, upstream)Speicher anforderndo_allocate(bytes, alignment)optInitialer Puffer unzureichendSpeicherblock anfordernallocate(bytes, alignment)Pufferspeicher bereitstellenمؤشر إلى منطقة الذاكرة (أو nullptr)Speicher freigebendo_deallocate(p, bytes, alignment)Freigabe stillschweigend ignorierenإعادة ضبط المخزن المؤقتrelease()Allokierten Speicher freigeben

مخطط التتابع: دورة الذاكرة النمطية من التخصيص مرورًا بإلغاء التخصيص المُتجاهَل وحتى إعادة التعيين الجماعية عبر ()release. المصادر: [SWS_CORE_06522]، [SWS_CORE_06569]، [SWS_CORE_06570]، [SWS_CORE_06530]

سيناريوهات الأخطاء

تتبع الفئة متطلبات صارمة للأنظمة المدمجة الخالية من الاستثناءات: تم الإعلان عن جميع الدوال الأعضاء والمنشئات وعوامل التشغيل كـ noexcept وتوفر أمانًا كاملاً ضد الاستثناءات.

في حالة الخطأ، يختلف السلوك عمدًا عن المكتبة القياسية:

  • فشل التخصيص: إذا تعذر تلبية طلب في do_allocate() ([SWS_CORE_06569])، فلن يتم طرح أي استثناء std::bad_alloc، بل يتم إرجاع nullptr. يجب على المتصلين فحص القيمة المرجعة بحثًا عن nullptr بشكل إلزامي.
  • خطأ أثناء إلغاء التخصيص: إذا حدث خطأ أثناء التحرير في do_deallocate() ([SWS_CORE_06570])، فسيتم تجاهله ضمنيًا وفقًا للمواصفة.
  • التدمير عبر مؤشر أساسي: نظرًا لأن مدمر الكائن ([SWS_CORE_06528]) ليس افتراضيًا، فمن المحتمل أن يؤدي التدمير عبر مؤشر إلى الفئة الأساسية MemoryResource إلى سلوك غير محدد (تفسير: يجب أن يتم التدمير عبر النوع المحدد). سؤال Q-add18020b48f3131 (مفتوح)

تم إنشاء هذا الدليل بواسطة نظام ذكاء اصطناعي بناءً على مواصفات AUTOSAR Adaptive R25-11.

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

المُنشئات والمُتلف

2

المعاملات

1

مخطط الفئة

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

G nara__core__MonotonicBufferResource118 MonotonicBufferResource + MonotonicBufferResource() + operator=() + ~MonotonicBufferResource() + release() + upstream_resource() + do_allocate() + do_deallocate() + do_is_equal() nara__core__MemoryResource130 MemoryResource nara__core__MonotonicBufferResource118->nara__core__MemoryResource130

عرض التفاصيل

اختر عنصرًا من المخطط.

المُنشئات والمُتلف

except for the following deviations: 1. The function is noexcept ≙ [mem.res.monotonic.buffer]

التحميلات الزائدة MonotonicBufferResource 8
explicit MonotonicBufferResource (MemoryResource *upstream) noexcept; SWS_CORE_06521
MonotonicBufferResource (std::size_t initial_size, MemoryResource *upstream) noexcept; SWS_CORE_06522
MonotonicBufferResource (void *buffer, std::size_t buffer_size, Memory Resource *upstream) noexcept; SWS_CORE_06523
MonotonicBufferResource () noexcept; SWS_CORE_06524
explicit MonotonicBufferResource (std::size_t initial_size) noexcept; SWS_CORE_06525
MonotonicBufferResource (void *buffer, std::size_t buffer_size) noexcept; SWS_CORE_06526
MonotonicBufferResource (const MonotonicBufferResource &)=delete; SWS_CORE_06527
MonotonicBufferResource (MonotonicBufferResource &&other) noexcept=default; SWS_CORE_06576

except for the following deviations: 1. The function is noexcept 2. The function is not virtual ≙ [mem.res.monotonic.buffer]

~MonotonicBufferResource () noexcept override;

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

do_allocate دالة

except for the following deviations: 1. The function is noexcept 2. The function returns nullptr instead of (potentially) throwing a std::bad_alloc exception ≙ std::bad_alloc

void * do_allocate (std::size_t bytes, std::size_t alignment) noexcept override;
do_deallocate دالة

except for the following deviations: 1. The function is noexcept 2. If unsuccessful: errors will be silently ignored ≙ [mem.res.monotonic.buffer]

void do_deallocate (void *p, std::size_t bytes, std::size_t alignment) noexcept override;
do_is_equal دالة

except for the following deviations: 1. The function is noexcept ≙ [mem.res.monotonic.buffer]

bool do_is_equal (const MemoryResource &other) const noexcept override;
release دالة

except for the following deviations: 1. The function is noexcept ≙ [mem.res.monotonic.buffer]

void release () noexcept;

except for the following deviations: 1. The function is noexcept ≙ [mem.res.monotonic.buffer]

MemoryResource * upstream_resource () const noexcept;

المعاملات

operator= دالة 2

≙ [mem.res.monotonic.buffer]

التحميلات الزائدة = 2

توثيق الدوال

دالة MonotonicBufferResource [SWS_CORE_06521]

explicit MonotonicBufferResource (MemoryResource *upstream) noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06521
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06521@rel:R25-11#8fd232bb
Content hash
8fd232bb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06521
Status: valid/unmigrated Version: rel:R25-11#cf52252c Versionshistorie & Revisions (1 transition, 4 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_CORE_06521@rel:R25-11#cf52252c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b68d044b2026-09-30
  • R23-11rel:R23-11#76605f842026-10-14
  • R24-11rel:R24-11#5675ddf82026-10-14
  • R25-11rel:R25-11#cf52252c2026-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

دالة MonotonicBufferResource [SWS_CORE_06522]

MonotonicBufferResource (std::size_t initial_size, MemoryResource *upstream) noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06522
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06522@rel:R25-11#f4e95e86
Content hash
f4e95e86
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06522
Status: valid/unmigrated Version: rel:R25-11#954d5cab Versionshistorie & Revisions (1 transition, 4 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_CORE_06522@rel:R25-11#954d5cab
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#c83baca32026-09-30
  • R23-11rel:R23-11#759123a42026-10-14
  • R24-11rel:R24-11#4300fbe72026-10-14
  • R25-11rel:R25-11#954d5cab2026-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

دالة MonotonicBufferResource [SWS_CORE_06523]

MonotonicBufferResource (void *buffer, std::size_t buffer_size, Memory Resource *upstream) noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06523
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06523@rel:R25-11#2ec733b3
Content hash
2ec733b3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06523
Status: valid/unmigrated Version: rel:R25-11#18805d3b Versionshistorie & Revisions (1 transition, 4 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_CORE_06523@rel:R25-11#18805d3b
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#acb6a9462026-09-30
  • R23-11rel:R23-11#f41e1e9f2026-10-14
  • R24-11rel:R24-11#ed78a94e2026-10-14
  • R25-11rel:R25-11#18805d3b2026-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

دالة MonotonicBufferResource [SWS_CORE_06524]

MonotonicBufferResource () noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06524
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06524@rel:R25-11#2d24f0a1
Content hash
2d24f0a1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06524
Status: valid/unmigrated Version: rel:R25-11#d691adfe Versionshistorie & Revisions (1 transition, 4 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_CORE_06524@rel:R25-11#d691adfe
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cdaba7a12026-09-30
  • R23-11rel:R23-11#c4b16a1a2026-10-14
  • R24-11rel:R24-11#7548fbae2026-10-14
  • R25-11rel:R25-11#d691adfe2026-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

دالة MonotonicBufferResource [SWS_CORE_06525]

explicit MonotonicBufferResource (std::size_t initial_size) noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06525
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06525@rel:R25-11#596cebd2
Content hash
596cebd2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06525
Status: valid/unmigrated Version: rel:R25-11#0e59defc Versionshistorie & Revisions (1 transition, 4 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_CORE_06525@rel:R25-11#0e59defc
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5049fb972026-09-30
  • R23-11rel:R23-11#c421df4a2026-10-14
  • R24-11rel:R24-11#d5aca05b2026-10-14
  • R25-11rel:R25-11#0e59defc2026-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

دالة MonotonicBufferResource [SWS_CORE_06526]

MonotonicBufferResource (void *buffer, std::size_t buffer_size) noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06526
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06526@rel:R25-11#77d744dc
Content hash
77d744dc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06526
Status: valid/unmigrated Version: rel:R25-11#f89b06c1 Versionshistorie & Revisions (1 transition, 4 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_CORE_06526@rel:R25-11#f89b06c1
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#2cca31c02026-09-30
  • R23-11rel:R23-11#d5cf48d92026-10-14
  • R24-11rel:R24-11#6c43aeda2026-10-14
  • R25-11rel:R25-11#f89b06c12026-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

دالة MonotonicBufferResource [SWS_CORE_06527]

MonotonicBufferResource (const MonotonicBufferResource &)=delete;

As per corresponding usage in [mem.res.monotonic.buffer]

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource

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

Record
AUTOSAR/AP/record/SWS_CORE_06527
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06527@rel:R25-11#9da676e8
Content hash
9da676e8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06527
Status: valid/unmigrated Version: rel:R25-11#16e6cac0 Versionshistorie & Revisions (1 transition, 4 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_CORE_06527@rel:R25-11#16e6cac0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a2a4321d2026-09-30
  • R23-11rel:R23-11#6632fcf42026-10-14
  • R24-11rel:R24-11#de03506d2026-10-14
  • R25-11rel:R25-11#16e6cac02026-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

دالة MonotonicBufferResource [SWS_CORE_06576] Upstream: RS_AP_00145

MonotonicBufferResource (MonotonicBufferResource &&other) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Move constructor

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherother MonotonicBufferResource to move from

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

Record
AUTOSAR/AP/record/SWS_CORE_06576
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06576@rel:R25-11#3f04e8a1
Content hash
3f04e8a1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06576
Status: valid/unmigrated Version: rel:R25-11#4c2df3e5 Versionshistorie & Revisions (1 transition, 3 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_CORE_06576@rel:R25-11#4c2df3e5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f24402302026-09-30
  • R24-11rel:R24-11#4990130a2026-10-14
  • R25-11rel:R25-11#4c2df3e52026-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

دالة do_allocate [SWS_CORE_06569]

void * do_allocate (std::size_t bytes, std::size_t alignment) noexcept override;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept 2. The function returns nullptr instead of (potentially) throwing a std::bad_alloc exception

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

الاستخدام

تُستخدم دالة العضو المحمية do_allocate للفئة ara::core::MonotonicBufferResource لتخصيص مساحات الذاكرة وفقًا لـ [mem.res.monotonic.buffer] [SWS_CORE_06569]. وهي تنفذ الواجهة الافتراضية البحتة do_allocate للفئة الأساسية ara::core::MemoryResource [SWS_CORE_06566]. كتفسير، من المحتمل أن يتم الاستدعاء المتزامن بشكل أساسي بطريقة غير مباشرة عبر طرق التعيين العامة للفئة الأساسية بسبب إمكانية الرؤية protected. سؤال Q-21b2da19c0fd7f8f (مفتوح) تأخذ الدالة الحجم المطلوب بالبايت بالإضافة إلى المحاذاة المرغوبة (alignment).

معالجة الأخطاء وأمان الاستثناءات

على عكس سلوك ++C القياسي، لا تُطلق الدالة استثناء std::bad_alloc عند حدوث أخطاء في التخصيص، بل تُرجع بدلاً من ذلك nullptr [SWS_CORE_06569]. وبفضل التصريح باستخدام noexcept، تم تحديد الطريقة بأنها آمنة من الاستثناءات [SWS_CORE_06569]. لذلك يجب على المستدعين دائمًا التحقق من النتيجة ومقارنتها بـ nullptr لاكتشاف عدم كفاية الذاكرة.

التزامن والتفاعل

تم تحديد الطريقة على أنها غير آمنة بالنسبة للخيوط [SWS_CORE_06569]. إذا بدأت عمليات التعيين بشكل متزامن من خيوط متعددة، فيجب إجراء المزامنة خارجيًا عبر جهة الاستدعاء. يتوافق هذا مع سلوك ara::core::UnsynchronizedPoolResource::do_allocate [SWS_CORE_00058]، في حين تم تصميم ara::core::SynchronizedPoolResource::do_allocate لتكون آمنة بالنسبة للخيوط للاستدعاءات المتزامنة [SWS_CORE_00061].

تم إنشاء ملاحظة الاستخدام هذه آليًا استنادًا إلى مواصفة AUTOSAR R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

Rückgabewert

TypBeschreibung
void *• If successful: As per corresponding usage in [mem.res.monotonic.buffer] • If unsuccessful: the returned pointer shall be nullptr

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

Record
AUTOSAR/AP/record/SWS_CORE_06569
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06569@rel:R25-11#4156e614
Content hash
4156e614
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06569
Status: valid/unmigrated Version: rel:R25-11#b9ee8ac6 Versionshistorie & Revisions (1 transition, 3 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_CORE_06569@rel:R25-11#b9ee8ac6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#abbfa0d62026-09-30
  • R24-11rel:R24-11#59103c462026-10-14
  • R25-11rel:R25-11#b9ee8ac62026-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

دالة do_deallocate [SWS_CORE_06570]

void do_deallocate (void *p, std::size_t bytes, std::size_t alignment) noexcept override;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept 2. If unsuccessful: errors will be silently ignored

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

الاستخدام

تُستخدم دالة العضو do_deallocate للفئة ara::core::MonotonicBufferResource لإلغاء تخصيص مساحات الذاكرة وفقًا لـ [SWS_CORE_06570]. وهي معرفة عبر ملف الترويسة #include "ara/core/memory_resource.h" [SWS_CORE_06570]. تأخذ الدالة مؤشرًا p إلى مساحة الذاكرة المراد تحريرها بالإضافة إلى المعلمتين bytes وalignment (كل منهما من النوع std::size_t)، ولا تُرجع أي قيمة (void) [SWS_CORE_06570]. تتبع الدلالات التحديد الوارد في [mem.res.monotonic.buffer] مع انحرافات AUTOSAR محددة [SWS_CORE_06570].

معالجة الأخطاء

تم التصريح عن الدالة كـ noexcept وتضمن أمان الاستثناءات (exception safe) [SWS_CORE_06570]. إذا حدث خطأ أثناء التنفيذ، فسيتم تجاهله ضمنيًا (errors will be silently ignored) [SWS_CORE_06570]. لا توجد قيم مُرجعة ولا رموز أخطاء محددة للإبلاغ عن الأخطاء.

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

فيما يتعلق بالتزامن، تم تحديد do_deallocate على أنها غير آمنة بالنسبة للخيوط (not thread-safe) [SWS_CORE_06570]. لا يُسمح بالاستدعاء المتزامن من عدة خيوط دون مزامنة خارجية. تمتلك الطريقة مستوى الرؤية protected وتتجاوز الواجهة الافتراضية البحتة للفئة الأساسية ara::core::MemoryResource [SWS_CORE_06567]. تفسير: من المحتمل معالجة الاستدعاءات بانتظام عبر واجهة إلغاء التخصيص العامة للفئة الأساسية. سؤال Q-6916292acaa8993b (مفتوح)

تفاعل

بينما تنص الفئة الأساسية ara::core::MemoryResource على دالة إلغاء التخصيص بمستوى رؤية خاص [SWS_CORE_06567]، تقوم MonotonicBufferResource وكذلك الفئات المرتبطة ara::core::SynchronizedPoolResource [SWS_CORE_00041] وara::core::UnsynchronizedPoolResource [SWS_CORE_00059] بتنفيذها بشكل محمي (protected) مع معالجة صامتة للأخطاء. وعلى عكس مورد التجمع المتزامن [SWS_CORE_00041]، والذي يُعد آمنًا بالنسبة للخيوط، يتطلب MonotonicBufferResource مثل ara::core::UnsynchronizedPoolResource [SWS_CORE_00059] استبعاد الوصول المتوازي.

تم إنشاء ملاحظة الاستخدام هذه بواسطة ذكاء اصطناعي وتستند إلى التحديدات الواردة في مواصفة AUTOSAR Adaptive R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_CORE_06570
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06570@rel:R25-11#1eb2a401
Content hash
1eb2a401
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06570
Status: valid/unmigrated Version: rel:R25-11#f3b1bdb5 Versionshistorie & Revisions (1 transition, 3 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_CORE_06570@rel:R25-11#f3b1bdb5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#46e378422026-09-30
  • R24-11rel:R24-11#19c0e1ee2026-10-14
  • R25-11rel:R25-11#f3b1bdb52026-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

دالة do_is_equal [SWS_CORE_06571]

bool do_is_equal (const MemoryResource &other) const noexcept override;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

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

تتجاوز الطريقة protected do_is_equal للفئة ara::core::MonotonicBufferResource الواجهة الافتراضية البحتة للفئة الأساسية ara::core::MemoryResource وفقًا لـ [SWS_CORE_06571]. وتقارن النسخة الحالية بشكل متزامن مع const MemoryResource &other الممررة للتحقق من التساوي فيما يتعلق بدلالات إدارة الذاكرة.

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

يتم الاستدعاء عادةً بشكل غير مباشر عبر الواجهة العامة لـ MemoryResource. وفقًا لـ [SWS_CORE_06571]، يتبع السلوك الاستخدام في [mem.res.monotonic.buffer]، ولكنه يُظهر انحرافًا صريحًا يتمثل في التصريح عن الدالة كـ noexcept. القيمة المُرجعة هي bool، والتي توضح ما إذا كان الموردان قابلين للتبديل أو متطابقين.

معالجة الأخطاء والتزامن

  • أمان الاستثناءات: تم تحديد الدالة كـ exception safe ولا تُطلق أي استثناءات استنادًا إلى توقيع noexcept وفقًا لـ [SWS_CORE_06571]. ولا توجد رموز أخطاء محددة أو رسائل DET/DEM.
  • أمان الخيوط: تم تصنيف العملية كـ thread-safe ([SWS_CORE_06571]) ويمكن تنفيذها بشكل متزامن.

تفاعل

تنفذ الدالة العقد الافتراضي من ara::core::MemoryResource ([SWS_CORE_06568]). وتوجد تطبيقات مماثلة لمقارنة التساوي أيضًا في موارد ذاكرة أخرى مثل ara::core::SynchronizedPoolResource ([SWS_CORE_00042]) وara::core::UnsynchronizedPoolResource ([SWS_CORE_00060]).

تم توليد هذا النص بواسطة ذكاء اصطناعي بناءً على المواصفة R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_CORE_06571
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06571@rel:R25-11#09a0520a
Content hash
09a0520a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06571
Status: valid/unmigrated Version: rel:R25-11#5dc73006 Versionshistorie & Revisions (1 transition, 3 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_CORE_06571@rel:R25-11#5dc73006
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#455886dc2026-09-30
  • R24-11rel:R24-11#ceb8fc942026-10-14
  • R25-11rel:R25-11#5dc730062026-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_CORE_06529]

MonotonicBufferResource & operator= (const MonotonicBufferResource &)=delete;

As per corresponding usage in [mem.res.monotonic.buffer]

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource

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

Record
AUTOSAR/AP/record/SWS_CORE_06529
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06529@rel:R25-11#24a492e6
Content hash
24a492e6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06529
Status: valid/unmigrated Version: rel:R25-11#2502c929 Versionshistorie & Revisions (1 transition, 4 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_CORE_06529@rel:R25-11#2502c929
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#c667aa8a2026-09-30
  • R23-11rel:R23-11#65eba1772026-10-14
  • R24-11rel:R24-11#e0f799bc2026-10-14
  • R25-11rel:R25-11#2502c9292026-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_CORE_06577] Upstream: RS_AP_00145

MonotonicBufferResource & operator= (MonotonicBufferResource &&other) noexcept=default;

[AUTOSAR defined] not present in ISO-14882. Move assignment operator

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherother MonotonicBufferResource to move from

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

Record
AUTOSAR/AP/record/SWS_CORE_06577
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06577@rel:R25-11#f60f4864
Content hash
f60f4864
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06577
Status: valid/unmigrated Version: rel:R25-11#088d07f5 Versionshistorie & Revisions (1 transition, 3 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_CORE_06577@rel:R25-11#088d07f5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#3aca8c882026-09-30
  • R24-11rel:R24-11#e89e6dab2026-10-14
  • R25-11rel:R25-11#088d07f52026-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

دالة release [SWS_CORE_06530]

void release () noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

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

تُستخدم الدالة العضو release() للفئة ara::core::MonotonicBufferResource ([SWS_CORE_06530]) لتحرير الذاكرة التي يديرها مورد المخزن المؤقت. ويتم الاستدعاء بشكل متزامن، ولا يقبل أي معلمات ولا يُرجع أي قيمة معادة (void).

فيما يتعلق بمعالجة الأخطاء، تم التصريح عن الدالة بـ noexcept وتحديدها كآمنة للاستثناءات (exception safe) ([SWS_CORE_06530]). ولا توجد رموز خطأ محددة، ولا يتم إرسال أي رسائل خطأ إلى جهات تشخيص أو إبلاغ مركزية.

فيما يتعلق بالتزامن، تم تصنيف release() صراحةً على أنه غير آمن بالنسبة للخيوط (not thread-safe) ([SWS_CORE_06530]). لا يُسمح بالوصول المتزامن إلى نفس النسخة دون مزامنة خارجية. تفسير: استنادًا إلى الدلالات المستعارة من [mem.res.monotonic.buffer]، من المحتمل أن تصبح كافة مساحات الذاكرة المخصصة مسبقًا عبر هذا المورد غير صالحة بمجرد الاستدعاء. سؤال Q-bd46bd9971926d95 (مفتوح)

في إطار تفاعل موارد الذاكرة من #include "ara/core/memory_resource.h"، تختلف الدالة في سلوك التزامن عن ara::core::SynchronizedPoolResource::release()، والتي تُعد آمنة بالنسبة للخيوط ([SWS_CORE_00037])، بينما تتصرف بصورة مماثلة لـ ara::core::UnsynchronizedPoolResource::release()، والتي تُعد أيضًا غير آمنة بالنسبة للخيوط ([SWS_CORE_00065]).

تم إنشاء هذا النص بواسطة ذكاء اصطناعي بناءً على متطلبات مواصفات AUTOSAR R25-11.

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06530
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06530@rel:R25-11#325e2e7f
Content hash
325e2e7f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06530
Status: valid/unmigrated Version: rel:R25-11#69f783e0 Versionshistorie & Revisions (1 transition, 4 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_CORE_06530@rel:R25-11#69f783e0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#819676212026-09-30
  • R23-11rel:R23-11#691b1b062026-10-14
  • R24-11rel:R24-11#83f3869e2026-10-14
  • R25-11rel:R25-11#69f783e02026-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

دالة upstream_resource [SWS_CORE_06531]

MemoryResource * upstream_resource () const noexcept;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept

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

تُرجع دالة العضو upstream_resource() للفئة ara::core::MonotonicBufferResource بشكل متزامن مؤشرًا إلى مورد الذاكرة الرئيسي من النوع MemoryResource* [SWS_CORE_06531]. يتم الاستدعاء عبر ملف الترويسة #include "ara/core/memory_resource.h" ولا تأخذ الدالة أي معلمات [SWS_CORE_06531]. تفسير: من المحتمل أن يعمل مورد الذاكرة المُرجع كذاكرة تخزين مؤقت رئيسية في حال كانت الذاكرة المؤقتة الداخلية للنسخة غير كافية لعمليات التخصيص. سؤال Q-e01e234e281bc4c6 (مفتوح)

فيما يتعلق بمعالجة الأخطاء وأمان الاستثناءات، تم التصريح عن الطريقة على أنها noexcept وهي آمنة تمامًا من الاستثناءات (exception safe) [SWS_CORE_06531]. لا تتضمن المواصفة رموز أخطاء محددة أو كائنات خطأ أو رسائل تشخيصية مثل DET أو DEM لهذا الاستدعاء الذي يقتصر على كونه دالة جلب (Getter) بحتة [SWS_CORE_06531].

فيما يتعلق بالتزامن، تم تحديد الطريقة على أنها const بالإضافة إلى كونها آمنة بالنسبة للخيوط (thread-safe) [SWS_CORE_06531]. ونتيجة لذلك، يمكن الاستعلام عن المؤشر إلى مورد Upstream من خيوط متعددة بالتوازي دون الحاجة إلى مزامنة خارجية.

تتبع الدلالات الوظيفية التحديد الوارد في [mem.res.monotonic.buffer]، ولكنها تظهر انحرافًا معياريًا يتمثل في أن الدالة محددة صراحةً في معيار AUTOSAR Adaptive كـ noexcept [SWS_CORE_06531]. وتستخدم الفئات المرتبطة ara::core::SynchronizedPoolResource [SWS_CORE_00038] وكذلك ara::core::UnsynchronizedPoolResource [SWS_CORE_00056] نمط واجهة مماثل لتوفير المورد الرئيسي.

تم إنشاء هذا النص بواسطة ذكاء اصطناعي بناءً على بيانات المواصفة.

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06531
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06531@rel:R25-11#97ae47b3
Content hash
97ae47b3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06531
Status: valid/unmigrated Version: rel:R25-11#c0075ddb Versionshistorie & Revisions (1 transition, 4 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_CORE_06531@rel:R25-11#c0075ddb
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6499d8ca2026-09-30
  • R23-11rel:R23-11#ae18043d2026-10-14
  • R24-11rel:R24-11#888f90212026-10-14
  • R25-11rel:R25-11#c0075ddb2026-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

دالة ~MonotonicBufferResource [SWS_CORE_06528]

~MonotonicBufferResource () noexcept override;

As per corresponding usage in [mem.res.monotonic.buffer] except for the following deviations: 1. The function is noexcept 2. The function is not virtual

Header-Datei#include "ara/core/memory_resource.h"
Scopeclass ara::core::MonotonicBufferResource
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_CORE_06528
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06528@rel:R25-11#3fec60d8
Content hash
3fec60d8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06528
Status: valid/unmigrated Version: rel:R25-11#cb9c3608 Versionshistorie & Revisions (1 transition, 4 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_CORE_06528@rel:R25-11#cb9c3608
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#91d465f22026-09-30
  • R23-11rel:R23-11#6339e5982026-10-14
  • R24-11rel:R24-11#e078b9482026-10-14
  • R25-11rel:R25-11#cb9c36082026-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