DEENESPTFRRUARHIKOZHNL

क्लास ara::com::SamplePtr

[SWS_CM_00306] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

template <typename T> class SamplePtr {...};

Emulates a std::unique_ptr to an event sample.

The ara::com::SamplePtr behaves as a std::unique_ptr as long as the event/ field is subscribed to, or the Proxy it belongs to is not destroyed. The precondition defined in [SWS_CM_00085] and [SWS_CM_00087] must be fulfilled. Otherwise it is considered a violation.

Note: The SamplePtr is always passed with a const SampleType to the callable in GetNewSamples() (see [SWS_CM_00701]). Therefore the sample datatype (typename T) and the SamplePtr operators using the sample datatype (typename T) are implicitly declared as const. This means that the sample data will always be read-only.

Header-Datei#include "ara/com/service/sample_ptr.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com

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

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

प्राप्त इवेंट्स के लिए विशेष रीड एक्सेस सक्षम करता है और मिडलवेयर मेमोरी के जीवनकाल को नियंत्रित करता है।

टेम्पलेट क्लास std::unique_ptr के मॉडल का अनुसरण करते हुए प्राप्त इवेंट नमूनों के विशेष स्वामित्व को समाहित करती है और एप्लिकेशन को मिडलवेयर के बफ़र्स तक सीधा, अपरिवर्तनीय रीड एक्सेस प्रदान करती है (EXP ARAComAPI §5.3.5.4)। नए नमूनों की क्वेरी करते समय इंस्टेंस पास किए जाते हैं, जिन्हें केवल मूव-सिमेंटिक्स के माध्यम से स्थानांतरित किया जा सकता है और वे मेमोरी स्पेस को रोके रखते हैं ([SWS_CM_11537])। केवल पॉइंटर का विनाश या स्पष्ट रूप से शून्य (null) करना ही बफ़र स्लॉट को फिर से मुक्त करता है। वैधता के लिए आवश्यक है कि इवेंट सब्सक्राइब रहे और संबद्ध प्रॉक्सी मौजूद रहे।

संदर्भ

टेम्प्लेट क्लास ara::com::SamplePtr Adaptive Platform में प्राप्त इवेंट डेटा (इवेंट सैंपल्स) के लिए केंद्रीय एक्सेस और ओनरशिप मॉडल प्रस्तुत करती है (EXP ARAComAPI §5.3.5.4)। सिमेंटिक रूप से यह क्लास std::unique_ptr के पैटर्न पर आधारित एक एक्सक्लूसिव स्मार्ट-पॉइंटर का अनुकरण करती है (EXP ARAComAPI §5.3.5.4)। प्राथमिक इंटरैक्शन पार्टनर एप्लिकेशन लेयर, प्राप्तकर्ता इवेंट या प्रॉक्सी ऑब्जेक्ट और अंतर्निहित कम्युनिकेशन मिडलवेयर ara::com हैं, जो बफर रिसोर्स को प्रबंधित करता है (EXP ARAComAPI, पृ. 44, EXP ARAComAPI, पृ. 50)।

यह अवधारणा स्पष्ट रूप से रेफरेंस-आधारित ज़ीरो-कॉपी अप्रोच का अनुसरण करती है: एप्लिकेशन को वैल्यू कॉपी द्वारा इवेंट डेटा पास करने के बजाय, ara::com केंद्रीय कम्युनिकेशन बफर्स के पॉइंटर्स या रेफरेंस आगे पास करता है (EXP ARAComAPI, पृ. 50)। विशिष्ट 1:N डिस्ट्रीब्यूशन परिदृश्यों में, स्थानीय इवेंट कैश को पूरी तरह से रेफरेंस अपडेट के माध्यम से प्रबंधित किया जा सकता है, जो मेमोरी ओवरहेड और लेटेंसी को न्यूनतम करता है (EXP ARAComAPI, पृ. 50)। पेलोड तक पहुंच वैचारिक रूप से सख्ती से केवल-पढ़ने के लिए (read-only) डिज़ाइन की गई है: प्रावधान के समय SamplePtr को हमेशा एक कॉन्स्टेंट पेलोड प्रकार के साथ इंस्टैंसिएट किया जाता है (ara::com::SamplePtr<SampleType const>), जिससे सभी एक्सेस ऑपरेटर्स अंतर्निहित रूप से कॉन्स्टेंट होते हैं (EXP ARAComAPI, पृ. 39, EXP ARAComAPI, पृ. 44, [SWS_CM_00701])।

