DEENESPTFRRUARHIKOZHNL

klasse ara::per::SharedHandle

[SWS_PER_00362] Upstream: RS_PER_00002, RS_AP_00122, RS_AP_00140

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

Handle to a File Storage or Key-Value Storage. A SharedHandle is returned by the functions OpenFileStorage() and OpenKeyValueStorage() and can be passed between threads as needed. It provides the abstraction that is necessary to allow thread-safe implementation of OpenFile Storage() and OpenKeyValueStorage().

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

User GuideAI-GEGENEREERD

Maakt thread-safe toegang tot bestands- en sleutel-waarde-opslagen mogelijk over threadgrenzen heen.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 7420a4e54761 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Maakt thread-safe toegang tot bestands- en sleutel-waarde-opslagen mogelijk over threadgrenzen heen.

De templateklasse ara::per::SharedHandle dient als smart-pointer-abstractie voor bestands- en sleutel-waarde-opslagen om thread-safe toegang over threadgrenzen heen mogelijk te maken. Na ontvangst via factory-functies moet de geldigheidstoestand van de handle via operator bool() [SWS_PER_00398] worden gecontroleerd, omdat het aanroepen van andere operators op een lege of door move-operaties geïnvalideerde handle tot ongedefinieerd gedrag leidt. Terwijl het derefereren naar het ingekapselde object thread-safe is, vereisen toewijzingen en de vernietiging van de handle [SWS_PER_00568] op dezelfde instantie externe synchronisatie.

Context

De templateklasse ara::per::SharedHandle vormt in de module per (Persistency) van het AUTOSAR Adaptive Platform een smart-pointer-abstractie voor persistente opslagbronnen. Deze dient als gestandaardiseerd retourtype van de factory-functies OpenFileStorage() en OpenKeyValueStorage(). De hoofdverantwoordelijkheid van de klasse is het coördineren van de toegang tot bestands- en sleutel-waarde-opslagen over threadgrenzen heen en het bieden van de vereiste inkapseling om een thread-safe implementatie van de routines voor het openen van en toegang krijgen tot opslag mogelijk te maken. Interactiepartners zijn applicatie-threads, het persistentiebeheer en de telkens ingekapselde opslagbron T.

Levenscyclus

Een SharedHandle ontstaat typisch bij het openen van een opslaginstantie via de factory-interfaces van per. Via de copy constructor [SWS_PER_00369] en de copy assignment operator [SWS_PER_00370] kan de handle worden gedupliceerd, waardoor meerdere handle-instanties gedeelde toegang tot hetzelfde doelobject krijgen. Wordt een handle overgedragen via move constructor [SWS_PER_00367] of move assignment [SWS_PER_00368], dan gaat de bron-handle over naar een geïnvalideerde toestand en mag deze niet meer worden gebruikt voor opslagtoegang.

De actuele status van de handle wordt bepaald door de expliciete conversie-operator operator bool() [SWS_PER_00398]: deze levert true op als een geldige opslaginstantie wordt gerefereerd, en false als de handle leeg is. De vrijgave van de handle-resources vindt plaats via de destructor ~SharedHandle() [SWS_PER_00568]. Interpretatie: de onderliggende opslagbron wordt vermoedelijk vrijgegeven zodra de laatste refererende SharedHandle wordt vernietigd. Vraag Q-00a1798cf43e0ee6 (open)

Wat betreft concurrency zijn de toegangen tot de ingekapselde resource via operator* ([SWS_PER_00402], [SWS_PER_00403]) en operator-> ([SWS_PER_00363], [SWS_PER_00364]) evenals het opvragen van de status via operator bool() [SWS_PER_00398] thread-safe. Toewijzingsbewerkingen op dezelfde handle ([SWS_PER_00368], [SWS_PER_00370]) en de destructie daarvan [SWS_PER_00568] zijn daarentegen niet thread-safe en vereisen bij gedeeld gebruik van de handle externe synchronisatie.

handle_zustand Init Gueltig Geldig (Valid) Init->Gueltig OpenFileStorage() / OpenKeyValueStorage() Gueltig->Gueltig Kopieren [SWS_PER_00369], [SWS_PER_00370] Leer Leer (Empty) Gueltig->Leer Move-Quelle [SWS_PER_00367], [SWS_PER_00368] Ende Gueltig->Ende ~SharedHandle() [SWS_PER_00568] Leer->Ende ~SharedHandle() [SWS_PER_00568]

