DEENESPTFRRUARHIKOZHNL

فئة ara::diag::ReleaseHandler

[SWS_DM_01340] Upstream: RS_Diag_04135

class ReleaseHandler final {...};

ReleaseHandler contains a shared state if the processing should be cancelled.

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

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

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

يدير حالة تحرير الموارد ويشير إلى إلغاء عمليات معالجة التشخيص الجارية.

تدير الفئة ara::diag::ReleaseHandler حالة مشتركة لتحديد ما إذا كان يمكن إلغاء معالجة تشخيص جارية وتحرير مورد مشترك [SWS_DM_01340]. يمكن للتطبيقات تسجيل دالة إشعار عبر SetNotifier وكذلك الاستعلام بشكل متزامن بواسطة MayRelease عما إذا كان المورد لم يعد قيد الاستخدام [SWS_DM_01536]. نظرًا لأن الإنشاء الافتراضي وعمليات النسخ محظورة، يتم نقل النسخة عبر دلالات النقل (Move Semantics)، مع عدم كون التعديلات والتدمير آمنة بالنسبة للخيوط (thread-safe).

السياق

تغلف الفئة ara::diag::ReleaseHandler في وحدة تشخيص AUTOSAR Adaptive حالة مشتركة (Shared State) تشير إلى ما إذا كان ينبغي إلغاء معالجة جارية أو تحرير مورد مشترك [SWS_DM_01340]، AUTOSAR_AP_SWS_Diagnostics §8.23 «Header: ara/diag/release_handler.h». وفي بنية التشخيص، تعمل كواجهة مزامنة وإشعار بين بيئة تشغيل تشخيص AUTOSAR ومعالجات التشخيص الخاصة بالتطبيق. ينطبق هذا بشكل خاص على عمليات المعالجة طويلة الأمد أو الكثيفة الاستخدام للموارد، مثل تلك التي تحدث في سياق جلسات نقل الملفات والبيانات AUTOSAR_AP_SWS_Diagnostics §7.x «DataTransfer».

عبر ReleaseHandler، يحصل التطبيق على إمكانية إعلامه بإنهاء دورات المعالجة أو إلغائها دون الحاجة إلى اللجوء إلى آليات حظر. وبذلك تتولى الفئة دور أداة فصل بين المسار الداخلي لخادم التشخيص وإجراءات المعالجة الأساسية للتطبيق.

دورة الحياة

تخضع دورة حياة نسخة من ReleaseHandler لمتطلبات دلالية صارمة. تحظر الفئة صراحة إنشاء الكائنات بدون معاملات عبر المنشئ الافتراضي [SWS_DM_01530]، AUTOSAR_AP_SWS_Diagnostics §8.23.1.2.1.1 «Default Constructor». ونظرًا لعدم تحديد منشئ عام آخر، فمن المحتمل أن يتم الإنشاء الفعلي للكائن داخليًا بواسطة خادم التشخيص قبل تمرير النسخة إلى معالج الخدمة المعني. سؤال Q-05a2e8b6b7deca40 (مفتوح) بالإضافة إلى ذلك، تم تصميم ReleaseHandler كفئة مخصصة للنقل فقط (Move-Only): إذ تم حذف كل من منشئ النسخ [SWS_DM_01534] ومعامل إسناد النسخ [SWS_DM_01535].

لا يمكن نقل ملكية النسخة إلا عبر عمليات النقل (Move). يتم تعريف منشئ النقل على أنه آمن ضد الاستثناءات (noexcept) وصراحة آمن بالنسبة للخيوط [SWS_DM_01532]، AUTOSAR_AP_SWS_Diagnostics §8.23.1.2.1.2 «Move Constructor». في المقابل، فإن معامل إسناد النقل operator= آمن أيضًا ضد الاستثناءات، ولكنه ليس آمنًا بالنسبة للخيوط [SWS_DM_01533]. يتم التدمير عبر المدمّر ~ReleaseHandler() [SWS_DM_01531]، AUTOSAR_AP_SWS_Diagnostics §8.23.1.2.1.4 «Destructor»، وهو آمن ضد الاستثناءات (noexcept)، ولكن لا يجوز استدعاؤه بشكل آمن بالنسبة للخيوط.

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

