DEENESPTFRRUARHIKOZHNL

क्लास 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

उपयोगकर्ता गाइडएआई जनित

थ्रेड सीमाओं के पार फ़ाइल और कुंजी-मान स्टोरेज तक थ्रेड-सुरक्षित पहुंच सक्षम करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 7420a4e54761 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

थ्रेड सीमाओं के पार फ़ाइल और कुंजी-मान स्टोरेज तक थ्रेड-सुरक्षित पहुंच सक्षम करता है।

टेम्पलेट क्लास ara::per::SharedHandle थ्रेड सीमाओं के पार थ्रेड-सुरक्षित एक्सेस सक्षम करने के लिए फ़ाइल और कुंजी-मान स्टोरेज हेतु एक स्मार्ट-पॉइंटर अमूर्तता के रूप में कार्य करती है। फ़ैक्टरी फ़ंक्शनों के माध्यम से प्राप्त करने के बाद, हैंडल की वैधता स्थिति की operator bool() [SWS_PER_00398] के माध्यम से जाँच की जानी चाहिए, क्योंकि किसी खाली या मूव ऑपरेशनों द्वारा अमान्य किए गए हैंडल पर अन्य ऑपरेटरों को कॉल करने से अनिर्धारित व्यवहार होता है। जबकि इनकैप्सुलेटेड ऑब्जेक्ट का डीरेफ़रेंसिंग थ्रेड-सुरक्षित है, उसी इंस्टेंस पर असाइनमेंट और हैंडल [SWS_PER_00568] का विनाश बाहरी सिंक्रोनाइज़ेशन की मांग करता है।

संदर्भ

टेम्पलेट क्लास ara::per::SharedHandle AUTOSAR Adaptive Platform के मॉड्यूल per (Persistency) में पर्सिस्टेंट स्टोरेज संसाधनों के लिए एक स्मार्ट-पॉइंटर अमूर्तता का प्रतिनिधित्व करती है। यह फ़ैक्टरी फ़ंक्शनों OpenFileStorage() और OpenKeyValueStorage() के मानकीकृत रिटर्न प्रकार के रूप में कार्य करती है। क्लास का मुख्य उत्तरदायित्व थ्रेड सीमाओं के पार फ़ाइल और कुंजी-मान स्टोरेज तक पहुंच का समन्वय करना और स्टोरेज ओपनिंग तथा एक्सेस रूटीनों के थ्रेड-सुरक्षित कार्यान्वयन को सक्षम करने के लिए आवश्यक इनकैप्सुलेशन प्रदान करना है। इंटरैक्शन पार्टनर एप्लिकेशन-साइड वर्कर थ्रेड्स, पर्सिस्टेंसी प्रबंधन और संबंधित इनकैप्सुलेटेड स्टोरेज संसाधन T हैं।

जीवनचक्र

एक SharedHandle आमतौर पर per के फ़ैक्टरी इंटरफ़ेस के माध्यम से स्टोरेज इंस्टेंस खोलते समय बनता है। कॉपी कंस्ट्रक्टर [SWS_PER_00369] और कॉपी असाइनमेंट ऑपरेटर [SWS_PER_00370] के माध्यम से हैंडल को डुप्लिकेट किया जा सकता है, जिससे एकाधिक हैंडल इंस्टेंसों को एक ही लक्ष्य ऑब्जेक्ट तक साझा पहुंच प्राप्त होती है। यदि किसी हैंडल को मूव कंस्ट्रक्टर [SWS_PER_00367] या मूव असाइनमेंट [SWS_PER_00368] के माध्यम से स्थानांतरित किया जाता है, तो स्रोत हैंडल अमान्य स्थिति में चला जाता है और इसका उपयोग अब स्टोरेज एक्सेस के लिए नहीं किया जाना चाहिए।

हैंडल की वर्तमान स्थिति का निर्धारण स्पष्ट रूपांतरण ऑपरेटर operator bool() [SWS_PER_00398] द्वारा किया जाता है: यह true देता है यदि किसी मान्य स्टोरेज इंस्टेंस को संदर्भित किया गया है, और false देता है यदि हैंडल खाली है। हैंडल संसाधनों को डिस्ट्रक्टर ~SharedHandle() [SWS_PER_00568] के माध्यम से रिलीज़ किया जाता है। व्याख्या: अंतिम संदर्भित करने वाले SharedHandle के नष्ट होते ही अंतर्निहित स्टोरेज संसाधन संभवतः रिलीज़ कर दिया जाएगा। प्रश्न Q-00a1798cf43e0ee6 (खुला)

समवर्तीता के संदर्भ में, operator* ([SWS_PER_00402], [SWS_PER_00403]) और operator-> ([SWS_PER_00363], [SWS_PER_00364]) के माध्यम से इनकैप्सुलेटेड संसाधन तक पहुंच के साथ-साथ operator bool() [SWS_PER_00398] के माध्यम से स्थिति क्वेरी थ्रेड-सुरक्षित हैं। इसके विपरीत, उसी हैंडल पर असाइनमेंट ऑपरेशन ([SWS_PER_00368], [SWS_PER_00370]) और इसका विनाश [SWS_PER_00568] थ्रेड-सुरक्षित नहीं हैं और साझा हैंडल उपयोग के मामले में बाहरी सिंक्रोनाइज़ेशन की आवश्यकता होती है।

handle_zustand Init Gueltig वैध (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]

स्थिति आरेख: मान्य और खाली स्थिति के बीच ara::per::SharedHandle का जीवनचक्र और स्थिति ट्रांज़िशन। स्रोत: [SWS_PER_00367], [SWS_PER_00368], [SWS_PER_00369], [SWS_PER_00370], [SWS_PER_00398], [SWS_PER_00568]

