DEENESPTFRRUARHIKOZHNL

क्लास <SI-Namespace>::proxy::events::<Event>

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

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

क्लाइंट ऐप्लिकेशन्स को सर्विस इवेंट्स की सदस्यता लेने और नए डेटा नमूनों (samples) के प्ररूपित (typed) रिसेप्शन को सक्षम बनाता है।

इंटरफ़ेस क्लास <SI-Namespace>::proxy::events::<Event> AUTOSAR Adaptive Platform में क्लाइंट ऐप्लिकेशन्स को com मॉड्यूल के माध्यम से सर्विस इवेंट्स के उपभोक्ता-पक्ष रिसेप्शन को सक्षम बनाती है। विशिष्ट कार्यप्रवाह में Subscribe [SWS_CM_00141] के माध्यम से सदस्यता का अनुरोध करना, पंजीकृत हैंडलर्स के माध्यम से प्रतिक्रियाशील अधिसूचना, और GetNewSamples [SWS_CM_00701] का उपयोग करके तुल्यकालिक नमूना पुनर्प्राप्ति शामिल है। सदस्यता के समय आरक्षित किए गए पॉइंटर्स से अधिक सैंपल पॉइंटर्स एक साथ नहीं रखे जाने चाहिए, और Unsubscribe के माध्यम से सदस्यता समाप्त करने से पहले सभी संदर्भ जारी किए जाने चाहिए।

संदर्भ

C++ क्लास <SI-Namespace>::proxy::events::<Event> AUTOSAR Adaptive Platform (रिलीज़ R25-11) के मॉड्यूल com में एक सर्विस इवेंट के लिए उपभोक्ता-पक्ष इंटरफ़ेस का प्रतिनिधित्व करती है। सेवा-उन्मुख संचार पैटर्न के भीतर, यह जनरेट की गई क्लास सर्वर स्केलेटन द्वारा प्रदान किए गए इवेंट के स्थानीय प्रतिनिधि के रूप में कार्य करती है। क्लाइंट ऐप्लिकेशन्स इस क्लास के इंस्टेंस का उपयोग इवेंट डेटा की सदस्यता लेने, संचार नेटवर्क से आने वाले नमूनों (samples) को प्राप्त करने और उपभोक्ता पक्ष AUTOSAR_AP_EXP_ARAComAPI पृ. 10 पर उनके जीवन चक्र को नियंत्रित करने के लिए करते हैं।

क्लास के मुख्य इंटरेक्शन पार्टनर हैं:

  • एप्लिकेशन (Subscriber): Subscribe [SWS_CM_00141] के माध्यम से इवेंट सदस्यता का पंजीकरण शुरू करता है, डेटा रिसेप्शन और स्थिति परिवर्तनों के लिए कॉलबैक रूटीन पंजीकृत करता है, और GetNewSamples [SWS_CM_00701] के माध्यम से नए नमूनों की क्वेरी करता है।
  • Communication Management: अंतर्निहित मिडलवेयर पर इवेंट डेटा के संचरण का समन्वय करता है, नेटवर्क स्थिति का प्रबंधन करता है, और नए इवेंट्स के आने या स्थिति परिवर्तन होने पर पंजीकृत अधिसूचना हैंडलर्स को निष्पादित करता है [SWS_CM_00181], [SWS_CM_00333]।
  • निष्पादन संदर्भ (Executor): ओवरलोडेड पंजीकरण विधियों का उपयोग करते समय, एसिंक्रोनस हैंडलर्स स्पष्ट रूप से पास किए गए संदर्भ ExecutorT के भीतर निष्पादित होते हैं [SWS_CM_11354], [SWS_CM_11356], [SWS_CM_00100]।
EventKontext Anwendung एप्लिकेशन ProxyEvent Proxy-Event Anwendung->ProxyEvent Subscribe / GetNewSamples ProxyEvent->Anwendung Handler-Aufruf CommunicationManagement Communication Management CommunicationManagement->ProxyEvent Ereignisdaten / Status

संदर्भ आरेख: एप्लिकेशन, प्रॉक्सी इवेंट और Communication Management के बीच अंतःक्रिया संबंध। स्रोत: [SWS_CM_00141], [SWS_CM_00181], AUTOSAR_AP_EXP_ARAComAPI पृ. 10

जीवनचक्र

मूल प्रॉक्सी क्लास के सदस्य के रूप में <SI-Namespace>::proxy::events::<Event> का इंस्टेंसिएशन और विनाश सर्विस प्रॉक्सी के जीवनकाल से मजबूती से बंधा होना चाहिए। प्रश्न Q-6c591ea580278c12 (खुला) निर्माण के बाद, इवेंट प्रारंभ में गैर-सदस्यता वाली स्थिति में होता है। वर्तमान सदस्यता स्थिति को किसी भी समय GetSubscriptionState के माध्यम से जाँचा जा सकता है, जो स्थिति को ara::com::SubscriptionState के रूप में लौटाता है [SWS_CM_00316]।

सक्रिय सदस्यता स्थिति में संक्रमण Subscribe के माध्यम से शुरू किया जाता है, जहाँ एक साथ उपलब्ध कैश स्लॉट की अधिकतम संख्या maxSampleCount द्वारा निर्धारित की जाती है [SWS_CM_00141]। यदि कॉल के समय इवेंट पहले से ही kSubscribed या kSubscriptionPending स्थितियों में है और पास किया गया मान वर्तमान मान से मेल खाता है, तो कॉल निष्प्रभावी रहता है [SWS_CM_00141]। Communication Management सदस्यता में स्थिति परिवर्तनों की रिपोर्ट एक हैंडलर के माध्यम से करता है, जो SetSubscriptionStateChangeHandler [SWS_CM_00333] द्वारा या निष्पादन संदर्भ के साथ SetSubscriptionStateChangeHandler [SWS_CM_11354] के माध्यम से पंजीकृत होता है। यह पंजीकरण UnsetSubscriptionStateChangeHandler के माध्यम से रद्द किया जा सकता है [SWS_CM_00334] AUTOSAR_AP_EXP_ARAComAPI पृ. 10।

इसके अतिरिक्त, क्लास एंड-टू-एंड सुरक्षा (E2E) की स्थिति का प्रबंधन करती है। E2E स्टेट मशीन की स्थिति ara::com::e2e::SMState GetE2EStateMachineState के माध्यम से निर्धारित की जाती है, जैसा कि GetNewSamples() के दौरान E2E_Check() के अंतिम आंतरिक कॉल पर पाया गया था [SWS_CM_11554]। त्रुटिपूर्ण संचरण स्थितियों की निगरानी उन हैंडलर्स द्वारा की जा सकती है जो SetTransportFaultConditionHandler [SWS_CM_00099] या [SWS_CM_00100] के माध्यम से सेट किए गए हैं और UnsetTransportFaultConditionHandler [SWS_CM_00105] के माध्यम से हटाए गए हैं।

सदस्यता की समाप्ति Unsubscribe [SWS_CM_00151] AUTOSAR_AP_EXP_ARAComAPI पृ. 10 के माध्यम से होती है। यदि इस समय इवेंट की सदस्यता नहीं ली गई है, तो विधि बिना किसी क्रिया के वापस लौटती है [SWS_CM_00151]। सभी सदस्य फलन noexcept के रूप में घोषित किए गए हैं और पूर्ण अपवाद-सुरक्षा प्रदान करते हैं।