يتضمن مسار الاستخدام النموذجي تسجيل دالة إشعار والتحقق المتزامن أو غير المتزامن من حالة التحرير. يسجل التطبيق استدعاءً مرجعيًا عبر الدالة SetNotifier [SWS_DM_01537]. كمعامل، يتم تمرير كائن قابل للاستدعاء من النوع ReleaseHandlerSetNotifier، والذي تم تحديده كاسم مستعار لنوع std::function<void(void)> [SWS_DM_02079]، AUTOSAR_AP_SWS_Diagnostics §8.23.1.1.1 «Type Alias: ReleaseHandlerSetNotifier». ويؤدي الاستدعاء المتكرر لـ SetNotifier إلى استبدال الدالة المسجلة سابقًا بالكامل [SWS_DM_01537].

بمجرد إمكانية تحرير المورد المشترك أو وجود إلغاء، يتم إطلاق المنبّه المسجل. يُفترض أن يحدث هذا الاستدعاء بشكل غير متزامن في سياق خيط خادم التشخيص. سؤال Q-d948326514d200a1 (مفتوح) بالتوازي أو ضمن حلقة التحكم العادية، يمكن للتطبيق عبر MayRelease() التحقق مما إذا كان المورد المشترك لم يعد قيد الاستخدام [SWS_DM_01536]. تُرجع الدالة true إذا كان مسموحًا بتحرير المورد، وإلا فإنها تُرجع false [SWS_DM_01536].

الإشعار وتحرير الموارد عبر ReleaseHandlerالتطبيقReleaseHandlerDiagnostic ServerSetNotifier(notifier)Registriert BenachrichtigungsfunktionSignalisiert Ressourcenfreigabenotifier()MayRelease()trueيحرر موردًا مشتركًا

مخطط تسلسلي: تسلسل تسجيل الإشعار وتحرير الموارد المشتركة. المصادر: [SWS_DM_01536]، [SWS_DM_01537]، [SWS_DM_02079].

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

جميع دوال ReleaseHandler مُعلّمة بـ noexcept ومحددة كآمنة ضد الاستثناءات؛ وبالتالي لا يتم طرح استثناءات ولا تُرجع رموز أخطاء ([SWS_DM_01531]، [SWS_DM_01532]، [SWS_DM_01533]، [SWS_DM_01536]، [SWS_DM_01537]). لذلك، تنشأ سيناريوهات الأخطاء في المقام الأول من انتهاك الشروط المسبقة أو عدم كفاية المزامنة.

يتمثل الشرط المسبق المركزي عند استدعاء SetNotifier في وجوب احتواء الكائن الممرر على هدف قابل للاستدعاء (Callable) وألا يؤدي تنفيذه إلى طرح استثناءات [SWS_DM_01537]. يشكل كائن الدالة الفارغ أو غير الصالح انتهاكًا للشروط المسبقة. فيما يتعلق بالتزامن، تجدر الإشارة إلى أن SetNotifier ومعامل إسناد النقل والمدمّر موثقة على أنها ليست آمنة بالنسبة للخيوط ([SWS_DM_01531]، [SWS_DM_01533]، [SWS_DM_01537]). فقط MayRelease() بالإضافة إلى منشئ النقل آمنان صراحة بالنسبة للخيوط ([SWS_DM_01532]، [SWS_DM_01536]). إذا نُفذت عمليات تسجيل المنبّه أو الإسناد بشكل متزامن دون مزامنة خارجية، فإن ذلك يؤدي إلى سلوك غير محدد.

يستند هذا الدليل إلى مواصفة AUTOSAR Adaptive R25-11 ويلخص متطلبات ReleaseHandler.

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

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

2

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

2

المعاملات

1

أسماء الأنواع البديلة

1

مخطط الفئة

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

G nara__diag__ReleaseHandler678 ReleaseHandler + ReleaseHandler() + operator=() + ~ReleaseHandler() + MayRelease() + SetNotifier()

عرض التفاصيل

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

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

ReleaseHandler دالة 3

Default constructor of ReleaseHandler cannot be used.

التحميلات الزائدة ReleaseHandler 3
ReleaseHandler ()=delete; SWS_DM_01530
ReleaseHandler (ReleaseHandler &&other) noexcept; SWS_DM_01532
ReleaseHandler (ReleaseHandler const &)=delete; SWS_DM_01534

