DEENESPTFRRUARHIKOZHNL

clase 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

Guía del usuarioGENERADO POR IA

Permite el acceso seguro para subprocesos a almacenamientos de archivos y de clave-valor a través de los límites entre subprocesos.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 7420a4e54761 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Permite el acceso seguro para subprocesos a almacenamientos de archivos y de clave-valor a través de los límites entre subprocesos.

La clase plantilla ara::per::SharedHandle sirve como abstracción de puntero inteligente para almacenamientos de archivos y de clave-valor, con el fin de permitir un acceso seguro para subprocesos a través de los límites entre subprocesos. Tras obtenerlo mediante funciones de fábrica, debe comprobarse el estado de validez del handle a través de operator bool() [SWS_PER_00398], ya que invocar otros operadores sobre un handle vacío o invalidado por operaciones de movimiento conduce a un comportamiento indefinido. Mientras que la desreferenciación hacia el objeto encapsulado es segura para subprocesos, las asignaciones y la destrucción del handle [SWS_PER_00568] sobre la misma instancia requieren sincronización externa.

Contexto

La clase plantilla ara::per::SharedHandle representa en el módulo per (Persistency) de AUTOSAR Adaptive Platform una abstracción de puntero inteligente para recursos de almacenamiento persistente. Sirve como tipo de retorno estandarizado de las funciones de fábrica OpenFileStorage() y OpenKeyValueStorage(). La responsabilidad principal de la clase es coordinar el acceso a almacenamientos de archivos y de clave-valor a través de los límites entre subprocesos y proporcionar la encapsulación necesaria para permitir una implementación segura para subprocesos de las rutinas de apertura y acceso al almacenamiento. Los interlocutores son hilos de trabajo del lado de la aplicación, la gestión de persistencia y el respectivo recurso de almacenamiento encapsulado T.

Ciclo de vida

Un SharedHandle se origina típicamente al abrir una instancia de almacenamiento mediante las interfaces de fábrica de per. Mediante el constructor de copia [SWS_PER_00369] y el operador de asignación por copia [SWS_PER_00370], el handle puede duplicarse, con lo cual múltiples instancias de handle obtienen acceso compartido al mismo objeto de destino. Si un handle se transfiere mediante el constructor de movimiento [SWS_PER_00367] o la asignación por movimiento [SWS_PER_00368], el handle de origen pasa a un estado invalidado y ya no debe utilizarse para accesos al almacenamiento.

El operador de conversión explícita operator bool() [SWS_PER_00398] determina el estado actual del handle: devuelve true si se hace referencia a una instancia de almacenamiento válida, y false si el handle está vacío. La liberación de los recursos del handle se realiza a través del destructor ~SharedHandle() [SWS_PER_00568]. Interpretación: es probable que el recurso de almacenamiento subyacente se libere tan pronto como se destruya el último SharedHandle que lo referencie. Pregunta Q-00a1798cf43e0ee6 (abierta)

Con respecto a la concurrencia, los accesos al recurso encapsulado a través de operator* ([SWS_PER_00402], [SWS_PER_00403]) y operator-> ([SWS_PER_00363], [SWS_PER_00364]), así como la consulta de estado mediante operator bool() [SWS_PER_00398], son seguros para subprocesos. En cambio, las operaciones de asignación sobre el mismo handle ([SWS_PER_00368], [SWS_PER_00370]) y su destrucción [SWS_PER_00568] no son seguras para subprocesos y requieren sincronización externa en caso de uso compartido del handle.

handle_zustand Init Gueltig Válido (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]

Diagrama de estados: ciclo de vida y transiciones de estado de ara::per::SharedHandle entre el estado válido y el vacío. Fuentes: [SWS_PER_00367], [SWS_PER_00368], [SWS_PER_00369], [SWS_PER_00370], [SWS_PER_00398], [SWS_PER_00568]

Ruta de uso

