DEENESPTFRRUARHIKOZHNL

नेमस्पेस ara::com

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

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

AUTOSAR Adaptive में सेवा-उन्मुख संचार के लिए आधार प्रकार, त्रुटि डोमेन और इंटरफ़ेस प्रदान करता है।

यह नेमस्पेस प्रॉक्सी के माध्यम से सेवा उपभोक्ताओं को और स्केलेटन के माध्यम से सेवा प्रदाताओं को जोड़कर सेवा-उन्मुख संचार के लिए मुख्य बिल्डिंग ब्लॉक प्रदान करता है (ARAComAPI §7.6 “meta-model to Implementation”)। इंटरैक्शन में एसिंक्रोनस सेवा खोजें, फ्यूचर्स के माध्यम से रिटर्न के साथ विधि कॉल, और परिभाषित स्थितियों पर ईवेंट सब्सक्रिप्शन शामिल हैं ([SWS_CM_00310])। केंद्रीय दायित्वों में इंस्टेंस पहचानकर्ताओं का सही समाधान और कॉन्फ़िगर किए गए सैंपल कोटा और ट्रांसमिशन अंतरालों का अनुपालन शामिल है ([SWS_CM_10432])।

संदर्भ

नेमस्पेस ara::com AUTOSAR Adaptive Platform के भीतर सेवा-उन्मुख संचार (Communication Management) के लिए केंद्रीय प्रकार और तंत्र प्रदान करता है। आर्किटेक्चर मॉडल सेवा उपभोक्ताओं और सेवा प्रदाताओं के बीच सख्ती से अलग करता है: उपभोक्ता पक्ष (R-Port) पर, क्लाइंट अनुप्रयोग जेनरेट किए गए प्रॉक्सी इंस्टेंस (ARAComAPI §7.6 “meta-model to Implementation”) के माध्यम से कार्य करते हैं, जबकि सर्वर पक्ष पर सेवा प्रदाता स्केलेटन कार्यान्वयन (ARAComAPI §6.2 “Definition of BatteryState”) के माध्यम से अपनी कार्यक्षमता को उजागर करते हैं।

प्रॉक्सी और स्केलेटन के बीच तकनीकी मिडलवेयर (बाइंडिंग) मध्यस्थता करता है। अलग-अलग सेवा इंस्टेंस की पहचान और अंतर करने के लिए InstanceIdentifier कार्य करता है, जहाँ InstanceIdentifierContainer के माध्यम से ठोस इंस्टेंस के संग्रह प्रबंधित किए जाते हैं ([SWS_CM_00319])। प्लेटफ़ॉर्म मल्टी-बाइंडिंग परिदृश्यों का समर्थन करता है, जिसमें अमूर्त मॉडल पहचानकर्ताओं को तकनीकी बाइंडिंग और इंस्टेंस की सूची में हल किया जाता है (ARAComAPI §6.6 “InstanceIdentifier Resolution”)।

client Client (ara::com Proxy) binding Communication Management (Binding / Middleware) client->binding Dienstsuche / Methodenaufruf / Event-Abonnement binding->client Future पूर्ति / ईवेंट डिलीवरी skeleton Server (ara::com Skeleton) binding->skeleton Dispatch / Methodenaufruf skeleton->binding Methodenantwort / Event-Bereitstellung

संदर्भ आरेख: सेवा संचार में प्रॉक्सी, मिडलवेयर बाइंडिंग और स्केलेटन के बीच परस्पर क्रिया। स्रोत: ARAComAPI §7.6 “meta-model to Implementation”, ARAComAPI §6.6 “InstanceIdentifier Resolution”, [SWS_CM_10432]।

जीवनचक्र

ara::com में सेवाएँ और संचार कनेक्शन स्पष्ट रूप से परिभाषित स्थिति मॉडलों के अधीन हैं। सामान्य सेवा उपलब्धता को kAvailable और kNotAvailable मानों के साथ गणन ServiceState द्वारा दर्शाया जाता है ([SWS_CM_01071])। पंजीकृत ServiceStateHandler के उपयोग द्वारा स्थिति परिवर्तनों की निगरानी की जा सकती है ([SWS_CM_01072])।

इवेंट्स और फ़ील्ड्स के लिए, SubscriptionState स्थितियों kNotSubscribed, kSubscriptionPending और kSubscribed के साथ एक सदस्यता के जीवनचक्र को नियंत्रित करता है ([SWS_CM_00310])। स्थिति परिवर्तन एसिंक्रोनस रूप से एक SubscriptionStateChangeHandler को रिपोर्ट किए जाते हैं ([SWS_CM_00311])। अनुमानतः, kNotSubscribed से kSubscriptionPending में संक्रमण अंतर्निहित ट्रांसपोर्ट बाइंडिंग को सदस्यता अनुरोध भेजने के माध्यम से सीधे होता है। प्रश्न Q-60f7ecdf5768217a (खुला)

सेवा कार्यान्वयन के पक्ष में, MethodCallProcessingMode आने वाली विधि कॉलों की समवर्तीता को नियंत्रित करता है: मैन्युअल पोलिंग के लिए kPoll, समवर्ती, घटना-संचालित प्रसंस्करण के लिए kEvent और एकल थ्रेड में अनुक्रमिक प्रसंस्करण के लिए kEventSingleThread ([SWS_CM_00301])। सैंपल प्रबंधन आवंटन को अनुकूलित करने के लिए प्रेषक पक्ष पर SampleAllocateePtr (उदा. साझा मेमोरी के माध्यम से ज़ीरो-कॉपी दृष्टिकोण) ([SWS_CM_00308], ARAComAPI §6.18 “Event Allocate/Send sample Binding implementer hint”) और प्राप्तकर्ता पक्ष पर SamplePtr का उपयोग करता है ([SWS_CM_10432])।

उपयोग पथ