उपयोग पथ

प्रॉक्सी इवेंट का उपयोग करने का विशिष्ट क्रम निम्नलिखित क्रमिक चरणों में विभाजित है:

  1. सदस्यता शुरू करना: आने वाले नमूनों के लिए बफर आकार आरक्षित करने के लिए एप्लिकेशन Subscribe(maxSampleCount) को कॉल करता है [SWS_CM_00141]।
  2. अधिसूचना कॉन्फ़िगर करना: SetReceiveHandler [SWS_CM_00181] के माध्यम से (या [SWS_CM_11356] के माध्यम से निष्पादन संदर्भ के साथ) एक पैरामीटरहीन कॉलबैक पंजीकृत किया जाता है, जिसे नए इवेंट्स आने पर Communication Management द्वारा कॉल किया जाता है।
  3. नमूने पुनर्प्राप्त करना और संसाधित करना: कॉलबैक में, एप्लिकेशन GetNewSamples [SWS_CM_00701] को कॉल करता है। हस्ताक्षर void(ara::com::SamplePtr<SampleType const>) वाला पास किया गया कॉलेबल f प्रत्येक नमूने को क्रमिक रूप से संसाधित करता है। यहाँ SampleType इवेंट के प्रकार-विशिष्ट पेलोड प्रकार [SWS_CM_11401] से मेल खाता है। वापसी मान ara::core::Result<std::size_t> के रूप में f को पास किए गए नमूनों की सटीक संख्या प्रदान करता है [SWS_CM_00701]।
  4. कैश की निगरानी करना: बफर की कमी का समय रहते पता लगाने के लिए एप्लिकेशन स्थानीय कैश में अप्रयुक्त स्थानों की संख्या की जाँच GetFreeSampleCount [SWS_CM_00705] का उपयोग करके कर सकता है।
  5. डीरेफरेंसिंग और सदस्यता रद्द करना: डेटा प्रोसेसिंग पूरी होने के बाद, रिसेप्शन ट्रिगर को UnsetReceiveHandler के साथ निष्क्रिय कर दिया जाता है [SWS_CM_00183] और सदस्यता को Unsubscribe के माध्यम से समाप्त कर दिया जाता है [SWS_CM_00151]।
इवेंट सदस्यता और नमूना प्रसंस्करणएप्लिकेशनProxy-EventCommunication ManagementSubscribe(maxSampleCount)Abonnement anfordernSetReceiveHandler(handler)handler()GetNewSamples(f, maxNumberOfSamples)ara::core::Result<std::size_t>Unsubscribe()

अनुक्रम आरेख: सदस्यता, अधिसूचना, नमूना प्रसंस्करण और सदस्यता समाप्ति का विशिष्ट क्रम। स्रोत: [SWS_CM_00141], [SWS_CM_00181], [SWS_CM_00701], [SWS_CM_00151]

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

क्लास का उपयोग करते समय विशिष्ट त्रुटि कोड और रनटाइम उल्लंघन हो सकते हैं, जिनके लिए रक्षात्मक जाँच की आवश्यकता होती है:

  • पुनः सदस्यता (Re-Subscription) पर कॉन्फ़िगरेशन त्रुटि: यदि इवेंट पहले से ही सब्सक्राइब होने के दौरान Subscribe को कॉल किया जाता है, और नया maxSampleCount वर्तमान मान से भिन्न होता है, तो कॉल त्रुटि कोड ComErrc::kMaxSampleCountNotRealizable के साथ विफल हो जाता है [SWS_CM_00141]। अनुमतियों के अभाव में, सिस्टम InsufficientPermissionsViolation [SWS_CM_00141] के साथ निष्पादन से इनकार करता है।
  • बफ़र सीमाओं का उल्लंघन: यदि एप्लिकेशन Subscribe के पिछले कॉल में दिए गए आश्वासन से अधिक ara::com::SamplePtr के इंस्टेंस रखता है, तो GetNewSamples त्रुटि कोड ComErrc::kMaxSamplesExceeded लौटाता है; इस स्थिति में डेटा नमूने छोड़े जा सकते हैं [SWS_CM_00701]।
  • अमान्य हैंडलर पास करना: यदि SetReceiveHandler, SetSubscriptionStateChangeHandler या SetTransportFaultConditionHandler में कोई अमान्य या खाली (null) कॉलेबल ऑब्जेक्ट पास किया जाता है, तो InvalidHandlerViolation ट्रिगर होता है ([SWS_CM_00181], [SWS_CM_11356], [SWS_CM_00333], [SWS_CM_11354], [SWS_CM_00099], [SWS_CM_00100])।
  • सदस्यता समाप्ति पर शेष नमूने: यदि Unsubscribe को कॉल करने से पहले सभी रखे गए ara::com::SamplePtr जारी नहीं किए जाते हैं, तो इसके परिणामस्वरूप DanglingSamplesViolation [SWS_CM_00151] होता है।

यह मार्गदर्शिका विनिर्देश AUTOSAR R25-11 के आधार पर AI द्वारा तैयार की गई थी।

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

क्लास आरेख

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

G n_SI_Namespace___proxy__events___Event_711 <Event> + SetTransportFaultConditionHandler() + UnsetTransportFaultConditionHandler() + GetE2EStateMachineState() + GetFreeSampleCount() + GetNewSamples() + GetSubscriptionState() + SetSubscriptionStateChangeHandler() + Subscribe() + UnsetSubscriptionStateChangeHandler() + Unsubscribe() + SetReceiveHandler() + UnsetReceiveHandler()

विवरण दृश्य

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

मेथड

GetE2EStateMachineState फ़ंक्शन

Returns the state of the specific event class, which was determined by the last run of E2E_Check() function invoked during the last call of GetNewSamples()

ara::com::e2e::SMState GetE2EStateMachineState () const noexcept;
GetFreeSampleCount फ़ंक्शन

Query Free Sample Slots

std::size_t GetFreeSampleCount () const noexcept;
GetNewSamples फ़ंक्शन

Method to update the event cache.

template <typename F> ara::core::Result< std::size_t > GetNewSamples (F &&f, std::size_t max NumberOfSamples=std::numeric_limits< std::size_t >::max()) noexcept;
GetSubscriptionState फ़ंक्शन

Query ara::com::SubscriptionState, as per [SWS_CM_00310].

ara::com::SubscriptionState GetSubscriptionState () const noexcept;
SetReceiveHandler फ़ंक्शन 2

Set/Register the event receive handler

ओवरलोड SetReceiveHandler 2
void SetReceiveHandler (ara::com::EventReceiveHandler handler) noexcept; SWS_CM_00181
template <typename ExecutorT> void SetReceiveHandler (ara::com::EventReceiveHandler handler, ExecutorT &&executor) noexcept; SWS_CM_11356
SetSubscriptionStateChangeHandler फ़ंक्शन 2

Set ara::com::SubscriptionState change handler

ओवरलोड SetSubscriptionStateChangeHandler 2
void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler) noexcept; SWS_CM_00333
template <typename ExecutorT> void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler, ExecutorT &&executor) noexcept; SWS_CM_11354
SetTransportFaultConditionHandler फ़ंक्शन 2