जीवनचक्र

SamplePtr के इंस्टेंसेस को डिफ़ॉल्ट कंस्ट्रक्टर के माध्यम से या nullptr के साथ खाली पॉइंटर्स के रूप में बनाया जा सकता है ([SWS_CM_11534], [SWS_CM_11535])। इसके विपरीत, वैध और पेलोड युक्त इंस्टेंस मिडलवेयर के भीतर बफर स्लॉट में इवेंट्स के डिसेरिएलाइज़ेशन के दौरान उत्पन्न होते हैं और GetNewSamples() के ढांचे के भीतर एक एप्लिकेशन-साइड कॉलेबल को पास किए जाते हैं (EXP ARAComAPI, पृ. 44)।

हस्तांतरण के साथ, एप्लिकेशन को पूर्ण स्वामित्व हस्तांतरण (ओनरशिप ट्रांसफर) होता है (EXP ARAComAPI §5.3.5.4)। ओनरशिप की विशिष्टता सुनिश्चित करने के लिए, कॉपी कंस्ट्रक्टर और कॉपी असाइनमेंट ऑपरेटर हटा दिए गए हैं ([SWS_CM_11536], [SWS_CM_11538])। प्रबंधित मेमोरी स्लॉट का ट्रांसफर केवल मूव कंस्ट्रक्शन या मूव असाइनमेंट के माध्यम से ही संभव है ([SWS_CM_11537], [SWS_CM_11540]), जबकि Swap() दो पॉइंटर सामग्रियों की अदला-बदली की अनुमति देता है ([SWS_CM_11544])।

जब तक कोई SamplePtr-इंस्टेंस मौजूद रहता है और सैंपल को होल्ड रखता है, मिडलवेयर ऑक्यूपाइड मेमोरी स्पेस को पुनः क्लेम या रीराइट नहीं कर सकता (EXP ARAComAPI §5.3.5.4)। मिडलवेयर स्लॉट की रिलीज़ तभी होती है जब डिस्ट्रक्टर के कॉल द्वारा SamplePtr का लाइफ़टाइम समाप्त हो जाता है ([SWS_CM_11547]) या पॉइंटर को स्पष्ट रूप से Reset(nullptr) या nullptr के असाइनमेंट के माध्यम से खाली कर दिया जाता है ([SWS_CM_11539], [SWS_CM_11545])।

diag_lebenszyklus Init Leer Leer (nullptr) Init->Leer SamplePtr() Verwaltend Verwaltend (Exklusiver Besitz) Init->Verwaltend GetNewSamples() Leer->Verwaltend Move-Zuweisung Zerstoert नष्ट Leer->Zerstoert ~SamplePtr() Verwaltend->Leer Reset(nullptr) Verwaltend->Verwaltend Swap() Verwaltend->Zerstoert ~SamplePtr()

स्टेट डायग्राम: एक SamplePtr के लाइफ़साइकल फेज़ और ओनरशिप ट्रांज़िशन। स्रोत: [SWS_CM_11534], [SWS_CM_11537], [SWS_CM_11545], [SWS_CM_11547], EXP ARAComAPI §5.3.5.4।

उपयोग पथ

