DEENESPTFRRUARHIKOZHNL

classe 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

Guia do utilizadorGERADO POR IA

Permite o acesso thread-safe a armazenamentos de arquivos e de chave-valor através dos limites entre threads.
GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 7420a4e54761 Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

Permite o acesso thread-safe a armazenamentos de arquivos e de chave-valor através dos limites entre threads.

A classe de template ara::per::SharedHandle serve como abstração de ponteiro inteligente (smart pointer) para armazenamentos de arquivos e de chave-valor, visando permitir o acesso thread-safe através dos limites entre threads. Após a obtenção por meio de funções de fábrica, o estado de validade do handle deve ser verificado por meio de operator bool() [SWS_PER_00398], pois a invocação de outros operadores em um handle vazio ou invalidado por operações de movimentação resulta em comportamento indefinido. Enquanto a desreferenciação para o objeto encapsulado é thread-safe, atribuições e a destruição do handle [SWS_PER_00568] na mesma instância exigem sincronização externa.

Contexto

A classe de template ara::per::SharedHandle representa, no módulo per (Persistency) da AUTOSAR Adaptive Platform, uma abstração de smart pointer para recursos de armazenamento persistente. Ela serve como tipo de retorno padronizado das funções de fábrica OpenFileStorage() e OpenKeyValueStorage(). A principal responsabilidade da classe é coordenar o acesso a armazenamentos de arquivos e de chave-valor através dos limites entre threads e fornecer o encapsulamento necessário para permitir uma implementação thread-safe das rotinas de abertura e acesso ao armazenamento. Os parceiros de interação são threads de trabalho do lado da aplicação, o gerenciamento de persistência bem como o respectivo recurso de armazenamento encapsulado T.

Ciclo de vida

Um SharedHandle é criado tipicamente ao abrir uma instância de armazenamento por meio das interfaces de fábrica de per. Por meio do construtor de cópia [SWS_PER_00369] e do operador de atribuição por cópia [SWS_PER_00370], o handle pode ser duplicado, permitindo que múltiplas instâncias de handle obtenham acesso compartilhado ao mesmo objeto de destino. Se um handle for transferido por meio do construtor de movimentação [SWS_PER_00367] ou da atribuição por movimentação [SWS_PER_00368], o handle de origem mudará para um estado invalidado e não deverá mais ser usado para acessos ao armazenamento.

O estado atual do handle é determinado pelo operador de conversão explícito operator bool() [SWS_PER_00398]: ele retorna true quando uma instância de armazenamento válida é referenciada, e false quando o handle está vazio. A liberação dos recursos do handle ocorre por meio do destrutor ~SharedHandle() [SWS_PER_00568]. Interpretação: o recurso de armazenamento subjacente provavelmente será liberado assim que o último SharedHandle referenciador for destruído. Pergunta Q-00a1798cf43e0ee6 (aberta)

No que diz respeito à concorrência, os acessos ao recurso encapsulado por meio de operator* ([SWS_PER_00402], [SWS_PER_00403]) e operator-> ([SWS_PER_00363], [SWS_PER_00364]), bem como a consulta de status via operator bool() [SWS_PER_00398], são thread-safe. Já as operações de atribuição no mesmo handle ([SWS_PER_00368], [SWS_PER_00370]) e a sua destruição [SWS_PER_00568] não são thread-safe e exigem sincronização externa no caso de uso compartilhado do 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 e transições de estado de ara::per::SharedHandle entre o estado válido e o estado vazio. Fontes: [SWS_PER_00367], [SWS_PER_00368], [SWS_PER_00369], [SWS_PER_00370], [SWS_PER_00398], [SWS_PER_00568]

Caminho de utilização

O uso típico de ara::per::SharedHandle inclui a obtenção controlada, a validação e o acesso a estruturas de armazenamento:

  1. Obtenção do handle: a aplicação chama OpenFileStorage() ou OpenKeyValueStorage() e recebe um SharedHandle<T>.
  2. Verificação de validade: antes de cada acesso, a aplicação verifica o estado do handle por meio de operator bool() [SWS_PER_00398].
  3. Acesso a recursos: a invocação de funções de armazenamento ocorre por meio de desreferenciação utilizando operator-> ([SWS_PER_00363], [SWS_PER_00364]) ou operator* ([SWS_PER_00402], [SWS_PER_00403]).
  4. Repasse: o handle pode ser repassado a outras threads conforme necessário por cópia ([SWS_PER_00369], [SWS_PER_00370]) ou por movimentação ([SWS_PER_00367], [SWS_PER_00368]).
  5. Fim do ciclo de vida: ao sair do escopo, o destrutor [SWS_PER_00568] desmonta o handle.
Fluxo de uso de um ara::per::SharedHandleAplicaçãoPersistencySharedHandleStorageUse Case: Recebimento e validaçãoOpenFileStorage()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 sequência: fluxo de obtenção, verificação de validade, chamada de método e desmontagem de um SharedHandle. Fontes: [SWS_PER_00363], [SWS_PER_00398], [SWS_PER_00568]

Cenários de erro

Estados críticos de erro ocorrem primariamente em operações não permitidas sobre handles vazios ou invalidados. De acordo com [SWS_PER_00398], a chamada de quaisquer operadores exceto operator bool() em um handle vazio leva imediatamente a comportamento indefinido (Undefined Behavior). Isso diz respeito em particular a handles de origem após uma construção por movimentação [SWS_PER_00367] ou uma atribuição por movimentação [SWS_PER_00368], pois estes são invalidados e não devem mais ser utilizados.

Para evitar comportamento indefinido, a especificação exige obrigatoriamente a verificação do estado do handle por meio de operator bool() antes da chamada de outros operadores ([SWS_PER_00367], [SWS_PER_00368]). Todos os construtores, operadores de atribuição, operadores de acesso e o destrutor são declarados como noexcept e especificados como seguros contra exceções («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]). Um estado inválido, portanto, não dispara uma exceção, devendo ser obrigatoriamente tratado pelo chamador por meio do valor de retorno de operator bool().

Este guia baseia-se na especificação AUTOSAR para o módulo per (Adaptive Platform, Release R25-11) e foi elaborado por um assistente de curadoria de IA.

Mapa de membros

Diagrama de classes

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

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

Vista de detalhes

Selecione uma entrada no índice.

Construtores e destrutor

SharedHandle função 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 função

Destructor for SharedHandle.

~SharedHandle () noexcept;

Operadores

operator* função 2

Non-constant dereference operator.

Sobrecargas * 2
T & operator* () noexcept; SWS_PER_00402
const T & operator* () const noexcept; SWS_PER_00403
operator-> função 2

Non-constant arrow operator.

Sobrecargas -> 2
T * operator-> () noexcept; SWS_PER_00363
const T * operator-> () const noexcept; SWS_PER_00364
operator= função 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 função

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;

Documentação dos métodos

função 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#50d6e920
Content hash
50d6e920
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

função 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#d696b148
Content hash
d696b148
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

função 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#d81daa25
Content hash
d81daa25
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

função 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#3c144367
Content hash
3c144367
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

função 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#5be0a580
Content hash
5be0a580
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

função 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#b4799af0
Content hash
b4799af0
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

função 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#57d58701
Content hash
57d58701
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

função 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#bfd9fcfd
Content hash
bfd9fcfd
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

função 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#120e5982
Content hash
120e5982
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

função ~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#b8d17e1b
Content hash
b8d17e1b
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