Provides possibility to register a ara::com::e2e::TransportFaultConditionHandler for a given Proxy Event.

ओवरलोड SetTransportFaultConditionHandler 2
void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler) noexcept; SWS_CM_00099
template <typename ExecutorT> void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler, ExecutorT &&executor) noexcept; SWS_CM_00100
Subscribe फ़ंक्शन

Method to subscribe to a service event. If the Event is already in state kSubscribed or in state kSubscriptionPending at the time of the call, and the provided maxSampleCount value is the same as for the current subscription, the method shall return without action.

ara::core::Result< void > Subscribe (std::size_t maxSampleCount) noexcept;
UnsetReceiveHandler फ़ंक्शन

Disable service event trigger

void UnsetReceiveHandler () noexcept;

Unset ara::com::SubscriptionState change handler

void UnsetSubscriptionStateChangeHandler () noexcept;

Provides the possibility to unregister a previously set ara::com::e2e:: TransportFaultConditionHandler for a given Proxy Event.

void UnsetTransportFaultConditionHandler () noexcept;
Unsubscribe फ़ंक्शन

Method to unsubscribe from a service event. If the Event is not subscribed to at the time of the call, the method shall return without action.

void Unsubscribe () noexcept;

टाइप उपनाम

SampleType टाइप उपनाम

As per [SWS_CM_11400]

using SampleType = <PSampleCppidt>;

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

फ़ंक्शन GetE2EStateMachineState [SWS_CM_11554] Upstream: RS_CM_00224, RS_E2E_08534

ara::com::e2e::SMState GetE2EStateMachineState () const noexcept;

Returns the state of the specific event class, which was determined by the last run of E2E_Check() function invoked during the last call of GetNewSamples()

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::e2e::SMStateState of the specific event class
Siehe auch: [SWS_CM_90417]

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

Record
AUTOSAR/AP/record/SWS_CM_11554
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11554@rel:R25-11#25823954
Content hash
25823954
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11554
Status: valid/unmigrated Version: rel:R25-11#4c81e570 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_11554@rel:R25-11#4c81e570
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f9e478182026-09-30
  • R24-11rel:R24-11#5c2922c82026-10-14
  • R25-11rel:R25-11#4c81e5702026-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

फ़ंक्शन GetFreeSampleCount [SWS_CM_00705] Upstream: RS_CM_00202, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00139

std::size_t GetFreeSampleCount () const noexcept;

Query Free Sample Slots

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
std::size_tThe number of free/unused slots for event sample data in the local cache

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

Record
AUTOSAR/AP/record/SWS_CM_00705
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00705@rel:R25-11#3ef19dc1
Content hash
3ef19dc1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00705
Status: valid/unmigrated Version: rel:R25-11#f96adb34 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_00705@rel:R25-11#f96adb34
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2f7ed5962026-09-30
  • R19-11rel:R19-11#008f5d482026-10-14
  • R20-11rel:R20-11#e5d3f0782026-10-14
  • R21-11rel:R21-11#c65b737d2026-10-14
  • R22-11rel:R22-11#c65b737d2026-10-14
  • R23-11rel:R23-11#c65b737d2026-10-14
  • R24-11rel:R24-11#61ce58d62026-10-14
  • R25-11rel:R25-11#f96adb342026-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

फ़ंक्शन GetNewSamples [SWS_CM_00701] Upstream: RS_CM_00202, RS_AP_00114, RS_AP_00120, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00139

template <typename F> ara::core::Result< std::size_t > GetNewSamples (F &&f, std::size_t max NumberOfSamples=std::numeric_limits< std::size_t >::max()) noexcept;

Method to update the event cache.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Template-Parameter

ParameterBeschreibung
FFunctor which shall process the received samples

Parameter (in)

ParameterBeschreibung
fCallable ([[func.wrap]]) f with signature void(ara::com:: SamplePtr<SampleType const>)
maxNumberOfSamplesMaximum number of received data samples being processed in the function call.

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >• If successful: an ara::core::Result containing a ara:: core::Result::value_type i.e. a std::size_t the total number of data samples passed to f • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kMaxSamplesExceededno_rollback_semantics Application holds more ara::com::SamplePtrs than commited in Subscribe() Samples were possibly skipped.

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

Record
AUTOSAR/AP/record/SWS_CM_00701
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00701@rel:R25-11#9d813a51
Content hash
9d813a51
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00701
Status: valid/unmigrated Version: rel:R25-11#7a1e5108 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_00701@rel:R25-11#7a1e5108
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#35572f2e2026-09-30
  • R19-11rel:R19-11#a5b2b06e2026-10-14
  • R20-11rel:R20-11#d77236b02026-10-14
  • R21-11rel:R21-11#687f003e2026-10-14
  • R22-11rel:R22-11#687f003e2026-10-14
  • R23-11rel:R23-11#687f003e2026-10-14
  • R24-11rel:R24-11#a6b509202026-10-14
  • R25-11rel:R25-11#7a1e51082026-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

फ़ंक्शन GetSubscriptionState [SWS_CM_00316] Upstream: RS_CM_00106

ara::com::SubscriptionState GetSubscriptionState () const noexcept;
Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::SubscriptionStateThe state of the subscription.

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

Record
AUTOSAR/AP/record/SWS_CM_00316
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00316@rel:R25-11#835bf22b
Content hash
835bf22b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00316
Status: valid/unmigrated Version: rel:R25-11#755da336 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_00316@rel:R25-11#755da336
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#6bf8f8882026-09-30
  • R19-11rel:R19-11#cabe62962026-10-14
  • R20-11rel:R20-11#cabe62962026-10-14
  • R21-11rel:R21-11#cabe62962026-10-14
  • R22-11rel:R22-11#cabe62962026-10-14
  • R23-11rel:R23-11#4857a81f2026-10-14
  • R24-11rel:R24-11#3c50d0a12026-10-14
  • R25-11rel:R25-11#755da3362026-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

फ़ंक्शन SetReceiveHandler [SWS_CM_00181] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120, RS_AP_00121

void SetReceiveHandler (ara::com::EventReceiveHandler handler) noexcept;

Set/Register the event receive handler

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

उपयोग

फ़ंक्शन SetReceiveHandler क्लाइंट पक्ष पर स्कोप <SI-Namespace>::proxy::events::<Event> में आने वाले इवेंट्स के लिए कॉलबैक हैंडलर पंजीकृत करने का कार्य करता है [SWS_CM_00181]। पैरामीटर के रूप में एक ara::com::EventReceiveHandler पास किया जाता है, जिसे एक पैरामीटर रहित फ़ंक्शन के रूप में परिभाषित किया गया है और इवेंट आने पर Communication Management द्वारा कॉल किया जाता है [SWS_CM_00181]। फ़ंक्शन का कोई रिटर्न मान नहीं है (void) [SWS_CM_00181]।

त्रुटि प्रबंधन और अपवाद व्यवहार

ऑपरेशन को noexcept और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CM_00181]। यदि पास किया गया कॉलेबल मौजूद नहीं है या null है, तो इसे InvalidHandlerViolation माना जाता है [SWS_CM_00181]।

निष्पादन संदर्भ और अंतःक्रिया