डेटा एक्सेस का विशिष्ट क्रम निम्नलिखित चरणों में विभाजित है:

  1. सैंपल क्वेरी ट्रिगर करना: एप्लिकेशन इवेंट प्रॉक्सी पर GetNewSamples() को कॉल करता है और सिग्नेचर void(ara::com::SamplePtr<SampleType const>) के साथ एक उपयुक्त कॉलबैक फ़ंक्शन और फेच किए जाने वाले सैंपल्स की संख्या के लिए एक ऊपरी सीमा पास करता है (EXP ARAComAPI, पृ. 44)।
  2. कॉलबैक को पास करना: यदि नया डेटा उपलब्ध है और बफर कोटा समाप्त नहीं हुआ है, तो मिडलवेयर सैंपल को डिसेरिएलाइज़ करता है और नया SamplePtr-इंस्टेंस कॉलबैक को पास करता है (EXP ARAComAPI, पृ. 44)।
  3. एंड-टू-एंड स्थिति जांचना: GetProfileCheckStatus() के माध्यम से एप्लिकेशन वर्तमान डेटा पैकेट के लिए E2E सुरक्षा जांच के परिणाम को क्वेरी कर सकता है ([SWS_CM_90420])।
  4. डेटा पढ़ना: एप्लिकेशन लॉजिक operator* ([SWS_CM_11541]), operator-> ([SWS_CM_11542]) या मेथड Get() ([SWS_CM_11546]) के माध्यम से प्रबंधित ऑब्जेक्ट को रीड-ओनली एक्सेस करता है।
  5. आगे की प्रोसेसिंग या रिलीज़: यदि सैंपल को कॉलबैक के बाद भी बनाए रखना है, तो एप्लिकेशन मूव कंस्ट्रक्शन द्वारा पॉइंटर को अपनी मेमोरी संरचनाओं में स्थानांतरित करता है ([SWS_CM_11537])। यदि पॉइंटर कॉलबैक के स्कोप में रहता है, तो बाहर निकलते समय यह स्वचालित रूप से नष्ट हो जाता है ([SWS_CM_11547]), जो मिडलवेयर में स्लॉट को तुरंत रिलीज़ कर देता है (EXP ARAComAPI §5.3.5.4)।
नमूना प्रावधान और मेमोरी प्रबंधन का प्रवाहएप्लिकेशनProxy / Eventara::com MiddlewareGetNewSamples(f, maxNumberOfSamples)कोटा के विरुद्ध रखे गए नमूनों की जांच करेंaltकोटा पार हो गयाErrorCode वापसीबफर में नया नमूना हैDeserialisierung in Sample-Slotf(SamplePtr<SampleType const>)स्वामित्व ग्रहण; * / -> / Get() के माध्यम से रीड एक्सेस और E2E जांचविनाश (~SamplePtr) या Reset(nullptr)मेमोरी स्लॉट को मुक्त करनाResult(Anzahl verarbeiteter Samples)

सीक्वेंस डायग्राम: ओनरशिप ट्रांसफर और बफर रिलीज़ के साथ GetNewSamples() पर इंटरैक्शन क्रम। स्रोत: [SWS_CM_11541], [SWS_CM_11547], [SWS_CM_90420], EXP ARAComAPI, पृ. 44, EXP ARAComAPI §5.3.5.4।

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

SamplePtr का उपयोग करते समय विशिष्ट बाउंड्री कंडीशंस और त्रुटि स्रोतों का ध्यान रखा जाना चाहिए:

  • बफर कोटा समाप्त होना: GetNewSamples() के प्रत्येक कॉल पर मिडलवेयर मॉनिटर करता है कि क्या वर्तमान में एप्लिकेशन द्वारा रखे गए सैंपल्स की संख्या Subscribe() के कॉल पर पहले दिए गए कोटा से अधिक है। यदि कोटा पार हो जाता है, तो GetNewSamples() आगे के सैंपल्स जारी करने से इनकार करता है और इसके बजाय ara::core::ErrorCode लौटाता है (EXP ARAComAPI, पृ. 44, EXP ARAComAPI, पृ. 45)।
  • सब्सक्रिप्शन हानि या प्रॉक्सी विनाश के कारण अमान्यता: SamplePtr केवल तब तक std::unique_ptr की तरह डिटरमिनिस्टिक रूप से व्यवहार करता है, जब तक कि अंतर्निहित इवेंट सब्सक्राइब रहता है और पैरेंट प्रॉक्सी इंस्टेंस मौजूद रहता है। सब्सक्रिप्शन की समाप्ति या प्रॉक्सी के विनाश के बाद भी पॉइंटर्स को बनाए रखना प्रीकंडीशंस का उल्लंघन माना जाता है।
  • पॉइंटर की वैधता और नल स्थिति: operator bool() के माध्यम से पॉइंटर की ऑक्यूपेंसी स्थिति का मूल्यांकन किया जा सकता है ([SWS_CM_11543])। operator* या operator-> के माध्यम से एक खाली पॉइंटर का डीरेफरेंसिंग अपरिभाषित व्यवहार (undefined behavior) की ओर ले जाता है। सभी एक्सेस और मॉडिफिकेशन मेथड्स noexcept के रूप में घोषित हैं ([SWS_CM_11541], [SWS_CM_11542], [SWS_CM_11546])।
  • E2E सत्यापन त्रुटि: वैध रूप से प्राप्त पॉइंटर अनिवार्य रूप से त्रुटि-मुक्त ट्रांसमिशन डेटा की गारंटी नहीं देता है; GetProfileCheckStatus() के रिटर्न वैल्यू के माध्यम से एप्लिकेशन को यह जांचना होगा कि क्या एंड-टू-एंड प्रोटेक्शन डेटा करप्शन या ट्रांसमिशन देरी का संकेत देता है ([SWS_CM_90420])।