El uso típico de ara::per::SharedHandle abarca la obtención controlada, la validación y el acceso a estructuras de almacenamiento:

  1. Obtención del handle: la aplicación invoca OpenFileStorage() o OpenKeyValueStorage() y recibe un SharedHandle<T>.
  2. Comprobación de validez: antes de cada acceso, la aplicación comprueba el estado del handle mediante operator bool() [SWS_PER_00398].
  3. Acceso al recurso: la llamada a funciones de almacenamiento se realiza mediante desreferenciación con operator-> ([SWS_PER_00363], [SWS_PER_00364]) o operator* ([SWS_PER_00402], [SWS_PER_00403]).
  4. Transferencia: si es necesario, el handle puede pasarse a otros subprocesos por copia ([SWS_PER_00369], [SWS_PER_00370]) o por movimiento ([SWS_PER_00367], [SWS_PER_00368]).
  5. Fin del ciclo de vida: al salir del ámbito de validez, el destructor [SWS_PER_00568] desmantela el handle.
Flujo de uso de un ara::per::SharedHandleAplicaciónPersistencySharedHandleStorageUse Case: Recepción y validaciónOpenFileStorage()SharedHandle<T>operator bool() [SWS_PER_00398]true (válido)Use Case: Speicherzugriffoperator->() [SWS_PER_00363]Methodenaufruf an TResultadoUse Case: Lebenszyklusende~SharedHandle() [SWS_PER_00568]

Diagrama de secuencia: flujo de obtención, comprobación de validez, llamada a métodos y desmantelamiento de un SharedHandle. Fuentes: [SWS_PER_00363], [SWS_PER_00398], [SWS_PER_00568]

Escenarios de error

Los estados de error críticos se producen primordialmente ante operaciones no permitidas sobre handles vacíos o invalidados. Según [SWS_PER_00398], la llamada a cualquier operador excepto operator bool() sobre un handle vacío conduce de forma inmediata a un comportamiento indefinido (Undefined Behavior). Esto afecta especialmente a handles de origen tras una construcción por movimiento [SWS_PER_00367] o una asignación por movimiento [SWS_PER_00368], ya que estos se invalidan y no deben seguir utilizándose.

Para evitar comportamientos indefinidos, la especificación exige de manera vinculante la comprobación del estado del handle a través de operator bool() antes de llamar a otros operadores ([SWS_PER_00367], [SWS_PER_00368]). Todos los constructores, operadores de asignación, operadores de acceso y el destructor están declarados como noexcept y especificados como seguros ante excepciones («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]). Por tanto, un estado inválido no desencadena una excepción, sino que el llamador debe interceptarlo obligatoriamente mediante el valor de retorno de operator bool().

Esta guía se basa en la especificación AUTOSAR para el módulo per (Adaptive Platform, Release R25-11) y fue creada por un asistente de curación mediante IA.

Mapa de miembros

Diagrama de clases

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

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

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

SharedHandle función 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.

Sobrecargas SharedHandle 2
SharedHandle (SharedHandle &&sh) noexcept; SWS_PER_00367
SharedHandle (const SharedHandle &sh) noexcept; SWS_PER_00369
~SharedHandle función

Destructor for SharedHandle.

~SharedHandle () noexcept;

Operadores

operator* función 2

Non-constant dereference operator.

Sobrecargas * 2
T & operator* () noexcept; SWS_PER_00402
const T & operator* () const noexcept; SWS_PER_00403
operator-> función 2

Non-constant arrow operator.

Sobrecargas -> 2
T * operator-> () noexcept; SWS_PER_00363
const T * operator-> () const noexcept; SWS_PER_00364
operator= función 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.

Sobrecargas = 2
SharedHandle & operator= (SharedHandle &&sh) & noexcept; SWS_PER_00368
SharedHandle & operator= (const SharedHandle &sh) & noexcept; SWS_PER_00370
operatorbool función

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;

Documentación de los métodos

función 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#af388066
Content hash
af388066
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

función 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#fcd6be95
Content hash
fcd6be95
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

función 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#7befac61
Content hash
7befac61
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

función 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#331daf17
Content hash
331daf17
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

función 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#9f1e1a6a
Content hash
9f1e1a6a
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

función 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#9dac49b6
Content hash
9dac49b6
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

función 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#802022c7
Content hash
802022c7
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

función 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#7a70f034
Content hash
7a70f034
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

función 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#dd3f9c1b
Content hash
dd3f9c1b
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

función ~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#a7478d9f
Content hash
a7478d9f
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