प्रॉक्सी इंटरफेस के भीतर, SetReceiveHandler UnsetReceiveHandler() और GetNewSamples() ARAComAPI §5.3.1 “Proxy Class API’s” जैसे कॉलों के साथ-साथ मूलभूत तंत्रों में से एक है। यदि हैंडलर को किसी निर्दिष्ट संदर्भ में निष्पादित किया जाना है, तो ExecutorT के साथ टेम्पलेट ओवरलोड उपलब्ध है [SWS_CM_11356] (ARAComAPI पृ. 10)।

यही अधिसूचना दृष्टिकोण [SWS_CM_00250] (संदर्भ के साथ: [SWS_CM_00352]) के माध्यम से ट्रिगर्स के लिए और [SWS_CM_11605] (संदर्भ के साथ: [SWS_CM_11611]) के माध्यम से फ़ील्ड्स के लिए भी उपयोग किया जाता है ARAComAPI §4.2 “Means of Communication”।

यह उपयोग नोट AUTOSAR Adaptive R25-11 विनिर्देश के आधार पर एक AI द्वारा जनरेट किया गया था।

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerThe handler that shall be called by Communication Management upon event arrival. The EventReceiveHandler constitutes a function without parameters and has to use the f method of the specific Event class to access the retrieved event data. See [SWS_CM_00309] for its definition.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00181
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00181@rel:R25-11#b3756dc7
Content hash
b3756dc7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00181
Status: valid/unmigrated Version: rel:R25-11#bc1861fe 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_00181@rel:R25-11#bc1861fe
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#20b3d9582026-09-30
  • R19-11rel:R19-11#7d8bf15d2026-10-14
  • R20-11rel:R20-11#60f2a7dc2026-10-14
  • R21-11rel:R21-11#240b5a672026-10-14
  • R22-11rel:R22-11#ab46c35e2026-10-14
  • R23-11rel:R23-11#345270f22026-10-14
  • R24-11rel:R24-11#0dc195ca2026-10-14
  • R25-11rel:R25-11#bc1861fe2026-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

फ़ंक्शन SetReceiveHandler [SWS_CM_11356] Upstream: RS_CM_00211, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138

template <typename ExecutorT> void SetReceiveHandler (ara::com::EventReceiveHandler handler, ExecutorT &&executor) noexcept;

As per [SWS_CM_00181] but the method shall execute in a provided context

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00181]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11356
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11356@rel:R25-11#d87e06f3
Content hash
d87e06f3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11356
Status: valid/unmigrated Version: rel:R25-11#e20529b7 Versionshistorie & Revisions (1 transition, 7 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_11356@rel:R25-11#e20529b7
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#5d1f03342026-09-30
  • R20-11rel:R20-11#fec7d2902026-10-14
  • R21-11rel:R21-11#386272552026-10-14
  • R22-11rel:R22-11#386272552026-10-14
  • R23-11rel:R23-11#a1cf75c52026-10-14
  • R24-11rel:R24-11#0f9051a22026-10-14
  • R25-11rel:R25-11#e20529b72026-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

फ़ंक्शन SetSubscriptionStateChangeHandler [SWS_CM_00333] Upstream: RS_CM_00106

void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler) noexcept;

Set ara::com::SubscriptionState change handler

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

नेमस्पेस proxy::events::<Event> में मेथड SetSubscriptionStateChangeHandler एक कॉलबैक फ़ंक्शन को पंजीकृत करता है, जिसे इवेंट की स्थिति ara::com::SubscriptionState बदलते ही Communication Management द्वारा कॉल किया जाता है ([SWS_CM_00333])। फ़ंक्शन को noexcept के रूप में घोषित किया गया है और इसे अपवाद-सुरक्षित माना जाता है ([SWS_CM_00333])।

उपयोग और असमकालिक शब्दार्थ

Subscribe() के कॉल्स सैद्धांतिक रूप से एसिंक्रोनस रूप से कार्य करते हैं; किसी सफल सदस्यता को केवल तभी पूर्ण माना जाना चाहिए जब पंजीकृत हैंडलर या GetSubscriptionState() स्थिति kSubscribed की रिपोर्ट करता है ([SWS_CM_12006])। हैंडलर को kSubscriptionPending के साथ कॉल किया जाता है यदि सदस्यता तुरंत प्रभावी नहीं होती है (उदाहरण के लिए बस प्रोटोकॉल लेटेंसी के परिणामस्वरूप) या यदि सर्वर इंस्टेंस पुनरारंभ या नेटवर्क त्रुटियों के कारण पहुंच योग्य नहीं है ([SWS_CM_00313])। हैंडलर पंजीकरण को हटाना UnsetSubscriptionStateChangeHandler() (EXP ARAComAPI §5.3.1 “Proxy Class API’s”) के माध्यम से किया जाता है।

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

यदि कोई मान्य कॉलबैक ऑब्जेक्ट पास नहीं किया जाता है या यह शून्य (null) है, तो त्रुटि स्थिति InvalidHandlerViolation उत्पन्न होती है ([SWS_CM_00333])। कॉल क्रम के संबंध में, प्रारंभिक स्थिति संक्रमणों को विश्वसनीय रूप से कैप्चर करने के लिए हैंडलर को Subscribe() से पहले पंजीकृत किया जाना चाहिए। प्रश्न Q-3b9c25c6aa2d0a0f (खुला)

इंटरेक्शन और वेरिएंट्स

हैंडलर को किसी दिए गए थ्रेड या कार्य संदर्भ में निष्पादित करने के लिए, पैरामीटर ExecutorT वाला ओवरलोड किया गया टेम्पलेट संस्करण उपलब्ध है ([SWS_CM_11354])। समानांतर इंटरफ़ेस Proxy ट्रिगर्स ([SWS_CM_01107]), Proxy फ़ील्ड्स ([SWS_CM_11607]) और साथ ही Skeleton स्तर ([SWS_CM_12008]) के लिए मौजूद हैं।

AUTOSAR R25-11 पर आधारित AI-जनरेटेड उपयोग निर्देश।

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerThe handler that shall be called by Communication Management when the ara::com::SubscriptionState of the event has changed.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00333
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00333@rel:R25-11#04eb0889
Content hash
04eb0889
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00333
Status: valid/unmigrated Version: rel:R25-11#dcf32e4c 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_00333@rel:R25-11#dcf32e4c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7e30b3f52026-09-30
  • R19-11rel:R19-11#ae3e84222026-10-14
  • R20-11rel:R20-11#32090fe52026-10-14
  • R21-11rel:R21-11#0c6444642026-10-14
  • R22-11rel:R22-11#b8f5d2782026-10-14
  • R23-11rel:R23-11#a0c415c22026-10-14
  • R24-11rel:R24-11#2a72383b2026-10-14
  • R25-11rel:R25-11#dcf32e4c2026-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

फ़ंक्शन SetSubscriptionStateChangeHandler [SWS_CM_11354] Upstream: RS_CM_00211, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138

template <typename ExecutorT> void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler, ExecutorT &&executor) noexcept;

As per [SWS_CM_00333] but the method shall execute in a provided context

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