Default destructor.

~ReleaseHandler () noexcept;

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

MayRelease دالة

Reports whether the shared resource is no longer in use.

bool MayRelease () const noexcept;
SetNotifier دالة

Registering a notifier function which is called if the shared resource can be freed. A consecutive call of this method will overwrite the previous registered notifier.

void SetNotifier (ReleaseHandlerSetNotifier notifier) noexcept;

المعاملات

operator= دالة 2

Move assigns instance of class.

التحميلات الزائدة = 2
ReleaseHandler & operator= (ReleaseHandler &&other) & noexcept; SWS_DM_01533
ReleaseHandler & operator= (ReleaseHandler const &)=delete; SWS_DM_01535

أسماء الأنواع البديلة

ReleaseHandlerSetNotifier اسم نوع بديل

Notifier function which is called if the shared resource can be freed.

using ReleaseHandlerSetNotifier = std::function<void(void)>;

توثيق الدوال

دالة MayRelease [SWS_DM_01536] Upstream: RS_Diag_04135

bool MayRelease () const noexcept;

Reports whether the shared resource is no longer in use.

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

تُستخدم الدالة العنصر المتزامنة MayRelease للفئة ara::diag::ReleaseHandler للاستعلام عن حالة مورد مشترك [SWS_DM_01536]. وهي لا تقبل أي معلمات وتُرجع قيمة منطقية: true إذا لم يعد المورد قيد الاستخدام، وإلا false SWS Diagnostics §8.23.1.2.3.1 «MayRelease». للتضمين، يلزم وجود ملف الترويسة ara/diag/release_handler.h [SWS_DM_01536].

تم الإعلان عن الطريقة بأنها noexcept وتتمتع بأمان الاستثناءات exception safe [SWS_DM_01536]. لا يتم إطلاق أي استثناءات ولا يتم إرسال أي رموز خطأ. لا تتوفر معالجة أخطاء محددة عبر DET أو DEM أو إرجاع ara::core::Result لدالة الاستعلام هذه SWS Diagnostics §8.23.1.2.3.1 «MayRelease».

فيما يتعلق بالتزامن، تم تحديد الطريقة بأنها thread-safe وتأهيلها بأنها const [SWS_DM_01536]. ويمكن استدعاؤها بالتزامن من خيوط متعددة دون تعديل الحالة الداخلية للكائن. التفسير: من المرجح أن يستخدم المتصلون الاستعلام بشكل متزامن قبل تحرير المورد أو إعادته؛ ويفترض ألا تنفذ الطريقة نفسها إجراء تحرير، بل تعمل كحارس محض. سؤال Q-207324651411ed8f (مفتوح)

ضمن الوحدة Diagnostics (DM)، تم تحديد الدالة تحت [SWS_DM_01536] في الإصدار R25-11 SWS Diagnostics §77. وهي تعمل كواجهة قياسية في دورة حياة الموارد المشتركة.

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

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

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

Rückgabewert

TypBeschreibung
boolTrue in if the shared resource is no longer in use, False otherwise

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

Record
AUTOSAR/AP/record/SWS_DM_01536
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01536@rel:R25-11#a4c19daf
Content hash
a4c19daf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01536
Status: valid/unmigrated Version: rel:R25-11#2fdaf46b Versionshistorie & Revisions (1 transition, 5 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_01536@rel:R25-11#2fdaf46b
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#a23ca4922026-09-30
  • R22-11rel:R22-11#d7c5870c2026-10-14
  • R23-11rel:R23-11#47a2a7aa2026-10-14
  • R24-11rel:R24-11#2fdaf46b2026-10-14
  • R25-11rel:R25-11#2fdaf46b2026-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

دالة ReleaseHandler [SWS_DM_01530] Upstream: RS_Diag_04135

ReleaseHandler ()=delete;

Default constructor of ReleaseHandler cannot be used.

Header-Datei#include "ara/diag/release_handler.h"
Scopeclass ara::diag::ReleaseHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01530
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01530@rel:R25-11#25a2c9aa
Content hash
25a2c9aa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01530
Status: valid/unmigrated Version: rel:R25-11#7165b8f2 Versionshistorie & Revisions (1 transition, 5 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_01530@rel:R25-11#7165b8f2
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#716ee3412026-09-30
  • R22-11rel:R22-11#788eb6682026-10-14
  • R23-11rel:R23-11#38302d912026-10-14
  • R24-11rel:R24-11#52f37aaa2026-10-14
  • R25-11rel:R25-11#7165b8f22026-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

