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 Persistency के फ़ाइल एक्सेसर ऑब्जेक्ट्स के अनन्य स्वामित्व का प्रबंधन करता है। फ़ाइल एक्सेस फ़ंक्शनों के माध्यम से प्राप्त करने के बाद, किसी भी उपयोग से पहले operator bool() के माध्यम से इंस्टेंस की वैधता की अनिवार्य रूप से जांच की जानी चाहिए [SWS_PER_00371]। किसी खाली या स्थानांतरित हैंडल पर अन्य ऑपरेटरों को कॉल करने से अनिर्धारित व्यवहार होता है [SWS_PER_00399]। सभी ऑपरेशनों को noexcept के रूप में घोषित किया गया है, जहाँ रीड एक्सेस थ्रेड-सुरक्षित हैं, जबकि संशोधन करने वाले ऑपरेशन नहीं हैं।

संदर्भ

क्लास टेम्पलेट ara::per::UniqueHandle AUTOSAR Adaptive Persistency के संसाधन ऑब्जेक्ट्स, विशेष रूप से ReadAccessor या ReadWriteAccessor के लिए एक टाइप-सुरक्षित एक्सेस हैंडल के रूप में कार्य करता है। यह फ़ंक्शनों OpenFileReadOnly(), OpenFileWriteOnly() तथा OpenFileReadWrite() के रिटर्न मान के रूप में प्रदान किया जाता है और खोले गए फ़ाइल एक्सेस इंटरफ़ेस के अनन्य स्वामित्व को इनकैप्सुलेट करता है।

जीवनचक्र

यह क्लास सख्त मूव-ओनली सिमेंटिक्स (Unique Ownership) को कार्यान्वित करती है। एक्सेस के अनजाने दोहराव या साझा स्वामित्व को रोकने के लिए, कॉपी कंस्ट्रक्टर [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]।

अपवाद सुरक्षा और समवर्तीता के संबंध में निम्नलिखित विनिर्देश विवरण लागू होते हैं:

  • अपवाद सुरक्षा: सभी मेथड और ऑपरेटर noexcept से युक्त हैं और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट हैं ([SWS_PER_00371], [SWS_PER_00372], [SWS_PER_00399], [SWS_PER_00400], [SWS_PER_00401], [SWS_PER_00360], [SWS_PER_00361], [SWS_PER_00569])।
  • थ्रेड सुरक्षा: रीड ऑपरेटर operator* [SWS_PER_00400], [SWS_PER_00401], operator-> [SWS_PER_00360], [SWS_PER_00361] और साथ ही operator bool() [SWS_PER_00399] थ्रेड-सुरक्षित (thread-safe) हैं। इसके विपरीत, संशोधक क्रियाएं जैसे कि मूव असाइनमेंट [SWS_PER_00372] और डिस्ट्रक्टर [SWS_PER_00569] के माध्यम से विनाश स्पष्ट रूप से थ्रेड-सुरक्षित नहीं हैं और समवर्ती पहुंच की स्थिति में बाहरी सिंक्रोनाइज़ेशन की आवश्यकता होती है।

यह गाइड AUTOSAR विनिर्देश R25-11 के आधार पर एक AI द्वारा जनरेट किया गया था।

सदस्य मानचित्र

कंस्ट्रक्टर और डिस्ट्रक्टर

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#9901cead
Content hash
9901cead
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#382d2491
Content hash
382d2491
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#2dc020b3
Content hash
2dc020b3
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#6d98c5de
Content hash
6d98c5de
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#d8328a1b
Content hash
d8328a1b
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#31376310
Content hash
31376310
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#816352f7
Content hash
816352f7
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#27c6adf4
Content hash
27c6adf4
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#057955f4
Content hash
057955f4
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#9df939a8
Content hash
9df939a8
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