यह क्लास गाइड Adaptive Platform रिलीज़ R25-11 के लिए AUTOSAR विनिर्देशों के आधार पर एक AI क्यूरेशन असिस्टेंट द्वारा जनरेट की गई थी।

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

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

2

क्लास आरेख

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

G nara__com__SamplePtr589 SamplePtr + SamplePtr() + operator=() + ~SamplePtr() + Get() + GetProfileCheckStatus() + Reset() + Swap() + operator bool() + operator*() + operator->()

विवरण दृश्य

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

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

SamplePtr फ़ंक्शन 4

Default constructor

ओवरलोड SamplePtr 4
constexpr SamplePtr () noexcept; SWS_CM_11534
constexpr SamplePtr (std::nullptr_t other) noexcept; SWS_CM_11535
SamplePtr (const SamplePtr &)=delete; SWS_CM_11536
SamplePtr (SamplePtr &&other) noexcept; SWS_CM_11537
~SamplePtr फ़ंक्शन

Destructor

~SamplePtr () noexcept;

मेथड

Get फ़ंक्शन

Returns a pointer to the managed object.

T * Get () const noexcept;
GetProfileCheckStatus फ़ंक्शन

Returns the E2E protection check result

ara::com::e2e::ProfileCheckStatus GetProfileCheckStatus () const noexcept;
Reset फ़ंक्शन

Replaces the managed object.

void Reset (std::nullptr_t other) noexcept;
Swap फ़ंक्शन

Swaps the managed object.

void Swap (SamplePtr &other) noexcept;

ऑपरेटर

operator bool फ़ंक्शन

Checks if the stored pointer is null

explicit operator bool () const noexcept;
operator* फ़ंक्शन

Dereferences the stored pointer.

T & operator* () const noexcept;
operator-> फ़ंक्शन

Dereferences the stored pointer.

T * operator-> () const noexcept;
operator= फ़ंक्शन 3

Copy assignment constructor deletion

ओवरलोड = 3
SamplePtr & operator= (const SamplePtr &)=delete; SWS_CM_11538
SamplePtr & operator= (std::nullptr_t other) noexcept; SWS_CM_11539
SamplePtr & operator= (SamplePtr &&other) noexcept; SWS_CM_11540

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

फ़ंक्शन Get [SWS_CM_11546] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

T * Get () const noexcept;

Returns a pointer to the managed object.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 1cc8beae7ae3 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग और सिमेंटिक्स

फ़ंक्शन Get हेडर ara/com/service/sample_ptr.h से क्लास ara::com::SamplePtr का एक पैरामीटर रहित सदस्य फ़ंक्शन है [SWS_CM_11546]। यह इंस्टेंस द्वारा प्रबंधित ऑब्जेक्ट के लिए प्रकार T* का एक कच्चा सूचक (raw pointer) सिंक्रोनस रूप से वापस करता है [SWS_CM_11546]। सर्विस फ़ील्ड्स के एसिंक्रोनस प्रश्नों के विपरीत, जो एक ara::core::Future प्रदान करते हैं [SWS_CM_00112], यह एक्सेस कॉलिंग थ्रेड में तुरंत होता है।

त्रुटि प्रबंधन और सीमा शर्तें