उपयोग पथ

ara::per::SharedHandle के विशिष्ट उपयोग में नियंत्रित प्राप्ति, सत्यापन और स्टोरेज संरचनाओं तक पहुंच शामिल है:

  1. हैंडल प्राप्त करना: एप्लिकेशन OpenFileStorage() या OpenKeyValueStorage() को कॉल करता है और एक SharedHandle<T> प्राप्त करता है।
  2. वैधता जांच: प्रत्येक एक्सेस से पहले, एप्लिकेशन operator bool() [SWS_PER_00398] के माध्यम से हैंडल की स्थिति की जांच करता है।
  3. संसाधन एक्सेस: स्टोरेज फ़ंक्शनों का कॉल operator-> ([SWS_PER_00363], [SWS_PER_00364]) या operator* ([SWS_PER_00402], [SWS_PER_00403]) का उपयोग करके डीरेफ़रेंसिंग द्वारा किया जाता है।
  4. अग्रेषण: आवश्यकता पड़ने पर हैंडल को कॉपी ([SWS_PER_00369], [SWS_PER_00370]) या मूव ([SWS_PER_00367], [SWS_PER_00368]) द्वारा अन्य थ्रेड्स को पास किया जा सकता है।
  5. जीवनचक्र का अंत: स्कोप से बाहर निकलते समय, डिस्ट्रक्टर [SWS_PER_00568] हैंडल को समाप्त कर देता है।
ara::per::SharedHandle का उपयोग प्रवाहएप्लिकेशनPersistencySharedHandleStorageUse Case: प्राप्ति और सत्यापनOpenFileStorage()SharedHandle<T>operator bool() [SWS_PER_00398]true (वैध)Use Case: Speicherzugriffoperator->() [SWS_PER_00363]Methodenaufruf an TपरिणामUse Case: Lebenszyklusende~SharedHandle() [SWS_PER_00568]

अनुक्रम आरेख: एक SharedHandle की प्राप्ति, वैधता जांच, मेथड कॉल और समाप्ति का क्रम। स्रोत: [SWS_PER_00363], [SWS_PER_00398], [SWS_PER_00568]

त्रुटि परिदृश्य

गंभीर त्रुटि स्थितियाँ मुख्य रूप से खाली या अमान्य हैंडल पर अस्वीकार्य ऑपरेशनों के दौरान उत्पन्न होती हैं। [SWS_PER_00398] के अनुसार, किसी खाली हैंडल पर operator bool() के अलावा किसी भी ऑपरेटर को कॉल करने से तत्काल अनिर्धारित व्यवहार (Undefined Behavior) होता है। यह विशेष रूप से मूव कंस्ट्रक्शन [SWS_PER_00367] या मूव असाइनमेंट [SWS_PER_00368] के बाद स्रोत हैंडल को प्रभावित करता है, क्योंकि वे अमान्य हो जाते हैं और उनका आगे उपयोग नहीं किया जाना चाहिए।

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

यह गाइड per मॉड्यूल (Adaptive Platform, रिलीज़ R25-11) के लिए AUTOSAR विनिर्देश पर आधारित है और इसे एक AI क्यूरेशन सहायक द्वारा तैयार किया गया था।

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

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

2

क्लास आरेख

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

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

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

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

SharedHandle फ़ंक्शन 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.

ओवरलोड SharedHandle 2
SharedHandle (SharedHandle &&sh) noexcept; SWS_PER_00367
SharedHandle (const SharedHandle &sh) noexcept; SWS_PER_00369
~SharedHandle फ़ंक्शन

Destructor for SharedHandle.

~SharedHandle () noexcept;

ऑपरेटर

operator* फ़ंक्शन 2

Non-constant dereference operator.

ओवरलोड * 2
T & operator* () noexcept; SWS_PER_00402
const T & operator* () const noexcept; SWS_PER_00403
operator-> फ़ंक्शन 2

Non-constant arrow operator.

ओवरलोड -> 2
T * operator-> () noexcept; SWS_PER_00363
const T * operator-> () const noexcept; SWS_PER_00364
operator= फ़ंक्शन 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.

ओवरलोड = 2
SharedHandle & operator= (SharedHandle &&sh) & noexcept; SWS_PER_00368
SharedHandle & operator= (const SharedHandle &sh) & noexcept; SWS_PER_00370
operatorbool फ़ंक्शन

Handle state. True if the handle represents a valid object of the templated class, False if the handle is empty (e.g. after a move operation). Using other operators than bool() of an empty handle will result in undefined behavior.

explicit operator bool () const noexcept;

मेथड का प्रलेखन

फ़ंक्शन 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#ef9395d2
Content hash
ef9395d2
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

फ़ंक्शन 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#2ae43c2a
Content hash
2ae43c2a
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

फ़ंक्शन 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#bd4b0bb7
Content hash
bd4b0bb7
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

फ़ंक्शन 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#ec1cc86e
Content hash
ec1cc86e
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

फ़ंक्शन 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#2d2e7ff0
Content hash
2d2e7ff0
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

फ़ंक्शन 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#93d6a96e
Content hash
93d6a96e
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

फ़ंक्शन 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#cdb3b26e
Content hash
cdb3b26e
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

फ़ंक्शन 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#12843d64
Content hash
12843d64
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

फ़ंक्शन 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#f5d070fb
Content hash
f5d070fb
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

फ़ंक्शन ~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#1a41b4c6
Content hash
1a41b4c6
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