دالة ReleaseHandler [SWS_DM_01532] Upstream: RS_Diag_04135

ReleaseHandler (ReleaseHandler &&other) noexcept;

Move constructs instance of class.

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

Parameter (out)

ParameterBeschreibung
otherThe other object

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

Record
AUTOSAR/AP/record/SWS_DM_01532
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01532@rel:R25-11#465cc1cc
Content hash
465cc1cc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01532
Status: valid/unmigrated Version: rel:R25-11#a60bb11b Versionshistorie & Revisions (1 transition, 5 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_01532@rel:R25-11#a60bb11b
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#b6fb64382026-09-30
  • R22-11rel:R22-11#4a02fce42026-10-14
  • R23-11rel:R23-11#cbf0544b2026-10-14
  • R24-11rel:R24-11#1090c2ef2026-10-14
  • R25-11rel:R25-11#a60bb11b2026-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

دالة ReleaseHandler [SWS_DM_01534] Upstream: RS_Diag_04135

ReleaseHandler (ReleaseHandler const &)=delete;

Copy constructor of ReleaseHandler cannot be used.

Header-Datei#include "ara/diag/release_handler.h"
Scopeclass ara::diag::ReleaseHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01534
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01534@rel:R25-11#8528be9b
Content hash
8528be9b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01534
Status: valid/unmigrated Version: rel:R25-11#99a25413 Versionshistorie & Revisions (1 transition, 5 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_01534@rel:R25-11#99a25413
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#960b92982026-09-30
  • R22-11rel:R22-11#752b717a2026-10-14
  • R23-11rel:R23-11#4194b1e82026-10-14
  • R24-11rel:R24-11#99a254132026-10-14
  • R25-11rel:R25-11#99a254132026-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

دالة SetNotifier [SWS_DM_01537] Upstream: RS_Diag_04135

void SetNotifier (ReleaseHandlerSetNotifier notifier) noexcept;

Registering a notifier function which is called if the shared resource can be freed. A consecutive call of this method will overwrite the previous registered notifier.

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

الاستخدام

