DEENESPTFRRUARHIKOZHNL

فئة ara::per::UniqueHandle

[SWS_PER_00359] Upstream: RS_PER_00002, RS_AP_00122, RS_AP_00140

template <typename T> class UniqueHandle final {...};

Handle to a ReadAccessor or ReadWriteAccessor. A UniqueHandle is returned by the functions OpenFileReadOnly(), OpenFileWriteOnly(), and OpenFileReadWrite().

Header-Datei#include "ara/per/unique_handle.h"
Forwarding-Header#include "ara/per/per_fwd.h"
Scopenamespace ara::per

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

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

يدير الوصول الحصري والقابل للنقل إلى كائنات الوصول إلى الملفات باستخدام دلالات RAII.

يدير قالب الفئة ara::per::UniqueHandle الملكية الحصرية لكائنات الوصول إلى الملفات الخاصة بـ AUTOSAR-Persistenz ضمن إطار دلالات النقل فقط الصارمة. بعد الحصول عليها عبر دوال الوصول إلى الملفات، يجب التحقق من صلاحية النسخة بصورة إلزامية قبل أي استخدام بواسطة operator bool() [SWS_PER_00371]. يؤدي استدعاء معاملات أخرى على مقبض فارغ أو منقول إلى سلوك غير محدد [SWS_PER_00399]. تم الإعلان عن جميع العمليات بصفتها noexcept، مع كون عمليات القراءة آمنة خيطياً، بينما العمليات المعدّلة ليست كذلك.

السياق

يُستخدم قالب الفئة ara::per::UniqueHandle كمقبض وصول آمن النوع لكائنات الموارد الخاصة بـ AUTOSAR-Adaptive-Persistenz، وتحديداً ReadAccessor أو ReadWriteAccessor. ويتم توفيره كقيمة إرجاع للدوال OpenFileReadOnly()، OpenFileWriteOnly() وكذلك OpenFileReadWrite()، ويغلّف الملكية الحصرية لواجهة الوصول إلى الملف المفتوح.

دورة الحياة

تنفذ الفئة دلالات النقل فقط الصارمة (الملكية الفريدة). ولمنع التكرار غير المقصود للوصول أو المشاركة في الملكية، تم تعريف كل من دالة إنشاء النسخ [SWS_PER_00373] ومعامل تعيين النسخ [SWS_PER_00374] على أنهما محذوفان (delete). ولا يمكن نقل حقوق الملكية إلا عبر النقل: عند استدعاء دالة الإنشاء بالنقل [SWS_PER_00371] أو التعيين بالنقل [SWS_PER_00372]، يتم إلغاء صلاحية كائن المصدر الممرر ولا يجوز استخدامه بعد ذلك.

يوجد UniqueHandle في أي لحظة إما في حالة صالحة (حيث يمثل كائناً صالحاً من الفئة المحددة بمعلمات) أو في حالة فارغة أو ملغاة الصلاحية، كما هو الحال بعد إجراء نقل عبر النقل [SWS_PER_00399]. عند انتهاء نطاق الصلاحية، يتم تنفيذ دالة الهدم [SWS_PER_00569]. على الأرجح، يؤدي تدمير مقبض صالح إلى إغلاق أو تنظيف مورد الوصول المغلف تلقائياً. سؤال Q-e7f12aa0d7c5548d (مفتوح)

UniqueHandleState start Gueltig صالح start->Gueltig OpenFileReadOnly / OpenFileWriteOnly / OpenFileReadWrite Leer فارغ / غير صالح Gueltig->Leer Move-Konstruktor / Move-Zuweisung (Quelle) ende Gueltig->ende Destruktor Leer->Gueltig Move-Zuweisung (Ziel) Leer->ende Destruktor

مخطط الحالة: دورة الحياة وانتقالات الحالة لـ UniqueHandle بين الحالة الصالحة والحالة الفارغة. المصادر: [SWS_PER_00371]، [SWS_PER_00372]، [SWS_PER_00399]، [SWS_PER_00569]

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