सेवा उपयोग का एक विशिष्ट प्रवाह निम्नलिखित चरणों के माध्यम से पूरा होता है:

  1. सेवा खोज: उपभोक्ता संगत सेवा इंस्टेंस की खोज शुरू करता है। उपलब्धता पर, मिडलवेयर FindServiceHandler के माध्यम से पाए गए हैंडल के साथ एक ServiceHandleContainer और साथ ही एक FindServiceHandle प्रदान करता है, जिसके साथ चल रही खोजों को समाप्त किया जा सकता है ([SWS_CM_00383], [SWS_CM_00304])।
  2. प्रॉक्सी इंस्टेंसिएशन: उपयुक्त हैंडल के साथ, प्रॉक्सी इंस्टेंस क्लाइंट में स्थानीय रूप से बनाया जाता है (ARAComAPI §6.3 “Handling of optional data elements on Skeleton side”)।
  3. विधि कॉल: विधि कॉल विधि रैपर वर्ग के कोष्ठक ऑपरेटर को ओवरलोड करता है। इनपुट पैरामीटर पास किए जाते हैं, और कॉल एक ara::com::Future लौटाता है, जो आउटपुट पैरामीटर को समाहित करता है (ARAComAPI §6.10 “Adjust Method Class”, ARAComAPI §6.12 “Adjust Method Class”)।
  4. परिणाम प्रसंस्करण: क्लाइंट परिणाम को सिंक्रोनस या एसिंक्रोनस रूप से प्राप्त करता है (उदा. get() के माध्यम से) और एक्सेस करने से पहले वैकल्पिक फ़ील्ड तत्वों की उपस्थिति की जाँच करता है (ARAComAPI §6.3 “Handling of optional data elements on Skeleton side”)।
  5. घटना प्राप्ति: सब्सक्राइब किए गए इवेंट्स, फ़ील्ड्स या ट्रिगर्स के लिए आने वाले डेटा को पंजीकृत कॉलबैक जैसे EventReceiveHandler ([SWS_CM_00309]), FieldReceiveHandler ([SWS_CM_11615]) या TriggerReceiveHandler ([SWS_CM_00351]) के माध्यम से संसाधित किया जाता है।
Service-Interaktion von Dienstsuche bis ErgebnisabfrageAnwendung (Client)ProxySkeleton (Server)Use Case: सेवा खोज और इंस्टैंसिएशनFindServiceHandler registrierenServiceHandleContainer liefernProxy(handle) erzeugenUse Case: मेथड कॉल और FutureMethodenaufruf()Service-Aufruf weiterleitenara::com::Future लौटाएँErgebnis bereitstellenFuture::get() aufrufenErgebnisdaten liefern

अनुक्रम आरेख: सेवा खोज से लेकर फ्यूचर के साथ विधि कॉल और परिणाम प्राप्ति तक कॉल क्रम। स्रोत: [SWS_CM_00383], [SWS_CM_00304], ARAComAPI §6.3 “Handling of optional data elements on Skeleton side”, ARAComAPI §6.10 “Adjust Method Class”।

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

संचार उपप्रणाली में त्रुटि स्थितियों को ComErrorDomain और ComErrc में दिए गए त्रुटि कोड के माध्यम से मैप किया जाता है ([SWS_CM_10432])। डोमेन तक पहुँच GetComErrorDomain() ([SWS_CM_11334]) के माध्यम से होती है, जबकि ठोस त्रुटियों को MakeErrorCode() ([SWS_CM_11335]) के माध्यम से इंस्टेंटिएट किया जाता है। असाधारण मामलों में ComException फेंका जाता है।

विशिष्ट त्रुटि परिदृश्यों में शामिल हैं:

  • सेवा उपलब्धता: अप्रदत्त सेवाओं के लिए कॉल के परिणामस्वरूप ComErrc::kServiceNotOffered या ComErrc::kServiceNotAvailable होता है ([SWS_CM_10432])।
  • कॉन्फ़िगरेशन और इंस्टेंस समाधान त्रुटियाँ: यदि किसी पहचानकर्ता को InstanceIdentifier पर मैप नहीं किया जा सकता है, तो सिस्टम ComErrc::kInstanceIDNotResolvable की रिपोर्ट करता है ([SWS_CM_10432], ARAComAPI §6.6 “InstanceIdentifier Resolution”)।
  • संसाधन और सदस्यता सीमाएँ: यदि कोई अनुप्रयोग Subscribe() पर सहमत संख्या से अधिक SamplePtr इंस्टेंस रखता है, तो ComErrc::kMaxSamplesExceeded उत्पन्न होता है ([SWS_CM_10432])। पुनः सदस्यता लेते समय यदि अधिकतम नमूनों की संख्या भिन्न होती है, तो इसका परिणाम ComErrc::kMaxSampleCountNotRealizable होता है ([SWS_CM_10432])।
  • प्रोटोकॉल और समय की शर्तें: नेटवर्क त्रुटियों या सुरक्षित संचार त्रुटियों के मामले में ComErrc::kCommunicationFailure की रिपोर्ट की जाती है। यदि ट्रांसमिशन अंतराल कम हो जाते हैं, तो ट्रांसमिशन ComErrc::kMinimumSendIntervalViolationError के साथ विफल हो जाता है ([SWS_CM_10432])।
  • फ़ील्ड हैंडलिंग: अप्रारंभीकृत फ़ील्ड मानों के परिणामस्वरूप ComErrc::kFieldValueNotInitialized होता है, सेट हैंडलर की अनुपस्थिति के परिणामस्वरूप ComErrc::kFieldSetHandlerNotSet होता है ([SWS_CM_10432])।

यह मार्गदर्शिका AUTOSAR Adaptive Platform रिलीज़ R25-11 के विनिर्देशों पर आधारित है।

विषय मानचित्र

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

क्लास आरेख

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::com nara__com__ComErrorDomain ComErrorDomain next_ara__core__ErrorDomain ara::core::ErrorDomain nara__com__ComErrorDomain->next_ara__core__ErrorDomain nara__com__ComException ComException next_ara__core__Exception ara::core::Exception nara__com__ComException->next_ara__core__Exception nara__com__FindServiceHandle «struct» FindServiceHandle nara__com__InstanceIdentifier InstanceIdentifier nara__com__SamplePtr SamplePtr nara__com__ServiceIdentifierType ServiceIdentifierType nara__com__ServiceVersionType ServiceVersionType

विवरण दृश्य

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

Fehlerbehandlung

ComErrorDomain क्लास

Defines a class representing the Communication error domain.

से इनहेरिट करता है ara::core::ErrorDomain

ComException क्लास

