DEENESPTFRRUARHIKOZHNL

klasse 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

User GuideAI-GEGENEREERD

Beheert de exclusieve, verplaatsbare toegang tot bestandsaccessor-objecten met RAII-semantiek.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 7be811cdf7d8 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Beheert de exclusieve, verplaatsbare toegang tot bestandsaccessor-objecten met RAII-semantiek.

Het klassetemplate ara::per::UniqueHandle beheert het exclusieve eigenaarschap van bestandsaccessor-objecten van AUTOSAR-persistentie binnen het kader van een strikte move-only-semantiek. Na ontvangst via bestandstoegangsfuncties moet de instantie voorafgaand aan elk gebruik verplicht met operator bool() op geldigheid worden gecontroleerd [SWS_PER_00371]. Een aanroep van andere operators op een lege of overgedragen handle leidt tot ongedefinieerd gedrag [SWS_PER_00399]. Alle bewerkingen zijn gedeclareerd als noexcept, waarbij leestoegangen thread-safe zijn, maar modificerende bewerkingen daarentegen niet.

Context

Het klassetemplate ara::per::UniqueHandle dient als typeveilige toegangs-handle naar resource-objecten van AUTOSAR Adaptive-persistentie, te weten ReadAccessor of ReadWriteAccessor. Het wordt geleverd als retourwaarde van de functies OpenFileReadOnly(), OpenFileWriteOnly() en OpenFileReadWrite() en kapselt het exclusieve eigenaarschap van de geopende bestandstoegangsinterface in.

Levenscyclus

De klasse implementeert een strikte move-only-semantiek (Unique Ownership). Om abusievelijke duplicatie van de toegang of gedeeld eigenaarschap te voorkomen, zijn zowel de copy constructor [SWS_PER_00373] als de copy assignment operator [SWS_PER_00374] gedefinieerd als verwijderd (delete). Eigendomsrechten kunnen uitsluitend door verplaatsen worden overgedragen: bij aanroep van de move constructor [SWS_PER_00371] of de move assignment [SWS_PER_00372] wordt het meegegeven bronobject geïnvalideerd en mag het daarna niet meer worden gebruikt.

Een UniqueHandle bevindt zich op elk moment in een geldige toestand (het representeert een valide object van de geparametriseerde klasse) of in een lege respectievelijk geïnvalideerde toestand, zoals die ontstaat na een move-overdracht [SWS_PER_00399]. Bij het beëindigen van de scope wordt de destructor [SWS_PER_00569] uitgevoerd. Vermoedelijk sluit of ruimt de vernietiging van een geldige handle de ingekapselde toegangsbron automatisch op. Vraag Q-e7f12aa0d7c5548d (open)

UniqueHandleState start Gueltig Geldig start->Gueltig OpenFileReadOnly / OpenFileWriteOnly / OpenFileReadWrite Leer Leeg / Ongeldig Gueltig->Leer Move-Konstruktor / Move-Zuweisung (Quelle) ende Gueltig->ende Destruktor Leer->Gueltig Move-Zuweisung (Ziel) Leer->ende Destruktor

Toestandsdiagram: levenscyclus en toestandsovergangen van een UniqueHandle tussen geldige en lege toestand. Bronnen: [SWS_PER_00371], [SWS_PER_00372], [SWS_PER_00399], [SWS_PER_00569]

Gebruikspad

Het typische gebruik van UniqueHandle volgt een vastgelegde volgorde van stappen:

  1. Overname van de handle: De applicatie ontvangt de handle als resultaat van een aanroep voor bestandstoegang zoals OpenFileReadOnly(), OpenFileWriteOnly() of OpenFileReadWrite().
  2. Toestandscontrole: Voorafgaand aan elke verdere bewerking moet de status van de instantie verplicht via operator bool() worden geverifieerd [SWS_PER_00371], [SWS_PER_00372]. De operator retourneert true als er sprake is van een geldig object, en false als de handle leeg is [SWS_PER_00399].
  3. Toegang tot het ingekapselde object: Bij een geldige status worden via de pijl-operators operator-> (niet-constant [SWS_PER_00360] of constant [SWS_PER_00361]) of via dereferentie met operator* (niet-constant [SWS_PER_00400] of constant [SWS_PER_00401]) de methoden en gegevens van het doel benaderd.
  4. Eigendomsoverdracht of vernietiging: De handle kan desgewenst via std::move aan een andere component worden overgedragen [SWS_PER_00371] of wordt aan het einde van de levensduur automatisch vernietigd [SWS_PER_00569].

Foutscenario's

Een centraal foutscenario is de toegang tot een lege of overgedragen handle: het gebruik van andere operators dan operator bool() op een lege handle leidt volgens de specificatie tot ongedefinieerd gedrag (Undefined Behavior) [SWS_PER_00399]. Voorafgaand aan elke dereferentie is een controle daarom dwingend voorgeschreven [SWS_PER_00371], [SWS_PER_00372].

Wat betreft uitzonderingsveiligheid en concurrency gelden de volgende specificatiedetails:

Deze handleiding is gegenereerd door een AI op basis van de AUTOSAR-specificatie R25-11.

Ledenkaart

Klassendiagram

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

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

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

UniqueHandle functie 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.

Overloads UniqueHandle 2
UniqueHandle (UniqueHandle &&uh) noexcept; SWS_PER_00371
UniqueHandle (const UniqueHandle &)=delete; SWS_PER_00373

Destructor for UniqueHandle.

~UniqueHandle () noexcept;

Operatoren

operator* functie 2

Non-constant dereference operator.

Overloads * 2
T & operator* () noexcept; SWS_PER_00400
const T & operator* () const noexcept; SWS_PER_00401
operator-> functie 2

Non-constant arrow operator.

Overloads -> 2
T * operator-> () noexcept; SWS_PER_00360
const T * operator-> () const noexcept; SWS_PER_00361
operator= functie 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.

Overloads = 2
UniqueHandle & operator= (UniqueHandle &&uh) & noexcept; SWS_PER_00372
UniqueHandle & operator= (const UniqueHandle &)=delete; SWS_PER_00374
operatorbool functie

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;

Documentatie van de methoden

functie 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#22762293
Content hash
22762293
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

functie 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#404071c6
Content hash
404071c6
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

functie 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#926baf5f
Content hash
926baf5f
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

functie 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#417a682e
Content hash
417a682e
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

functie 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#8f2d5324
Content hash
8f2d5324
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

functie 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#3e1e947e
Content hash
3e1e947e
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

functie 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#dbe1b892
Content hash
dbe1b892
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

functie 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#b5cbc52c
Content hash
b5cbc52c
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

functie 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#327aa593
Content hash
327aa593
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

functie ~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#875f99e9
Content hash
875f99e9
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