يتبع الاستخدام النموذجي لـ UniqueHandle تسلسلاً محدداً من الخطوات:

  1. استلام المقبض: يستلم التطبيق المقبض كنتيجة لاستدعاء الوصول إلى الملف مثل OpenFileReadOnly()، OpenFileWriteOnly() أو OpenFileReadWrite().
  2. التحقق من الحالة: قبل أي عملية أخرى، يجب التحقق من حالة النسخة بصورة إلزامية بواسطة operator bool() [SWS_PER_00371]، [SWS_PER_00372]. يُرجع المعامل true إذا وجد كائن صالح، وfalse إذا كان المقبض فارغاً [SWS_PER_00399].
  3. الوصول إلى الكائن المغلف: في الحالة الصالحة، يتم الوصول إلى دوال وبيانات الهدف عبر معاملات السهم operator-> (غير الثابتة [SWS_PER_00360] أو الثابتة [SWS_PER_00361]) أو عبر إلغاء المرجعية بواسطة operator* (غير الثابتة [SWS_PER_00400] أو الثابتة [SWS_PER_00401]).
  4. تسليم الملكية أو التدمير: يمكن عند الحاجة نقل المقبض عبر std::move إلى مكون آخر [SWS_PER_00371]، أو يتم تدميره تلقائياً في نهاية فترة حياته [SWS_PER_00569].

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

يمثل الوصول إلى مقبض فارغ أو منقول سيناريو خطأ أساسياً: يؤدي استخدام معاملات غير operator bool() على مقبض فارغ وفقاً للمواصفة إلى سلوك غير محدد (Undefined Behavior) [SWS_PER_00399]. ولذلك، يُفرض إجراء فحص بشكل إلزامي قبل أي إلغاء للمرجعية [SWS_PER_00371]، [SWS_PER_00372].

فيما يتعلق بالأمان ضد الاستثناءات والتزامن، تنطبق تفاصيل المواصفة التالية:

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

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

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

2

مخطط الفئة

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

G nara__per__UniqueHandle733 UniqueHandle + UniqueHandle() + operator=() + ~UniqueHandle() + operatorbool() + operator*() + operator->()

عرض التفاصيل

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

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

UniqueHandle دالة 2

Move constructor for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

التحميلات الزائدة UniqueHandle 2
UniqueHandle (UniqueHandle &&uh) noexcept; SWS_PER_00371
UniqueHandle (const UniqueHandle &)=delete; SWS_PER_00373
~UniqueHandle دالة

Destructor for UniqueHandle.

~UniqueHandle () noexcept;

المعاملات

operator* دالة 2

Non-constant dereference operator.

التحميلات الزائدة * 2
T & operator* () noexcept; SWS_PER_00400
const T & operator* () const noexcept; SWS_PER_00401
operator-> دالة 2

Non-constant arrow operator.

التحميلات الزائدة -> 2
T * operator-> () noexcept; SWS_PER_00360
const T * operator-> () const noexcept; SWS_PER_00361
operator= دالة 2

Move assignment operator for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

التحميلات الزائدة = 2
UniqueHandle & operator= (UniqueHandle &&uh) & noexcept; SWS_PER_00372
UniqueHandle & operator= (const UniqueHandle &)=delete; SWS_PER_00374
operatorbool دالة

Handle state. True if the handle represents a valid object of the templated class, False if the handle is empty (e.g. after a move operation). Using other operators than bool() of an empty handle will result in undefined behavior.

explicit operator bool () const noexcept;

توثيق الدوال

دالة UniqueHandle [SWS_PER_00371] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00121, RS_AP_00129, RS_AP_00135, RS_AP_00145, RS_AP_00159

UniqueHandle (UniqueHandle &&uh) noexcept;

Move constructor for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
uhThe UniqueHandle object to be moved.

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

Record
AUTOSAR/AP/record/SWS_PER_00371
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00371@rel:R25-11#f166b189
Content hash
f166b189
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00371
Status: valid/unmigrated Version: rel:R25-11#b7a796ed Versionshistorie & Revisions (1 transition, 8 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_PER_00371@rel:R25-11#b7a796ed
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2472caed2026-09-30
  • R19-11rel:R19-11#5b28d9822026-10-14
  • R20-11rel:R20-11#6556de6a2026-10-14
  • R21-11rel:R21-11#4fd62e1b2026-10-14
  • R22-11rel:R22-11#638b49b92026-10-14
  • R23-11rel:R23-11#4afea7132026-10-14
  • R24-11rel:R24-11#15ae42ea2026-10-14
  • R25-11rel:R25-11#b7a796ed2026-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