Defines a class for exceptions to be thrown by the API.

से इनहेरिट करता है ara::core::Exception

GetComErrorDomain फ़ंक्शन

Returns a reference to the ara::com::ComErrorDomain object

constexpr const ara::core::ErrorDomain & GetComErrorDomain () noexcept;
MakeErrorCode फ़ंक्शन

Creates an instance of ara::core::ErrorCode

ComErrc एन्यूमरेशन

Defines the error codes for the ara::com::ComErrorDomain

enum class ComErrc : ara::core::ErrorDomain::CodeType {...};

Dienstidentität

InstanceIdentifier क्लास

Unique identifier of a specific AdaptivePlatformServiceInstance, to distinguish different instances of exactly the same service

ServiceIdentifierType क्लास

Specifies a Service Identifier The exact type may be overridden by the Communication Management software provider

ServiceVersionType क्लास

Specifies a Service Version

InstanceIdentifierContainer टाइप उपनाम

Holds a list of ara::com::InstanceIdentifiers. The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30] A ara::core::Vector ([SWS_CORE_01301]) for example fulfills these requirements.

using InstanceIdentifierContainer = ara::core::Vector<Instance Identifier>;

Dienstsuche

FindServiceHandle क्लास

The exact definition of ara::com::FindServiceHandle is Communication Management implementation specific

FindServiceHandler टाइप उपनाम

Callback function invoked if service availability changes. It takes as input parameter a handle container containing handles for all matching service instances and a ara::com:: FindServiceHandle which can be used to invoke StopFindService() from within the ara::com::FindServiceHandler.

using FindServiceHandler = std::function<void(ServiceHandle Container<T>, FindServiceHandle)>;
ServiceHandleContainer टाइप उपनाम

Holds a list of service handles and is used as a return value of any of the FindService() methods) • [SWS_CM_00122] • [SWS_CM_00622] . The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30]. A ara::core::Vector ([SWS_CORE_ 01301]) for example fulfills these requirements.

using ServiceHandleContainer = ara::core::Vector<T>;

Datenempfang

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 subscrib ≙ std::unique_ptr

SubscriptionState एन्यूमरेशन

The subscription state of an event.

enum class SubscriptionState : std::uint8_t {...};
EventReceiveHandler टाइप उपनाम

Callback function invoked if new event data arrives for an event. The event receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory. ≙ std::function

using EventReceiveHandler = std::function<void()>;
FieldReceiveHandler टाइप उपनाम

Callback function invoked if a new notification arrives for a field. The field receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory. ≙ std::function

using FieldReceiveHandler = std::function<void()>;
SampleAllocateePtr टाइप उपनाम

Pointer to an allocated (by Communication Management) data sample. The implementation is allowed to be changed by the Communication Management software provider.

using SampleAllocateePtr = std::unique_ptr<T>;
SubscriptionStateChangeHandler टाइप उपनाम

Callback function invoked if ara::com::SubscriptionState of an event has changed.

using SubscriptionStateChangeHandler = std::function<void(Subscription State)>;
TriggerReceiveHandler टाइप उपनाम

A function wrapper for the handler function that gets called in case a new trigger arrives for an event. The trigger receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory. ≙ std::function

using TriggerReceiveHandler = std::function<void()>;

Dienstzustand

MethodCallProcessingMode एन्यूमरेशन

Processing modes for the service implementation.

enum class MethodCallProcessingMode : std::uint8_t {...};
ServiceState एन्यूमरेशन

The state of the service from GetServiceState()

enum class ServiceState : std::uint8_t {...};
ServiceStateHandler टाइप उपनाम

Functor used as input arguments for any of the SetServiceStateChangeHandler() methods: • [SWS_CM_01074] • [SWS_CM_01076]

using ServiceStateHandler = std::function<void(ServiceState)>;

एन्यूमरेशन

एन्यूमरेशन ComErrc [SWS_CM_10432] Upstream: RS_AP_00130, RS_AP_00122, RS_AP_00127

enum class ComErrc :         ara::core::ErrorDomain::CodeType {...};

Defines the error codes for the ara::com::ComErrorDomain

Header-Datei#include "ara/com/com_error_domain.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolComErrc
Basistypara::core::ErrorDomain::CodeType

Werte