मेथड को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CM_11546]; C++ अपवादों के माध्यम से कोई त्रुटि स्थिति उत्पन्न नहीं होती है। यदि इंस्टेंस वर्तमान में किसी ऑब्जेक्ट का प्रबंधन नहीं करता है, तो लौटाया गया पॉइंटर संभवतः nullptr होना चाहिए। प्रश्न Q-d850bd8ee144369a (खुला) संदर्भित डेटा के आगे के प्रसंस्करण से पहले, यह सुनिश्चित किया जाना चाहिए कि E2E निगरानी में स्थिति ara::com::e2e::SMState::kValid है और प्रोफ़ाइल स्थिति जांच में कोई त्रुटि नहीं मिली है [SWS_CM_90422]।

परस्पर क्रिया और विभेदन

Communication Management में, Get प्राप्त मानों (नमूनों) तक सीधे डेटा एक्सेस का कार्य करता है, जैसा कि सैंपल प्रबंधन के भाग के रूप में प्रदान किया जाता है AUTOSAR_AP_EXP_ARAComAPI §10 “GetNewSamples”। इस फ़ंक्शन को अन्य Get ऑपरेशनों से स्पष्ट रूप से अलग किया जाना चाहिए:

  • फील्ड गेट्टर: प्रॉक्सी पर सर्विस फ़ील्ड्स को पुनः प्राप्त करना Get() के माध्यम से ara::core::Future [SWS_CM_00112] की वापसी के साथ होता है, जिसके लिए सर्वर साइड पर एक हैंडलर पंजीकृत किया जा सकता है [SWS_CM_00114]।
  • E2E स्थिति: किसी फ़ील्ड गेट्टर की निगरानी स्थिति अलग से GetE2EStateMachineStateGetter के माध्यम से निर्धारित की जाती है [SWS_CM_00145]।

यह पाठ AI द्वारा तैयार किया गया था और AUTOSAR रिलीज़ R25-11 पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
T*A pointer to the managed object

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

Record
AUTOSAR/AP/record/SWS_CM_11546
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11546@rel:R25-11#a8f395b8
Content hash
a8f395b8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11546
Status: valid/unmigrated Version: rel:R25-11#ff040cc4 Versionshistorie & Revisions (1 transition, 3 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_CM_11546@rel:R25-11#ff040cc4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#19683df22026-09-30
  • R24-11rel:R24-11#83411fd82026-10-14
  • R25-11rel:R25-11#ff040cc42026-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

फ़ंक्शन GetProfileCheckStatus [SWS_CM_90420] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

ara::com::e2e::ProfileCheckStatus GetProfileCheckStatus () const noexcept;

Returns the E2E protection check result

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::e2e::ProfileCheckStatusThe ara::com::e2e::ProfileCheckStatus

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

Record
AUTOSAR/AP/record/SWS_CM_90420
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_90420@rel:R25-11#c3fd63f3
Content hash
c3fd63f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_90420
Status: valid/unmigrated Version: rel:R25-11#0b9ab03a 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_CM_90420@rel:R25-11#0b9ab03a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#35d072212026-09-30
  • R19-11rel:R19-11#8060df8d2026-10-14
  • R20-11rel:R20-11#8060df8d2026-10-14
  • R21-11rel:R21-11#8060df8d2026-10-14
  • R22-11rel:R22-11#8060df8d2026-10-14
  • R23-11rel:R23-11#8060df8d2026-10-14
  • R24-11rel:R24-11#331b13032026-10-14
  • R25-11rel:R25-11#0b9ab03a2026-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

फ़ंक्शन Reset [SWS_CM_11545] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

void Reset (std::nullptr_t other) noexcept;

Replaces the managed object.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 0a03c7966b10 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::com::SamplePtr का सदस्य फ़ंक्शन Reset प्रबंधित ऑब्जेक्ट के सूचक को रीसेट करने का कार्य करता है [SWS_CM_11545]। पैरामीटर के रूप में, यह प्रकार std::nullptr_t का मान other लेता है। कॉल वर्तमान में रखे गए ऑब्जेक्ट को एक नल पॉइंटर से बदल देता है और कोई मान वापस नहीं करता है (void) [SWS_CM_11545]।