टेम्पलेट मेंबर फ़ंक्शन SetSubscriptionStateChangeHandler का उपयोग स्कोप proxy::events::<Event> में सदस्यता की स्थिति में बदलाव (ara::com::SubscriptionState) के लिए कॉलबैक फ़ंक्शन पंजीकृत करने हेतु किया जाता है ([SWS_CM_11354], AP EXP ARAComAPI §5.3.1 “Proxy Class API’s”)। बेस फ़ंक्शन [SWS_CM_00333] के विपरीत, हैंडलर Communication Management के आंतरिक संदर्भ में निष्पादित नहीं होता है, बल्कि टेम्पलेट पैरामीटर ExecutorT के माध्यम से प्रदान किए गए निष्पादन संदर्भ executor को सौंप दिया जाता है ([SWS_CM_11360], AP EXP ARAComAPI §1.0 “SetSubscriptionState with ExecutorT”)।

पैरामीटर और रिटर्न मान

  • handler: कॉल किया जाने वाला कॉल करने योग्य घटक (callable), जिसे इवेंट के ara::com::SubscriptionState में परिवर्तन होने पर सूचित किया जाता है ([SWS_CM_00333])।
  • executor: [SWS_CM_11360] के अनुसार निष्पादन संदर्भ, जिसमें हैंडलर को संसाधित किया जाना चाहिए।
  • रिटर्न मान: फ़ंक्शन का कोई रिटर्न मान नहीं है (void)।

त्रुटि प्रबंधन और निष्पादन

फ़ंक्शन को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है। यदि पास किया गया कॉल करने योग्य घटक handler मौजूद नहीं है या null है, तो एक InvalidHandlerViolation ट्रिगर की जाती है ([SWS_CM_11354])।

इंटरैक्शन

ExecutorT के साथ संदर्भ-बद्ध स्थिति निगरानी का पैटर्न Proxy ट्रिगर्स ([SWS_CM_01106]) और Proxy फ़ील्ड्स ([SWS_CM_11608]) के लिए समान रूप से मौजूद है। यदि किसी विशिष्ट संदर्भ में आउटसोर्सिंग की आवश्यकता नहीं है, तो संस्करण [SWS_CM_00333] उपलब्ध है।

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00333]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11354
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11354@rel:R25-11#d1aa6ac7
Content hash
d1aa6ac7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11354
Status: valid/unmigrated Version: rel:R25-11#a42e5998 Versionshistorie & Revisions (1 transition, 7 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_11354@rel:R25-11#a42e5998
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#98929d192026-09-30
  • R20-11rel:R20-11#17b3a5402026-10-14
  • R21-11rel:R21-11#f500c0cd2026-10-14
  • R22-11rel:R22-11#f500c0cd2026-10-14
  • R23-11rel:R23-11#7e227a6e2026-10-14
  • R24-11rel:R24-11#65eecdd42026-10-14
  • R25-11rel:R25-11#a42e59982026-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

फ़ंक्शन SetTransportFaultConditionHandler [SWS_CM_00099] Upstream: RS_CM_00224, RS_E2E_08534

void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler) noexcept;

Provides possibility to register a ara::com::e2e::TransportFaultConditionHandler for a given Proxy Event.

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

मेंबर फ़ंक्शन SetTransportFaultConditionHandler का उपयोग किसी Proxy इवेंट ([SWS_CM_00099]) पर ara::com::e2e::TransportFaultConditionHandler प्रकार के कॉलबैक फ़ंक्शन को पंजीकृत करने के लिए किया जाता है। इस हैंडलर के माध्यम से, ट्रांसमिशन त्रुटियों की रिपोर्ट की जाती है जो कम्युनिकेशन बाइंडिंग के ट्रांसपोर्ट स्तर पर पहचानी जाती हैं ([SWS_CM_00211])।

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

  • कॉल और पैरामीटर: फ़ंक्शन कॉल करने योग्य हैंडलर ऑब्जेक्ट handler को स्वीकार करता है और कोई रिटर्न मान नहीं देता है ([SWS_CM_00099])। मेथड सिग्नेचर को noexcept के रूप में घोषित किया गया है ([SWS_CM_00099])।
  • प्रसारित त्रुटि स्थितियाँ: पंजीकृत हैंडलर त्रुटि की स्थिति में एनम ara::com::e2e::TransportFaultCondition के मानों की रिपोर्ट करता है, जैसे कि अंतर्निहित ट्रांसपोर्ट चैनल के निरस्त नमूनों (samples) के मामले में kSampleRejected ([SWS_CM_00211])।
  • निष्पादन संदर्भ: एसिंक्रोनस निष्पादन के लिए अतिरिक्त Executor ऑब्जेक्ट ExecutorT&& executor के साथ एक टेम्पलेट ओवरलोड उपलब्ध है ([SWS_CM_00100])।

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

  • अपवाद सुरक्षा: फ़ंक्शन को अपवाद-सुरक्षित (exception safe) माना जाता है ([SWS_CM_00099])।
  • उल्लंघन: यदि पास किया गया कॉल करने योग्य घटक मौजूद नहीं है या null है, तो यह InvalidHandlerViolation का मामला है ([SWS_CM_00099])।
  • पारस्परिक क्रिया: TransportFaultConditionHandler को पंजीकृत करने के समकक्ष इंटरफ़ेस ट्रिगर्स ([SWS_CM_00106]), फ़ील्ड नोटिफ़ायर्स ([SWS_CM_00109]) और Skeleton मेथड्स ([SWS_CM_00093]) के लिए भी मौजूद हैं।

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerHandler of type ara::com::e2e:: TransportFaultConditionHandler to be set

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00099
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00099@rel:R25-11#48f87864
Content hash
48f87864
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00099
Status: valid/unmigrated Version: rel:R25-11#e31b701b 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_00099@rel:R25-11#e31b701b
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#019ce7992026-09-30
  • R24-11rel:R24-11#585ff7702026-10-14
  • R25-11rel:R25-11#e31b701b2026-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

फ़ंक्शन SetTransportFaultConditionHandler [SWS_CM_00100] Upstream: RS_CM_00224, RS_E2E_08534

template <typename ExecutorT> void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler, ExecutorT &&executor) noexcept;

Execution Context overload for hierarchicalnamespacelistlowerproxy::proxy:: events::eventname::SetTransportFaultConditionHandler for a given Proxy Event.

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

टेम्पलेट फ़ंक्शन SetTransportFaultConditionHandler किसी Proxy इवेंट पर उपयोगकर्ता-परिभाषित Executor ([SWS_CM_00100]) के साथ ara::com::e2e::TransportFaultConditionHandler प्रकार के एक एप्लिकेशन-विशिष्ट हैंडलर को पंजीकृत करता है। यह कम पैरामीटर वाले बेस फ़ंक्शन के लिए execution-context ओवरलोड का प्रतिनिधित्व करता है ([SWS_CM_00099])।

उपयोग और पैरामीटर: यह मेथड <SI-Namespace>::proxy::events::<Event> के इंस्टेंसेस पर कॉल किया जाता है और कोई मान वापस नहीं करता है (void) ([SWS_CM_00100])। यह कॉल किए जाने वाले हैंडलर (handler) को स्वीकार करता है और एक Executor ऑब्जेक्ट (ExecutorT&& यूनिवर्सल संदर्भ के रूप में executor) लेता है, जिसके संदर्भ में हैंडलर का कोई भी एसिंक्रोनस निष्पादन शुरू किया जाता है ([SWS_CM_00100])। फ़ंक्शन सिग्नेचर noexcept के साथ घोषित है ([SWS_CM_00100])।