EnumeratorBeschreibung
kServiceNotAvailable=1 Service is not available after being previously offered via Offer
Service()
kMaxSamplesExceeded=2 Application holds more ara::com::SamplePtrs than commited in Subscribe() Samples were possibly skipped.
kCommunicationFailure=3 The network binding reported a recoverable communications error or a secure communication failure
kFieldValueNotInitialized=6 Field value has yet not been initialized via Update() (see [SWS_CM_00128]
kFieldSetHandlerNotSet=7 Field SetHandler has not been registered via RegisterSet Handler()
kServiceNotOffered= 11 Service has not yet been offered via OfferService()
kInstanceIDNotResolvable= 15 The ara::core::InstanceSpecifier is valid but could not be resolved/mapped to an existing ara::com:: InstanceIdentifier
kMaxSampleCountNotRealizable= 16 Provided maxSampleCount for event re-subscription does not match the maxSampleCount for the current subscription
kUnknownApplicationError= 22 A remote service returned an unconfigured application error.
kMinimumSendIntervalViolationError= 23 Minimum Send Interval violation, because a transmission request for a service instance element (event, field or method call) was issued faster than allowed, i.e., the configured minimum send interval ServiceInterfaceDeploymentElement. minimumSendInterval for the service instance element has not yet expired.
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 67f5508c5e1b उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

एन्यूमिरेशन ComErrc, [SWS_CM_10432] के अनुसार EXP ARAComAPI §2 “Recoverable Errors” के तहत पुनर्प्राप्ति योग्य त्रुटियों (Recoverable Errors) के लिए ara::com::ComErrorDomain के मानकीकृत त्रुटि कोड परिभाषित करता है। क्लाइंट या सर्वर संदर्भ में कार्यात्मक त्रुटि कारणों को सटीक रूप से इंगित करने के लिए इसे संचार प्रबंधन के समकालिक और असमकालिक API के ara::core::Result या ara::core::Future जैसे रिटर्न प्रकारों में ले जाया जाता है।

एन्यूमरेटर सेवा जीवनचक्र और डेटा ट्रांसमिशन के साथ विशिष्ट त्रुटि स्थितियों को कवर करते हैं:

  • सेवा जीवनचक्र और बाइंडिंग: kServiceNotOffered इंगित करता है कि कोई सेवा अभी तक OfferService() के माध्यम से प्रदान नहीं की गई है ([SWS_CM_00101]), जबकि kServiceNotAvailable अस्थायी नुकसान का संकेत देता है। kInstanceIDNotResolvable तब होता है जब कोई InstanceSpecifier हल नहीं किया जा सकता ([SWS_CM_00118])।
  • इवेंट और सैंपल सदस्यताएँ: kMaxSamplesExceeded स्वीकृत SamplePtr कोटा से अधिक होने की चेतावनी देता है, और kMaxSampleCountNotRealizable, [SWS_CM_00141] के माध्यम से पुनः सदस्यता लेते समय अनुपयुक्त मानों की रिपोर्ट करता है।
  • फ़ील्ड और ट्रांसमिशन: kFieldValueNotInitialized, Update() से पहले प्रारंभिककरण के अभाव की ओर संकेत करता है ([SWS_CM_00119]), kFieldSetHandlerNotSet सेटर-हैंडलर के अभाव की ओर। स्थानीय नेटवर्क समस्याएँ, उदाहरण के लिए [SWS_CM_00721] के माध्यम से ट्रिगर ट्रांसमिशन के दौरान, kCommunicationFailure की ओर ले जाती हैं ([SWS_CM_10517])। इसके अतिरिक्त, kMinimumSendIntervalViolationError क्लॉक रेट उल्लंघनों को और kUnknownApplicationError अप्रत्याशित सर्वर त्रुटियों को दंडित करते हैं ([SWS_CM_10432])।

एक शुद्ध गणना प्रकार के रूप में, ComErrc की अपनी कोई स्थिति नहीं होती है; इसलिए कॉलिंग थ्रेड में त्रुटि मानों पर पढ़ने और तुलना करने के संचालन समवर्ती रूप से सुरक्षित होने चाहिए। प्रश्न Q-013822ee5711df2b (खुला) संबंधित परिणाम ऑब्जेक्ट के मूल्यांकन के बाद वास्तविक त्रुटि जाँच एप्लिकेशन पर निर्भर करती है।

यह पाठ एक AI द्वारा तैयार और संकलित किया गया था।

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

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

Record
AUTOSAR/AP/record/SWS_CM_10432
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10432@rel:R25-11#7df1dbb3
Content hash
7df1dbb3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10432
Status: valid/unmigrated Version: rel:R25-11#a1bb25ac 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_10432@rel:R25-11#a1bb25ac
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0540727f2026-09-30
  • R19-11rel:R19-11#e85687322026-10-14
  • R20-11rel:R20-11#d76a076f2026-10-14
  • R21-11rel:R21-11#bba466f32026-10-14
  • R22-11rel:R22-11#defb05652026-10-14
  • R23-11rel:R23-11#6109561d2026-10-14
  • R24-11rel:R24-11#75455b1d2026-10-14
  • R25-11rel:R25-11#a1bb25ac2026-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

एन्यूमरेशन MethodCallProcessingMode [SWS_CM_00301] Upstream: RS_CM_00211

enum class MethodCallProcessingMode :               std::uint8_t {...};

Processing modes for the service implementation.

Header-Datei#include "ara/com/types.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolMethodCallProcessingMode
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kPollPolling mode
kEventEvent driven and concurrent mode
kEventSingleThreadEvent driven, sequential mode
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: ef6d7e9a36c3 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

एन्युमिरेशन ara::com::MethodCallProcessingMode सर्विस इंस्टेंस पर आने वाली मेथड कॉल्स के लिए प्रोसेसिंग मोड को परिभाषित करता है [SWS_CM_00301]। इसे स्केलेटन क्लास के कंस्ट्रक्टरों को एक पैरामीटर के रूप में पास किया जाता है, जहाँ डिफ़ॉल्ट मान ara::com::MethodCallProcessingMode::kEvent निर्दिष्ट होता है [SWS_CM_00130], [SWS_CM_00152], [SWS_CM_00153]।

एन्युमरेटर सर्विस विधियों के समवर्ती निष्पादन और निष्पादन संदर्भ को नियंत्रित करते हैं [SWS_CM_00301]:

  • kPoll: पोलिंग मोड। सर्विस उपभोक्ताओं से आने वाली कॉल्स स्वचालित रूप से निष्पादित नहीं होती हैं। सर्विस कार्यान्वयन ProcessNextMethodCall() [SWS_CM_00199] के कॉल के माध्यम से उनके निष्पादन को सक्रिय रूप से नियंत्रित करता है। लंबित मेथड इस कॉल के संदर्भ में समकालिक रूप से संसाधित की जाती है। यह सर्विस साइड पर थ्रेड और संदर्भ परिवर्तनों पर पूर्ण नियंत्रण सुनिश्चित करता है ARAComAPI §6.3.3 “Event Buffering Approaches”।
  • kEvent: आने वाली कॉल्स के समानांतर प्रसंस्करण के लिए इवेंट-चालित और समवर्ती मोड।
  • kEventSingleThread: मेथड कॉल्स के व्यक्तिगत निष्पादन के लिए इवेंट-चालित, अनुक्रमिक मोड।

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

  • यदि किसी स्केलेटन कंस्ट्रक्टर को कोई अमान्य मोड पास किया जाता है, तो उल्लंघन WrongMethodCallProcessingModeViolation होता है [SWS_CM_00130], [SWS_CM_00153]।
  • kEvent के साथ निर्मित स्केलेटन पर ProcessNextMethodCall() को कॉल करने पर भी WrongMethodCallProcessingModeViolation होता है [SWS_CM_00199] (व्याख्या: यह kEventSingleThread पर भी लागू होना चाहिए, क्योंकि मेथड केवल kPoll के लिए ही अभिप्रेत है)। प्रश्न Q-bcd9f07119db44fb (खुला)

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

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

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

Record
AUTOSAR/AP/record/SWS_CM_00301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00301@rel:R25-11#3878e161
Content hash
3878e161
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00301
Status: valid/unmigrated Version: rel:R25-11#80be2356 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_00301@rel:R25-11#80be2356
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0d3dccbc2026-09-30
  • R19-11rel:R19-11#25b194492026-10-14
  • R20-11rel:R20-11#25b194492026-10-14
  • R21-11rel:R21-11#0ad7b7102026-10-14
  • R22-11rel:R22-11#0ad7b7102026-10-14
  • R23-11rel:R23-11#6f47e07b2026-10-14
  • R24-11rel:R24-11#80be23562026-10-14
  • R25-11rel:R25-11#80be23562026-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

एन्यूमरेशन ServiceState [SWS_CM_01071]

enum class ServiceState :            std::uint8_t {...};

The state of the service from GetServiceState()

Header-Datei#include "ara/com/types.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolServiceState
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kNotAvailable=0 Service is not available
kAvailable=1 Service is available

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

Record
AUTOSAR/AP/record/SWS_CM_01071
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01071@rel:R25-11#6f5d3da1
Content hash
6f5d3da1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01071
Status: valid/unmigrated Version: rel:R25-11#b7ec2dcd 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_01071@rel:R25-11#b7ec2dcd
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#8a4f13912026-09-30
  • R22-11rel:R22-11#e2b5988f2026-10-14
  • R23-11rel:R23-11#e2b5988f2026-10-14
  • R24-11rel:R24-11#e3fd192b2026-10-14
  • R25-11rel:R25-11#b7ec2dcd2026-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

एन्यूमरेशन SubscriptionState [SWS_CM_00310] Upstream: RS_CM_00103, RS_CM_00104, RS_CM_00106

enum class SubscriptionState :              std::uint8_t {...};

The subscription state of an event.

Header-Datei#include "ara/com/types.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolSubscriptionState
Basistypstd::uint8_t

Werte

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

गणना (enumeration) SubscriptionState [SWS_CM_00310] नेमस्पेस ara::com में std::uint8_t प्रकार के आधार पर किसी सब्सक्रिप्शन की वर्तमान स्थिति को दर्शाती है। यह तीन अलग-अलग स्थितियों को परिभाषित करती है:

  • kNotSubscribed: सब्सक्रिप्शन निष्क्रिय है।
  • kSubscriptionPending: सब्सक्रिप्शन अभी लंबित है या किसी विफलता के बाद कनेक्शन पुनर्स्थापित किया जा रहा है।
  • kSubscribed: सब्सक्रिप्शन सक्रिय है।

तुल्यकालिक (synchronous) क्वेरी के लिए GetSubscriptionState() विधि का उपयोग किया जाता है, जो Proxy-Events [SWS_CM_00316], Proxy-Fields [SWS_CM_11604] और Triggers [SWS_CM_01105] के साथ-साथ Skeleton-Triggers [SWS_CM_01109] पर प्रदान की जाती है। ये सभी क्वेरी फ़ंक्शन noexcept के रूप में घोषित हैं और पूर्ण अपवाद सुरक्षा सुनिश्चित करते हैं।

स्थिति परिवर्तनों पर अतुल्यकालिक (asynchronous) प्रतिक्रियाओं के लिए, अनुप्रयोग SetSubscriptionStateChangeHandler() के माध्यम से SubscriptionStateChangeHandler प्रकार का एक कॉलबैक पंजीकृत कर सकते हैं [SWS_CM_00311] [SWS_CM_00333]। यदि कोई अमान्य या रिक्त हैंडलर पास किया जाता है, तो उल्लंघन InvalidHandlerViolation घटित होता है [SWS_CM_00333]। अपंजीकरण UnsetSubscriptionStateChangeHandler() [SWS_CM_00334] के माध्यम से किया जाता है। ExecutorT के साथ टेम्पलेट ओवरलोड के माध्यम से कॉलबैक के लिए निष्पादन संदर्भ (execution context) भी निर्दिष्ट किया जा सकता है [SWS_CM_11354]।

किसी प्रॉक्सी इंस्टेंस के जीवनचक्र में, SubscriptionState स्वचालित अद्यतनीकरण (updating) के साथ निकटता से एकीकृत है: यदि कोई सेवा इंस्टेंस विफल हो जाती है, तो विधि कॉल विफल हो जाते हैं और GetSubscriptionState() पहले सब्सक्राइब किए गए इवेंट्स के लिए kSubscriptionPending ARAComAPI §6.1 “Auto Updating of Proxy Instance” लौटाता है। जैसे ही सेवा इंस्टेंस Service Discovery के माध्यम से पुनः उपलब्ध हो जाती है, Communication Management कनेक्शन को पारदर्शी रूप से अपडेट करता है; इसके बाद GetSubscriptionState() स्वचालित रूप से फिर से kSubscribed AUTOSAR_AP_EXP_ARAComAPI §5.3.5.2 लौटाता है। इसके लिए प्रॉक्सी को मैन्युअल रूप से पुनः बनाना या पुनः सब्सक्राइब करना आवश्यक नहीं है।

यह पाठ AI द्वारा जनरेट किया गया है और AUTOSAR विनिर्देश के एक दिशा-निर्देशात्मक पूरक के रूप में कार्य करता है।

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

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

Record
AUTOSAR/AP/record/SWS_CM_00310
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00310@rel:R25-11#302a5993
Content hash
302a5993
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00310
Status: valid/unmigrated Version: rel:R25-11#7680ddc8 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_00310@rel:R25-11#7680ddc8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#316fa4842026-09-30
  • R19-11rel:R19-11#783a62a12026-10-14
  • R20-11rel:R20-11#783a62a12026-10-14
  • R21-11rel:R21-11#149257f62026-10-14
  • R22-11rel:R22-11#149257f62026-10-14
  • R23-11rel:R23-11#27673e7a2026-10-14
  • R24-11rel:R24-11#7680ddc82026-10-14
  • R25-11rel:R25-11#7680ddc82026-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

टाइप उपनाम

टाइप उपनाम EventReceiveHandler [SWS_CM_00309] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120

using EventReceiveHandler = std::function<void()>;

Callback function invoked if new event data arrives for an event. The event receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolEventReceiveHandler

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

Record
AUTOSAR/AP/record/SWS_CM_00309
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00309@rel:R25-11#c10ff6e9
Content hash
c10ff6e9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00309
Status: valid/unmigrated Version: rel:R25-11#223e8e61 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_00309@rel:R25-11#223e8e61
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7b6d05552026-09-30
  • R19-11rel:R19-11#395af5f02026-10-14
  • R20-11rel:R20-11#395af5f02026-10-14
  • R21-11rel:R21-11#db7e05e52026-10-14
  • R22-11rel:R22-11#395af5f02026-10-14
  • R23-11rel:R23-11#2779dae62026-10-14
  • R24-11rel:R24-11#dcc5017d2026-10-14
  • R25-11rel:R25-11#223e8e612026-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

टाइप उपनाम FieldReceiveHandler [SWS_CM_11615] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120

using FieldReceiveHandler = std::function<void()>;

Callback function invoked if a new notification arrives for a field. The field receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolFieldReceiveHandler

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

Record
AUTOSAR/AP/record/SWS_CM_11615
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11615@rel:R25-11#234df97a
Content hash
234df97a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11615
Status: valid/unmigrated Version: rel:R25-11#799baa76 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_11615@rel:R25-11#799baa76
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cfafcfd52026-09-30
  • R24-11rel:R24-11#fae206d62026-10-14
  • R25-11rel:R25-11#799baa762026-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

टाइप उपनाम FindServiceHandler [SWS_CM_00383] Upstream: RS_CM_00102

using FindServiceHandler = std::function<void(ServiceHandle Container<T>, FindServiceHandle)>;

Callback function invoked if service availability changes. It takes as input parameter a handle container containing handles for all matching service instances and a ara::com:: FindServiceHandle which can be used to invoke StopFindService() from within the ara::com::FindServiceHandler.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolFindServiceHandler

Template-Parameter

ParameterBeschreibung
TData type of data sample
Siehe auch: [SWS_CM_00125]

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

Record
AUTOSAR/AP/record/SWS_CM_00383
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00383@rel:R25-11#17411e5d
Content hash
17411e5d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00383
Status: valid/unmigrated Version: rel:R25-11#4bb13392 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_00383@rel:R25-11#4bb13392
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5bc754b22026-09-30
  • R19-11rel:R19-11#e9374da52026-10-14
  • R20-11rel:R20-11#e9374da52026-10-14
  • R21-11rel:R21-11#e9374da52026-10-14
  • R22-11rel:R22-11#10a374092026-10-14
  • R23-11rel:R23-11#40b111b32026-10-14
  • R24-11rel:R24-11#29b459892026-10-14
  • R25-11rel:R25-11#4bb133922026-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

टाइप उपनाम InstanceIdentifierContainer [SWS_CM_00319] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00122

using InstanceIdentifierContainer = ara::core::Vector<Instance Identifier>;

Holds a list of ara::com::InstanceIdentifiers. The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30] A ara::core::Vector ([SWS_CORE_01301]) for example fulfills these requirements.

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolInstanceIdentifierContainer

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