دالة UniqueHandle [SWS_PER_00373] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00145

UniqueHandle (const UniqueHandle &)=delete;

The copy constructor for UniqueHandle shall not be used.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle

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

Record
AUTOSAR/AP/record/SWS_PER_00373
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00373@rel:R25-11#63ca5d22
Content hash
63ca5d22
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00373
Status: valid/unmigrated Version: rel:R25-11#97a13cb3 Versionshistorie & Revisions (1 transition, 8 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_PER_00373@rel:R25-11#97a13cb3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#22b7f4472026-09-30
  • R19-11rel:R19-11#5ad725022026-10-14
  • R20-11rel:R20-11#30834d982026-10-14
  • R21-11rel:R21-11#30834d982026-10-14
  • R22-11rel:R22-11#5a84219f2026-10-14
  • R23-11rel:R23-11#4fff0fda2026-10-14
  • R24-11rel:R24-11#97a13cb32026-10-14
  • R25-11rel:R25-11#97a13cb32026-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_PER_00400] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

T & operator* () noexcept;

Non-constant dereference operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T&A reference to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00400
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00400@rel:R25-11#2ab4af81
Content hash
2ab4af81
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00400
Status: valid/unmigrated Version: rel:R25-11#03e17b34 Versionshistorie & Revisions (1 transition, 8 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_PER_00400@rel:R25-11#03e17b34
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3c202d012026-09-30
  • R19-11rel:R19-11#669b25ad2026-10-14
  • R20-11rel:R20-11#221dd15a2026-10-14
  • R21-11rel:R21-11#94a9e6752026-10-14
  • R22-11rel:R22-11#59befd852026-10-14
  • R23-11rel:R23-11#cc5fb2d62026-10-14
  • R24-11rel:R24-11#03e17b342026-10-14
  • R25-11rel:R25-11#03e17b342026-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_PER_00401] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

const T & operator* () const noexcept;

Constant dereference operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const T &A constant reference to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00401
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00401@rel:R25-11#c51931ec
Content hash
c51931ec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00401
Status: valid/unmigrated Version: rel:R25-11#55c3ace7 Versionshistorie & Revisions (1 transition, 8 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_PER_00401@rel:R25-11#55c3ace7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a493a1ed2026-09-30
  • R19-11rel:R19-11#38e407492026-10-14
  • R20-11rel:R20-11#8d59685c2026-10-14
  • R21-11rel:R21-11#32e0990d2026-10-14
  • R22-11rel:R22-11#96bb511e2026-10-14
  • R23-11rel:R23-11#6bb24b062026-10-14
  • R24-11rel:R24-11#55c3ace72026-10-14
  • R25-11rel:R25-11#55c3ace72026-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_PER_00360] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

T * operator-> () noexcept;

Non-constant arrow operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T*A pointer to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00360
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00360@rel:R25-11#716b4182
Content hash
716b4182
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00360
Status: valid/unmigrated Version: rel:R25-11#ef2a1027 Versionshistorie & Revisions (1 transition, 8 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_PER_00360@rel:R25-11#ef2a1027
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#98df28e32026-09-30
  • R19-11rel:R19-11#f4d0effe2026-10-14
  • R20-11rel:R20-11#c27e978c2026-10-14
  • R21-11rel:R21-11#ab8f7d8e2026-10-14
  • R22-11rel:R22-11#c187af442026-10-14
  • R23-11rel:R23-11#24381aca2026-10-14
  • R24-11rel:R24-11#ef2a10272026-10-14
  • R25-11rel:R25-11#ef2a10272026-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_PER_00361] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

const T * operator-> () const noexcept;