त्रुटि प्रबंधन: ऑपरेशन को exception safe के रूप में निर्दिष्ट किया गया है ([SWS_CM_00100])। यदि कोई अमान्य या गैर-मौजूद कॉल करने योग्य घटक पास किया जाता है (null), तो InvalidHandlerViolation के रूप में उल्लंघन होता है ([SWS_CM_00100])। पंजीकृत हैंडलर के माध्यम से पहचानी गई ट्रांसपोर्ट त्रुटियों की रिपोर्ट की जाती है, जैसे अंतर्निहित ट्रांसपोर्ट इकाई द्वारा आने वाले डेटा नमूनों को निरस्त करने पर TransportFaultCondition::kSampleRejected ([SWS_CM_00211])।

पारस्परिक क्रिया: जबकि [SWS_CM_00099] स्पष्ट Executor के बिना पंजीकरण करता है, यह ओवरलोड वांछित थ्रेड या टास्क संदर्भ ([SWS_CM_00100]) में निष्पादन को सक्षम बनाता है। Executor वाले समरूप ओवरलोड्स Skeleton मेथड्स ([SWS_CM_00094]) और Skeleton फ़ील्ड्स ([SWS_CM_00097]) के साथ-साथ Proxy पक्ष पर ट्रिगर्स ([SWS_CM_00107]) और फ़ील्ड नोटिफ़ायर्स ([SWS_CM_00110]) के लिए उपलब्ध हैं।

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerHandler of type ara::com::e2e:: TransportFaultConditionHandler to be set
executorExecutor object in which any asynchronous computation spawn shall be invoked

Rückgabewert

TypBeschreibung
None
Siehe auch: [SWS_CM_00099]

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

Record
AUTOSAR/AP/record/SWS_CM_00100
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00100@rel:R25-11#697147a3
Content hash
697147a3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00100
Status: valid/unmigrated Version: rel:R25-11#8df441ab 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_00100@rel:R25-11#8df441ab
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bf7821ea2026-09-30
  • R24-11rel:R24-11#bf203b682026-10-14
  • R25-11rel:R25-11#8df441ab2026-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

फ़ंक्शन Subscribe [SWS_CM_00141] Upstream: RS_CM_00103

ara::core::Result< void > Subscribe (std::size_t maxSampleCount) noexcept;

Method to subscribe to a service event. If the Event is already in state kSubscribed or in state kSubscriptionPending at the time of the call, and the provided maxSampleCount value is the same as for the current subscription, the method shall return without action.

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

उपयोग

विधि Subscribe [SWS_CM_00141] के अनुसार सेवा इवेंट्स प्राप्त करने के लिए प्रॉक्सी तत्व को पंजीकृत करती है। कॉल अतुल्यकालिक प्रकृति की है: फ़ंक्शन की वापसी केवल यह पुष्टि करती है कि Communication Management ने पंजीकरण अनुरोध स्वीकार कर लिया है (AUTOSAR_AP_EXP_ARAComAPI §5.3.5.2 “Monitoring Event Subscription”)। अनिवार्य पैरामीटर maxSampleCount के साथ, एप्लिकेशन बाध्यकारी रूप से यह बताता है कि वह एक साथ अधिकतम कितने इवेंट सैंपल रखेगा, और इस प्रकार स्थानीय रिसेप्शन बफ़र (AUTOSAR_AP_EXP_ARAComAPI पृ. 40) को इनिशियलाइज़ करता है।

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

यदि कॉल के समय इवेंट पहले से ही स्थिति kSubscribed या kSubscriptionPending में है और पास किया गया मान maxSampleCount सक्रिय सदस्यता से मेल खाता है, तो विधि बिना किसी कार्रवाई के सफलतापूर्वक वापस लौटती है ([SWS_CM_00141])। दूसरी ओर, यदि पुन: सदस्यता के दौरान कैश आकार भिन्न होता है, तो कॉल विफल हो जाती है और ara::core::Result में त्रुटि कोड ComErrc::kMaxSampleCountNotRealizable लौटाती है ([SWS_CM_00141])। अपर्याप्त एक्सेस अनुमतियों के मामले में, कॉल को अस्वीकार कर दिया जाता है ([SWS_CM_00141] के अनुसार InsufficientPermissionsViolation)। हस्ताक्षर को noexcept के रूप में घोषित किया गया है और इसे अपवाद-सुरक्षित माना जाता है।

इंटरैक्शन

आरक्षित कैश क्षमता GetNewSamples ([SWS_CM_00701]) के माध्यम से बाद के डेटा रिसेप्शन को सीमित करती है; यदि एप्लिकेशन निर्दिष्ट से अधिक स्मार्टपॉइंटर रखता है, तो त्रुटि ComErrc::kMaxSamplesExceeded ट्रिगर होती है ([SWS_CM_10432])। जबकि फ़ील्ड इवेंट्स maxSampleCount के माध्यम से समान रूप से सब्सक्राइब किए जाते हैं ([SWS_CM_11601]), शुद्ध ट्रिगर इवेंट्स के लिए किसी बफ़र आकार विनिर्देश की आवश्यकता नहीं होती है ([SWS_CM_00723])।

यह पाठ विनिर्देशों और डिज़ाइन दिशानिर्देशों के आधार पर स्वचालित रूप से तैयार किया गया था।

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
maxSampleCountThe cacheSize of the subscription.

Rückgabewert

TypBeschreibung
ara::core::Result< void >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a void • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kMaxSampleCountNotRealizablerollback_semantics Provided maxSampleCount for event re-subscription does not match the maxSampleCount for the current subscription

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

Record
AUTOSAR/AP/record/SWS_CM_00141
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00141@rel:R25-11#34df7fa1
Content hash
34df7fa1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00141
Status: valid/unmigrated Version: rel:R25-11#fab10569 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_00141@rel:R25-11#fab10569
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#639e01622026-09-30
  • R19-11rel:R19-11#19cbb2e62026-10-14
  • R20-11rel:R20-11#42b50f0e2026-10-14
  • R21-11rel:R21-11#7783d2a22026-10-14
  • R22-11rel:R22-11#8604fb982026-10-14
  • R23-11rel:R23-11#c0e97b762026-10-14
  • R24-11rel:R24-11#9932adce2026-10-14
  • R25-11rel:R25-11#fab105692026-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

फ़ंक्शन UnsetReceiveHandler [SWS_CM_00183] Upstream: RS_CM_00203

void UnsetReceiveHandler () noexcept;

Disable service event trigger

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

उपयोग

फ़ंक्शन UnsetReceiveHandler स्कोप <SI-Namespace>::proxy::events::<Event> में इवेंट रैपर का हिस्सा है और हेडर फ़ाइल #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h" के माध्यम से शामिल किया गया है ([SWS_CM_00183])। यह कोई इनपुट पैरामीटर नहीं लेता है और इसका कोई रिटर्न मान नहीं होता है (void)। कॉल करने पर, सर्विस इवेंट के लिए पहले SetReceiveHandler के साथ पंजीकृत एप्लिकेशन-विशिष्ट रिसीव हैंडलर को हटा दिया जाता है (EXP ARAComAPI §5.3.2 “RadarService Proxy Class Example”)। नतीजतन, प्राप्त करने वाला एप्लिकेशन किसी भी समय इवेंट-ड्रिवन (“event-driven”) प्राप्ति और GetNewSamples() के माध्यम से सक्रिय पोलिंग शैली (“polling style”) के संचालन के बीच स्विच कर सकता है (EXP ARAComAPI §5.3.2 “RadarService Proxy Class Example”)।

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