त्रुटि प्रबंधन और अपवाद सुरक्षा के संबंध में, मेथड को noexcept के साथ घोषित किया गया है और इसे पूरी तरह से अपवाद-सुरक्षित (exception safe) निर्दिष्ट किया गया है [SWS_CM_11545]। न तो C++ अपवाद फेंके जाते हैं और न ही विशिष्ट त्रुटि कोड रिपोर्ट किए जाते हैं।

समग्र प्रणाली में, SamplePtr इंस्टेंसों को रिलीज़ करना मेमोरी त्रुटियों से बचने के लिए एक आवश्यक पूर्व शर्त को पूरा करता है:

  • AUTOSAR_AP_SWS_CommunicationManagement §7.5.12 “Service proxy destruction” में [SWS_CM_00087] के अनुसार, इवेंट सैंपल डेटा के डैंगलिंग संदर्भों से बचने के लिए, सर्विस प्रॉक्सी को नष्ट करने से पहले GetNewSamples() के माध्यम से पहले प्रदान किए गए सभी ara::com::SamplePtr को रिलीज़ किया जाना चाहिए।
  • एक समान दायित्व [SWS_CM_00085] द्वारा इवेंट्स या फ़ील्ड्स से सदस्यता समाप्त करने (Unsubscription) से पहले तैयार किया गया है।

व्याख्या: एप्लिकेशन परिदृश्यों में Reset(nullptr) का स्पष्ट कॉल ऐसे जीवनचक्र संक्रमणों से पहले एक इवेंट सैंपल का स्वामित्व नियतात्मक रूप से छोड़ने का प्रत्यक्ष साधन होना चाहिए, यदि पॉइंटर स्वचालित रूप से अपने दायरे से बाहर नहीं निकलता है। प्रश्न Q-a615fa4078ab03ce (खुला)

यह उपयोग नोट AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherA replacing std::nullptr_t

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11545
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11545@rel:R25-11#4ecfa57f
Content hash
4ecfa57f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11545
Status: valid/unmigrated Version: rel:R25-11#93bd20e9 Versionshistorie & Revisions (1 transition, 3 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_CM_11545@rel:R25-11#93bd20e9
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#82ec68c82026-09-30
  • R24-11rel:R24-11#d3c7100f2026-10-14
  • R25-11rel:R25-11#93bd20e92026-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

फ़ंक्शन SamplePtr [SWS_CM_11534] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

constexpr SamplePtr () noexcept;

Default constructor

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CM_11534
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11534@rel:R25-11#932a9977
Content hash
932a9977
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11534
Status: valid/unmigrated Version: rel:R25-11#d0884e08 Versionshistorie & Revisions (1 transition, 3 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_CM_11534@rel:R25-11#d0884e08
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b186477a2026-09-30
  • R24-11rel:R24-11#78fdb2182026-10-14
  • R25-11rel:R25-11#d0884e082026-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

फ़ंक्शन SamplePtr [SWS_CM_11535] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

constexpr SamplePtr (std::nullptr_t other) noexcept;

Semantically equivalent to [SWS_CM_11534]

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherA std::nullptr_t to copy

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

Record
AUTOSAR/AP/record/SWS_CM_11535
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11535@rel:R25-11#8fd1b286
Content hash
8fd1b286
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11535
Status: valid/unmigrated Version: rel:R25-11#6e679051 Versionshistorie & Revisions (1 transition, 3 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_CM_11535@rel:R25-11#6e679051
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#fa854bdf2026-09-30
  • R24-11rel:R24-11#123387c32026-10-14
  • R25-11rel:R25-11#6e6790512026-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

फ़ंक्शन SamplePtr [SWS_CM_11536] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

SamplePtr (const SamplePtr &)=delete;

Copy constructor deletion

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr

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

Record
AUTOSAR/AP/record/SWS_CM_11536
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11536@rel:R25-11#6c1fb27f
Content hash
6c1fb27f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11536
Status: valid/unmigrated Version: rel:R25-11#1ab46188 Versionshistorie & Revisions (1 transition, 3 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_CM_11536@rel:R25-11#1ab46188
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#3909673e2026-09-30
  • R24-11rel:R24-11#1ab461882026-10-14
  • R25-11rel:R25-11#1ab461882026-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