Toestandsdiagram: levenscyclus en toestandsovergangen van ara::per::SharedHandle tussen geldige en lege toestand. Bronnen: [SWS_PER_00367], [SWS_PER_00368], [SWS_PER_00369], [SWS_PER_00370], [SWS_PER_00398], [SWS_PER_00568]

Gebruikspad

Het typische gebruik van ara::per::SharedHandle omvat het gecontroleerd verkrijgen, valideren en benaderen van opslagstructuren:

  1. Verkrijgen van de handle: De applicatie roept OpenFileStorage() of OpenKeyValueStorage() aan en ontvangt een SharedHandle<T>.
  2. Geldigheidscontrole: Voorafgaand aan elke toegang controleert de applicatie de toestand van de handle via operator bool() [SWS_PER_00398].
  3. Resourcetoegang: Het aanroepen van opslagfuncties vindt plaats door dereferentie via operator-> ([SWS_PER_00363], [SWS_PER_00364]) of operator* ([SWS_PER_00402], [SWS_PER_00403]).
  4. Doorgifte: De handle kan desgewenst aan andere threads worden overgedragen via een kopie ([SWS_PER_00369], [SWS_PER_00370]) of via move ([SWS_PER_00367], [SWS_PER_00368]).
  5. Einde van de levenscyclus: Bij het verlaten van de scope ruimt de destructor [SWS_PER_00568] de handle op.
Gebruiksverloop van een ara::per::SharedHandleAnwendungPersistencySharedHandleStorageUse Case: Ontvangst en validatieOpenFileStorage()SharedHandle<T>operator bool() [SWS_PER_00398]true (geldig)Use Case: Speicherzugriffoperator->() [SWS_PER_00363]Methodenaufruf an TResultaatUse Case: Lebenszyklusende~SharedHandle() [SWS_PER_00568]

Sequentiediagram: verloop van verkrijging, geldigheidscontrole, methode-aanroep en opruiming van een SharedHandle. Bronnen: [SWS_PER_00363], [SWS_PER_00398], [SWS_PER_00568]

Foutscenario's

Kritieke fouttoestanden treden primair op bij niet-toegestane bewerkingen op lege of geïnvalideerde handles. Volgens [SWS_PER_00398] leidt het aanroepen van willekeurige operators behalve operator bool() op een lege handle direct tot ongedefinieerd gedrag (Undefined Behavior). Dit betreft met name bron-handles na een move-constructie [SWS_PER_00367] of een move-toewijzing [SWS_PER_00368], aangezien deze worden geïnvalideerd en niet verder mogen worden gebruikt.

Om ongedefinieerd gedrag te voorkomen, vereist de specificatie bindend dat de handle-toestand via operator bool() wordt gecontroleerd alvorens verdere operators ([SWS_PER_00367], [SWS_PER_00368]) aan te roepen. Alle constructors, assignment operators, toegangsoperators en de destructor zijn gedeclareerd als noexcept en gespecificeerd als uitzonderingsveilig („exception safe”) ([SWS_PER_00367], [SWS_PER_00368], [SWS_PER_00369], [SWS_PER_00370], [SWS_PER_00363], [SWS_PER_00364], [SWS_PER_00402], [SWS_PER_00403], [SWS_PER_00398], [SWS_PER_00568]). Een ongeldige toestand triggert daarom geen exceptie, maar moet door de aanroeper verplicht worden afgevangen via de retourwaarde van operator bool().

Deze handleiding is gebaseerd op de AUTOSAR-specificatie voor de module per (Adaptive Platform, Release R25-11) en is samengesteld door een AI-curatie-assistent.

Ledenkaart

Klassendiagram

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

G nara__per__SharedHandle980 SharedHandle + SharedHandle() + operator=() + ~SharedHandle() + operatorbool() + operator*() + operator->()

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

SharedHandle functie 2

Move constructor for SharedHandle. 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 SharedHandle 2
SharedHandle (SharedHandle &&sh) noexcept; SWS_PER_00367
SharedHandle (const SharedHandle &sh) noexcept; SWS_PER_00369

Destructor for SharedHandle.

~SharedHandle () noexcept;

Operatoren

operator* functie 2

Non-constant dereference operator.

Overloads * 2
T & operator* () noexcept; SWS_PER_00402
const T & operator* () const noexcept; SWS_PER_00403
operator-> functie 2

Non-constant arrow operator.

Overloads -> 2
T * operator-> () noexcept; SWS_PER_00363
const T * operator-> () const noexcept; SWS_PER_00364
operator= functie 2