मेथड को noexcept के साथ घोषित किया गया है और इसमें गुण exception safe है ([SWS_CM_00183])। यह रनटाइम पर कोई अपवाद नहीं फेंकता है और किसी विशिष्ट त्रुटि कोड की रिपोर्ट नहीं करता है।

समवर्तीता और बाइंडिंग

जबकि पंजीकृत कॉलबैक हैंडलर के लिए यह लागू होता है कि उसे रीएंट्रेंट होने की आवश्यकता नहीं है, क्योंकि Communication Management कॉल को क्रमबद्ध (serialize) करता है (EXP ARAComAPI §5.3.2 “RadarService Proxy Class Example”), UnsetReceiveHandler आगे की सूचनाएं प्राप्त करने के लिए इवेंट ट्रिगर को निष्क्रिय कर देता है ([SWS_CM_00183])। DDS बाइंडिंग के संदर्भ में, मेथड UnsetReceiveHandler() को [SWS_CM_11141] के अनुसार आवश्यकता [SWS_CM_11026] के अनुरूप संबंधित DataReader पर मैप किया गया है।

इंटरैक्शन

फ़ंक्शन SetReceiveHandler के माध्यम से पंजीकरण का सीधा प्रतिरूप (counterpart) है ([SWS_CM_11140], EXP ARAComAPI §5.3.1 “Proxy Class API’s”)। संबंधित फ़ंक्शन अन्य प्रॉक्सी इंटरफ़ेस में पाए जाते हैं:

  • फ़ील्ड्स के लिए स्कोप <SI-Namespace>::proxy::fields::<Field> में समान नाम वाला फ़ंक्शन UnsetReceiveHandler मौजूद है, जिसे noexcept और exception safe के रूप में भी परिभाषित किया गया है ([SWS_CM_11606])।
  • ट्रिगर्स के लिए UnsetReceiveHandler स्कोप <SI-Namespace>::proxy::triggers::<Trigger> में उपलब्ध है, लेकिन भिन्न रूप से not exception safe के रूप में घोषित किया गया है ([SWS_CM_11614])।

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00183
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00183@rel:R25-11#c22bc88c
Content hash
c22bc88c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00183
Status: valid/unmigrated Version: rel:R25-11#e2575812 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_00183@rel:R25-11#e2575812
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#25a6b80b2026-09-30
  • R19-11rel:R19-11#fd0581df2026-10-14
  • R20-11rel:R20-11#3f0ce8552026-10-14
  • R21-11rel:R21-11#28b9e8462026-10-14
  • R22-11rel:R22-11#28b9e8462026-10-14
  • R23-11rel:R23-11#668a18f72026-10-14
  • R24-11rel:R24-11#2c9f36f32026-10-14
  • R25-11rel:R25-11#e25758122026-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

फ़ंक्शन UnsetSubscriptionStateChangeHandler [SWS_CM_00334] Upstream: RS_CM_00106, RS_AP_00114, RS_AP_00120

void UnsetSubscriptionStateChangeHandler () noexcept;

Unset ara::com::SubscriptionState change handler

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

उपयोग

मेंबर फ़ंक्शन UnsetSubscriptionStateChangeHandler प्रॉक्सी पक्ष पर सब्सक्रिप्शन स्थिति (ara::com::SubscriptionState) के परिवर्तनों के लिए पहले सेट किए गए कॉलबैक हैंडलर को रीसेट और अपंजीकृत करने का काम करता है ([SWS_CM_00334], EXP ARAComAPI §1.0)। फ़ंक्शन इवेंट इंटरफ़ेस का एक घटक है और proxy::events के अंतर्गत एप्लिकेशन-विशिष्ट नेमस्पेस में स्थित है ([SWS_CM_00334], SWS CommunicationManagement §8.3.2.2.4.5 “UnsetSubscriptionStateChangeHandler”)। उपयोग के लिए, जनरेट की गई प्रॉक्सी हेडर फ़ाइल <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h शामिल की जाती है ([SWS_CM_00334])। कॉल सिंक्रोनस रूप से होती है, कोई पैरामीटर स्वीकार नहीं करती है और कोई रिटर्न मान नहीं देती है ([SWS_CM_00334])।

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

विनिर्देश के अनुसार, फ़ंक्शन को पहचानकर्ता noexcept के साथ घोषित किया गया है और अपवाद-सुरक्षित ("exception safe") के रूप में वर्गीकृत किया गया है ([SWS_CM_00334])। त्रुटि के मामले में यह कोई C++ अपवाद नहीं उठाता है और कोई त्रुटि कोड रिपोर्ट नहीं करता है ([SWS_CM_00334])।

समवर्तीता और परस्पर क्रिया

यह फ़ंक्शन सर्विस खोज और इवेंट प्रबंधन के लिए अन्य प्रॉक्सी API जैसे Subscribe(), Unsubscribe(), GetSubscriptionState() और SetSubscriptionStateChangeHandler() (EXP ARAComAPI §5.3.1 “Proxy Class API’s”) के संयोजन में है। व्याख्या के रूप में, कॉल के बाद अपंजीकृत हैंडलर के माध्यम से कोई और सूचना ट्रिगर नहीं होनी चाहिए। प्रश्न Q-6173c01e6ca93876 (खुला) स्थिति परिवर्तनों के लिए हैंडलर को रीसेट करने के सममित समकक्ष प्रॉक्सी फ़ील्ड्स ([SWS_CM_11609], SWS CommunicationManagement §8.3.3.2.4.5 “UnsetSubscriptionStateChangeHandler”) और ट्रिगर्स ([SWS_CM_01108]) के लिए विनिर्देश में तथा इवेंट्स ([SWS_CM_12010]) और ट्रिगर्स ([SWS_CM_01112]) के लिए सर्विस प्रदाता पक्ष (स्केलेटन) पर परिभाषित हैं।

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00334
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00334@rel:R25-11#dbbb8e17
Content hash
dbbb8e17
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00334
Status: valid/unmigrated Version: rel:R25-11#d651d646 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_00334@rel:R25-11#d651d646
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b959e8182026-09-30
  • R19-11rel:R19-11#39ef71622026-10-14
  • R20-11rel:R20-11#39ef71622026-10-14
  • R21-11rel:R21-11#39ef71622026-10-14
  • R22-11rel:R22-11#b7b5edfa2026-10-14
  • R23-11rel:R23-11#45ddf5232026-10-14
  • R24-11rel:R24-11#a6b5c2732026-10-14
  • R25-11rel:R25-11#d651d6462026-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

फ़ंक्शन UnsetTransportFaultConditionHandler [SWS_CM_00105] Upstream: RS_CM_00224, RS_E2E_08534

void UnsetTransportFaultConditionHandler () noexcept;

Provides the possibility to unregister a previously set ara::com::e2e:: TransportFaultConditionHandler for a given Proxy Event.

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

उपयोग