Record
AUTOSAR/AP/record/SWS_CM_00319
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00319@rel:R25-11#ffd7e311
Content hash
ffd7e311
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00319
Status: valid/unmigrated Version: rel:R25-11#fa8d6921 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_00319@rel:R25-11#fa8d6921
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ef7a629e2026-09-30
  • R19-11rel:R19-11#a868f3472026-10-14
  • R20-11rel:R20-11#92724e662026-10-14
  • R21-11rel:R21-11#431357ea2026-10-14
  • R22-11rel:R22-11#2ac28cb72026-10-14
  • R23-11rel:R23-11#bc0629c32026-10-14
  • R24-11rel:R24-11#e851c8ff2026-10-14
  • R25-11rel:R25-11#fa8d69212026-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

टाइप उपनाम SampleAllocateePtr [SWS_CM_00308] Upstream: RS_CM_00201

using SampleAllocateePtr = std::unique_ptr<T>;

Pointer to an allocated (by Communication Management) data sample. The implementation is allowed to be changed by the Communication Management software provider.

The precondition defined in [SWS_CM_00086] must be fulfilled. Otherwise it is considered a violation.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolSampleAllocateePtr

Template-Parameter

ParameterBeschreibung
TData type of data sample

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

Record
AUTOSAR/AP/record/SWS_CM_00308
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00308@rel:R25-11#6a347b54
Content hash
6a347b54
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00308
Status: valid/unmigrated Version: rel:R25-11#039f8d79 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_00308@rel:R25-11#039f8d79
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#adf0f02d2026-09-30
  • R19-11rel:R19-11#5ad593f62026-10-14
  • R20-11rel:R20-11#5ad593f62026-10-14
  • R21-11rel:R21-11#5ad593f62026-10-14
  • R22-11rel:R22-11#5ad593f62026-10-14
  • R23-11rel:R23-11#2153a31d2026-10-14
  • R24-11rel:R24-11#039f8d792026-10-14
  • R25-11rel:R25-11#039f8d792026-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