Move assignment operator for SharedHandle. 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
SharedHandle & operator= (SharedHandle &&sh) & noexcept; SWS_PER_00368
SharedHandle & operator= (const SharedHandle &sh) & noexcept; SWS_PER_00370
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 SharedHandle [SWS_PER_00367] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00121, RS_AP_00129, RS_AP_00135, RS_AP_00145, RS_AP_00159

SharedHandle (SharedHandle &&sh) noexcept;

Move constructor for SharedHandle. 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
shThe SharedHandle object to be moved.

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

Record
AUTOSAR/AP/record/SWS_PER_00367
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00367@rel:R25-11#386462d0
Content hash
386462d0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00367
Status: valid/unmigrated Version: rel:R25-11#baf6a972 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_00367@rel:R25-11#baf6a972
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c6b5785d2026-09-30
  • R19-11rel:R19-11#61682ff62026-10-14
  • R20-11rel:R20-11#feee1b5f2026-10-14
  • R21-11rel:R21-11#a723d9eb2026-10-14
  • R22-11rel:R22-11#a01e63662026-10-14
  • R23-11rel:R23-11#c6715fc12026-10-14
  • R24-11rel:R24-11#11aacf592026-10-14
  • R25-11rel:R25-11#baf6a9722026-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 SharedHandle [SWS_PER_00369] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00121, RS_AP_00129, RS_AP_00135, RS_AP_00145, RS_AP_00159

SharedHandle (const SharedHandle &sh) noexcept;

Copy constructor for SharedHandle.

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

Parameter (in)

ParameterBeschreibung
shThe SharedHandle object to be copied.

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

Record
AUTOSAR/AP/record/SWS_PER_00369
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00369@rel:R25-11#3448b13b
Content hash
3448b13b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00369
Status: valid/unmigrated Version: rel:R25-11#2fc92783 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_00369@rel:R25-11#2fc92783
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b3eb49e52026-09-30
  • R19-11rel:R19-11#e9a54ca92026-10-14
  • R20-11rel:R20-11#42ab36a92026-10-14
  • R21-11rel:R21-11#42ab36a92026-10-14
  • R22-11rel:R22-11#17047f412026-10-14
  • R23-11rel:R23-11#5c3ad8ec2026-10-14
  • R24-11rel:R24-11#1d1eaeab2026-10-14
  • R25-11rel:R25-11#2fc927832026-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_00402] 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T&A reference to the SharedHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00402
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00402@rel:R25-11#b0d74b1e
Content hash
b0d74b1e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00402
Status: valid/unmigrated Version: rel:R25-11#57896558 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_00402@rel:R25-11#57896558
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0230eb7e2026-09-30
  • R19-11rel:R19-11#c44f13ab2026-10-14
  • R20-11rel:R20-11#a17d07312026-10-14
  • R21-11rel:R21-11#a17d07312026-10-14
  • R22-11rel:R22-11#8ce1201b2026-10-14
  • R23-11rel:R23-11#7b133f712026-10-14
  • R24-11rel:R24-11#578965582026-10-14
  • R25-11rel:R25-11#578965582026-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_00403] 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_PER_00403
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00403@rel:R25-11#2a040b14
Content hash
2a040b14
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00403
Status: valid/unmigrated Version: rel:R25-11#78070564 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_00403@rel:R25-11#78070564
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#9b7262392026-09-30
  • R19-11rel:R19-11#6d2f89fd2026-10-14
  • R20-11rel:R20-11#5ba93d692026-10-14
  • R21-11rel:R21-11#340cf29e2026-10-14
  • R22-11rel:R22-11#d61050d72026-10-14
  • R23-11rel:R23-11#fa9449332026-10-14
  • R24-11rel:R24-11#780705642026-10-14
  • R25-11rel:R25-11#780705642026-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_00363] 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T*A pointer to the SharedHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00363
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00363@rel:R25-11#e7348e5f
Content hash
e7348e5f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00363
Status: valid/unmigrated Version: rel:R25-11#c0487fc0 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_00363@rel:R25-11#c0487fc0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e0d8ebf82026-09-30
  • R19-11rel:R19-11#1b3905802026-10-14
  • R20-11rel:R20-11#c2e557d82026-10-14
  • R21-11rel:R21-11#296dba682026-10-14
  • R22-11rel:R22-11#04f451bb2026-10-14
  • R23-11rel:R23-11#0ae983872026-10-14
  • R24-11rel:R24-11#c0487fc02026-10-14
  • R25-11rel:R25-11#c0487fc02026-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_00364] 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_PER_00364
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00364@rel:R25-11#e2a04e7c
Content hash
e2a04e7c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00364
Status: valid/unmigrated Version: rel:R25-11#d9c790a2 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_00364@rel:R25-11#d9c790a2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#478012352026-09-30
  • R19-11rel:R19-11#9cb165252026-10-14
  • R20-11rel:R20-11#28a967bb2026-10-14
  • R21-11rel:R21-11#3b6443842026-10-14
  • R22-11rel:R22-11#d63d40332026-10-14
  • R23-11rel:R23-11#d4e20ee62026-10-14
  • R24-11rel:R24-11#d9c790a22026-10-14
  • R25-11rel:R25-11#d9c790a22026-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_00368] Upstream: RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00135, RS_AP_00145, RS_AP_00153, RS_AP_00159