नेमस्पेस <SI-Namespace>::proxy::events::<Event> में फ़ंक्शन UnsetTransportFaultConditionHandler का उपयोग किसी विशिष्ट प्रॉक्सी-इवेंट के लिए पहले से पंजीकृत ara::com::e2e::TransportFaultConditionHandler को अपंजीकृत (deregister) करने के लिए किया जाता है [SWS_CM_00105]। फ़ंक्शन घोषणा हेडर फ़ाइल <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h के माध्यम से प्रदान की जाती है AUTOSAR_AP_SWS_CommunicationManagement §8.3.2.2.1.3 “UnsetTransportFaultConditionHandler”। कॉल कोई पैरामीटर नहीं लेता है और कोई रिटर्न मान नहीं देता है (void)।

त्रुटि प्रबंधन और अपवाद-सुरक्षा

फ़ंक्शन को पहचानकर्ता noexcept के साथ घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CM_00105]। मानक में न तो विशिष्ट त्रुटि कोड और न ही त्रुटि या निदान सबसिस्टम के लिए सूचनाएं परिभाषित हैं।

प्रक्रिया और सीमा शर्तें

इवेंट स्तर पर E2E त्रुटि हैंडलिंग को तुरंत अक्षम करने के लिए कॉल को समकालिक रूप से (synchronously) निष्पादित किया जाना चाहिए, उदाहरण के लिए यदि इवेंट की अब निगरानी नहीं की जानी है या संबंधित प्रॉक्सी ऑब्जेक्ट जारी किए जाने से पहले (व्याख्या)। प्रश्न Q-ff00695fff5407fe (खुला) निष्पादन के बाद, संचार परत इस इवेंट के पहले संग्रहीत कॉलबैक के माध्यम से किसी भी E2E ट्रांसपोर्ट त्रुटि को संसाधित नहीं करती है।

इंटरैक्शन

ट्रांसपोर्ट त्रुटियों के लिए हैंडलर को अपंजीकृत करना विभिन्न संचार तत्वों में एक समान पैटर्न का पालन करता है:

  • प्रॉक्सी स्तर पर फ़ील्ड्स के नोटिफ़ायर के लिए, फ़ंक्शन [SWS_CM_00126] कार्य करता है।
  • प्रॉक्सी-ट्रिगर्स के लिए, हैंडलर को [SWS_CM_00108] के माध्यम से अपंजीकृत किया जाता है।
  • कंकाल (Skeleton) पक्ष पर, सेवा इंटरफ़ेस ([SWS_CM_00095]) के सभी तरीकों के लिए और फ़ील्ड्स के गेटर्स/सेटर्स ([SWS_CM_00098]) के लिए समान इंटरफेस उपलब्ध हैं।

यह उपयोग नोट AUTOSAR विनिर्देश के आधार पर एक AI द्वारा जनरेट किया गया था।

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00105
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00105@rel:R25-11#aeb27d78
Content hash
aeb27d78
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00105
Status: valid/unmigrated Version: rel:R25-11#5d00ece2 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_00105@rel:R25-11#5d00ece2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cbff526c2026-09-30
  • R24-11rel:R24-11#0a8243012026-10-14
  • R25-11rel:R25-11#5d00ece22026-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

फ़ंक्शन Unsubscribe [SWS_CM_00151] Upstream: RS_CM_00104

void Unsubscribe () noexcept;

Method to unsubscribe from a service event. If the Event is not subscribed to at the time of the call, the method shall return without action.

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

उपयोग

मेथड Unsubscribe() प्रॉक्सी साइड पर किसी सर्विस-इवेंट के सक्रिय सब्सक्रिप्शन को समाप्त करता है ([SWS_CM_00151], EXP_ARAComAPI §5.5)। यह स्कोप <SI-Namespace>::proxy::events::<Event> में परिभाषित है और हेडर फ़ाइल #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h" के माध्यम से शामिल किया गया है ([SWS_CM_00151])। फ़ंक्शन कोई इनपुट पैरामीटर स्वीकार नहीं करता है और कोई रिटर्न मान नहीं देता है (void)। यदि कॉल के समय इवेंट सब्सक्राइब नहीं किया गया था, तो मेथड बिना कोई कार्रवाई किए वापस लौटता है ([SWS_CM_00151])।

त्रुटि प्रबंधन और अपवाद सुरक्षा

ऑपरेशन पहचानकर्ता noexcept के साथ घोषित है और अपवाद-सुरक्षित के रूप में निर्दिष्ट है ([SWS_CM_00151])। एक उल्लंघन (Violation) के रूप में DanglingSamplesViolation प्रदान किया गया है, यदि मेथड कॉल से पहले [SWS_CM_00085] के अनुसार पूर्व-शर्त का उल्लंघन हुआ हो ([SWS_CM_00151])।

परस्पर क्रिया और संबंधित इंटरफेस

नेटवर्क स्तर पर, सब्सक्रिप्शन की समाप्ति StopSubscribeEventgroup प्रकार के SOME/IP संदेशों को भेजने की प्रक्रिया शुरू करती है ([SWS_CM_10378], SWS_CommunicationManagement §7.2.1.2.6)। प्रॉक्सी इंटरफ़ेस के भीतर, Unsubscribe() सब्सक्रिप्शन प्रबंधन विधियों के समूह से संबंधित है (EXP_ARAComAPI §5.3.1)। एक समान अनसब्सक्राइब सिमेंटिक्स सर्विस ट्रिगर ([SWS_CM_00810], EXP_ARAComAPI §4) और फील्ड नोटिफिकेशन ([SWS_CM_11602]) के लिए भी उपलब्ध है।

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
Exception-Sicherheitexception safe
Verletzungen (Violations)DanglingSamplesVi- Precondition [SWS_CM_00085] has been violated. olation

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00151
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00151@rel:R25-11#74bb4365
Content hash
74bb4365
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00151
Status: valid/unmigrated Version: rel:R25-11#4a3ec37b 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_00151@rel:R25-11#4a3ec37b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e72177162026-09-30
  • R19-11rel:R19-11#aeb6a3702026-10-14
  • R20-11rel:R20-11#4ea795962026-10-14
  • R21-11rel:R21-11#4ea795962026-10-14
  • R22-11rel:R22-11#4ea795962026-10-14
  • R23-11rel:R23-11#8175f92c2026-10-14
  • R24-11rel:R24-11#3ccefaa42026-10-14
  • R25-11rel:R25-11#4a3ec37b2026-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

टाइप उपनामों का प्रलेखन

टाइप उपनाम SampleType [SWS_CM_11401] Upstream: RS_CM_00103

using SampleType = <PSampleCppidt>;
Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::events::<Event>
SymbolSampleType

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

Record
AUTOSAR/AP/record/SWS_CM_11401
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11401@rel:R25-11#80d47aef
Content hash
80d47aef
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11401
Status: valid/unmigrated Version: rel:R25-11#5ce42900 Versionshistorie & Revisions (1 transition, 5 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_11401@rel:R25-11#5ce42900
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#9606a74c2026-09-30
  • R22-11rel:R22-11#076d95632026-10-14
  • R23-11rel:R23-11#076d95632026-10-14
  • R24-11rel:R24-11#99e1a61e2026-10-14
  • R25-11rel:R25-11#5ce429002026-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