टाइप उपनाम ServiceHandleContainer [SWS_CM_00304] Upstream: RS_CM_00102

using ServiceHandleContainer = ara::core::Vector<T>;

Holds a list of service handles and is used as a return value of any of the FindService() methods) • [SWS_CM_00122] • [SWS_CM_00622] . The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30]. A ara::core::Vector ([SWS_CORE_ 01301]) for example fulfills these requirements.

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolServiceHandleContainer

Template-Parameter

ParameterBeschreibung
Tservice handle

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

Record
AUTOSAR/AP/record/SWS_CM_00304
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00304@rel:R25-11#b4b1eddb
Content hash
b4b1eddb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00304
Status: valid/unmigrated Version: rel:R25-11#6d2b7cf6 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_00304@rel:R25-11#6d2b7cf6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7afe7d372026-09-30
  • R19-11rel:R19-11#5e4ae44f2026-10-14
  • R20-11rel:R20-11#f25f37592026-10-14
  • R21-11rel:R21-11#be1867dc2026-10-14
  • R22-11rel:R22-11#5d1adbf22026-10-14
  • R23-11rel:R23-11#156ff0142026-10-14
  • R24-11rel:R24-11#19b088802026-10-14
  • R25-11rel:R25-11#6d2b7cf62026-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

टाइप उपनाम ServiceStateHandler [SWS_CM_01072]