SharedHandle & operator= (SharedHandle &&sh) & noexcept;

Move assignment operator for SharedHandle. 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
shThe SharedHandle object to be moved.

Rückgabewert

TypBeschreibung
SharedHandle &The moved SharedHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00368
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00368@rel:R25-11#9dadd087
Content hash
9dadd087
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00368
Status: valid/unmigrated Version: rel:R25-11#7d51c2da 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_00368@rel:R25-11#7d51c2da
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#531ab7712026-09-30
  • R19-11rel:R19-11#c02471c72026-10-14
  • R20-11rel:R20-11#05a98b6e2026-10-14
  • R21-11rel:R21-11#05a98b6e2026-10-14
  • R22-11rel:R22-11#245042672026-10-14
  • R23-11rel:R23-11#722c19a12026-10-14
  • R24-11rel:R24-11#7d51c2da2026-10-14
  • R25-11rel:R25-11#7d51c2da2026-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_00370] Upstream: RS_PER_00004, RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00135, RS_AP_00145, RS_AP_00153, RS_AP_00159

SharedHandle & operator= (const SharedHandle &sh) & noexcept;

Copy assignment operator for SharedHandle.

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

Parameter (in)

ParameterBeschreibung
shThe SharedHandle object to be copied.

Rückgabewert

TypBeschreibung
SharedHandle &The copied SharedHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00370
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00370@rel:R25-11#c54e3ce3
Content hash
c54e3ce3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00370
Status: valid/unmigrated Version: rel:R25-11#43114280 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_00370@rel:R25-11#43114280
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bfd2507a2026-09-30
  • R19-11rel:R19-11#4b0f581b2026-10-14
  • R20-11rel:R20-11#5a5c5fd62026-10-14
  • R21-11rel:R21-11#4e8059bf2026-10-14
  • R22-11rel:R22-11#0381e9832026-10-14
  • R23-11rel:R23-11#16530bc42026-10-14
  • R24-11rel:R24-11#431142802026-10-14
  • R25-11rel:R25-11#431142802026-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_00398] 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/shared_handle.h"
Scopeclass ara::per::SharedHandle
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_00398
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00398@rel:R25-11#8fdf686c
Content hash
8fdf686c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00398
Status: valid/unmigrated Version: rel:R25-11#74aa499c 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_00398@rel:R25-11#74aa499c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4bc08a422026-09-30
  • R19-11rel:R19-11#9f6113032026-10-14
  • R20-11rel:R20-11#a52f48632026-10-14
  • R21-11rel:R21-11#a52f48632026-10-14
  • R22-11rel:R22-11#b6a326f62026-10-14
  • R23-11rel:R23-11#c602d61d2026-10-14
  • R24-11rel:R24-11#74aa499c2026-10-14
  • R25-11rel:R25-11#74aa499c2026-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 ~SharedHandle [SWS_PER_00568] Upstream: RS_PER_00004, RS_AP_00120, RS_AP_00129, RS_AP_00134, RS_AP_00145, RS_AP_00159

~SharedHandle () noexcept;

Destructor for SharedHandle.

Header-Datei#include "ara/per/shared_handle.h"
Scopeclass ara::per::SharedHandle
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_00568
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00568@rel:R25-11#6136f524
Content hash
6136f524
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00568
Status: valid/unmigrated Version: rel:R25-11#0b0e9470 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_00568@rel:R25-11#0b0e9470
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#7153aa7a2026-09-30
  • R23-11rel:R23-11#3a952a352026-10-14
  • R24-11rel:R24-11#0b0e94702026-10-14
  • R25-11rel:R25-11#0b0e94702026-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