फ़ंक्शन SamplePtr [SWS_CM_11537] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

SamplePtr (SamplePtr &&other) noexcept;

Move constructor

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::SamplePtr to move

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

Record
AUTOSAR/AP/record/SWS_CM_11537
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11537@rel:R25-11#e0e40884
Content hash
e0e40884
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11537
Status: valid/unmigrated Version: rel:R25-11#3c5f39c0 Versionshistorie & Revisions (1 transition, 3 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_CM_11537@rel:R25-11#3c5f39c0
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0fee22422026-09-30
  • R24-11rel:R24-11#165c3cab2026-10-14
  • R25-11rel:R25-11#3c5f39c02026-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

फ़ंक्शन Swap [SWS_CM_11544] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

void Swap (SamplePtr &other) noexcept;

Swaps the managed object.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 18d4b3f3f0f9 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

फ़ंक्शन Swap क्लास ara::com::SamplePtr का एक सदस्य मेथड है और वर्तमान में प्रबंधित ऑब्जेक्ट को किसी अन्य इंस्टेंस ([SWS_CM_11544]) के साथ स्वैप करने का कार्य करता है। इंटरफ़ेस हेडर ara/com/service/sample_ptr.h में परिभाषित है (AUTOSAR_AP_SWS_CommunicationManagement §8.9.1.1.3.4 “Swap”)।

कॉल सिंक्रोनस रूप से होता है और निम्नलिखित पैरामीटर की अपेक्षा करता है:

  • other: ara::com::SamplePtr के एक अन्य इंस्टेंस का संदर्भ, जिसका प्रबंधित ऑब्जेक्ट *this के साथ स्वैप किया जाता है ([SWS_CM_11544])।

मेथड का कोई रिटर्न मान (void) नहीं है ([SWS_CM_11544])।

त्रुटि प्रबंधन

हस्ताक्षर noexcept के साथ घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है ([SWS_CM_11544])। कॉल कोई अपवाद नहीं फेंकता है और कोई त्रुटि कोड वापस नहीं करता है।

समवर्तीता और प्रतिबंध

चूंकि Swap एक साथ दो ऑब्जेक्टों (*this और other) की स्थिति को बदलता है, बाहरी सिंक्रनाइज़ेशन के बिना शामिल इंस्टेंसों में से कम से कम एक पर समानांतर कॉल संभवतः थ्रेड-सुरक्षित नहीं हो सकते हैं। प्रश्न Q-d906e8c05aefbd15 (खुला)

इंटरैक्शन

यह मेथड क्लास ara::com::SamplePtr का एक अभिन्न अंग है ([SWS_CM_11544])। यह अंतर्निहित पेलोड ऑब्जेक्ट को कॉपी किए बिना, संचार प्रवाह में प्राप्त डेटा नमूनों (samples) के कुशल स्वामित्व हस्तांतरण या पुन: असाइनमेंट को सक्षम बनाता है।

यह उपयोग नोट विनिर्देश दस्तावेजों के आधार पर स्वचालित रूप से तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherAnother ara::com::SamplePtr to swap the managed object with

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11544
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11544@rel:R25-11#e1458187
Content hash
e1458187
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11544
Status: valid/unmigrated Version: rel:R25-11#de8dd35c Versionshistorie & Revisions (1 transition, 3 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_CM_11544@rel:R25-11#de8dd35c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ef3edceb2026-09-30
  • R24-11rel:R24-11#f0b647d12026-10-14
  • R25-11rel:R25-11#de8dd35c2026-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 bool [SWS_CM_11543] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

explicit operator bool () const noexcept;

Checks if the stored pointer is null

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
boolTRUE if the stored pointer is null, FALSE otherwise.

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

Record
AUTOSAR/AP/record/SWS_CM_11543
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11543@rel:R25-11#06f14e50
Content hash
06f14e50
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11543
Status: valid/unmigrated Version: rel:R25-11#d4a800ef Versionshistorie & Revisions (1 transition, 3 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_CM_11543@rel:R25-11#d4a800ef
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a426ffae2026-09-30
  • R24-11rel:R24-11#6ef9c5c82026-10-14
  • R25-11rel:R25-11#d4a800ef2026-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_CM_11541] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