using ServiceStateHandler = std::function<void(ServiceState)>;

Functor used as input arguments for any of the SetServiceStateChangeHandler() methods: • [SWS_CM_01074] • [SWS_CM_01076]

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolServiceStateHandler

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

Record
AUTOSAR/AP/record/SWS_CM_01072
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01072@rel:R25-11#b05b9cf1
Content hash
b05b9cf1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01072
Status: valid/unmigrated Version: rel:R25-11#6c72f419 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_01072@rel:R25-11#6c72f419
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#c869ffc22026-09-30
  • R22-11rel:R22-11#152adeba2026-10-14
  • R23-11rel:R23-11#152adeba2026-10-14
  • R24-11rel:R24-11#720d0f2a2026-10-14
  • R25-11rel:R25-11#6c72f4192026-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

टाइप उपनाम SubscriptionStateChangeHandler [SWS_CM_00311] Upstream: RS_CM_00103, RS_CM_00104, RS_CM_00106

using SubscriptionStateChangeHandler = std::function<void(Subscription State)>;

Callback function invoked if ara::com::SubscriptionState of an event has changed.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolSubscriptionStateChangeHandler
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: e8a7f7be42ec उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

नेमस्पेस ara::com में टाइप एलियास SubscriptionStateChangeHandler हेडर फ़ाइल ara/com/types.h में std::function<void(SubscriptionState)> के रूप में घोषित है ([SWS_CM_00311])। यह एप्लिकेशन के अपने कॉलबैक के लिए फ़ंक्शन हस्ताक्षर निर्दिष्ट करता है, जो सब्सक्राइब किए गए प्रॉक्सी इवेंट का ara::com::SubscriptionState बदलते ही ट्रिगर होते हैं ([SWS_CM_00311], EXP_ARAComAPI §5.3 “Proxy Class API’s”)। कॉल किए जाने पर, नया सदस्यता राज्य सीधे पैरामीटर के रूप में पास किया जाता है; कोई रिटर्न मान प्रदान नहीं किया गया है ([SWS_CM_00311])।

हैंडलर का पंजीकरण संबंधित प्रॉक्सी क्लास के मेथड SetSubscriptionStateChangeHandler() के माध्यम से होता है (EXP_ARAComAPI §5.3.1 “Proxy Class API’s”, EXP_ARAComAPI §5.3 “Proxy Class API’s”)। यह ऑपरेशन एक ara::core::Result<void> लौटाता है (EXP_ARAComAPI §5.3 “Proxy Class API’s”), जिसके माध्यम से एप्लिकेशन डेवलपर पंजीकरण के दौरान संभावित त्रुटियों की सिंक्रोनस रूप से जाँच कर सकते हैं। पंजीकृत कॉलबैक को लक्षित रूप से हटाना [SWS_CM_00334] के अनुसार UnsetSubscriptionStateChangeHandler() को कॉल करके किया जाता है (EXP_ARAComAPI §1 “Introduction”, EXP_ARAComAPI §5.3.1 “Proxy Class API’s”)।

प्रक्रिया और समवर्तीता के संदर्भ में, स्थिति अधिसूचना एसिंक्रोनस रूप से होती है। हैंडलर का कॉल संभवतः संचार अवसंरचना के थ्रेड संदर्भ में होना चाहिए (व्याख्या)। प्रश्न Q-8dda0cd4de0070bf (खुला) इसलिए, कॉलबैक कार्यान्वयन को शीघ्रता से लौटना चाहिए और रीएंट्रेंट या थ्रेड-सुरक्षित रूप से संरचित होना चाहिए। हैंडलर का इंटरैक्शन इवेंट सदस्यता के जीवन चक्र से निकटता से जुड़ता है, विशेष रूप से Subscribe(), Unsubscribe() और GetSubscriptionState() के संयोजन में (EXP_ARAComAPI §5.3.1 “Proxy Class API’s”)।

यह पाठ AI द्वारा तैयार किया गया था; यह विनिर्देश पढ़ने का विकल्प नहीं है।

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

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

Record
AUTOSAR/AP/record/SWS_CM_00311
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00311@rel:R25-11#1a7fa51b
Content hash
1a7fa51b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00311
Status: valid/unmigrated Version: rel:R25-11#21ac17ff 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_00311@rel:R25-11#21ac17ff
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ee97a2592026-09-30
  • R19-11rel:R19-11#e22ba4e32026-10-14
  • R20-11rel:R20-11#e22ba4e32026-10-14
  • R21-11rel:R21-11#e22ba4e32026-10-14
  • R22-11rel:R22-11#e22ba4e32026-10-14
  • R23-11rel:R23-11#5878c7452026-10-14
  • R24-11rel:R24-11#287ce5e32026-10-14
  • R25-11rel:R25-11#21ac17ff2026-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

टाइप उपनाम TriggerReceiveHandler [SWS_CM_00351] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120

using TriggerReceiveHandler = std::function<void()>;

A function wrapper for the handler function that gets called in case a new trigger arrives for an event. The trigger receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolTriggerReceiveHandler

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

Record
AUTOSAR/AP/record/SWS_CM_00351
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00351@rel:R25-11#a9f547bd
Content hash
a9f547bd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00351
Status: valid/unmigrated Version: rel:R25-11#fc6a9105 Versionshistorie & Revisions (1 transition, 6 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_00351@rel:R25-11#fc6a9105
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#7e62cd342026-09-30
  • R21-11rel:R21-11#4d5accb82026-10-14
  • R22-11rel:R22-11#7e2a7c042026-10-14
  • R23-11rel:R23-11#9b69b1902026-10-14
  • R24-11rel:R24-11#f8c62c622026-10-14
  • R25-11rel:R25-11#fc6a91052026-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

मुक्त फ़ंक्शनों का प्रलेखन

फ़ंक्शन GetComErrorDomain [SWS_CM_11334] Upstream: RS_AP_00120, RS_AP_00130

constexpr const ara::core::ErrorDomain & GetComErrorDomain () noexcept;

Returns a reference to the ara::com::ComErrorDomain object

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

उपयोग