تُستخدم الدالة SetNotifier للفئة ara::diag::ReleaseHandler (المعلن عنها في #include "ara/diag/release_handler.h") لتسجيل دالة رد نداء يتم استدعاؤها بمجرد إمكانية تحرير مورد مشترك [SWS_DM_01537]. يتم الاستدعاء بشكل متزامن لتمرير المعلمة notifier من النوع ReleaseHandlerSetNotifier، بينما نوع الإرجاع هو void [SWS_DM_01537]. يجب أن يكون كائن المُخطر (Notifier) الممرر قابلاً للاستدعاء وألا يُطلق أي استثناءات بنفسه [SWS_DM_01537].

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

تم الإعلان عن الواجهة بأنها آمنة من الاستثناءات (exception safe) وnoexcept؛ ولا توجد قيم إرجاع أخطاء مخصصة [SWS_DM_01537]. وفيما يتعلق بالتزامن، تم تحديد الطريقة بأنها غير آمنة مؤشريًا (not thread-safe) [SWS_DM_01537]. وبناءً على ذلك، يجب مزامنة عمليات الوصول المتنافسة إلى المثيل نفسه من جانب التطبيق. وإذا تم إجراء استدعاء متتالي لـ SetNotifier على المثيل نفسه، فإن خادم التشخيص يستبدل المُخطر المسجل مسبقًا [SWS_DM_01537]، [SWS_DM_01319].

تفاعل

يُستخدم ReleaseHandler في سياق جلسات نقل البيانات مثل DataTransferReadSession أو DataTransferWriteSession (على سبيل المثال عند RequestFileTransfer) AUTOSAR_AP_SWS_Diagnostics ص. 185. التفسير: من المحتمل أن يهدف الإشعار المسجل بالدرجة الأولى إلى تحرير المخازن المؤقتة المخصصة أو عمليات الوصول إلى الملفات من جانب التطبيق بمجرد اكتمال عملية النقل أو عندما لا تعود الجلسة تستخدم المورد. سؤال Q-5aa758ea637a3932 (مفتوح)

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

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

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

Parameter (in)

ParameterBeschreibung
notifierNotification function that is called upon releasing the shared resource

Rückgabewert

TypBeschreibung
None
Hinweise: The passed in function does not throw any exceptions. The passed notifier must contain a callable object.

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

Record
AUTOSAR/AP/record/SWS_DM_01537
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01537@rel:R25-11#d57fdbd7
Content hash
d57fdbd7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01537
Status: valid/unmigrated Version: rel:R25-11#5e3a1ed4 Versionshistorie & Revisions (1 transition, 5 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_01537@rel:R25-11#5e3a1ed4
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#bdbc50662026-09-30
  • R22-11rel:R22-11#67d58a632026-10-14
  • R23-11rel:R23-11#f6b348f42026-10-14
  • R24-11rel:R24-11#7fc020fc2026-10-14
  • R25-11rel:R25-11#5e3a1ed42026-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_01533] Upstream: RS_Diag_04135

ReleaseHandler & operator= (ReleaseHandler &&other) & noexcept;

Move assigns instance of class.

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

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
ReleaseHandler &Reference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01533
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01533@rel:R25-11#01f2cf3a
Content hash
01f2cf3a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01533
Status: valid/unmigrated Version: rel:R25-11#ce8ff995 Versionshistorie & Revisions (1 transition, 5 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_01533@rel:R25-11#ce8ff995
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#83435a252026-09-30
  • R22-11rel:R22-11#8dbbe57d2026-10-14
  • R23-11rel:R23-11#5d4024982026-10-14
  • R24-11rel:R24-11#ce8ff9952026-10-14
  • R25-11rel:R25-11#ce8ff9952026-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_01535] Upstream: RS_Diag_04135

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

Copy assignment operator of ReleaseHandler cannot be used.

Header-Datei#include "ara/diag/release_handler.h"
Scopeclass ara::diag::ReleaseHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01535
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01535@rel:R25-11#adec90f2
Content hash
adec90f2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01535
Status: valid/unmigrated Version: rel:R25-11#05dde1ca Versionshistorie & Revisions (1 transition, 5 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_01535@rel:R25-11#05dde1ca
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#05ce02b32026-09-30
  • R22-11rel:R22-11#8acc7aa42026-10-14
  • R23-11rel:R23-11#c195bfe52026-10-14
  • R24-11rel:R24-11#05dde1ca2026-10-14
  • R25-11rel:R25-11#05dde1ca2026-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

دالة ~ReleaseHandler [SWS_DM_01531] Upstream: RS_Diag_04135

~ReleaseHandler () noexcept;

Default destructor.

Header-Datei#include "ara/diag/release_handler.h"
Scopeclass ara::diag::ReleaseHandler
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_01531
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01531@rel:R25-11#8a521032
Content hash
8a521032
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01531
Status: valid/unmigrated Version: rel:R25-11#0c2c15cf Versionshistorie & Revisions (1 transition, 5 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_01531@rel:R25-11#0c2c15cf
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#cb5366d42026-09-30
  • R22-11rel:R22-11#05b420f32026-10-14
  • R23-11rel:R23-11#e8c091852026-10-14
  • R24-11rel:R24-11#0c2c15cf2026-10-14
  • R25-11rel:R25-11#0c2c15cf2026-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

توثيق أسماء الأنواع البديلة

اسم نوع بديل ReleaseHandlerSetNotifier [SWS_DM_02079] Upstream: RS_Diag_04135

using ReleaseHandlerSetNotifier = std::function<void(void)>;

Notifier function which is called if the shared resource can be freed.

Header-Datei#include "ara/diag/release_handler.h"
Scopeclass ara::diag::ReleaseHandler
SymbolReleaseHandlerSetNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02079
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02079@rel:R25-11#3a1e1227
Content hash
3a1e1227
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02079
Status: valid/unmigrated Version: rel:R25-11#a9ed312d 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_DM_02079@rel:R25-11#a9ed312d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e2d2ba692026-09-30
  • R24-11rel:R24-11#e74781052026-10-14
  • R25-11rel:R25-11#a9ed312d2026-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