Constant arrow operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const T *A constant pointer to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00361
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00361@rel:R25-11#0a43251e
Content hash
0a43251e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00361
Status: valid/unmigrated Version: rel:R25-11#bfbbb900 Versionshistorie & Revisions (1 transition, 8 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_PER_00361@rel:R25-11#bfbbb900
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#db461d5a2026-09-30
  • R19-11rel:R19-11#898a6e702026-10-14
  • R20-11rel:R20-11#5cd9c3f32026-10-14
  • R21-11rel:R21-11#5cd9c3f32026-10-14
  • R22-11rel:R22-11#aef959232026-10-14
  • R23-11rel:R23-11#39c079282026-10-14
  • R24-11rel:R24-11#bfbbb9002026-10-14
  • R25-11rel:R25-11#bfbbb9002026-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_PER_00372] Upstream: RS_PER_00002, RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00135, RS_AP_00145, RS_AP_00153, RS_AP_00159

UniqueHandle & operator= (UniqueHandle &&uh) & noexcept;

Move assignment operator for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
uhThe UniqueHandle object to be moved.

Rückgabewert

TypBeschreibung
UniqueHandle &The moved UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00372
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00372@rel:R25-11#59d27dff
Content hash
59d27dff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00372
Status: valid/unmigrated Version: rel:R25-11#fa5f6ac4 Versionshistorie & Revisions (1 transition, 8 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_PER_00372@rel:R25-11#fa5f6ac4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#414bd1522026-09-30
  • R19-11rel:R19-11#bc1017fc2026-10-14
  • R20-11rel:R20-11#b45b4d662026-10-14
  • R21-11rel:R21-11#b45b4d662026-10-14
  • R22-11rel:R22-11#eaac664b2026-10-14
  • R23-11rel:R23-11#a9b2fe9d2026-10-14
  • R24-11rel:R24-11#fa5f6ac42026-10-14
  • R25-11rel:R25-11#fa5f6ac42026-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_PER_00374] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00145

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

The copy assignment operator for UniqueHandle shall not be used.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle

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

Record
AUTOSAR/AP/record/SWS_PER_00374
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00374@rel:R25-11#d9706cd3
Content hash
d9706cd3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00374
Status: valid/unmigrated Version: rel:R25-11#473a1718 Versionshistorie & Revisions (1 transition, 8 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_PER_00374@rel:R25-11#473a1718
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#24ed94c02026-09-30
  • R19-11rel:R19-11#7eb83f182026-10-14
  • R20-11rel:R20-11#3556e4cd2026-10-14
  • R21-11rel:R21-11#728358a52026-10-14
  • R22-11rel:R22-11#503812912026-10-14
  • R23-11rel:R23-11#fb958c822026-10-14
  • R24-11rel:R24-11#f5750b432026-10-14
  • R25-11rel:R25-11#473a17182026-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

دالة operatorbool [SWS_PER_00399] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

explicit operator bool () const noexcept;

Handle state. True if the handle represents a valid object of the templated class, False if the handle is empty (e.g. after a move operation). Using other operators than bool() of an empty handle will result in undefined behavior.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
boolFalse if the handle is empty, otherwise true.

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

Record
AUTOSAR/AP/record/SWS_PER_00399
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00399@rel:R25-11#5b039b75
Content hash
5b039b75
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00399
Status: valid/unmigrated Version: rel:R25-11#8ef94211 Versionshistorie & Revisions (1 transition, 8 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_PER_00399@rel:R25-11#8ef94211
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f0c1c0c02026-09-30
  • R19-11rel:R19-11#8839778e2026-10-14
  • R20-11rel:R20-11#312f50912026-10-14
  • R21-11rel:R21-11#dc10458b2026-10-14
  • R22-11rel:R22-11#aba123462026-10-14
  • R23-11rel:R23-11#dccc30862026-10-14
  • R24-11rel:R24-11#979f05a72026-10-14
  • R25-11rel:R25-11#8ef942112026-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

دالة ~UniqueHandle [SWS_PER_00569] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00129, RS_AP_00134, RS_AP_00145, RS_AP_00159

~UniqueHandle () noexcept;

Destructor for UniqueHandle.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
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_PER_00569
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00569@rel:R25-11#ccfd39f9
Content hash
ccfd39f9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00569
Status: valid/unmigrated Version: rel:R25-11#185fb928 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_PER_00569@rel:R25-11#185fb928
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e4cc15fc2026-09-30
  • R23-11rel:R23-11#1d1adf602026-10-14
  • R24-11rel:R24-11#185fb9282026-10-14
  • R25-11rel:R25-11#185fb9282026-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