नेमस्पेस ara::com में वैश्विक फ़ंक्शन GetComErrorDomain त्रुटि डोमेन ऑब्जेक्ट ara::com::ComErrorDomain का एक संदर्भ प्रदान करता है [SWS_CM_11334]। घोषणा हेडर ara/com/com_error_domain.h के माध्यम से शामिल की गई है और एक तुल्यकालिक, पैरामीटर रहित कॉल के रूप में होती है SWS CommunicationManagement §8.12.3.1.1 “GetComErrorDomain”। रिटर्न मान के रूप में, फ़ंक्शन प्रकार const ara::core::ErrorDomain& का एक स्थिर संदर्भ लौटाता है, जो सिस्टम में संचार त्रुटि डोमेन का प्रतिनिधित्व करता है।

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

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

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

constexpr और noexcept के साथ घोषणा के कारण, फ़ंक्शन स्टेटलेस, साइड-इफ़ेक्ट-मुक्त और साथ ही पूरी तरह से पुनःप्रवेशी और थ्रेड-सुरक्षित होना चाहिए; संभवतः इसे कंपाइल-टाइम पर भी निष्पादित किया जा सकता है। प्रश्न Q-21aafe1fdcb5997b (खुला) प्रदान किया गया त्रुटि डोमेन पूरे सिस्टम में एक संदर्भ इंस्टेंस के रूप में कार्य करता है ताकि Communication Management के ऑपरेशनों से त्रुटि कोड को उनकी डोमेन संबद्धता के आधार पर सत्यापित किया जा सके और अन्य त्रुटि स्रोतों से अलग किया जा सके [SWS_CM_11334]।

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

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

Header-Datei#include "ara/com/com_error_domain.h"
Scopenamespace ara::com
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
const ara::core::ErrorDomain &Reference to the ara::com::ComErrorDomain object

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

Record
AUTOSAR/AP/record/SWS_CM_11334
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11334@rel:R25-11#b361dc85
Content hash
b361dc85
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11334
Status: valid/unmigrated Version: rel:R25-11#540ecd6a 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_11334@rel:R25-11#540ecd6a
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#84138e222026-09-30
  • R20-11rel:R20-11#6ab718532026-10-14
  • R21-11rel:R21-11#86c8bf622026-10-14
  • R22-11rel:R22-11#d0609f3d2026-10-14
  • R23-11rel:R23-11#93b5f2792026-10-14
  • R24-11rel:R24-11#8fd9abb62026-10-14
  • R25-11rel:R25-11#540ecd6a2026-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

फ़ंक्शन MakeErrorCode [SWS_CM_11335] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00130

constexpr ara::core::ErrorCode MakeErrorCode (ara::com::ComErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Creates an instance of ara::core::ErrorCode

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

सहायक फ़ंक्शन ara::com::MakeErrorCode ara::core::ErrorCode का एक इंस्टेंस बनाने का काम करता है ([SWS_CM_11335], SWS CommunicationManagement §8.12.3.1.2 “MakeErrorCode”)। इसे नेमस्पेस ara::com में हेडर फ़ाइल #include "ara/com/com_error_domain.h" के माध्यम से घोषित किया गया है। इनपुट पैरामीटर के रूप में, यह ara::com::ComErrc प्रकार का त्रुटि नंबर code और ara::core::ErrorDomain::SupportDataType प्रकार का निर्माता-विशिष्ट अतिरिक्त डेटा data प्राप्त करता है और संबंधित त्रुटि ऑब्जेक्ट को सिंक्रोनस रूप से लौटाता है।

निष्पादन सुरक्षा के संबंध में, फ़ंक्शन noexcept के रूप में निर्दिष्ट है और स्पष्ट रूप से एक्सेप्शन-सुरक्षित (“exception safe”) के रूप में वर्गीकृत है ([SWS_CM_11335])। इस सहायक फ़ंक्शन के लिए DET या DEM के माध्यम से रनटाइम संदेश प्रदान नहीं किए गए हैं, क्योंकि यह केवल त्रुटि ऑब्जेक्ट्स के निर्माण के लिए कार्य करता है। constexpr और noexcept के रूप में घोषणा के कारण, फ़ंक्शन साइड-इफ़ेक्ट मुक्त और रीएंट्रेंट होना चाहिए, जिससे कंपाइल-टाइम पर और समवर्ती संदर्भों से भी कॉल्स स्वीकार्य हैं। प्रश्न Q-43f118920f402d86 (खुला)

आर्किटेक्चर पैटर्न Adaptive AUTOSAR के प्लेटफ़ॉर्म-व्यापी त्रुटि मॉडल का अनुसरण करता है और आसन्न कार्यात्मक डोमेन के लिए समान रूप से प्रदान किया जाता है: एंड-टू-एंड सुरक्षा के लिए फ़ंक्शन ara::com::e2e::MakeErrorCode मौजूद है ([SWS_CM_12511], SWS CommunicationManagement §8.15.2.1.2 “MakeErrorCode”), जबकि सुरक्षा फ़ंक्शंस के लिए apext::com::secoc::MakeErrorCode उपलब्ध है ([SWS_CM_12522], SWS CommunicationManagement §C.2.2.1.2 “MakeErrorCode”)।

यह पाठ एक AI द्वारा तैयार किया गया है और केवल मार्गदर्शन के लिए है।

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

Header-Datei#include "ara/com/com_error_domain.h"
Scopenamespace ara::com
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
codeError code number.
dataVendor defined data associated with the error

Rückgabewert

TypBeschreibung
ara::core::ErrorCodeAn ara::core::ErrorCode object.

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

Record
AUTOSAR/AP/record/SWS_CM_11335
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11335@rel:R25-11#28716cd5
Content hash
28716cd5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11335
Status: valid/unmigrated Version: rel:R25-11#ed0a7b5c 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_11335@rel:R25-11#ed0a7b5c
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#e57005e72026-09-30
  • R20-11rel:R20-11#3105d5f82026-10-14
  • R21-11rel:R21-11#14964c692026-10-14
  • R22-11rel:R22-11#d4a3decc2026-10-14
  • R23-11rel:R23-11#abab96942026-10-14
  • R24-11rel:R24-11#555364d52026-10-14
  • R25-11rel:R25-11#ed0a7b5c2026-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