T & operator* () const noexcept;

Dereferences the stored pointer.

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
T&The object owned by *this

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

Record
AUTOSAR/AP/record/SWS_CM_11541
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11541@rel:R25-11#70c5d96a
Content hash
70c5d96a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11541
Status: valid/unmigrated Version: rel:R25-11#2a9978a3 Versionshistorie & Revisions (1 transition, 3 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_CM_11541@rel:R25-11#2a9978a3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#7a10ec442026-09-30
  • R24-11rel:R24-11#ef9b07162026-10-14
  • R25-11rel:R25-11#2a9978a32026-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_CM_11542] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

T * operator-> () const noexcept;

Dereferences the stored pointer.

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
T*A pointer to the object owned by *this

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

Record
AUTOSAR/AP/record/SWS_CM_11542
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11542@rel:R25-11#c9cf1d88
Content hash
c9cf1d88
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11542
Status: valid/unmigrated Version: rel:R25-11#40fe26b3 Versionshistorie & Revisions (1 transition, 3 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_CM_11542@rel:R25-11#40fe26b3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#782b36dc2026-09-30
  • R24-11rel:R24-11#bcd1f0962026-10-14
  • R25-11rel:R25-11#40fe26b32026-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_CM_11538] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

SamplePtr & operator= (const SamplePtr &)=delete;

Copy assignment constructor deletion

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr

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

Record
AUTOSAR/AP/record/SWS_CM_11538
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11538@rel:R25-11#dac417f3
Content hash
dac417f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11538
Status: valid/unmigrated Version: rel:R25-11#26e1191d Versionshistorie & Revisions (1 transition, 3 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_CM_11538@rel:R25-11#26e1191d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#474e38fe2026-09-30
  • R24-11rel:R24-11#26e1191d2026-10-14
  • R25-11rel:R25-11#26e1191d2026-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_CM_11539] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

SamplePtr & operator= (std::nullptr_t other) noexcept;

Copy assignment of nullptr_t.

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherA std::nullptr_t to copy

Rückgabewert

TypBeschreibung
SamplePtr &New ara::com::SamplePtr

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

Record
AUTOSAR/AP/record/SWS_CM_11539
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11539@rel:R25-11#328591f8
Content hash
328591f8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11539
Status: valid/unmigrated Version: rel:R25-11#f4df352d Versionshistorie & Revisions (1 transition, 3 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_CM_11539@rel:R25-11#f4df352d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#3c9545952026-09-30
  • R24-11rel:R24-11#2a2a48bc2026-10-14
  • R25-11rel:R25-11#f4df352d2026-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_CM_11540] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

SamplePtr & operator= (SamplePtr &&other) noexcept;

Move assignment operator.

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::SamplePtr to move

Rückgabewert

TypBeschreibung
SamplePtr &New ara::com::SamplePtr

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

Record
AUTOSAR/AP/record/SWS_CM_11540
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11540@rel:R25-11#7e53232f
Content hash
7e53232f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11540
Status: valid/unmigrated Version: rel:R25-11#19726bd5 Versionshistorie & Revisions (1 transition, 3 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_CM_11540@rel:R25-11#19726bd5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d5c9766f2026-09-30
  • R24-11rel:R24-11#0e9fed532026-10-14
  • R25-11rel:R25-11#19726bd52026-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

फ़ंक्शन ~SamplePtr [SWS_CM_11547] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145

~SamplePtr () noexcept;

Destructor

Header-Datei#include "ara/com/service/sample_ptr.h"
Scopeclass ara::com::SamplePtr
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CM_11547
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11547@rel:R25-11#b3b8104f
Content hash
b3b8104f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11547
Status: valid/unmigrated Version: rel:R25-11#9a0210b5 Versionshistorie & Revisions (1 transition, 3 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_CM_11547@rel:R25-11#9a0210b5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#79b025ea2026-09-30
  • R24-11rel:R24-11#12a7c5cb2026-10-14
  • R25-11rel:R25-11#9a0210b52026-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