DEENESPTFRRUARHIKOZHNL

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

[SWS_CM_00302] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

class InstanceIdentifier {...};

Unique identifier of a specific AdaptivePlatformServiceInstance, to distinguish different instances of exactly the same service. ara::com::InstanceIdentifier satisfies the [equalitycomparable], [lessthancomparable] and [copyassignable] requirements as per [30] to allow for logging of ara::com::InstanceIdentifiers as well as storing and managing ara::com::InstanceIdentifiers by the application (see operators). ara:: com::InstanceIdentifier does not contain a fully qualified name, which would also have service type information.

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

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

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

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

समान प्रकार की सेवाओं में अंतर करने के लिए तकनीकी सेवा इंस्टेंस की विशिष्ट पहचान के रूप में कार्य करता है।

वर्ग ara::com::InstanceIdentifier AUTOSAR Adaptive Platform में एक ठोस सेवा इंस्टेंस के अद्वितीय तकनीकी पहचानकर्ता का प्रतिनिधित्व करता है और विशिष्ट संचार बाइंडिंग (AUTOSAR_AP_EXP_ARAComAPI पृ. 22 §4.1 “InstanceIdentifier class”) के माध्यम से एड्रेसिंग की अनुमति देता है। एक क्रमबद्ध करने योग्य (serializable) मान प्रकार के रूप में, इसे स्ट्रिंग्स से बनाया जा सकता है, तुलना की जा सकती है और कंटेनरों में प्रबंधित किया जा सकता है ([SWS_CM_11520], [SWS_CM_11523])। जबकि मानक एप्लिकेशन मुख्य रूप से अमूर्त मॉडल पहचानकर्ताओं का उपयोग करते हैं, इस तकनीकी पहचानकर्ता का प्रत्यक्ष उपयोग मल्टी-बाइंडिंग और फेल-ओवर समाधान जैसे विशेष मामलों के लिए कार्य करता है (AUTOSAR_AP_EXP_ARAComAPI पृ. 25 “InstanceIdentifier Usage”)।

संदर्भ

वर्ग ara::com::InstanceIdentifier Adaptive Platform (AdaptivePlatformServiceInstance) पर एक ठोस सेवा इंस्टेंस की विशिष्ट पहचान के लिए कार्य करता है, ताकि बिल्कुल समान सेवा के विभिन्न इंस्टेंस के बीच अंतर किया जा सके। यह चयनित संचार बाइंडिंग के प्रौद्योगिकी-विशिष्ट एड्रेसिंग को समाहित करता है, लेकिन जानबूझकर इसमें सेवा प्रकार की जानकारी वाला पूर्ण योग्य नाम (fully qualified name) शामिल नहीं होता है। नियमित सॉफ़्टवेयर डेवलपर के लिए, ara::com::InstanceIdentifier के साथ सीधा इंटरैक्शन आमतौर पर अमूर्त होता है: जबकि सॉफ़्टवेयर घटक मॉडल में मुख्य रूप से ara::core::InstanceSpecifier के माध्यम से तार्किक नामों का उपयोग किया जाता है (AUTOSAR_AP_EXP_ARAComAPI पृ. 23 §4.2 “InstanceSpecifier class”), इंटीग्रेटर मैनिफ़ेस्ट फ़ाइलों के माध्यम से इन्हें तकनीकी बाइंडिंग और उनकी संबंधित इंस्टेंस आईडी को असाइन करता है (AUTOSAR_AP_EXP_ARAComAPI पृ. 23 §4.2 “InstanceSpecifier class”)।

तथाकथित Multi-Bindings के हिस्से के रूप में, एक एकल अमूर्त पहचानकर्ता को कई तकनीकी बाइंडिंग में मैप किया जा सकता है। इसलिए ResolveInstanceIDs() के माध्यम से समाधान एक ara::com::InstanceIdentifierContainer लौटाता है, जो कई ara::com::InstanceIdentifier को बंडल करता है (ARAComAPI पृ. 1 “Figure 6.6: InstanceIdentifier Resolution”, AUTOSAR_AP_EXP_ARAComAPI पृ. 24 §4.3 “InstanceSpecifier Resolution”)। यह सर्वरों (Skeletons) को विभिन्न परिवहन प्रौद्योगिकियों के माध्यम से क्लाइंट्स की सेवा करने, या क्लाइंट्स (Proxies) को फेल-ओवर पथों को कार्यान्वित करने में सक्षम बनाता है (ARAComAPI पृ. 1 “Figure 6.6: InstanceIdentifier Resolution”)।

diag_kontext Applikation Applikation Runtime ara::com Runtime (ResolveInstanceIDs) Applikation->Runtime uebergibt InstanceSpecifier ServiceProxy Service-Proxy / Skeleton (FindService / OfferService) Applikation->ServiceProxy InstanceIdentifier के साथ संबोधित करता है Manifest Deployment-Manifest Manifest->Runtime definiert Binding-Mapping Runtime->Applikation InstanceIdentifierContainer प्रदान करता है

संदर्भ आरेख: एप्लिकेशन, डिप्लॉयमेंट मैनिफ़ेस्ट, इंस्टेंस रिज़ॉल्यूशन और सेवा इंटरफ़ेस का इंटरैक्शन। स्रोत: ARAComAPI पृ. 103 “Figure 6.5: Service Discovery”, AUTOSAR_AP_EXP_ARAComAPI पृ. 23 §4.2 “InstanceSpecifier class”, AUTOSAR_AP_EXP_ARAComAPI पृ. 24 §4.3 “InstanceSpecifier Resolution”

जीवनचक्र

ara::com::InstanceIdentifier के इंस्टेंस में पूर्ण मान सिमेंटिक्स होते हैं। वे ISO/IEC 14882:2014 के अनुसार equalitycomparable, lessthancomparable और copyassignable आवश्यकताओं को पूरा करते हैं, जिससे उन्हें मानक कंटेनरों में प्रबंधित, सॉर्ट और लॉग किया जा सकता है। वर्ग निम्नलिखित कंस्ट्रक्टर और जीवनचक्र फ़ंक्शन प्रदान करता है:

  • noexcept के साथ स्थिर फ़ैक्टरी विधि Create ([SWS_CM_11520]) के माध्यम से अपवाद-मुक्त निर्माण।
  • स्ट्रिंग प्रतिनिधित्व ([SWS_CM_11521]) पर आधारित स्पष्ट कंस्ट्रक्टर, जो स्पष्ट रूप से अपवाद-सुरक्षित नहीं (not exception safe) है।
  • कॉपी कंस्ट्रक्टर ([SWS_CM_00056]) और मूव कंस्ट्रक्टर ([SWS_CM_00053]), दोनों noexcept के रूप में निर्दिष्ट हैं।
  • कॉपी असाइनमेंट ऑपरेटर ([SWS_CM_11525]) और मूव असाइनमेंट ऑपरेटर ([SWS_CM_00054]), प्रत्येक noexcept के साथ।
  • समानता और क्रमबद्धता परीक्षण के लिए तुलना ऑपरेटर operator== ([SWS_CM_11523]) और operator< ([SWS_CM_11524])।
  • noexcept के साथ डिस्ट्रक्टर ~InstanceIdentifier() ([SWS_CM_00055])।

स्ट्रिंग-कंस्ट्रक्टर और toString() ([SWS_CM_11522]) मेथड के परस्पर प्रभाव से यह क्लास सीरियलाइज़ करने योग्य (AUTOSAR_AP_EXP_ARAComAPI पृ. 22 §4.1 “InstanceIdentifier class”) है। यह किसी आइडेंटिफ़ायर के पर्सिस्टेंस, ट्रांसमिशन और बाद में पुन: उपयोग की अनुमति देता है। एप्लिकेशन लॉजिक द्वारा सीरियलाइज़्ड स्ट्रिंग की सामग्री संबंधी व्याख्या (इंट्रोस्पेक्शन) अभीष्ट नहीं है, क्योंकि संरचना पूरी तरह से मिडलवेयर उत्पाद और बाइंडिंग पर निर्भर करती है (AUTOSAR_AP_EXP_ARAComAPI पृ. 22 §4.1 “InstanceIdentifier class”)।

उपयोग पथ

चूँकि ara::com सामान्य मेथड के लिए ऐसे ओवरलोड प्रदान करता है जो सीधे ara::core::InstanceSpecifier को स्वीकार करते हैं, इसलिए ara::com::InstanceIdentifier का मैन्युअल प्रबंधन मुख्य रूप से विशिष्ट बाइंडिंग या लक्षित फ़ेल-ओवर (AUTOSAR_AP_EXP_ARAComAPI पृ. 25 “InstanceIdentifier Usage”) जैसे उन्नत उपयोग मामलों के लिए लक्षित है। विशिष्ट प्रक्रिया को निम्नलिखित चरणों में विभाजित किया गया है:

  1. रेज़ोल्यूशन: एप्लिकेशन ResolveInstanceIDs() के माध्यम से एब्स्ट्रैक्ट मॉडल आइडेंटिफ़ायर को असाइन किए गए तकनीकी इंस्टेंस आइडेंटिफ़ायर (AUTOSAR_AP_EXP_ARAComAPI पृ. 24 §4.3 “InstanceSpecifier Resolution”) में ट्रांसलेट करता है।
  2. चयन: परिणामी ara::com::InstanceIdentifierContainer से एप्लिकेशन वांछित ara::com::InstanceIdentifier का चयन करता है (ARAComAPI पृ. 1 “Figure 6.6: InstanceIdentifier Resolution”)।
  3. सर्विस खोज: आइडेंटिफ़ायर को प्रॉक्सी क्लास के स्टैटिक मेथड FindService(ara::com::InstanceIdentifier instance) को पास किया जाता है (ARAComAPI पृ. 103 “Figure 6.5: Service Discovery”)।
  4. प्रोसेसिंग: सर्विस खोज एक ServiceHandleContainer लौटाती है, जिसके आधार पर प्रॉक्सी को इंस्टैंशिएट किया जाता है (ARAComAPI पृ. 103 “Figure 6.5: Service Discovery”)। GetInstanceId() के माध्यम से इंस्टेंस आइडेंटिफ़ायर को क्वेरी किया जा सकता है (AUTOSAR_AP_EXP_ARAComAPI पृ. 30 “GetInstanceId”)।
InstanceIdentifier का रिज़ॉल्यूशन और उपयोगApplikationara::com Runtimeसेवा ProxyResolveInstanceIDs(instanceSpecifier)Result<InstanceIdentifierContainer>FindService(instanceIdentifier)Result<ServiceHandleContainer>

सीक्वेंस डायग्राम: आइडेंटिफ़ायर का रेज़ोल्यूशन और तकनीकी InstanceIdentifier के माध्यम से लक्षित सर्विस खोज। स्रोत: ARAComAPI पृ. 103 “Figure 6.5: Service Discovery”, AUTOSAR_AP_EXP_ARAComAPI पृ. 24 §4.3 “InstanceSpecifier Resolution”

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

ara::com::InstanceIdentifier को संभालते समय, विशेष रूप से दो त्रुटि स्थितियों पर विचार किया जाना चाहिए:

  • अमान्य स्ट्रिंग प्रारूप (InvalidInstanceIdentifierStringViolation): यदि कोई सीरियलाइज़्ड आइडेंटिफ़ायर Create ([SWS_CM_11520]) या कंस्ट्रक्टर ([SWS_CM_11521]) को पास किया जाता है जो दूषित, गैर-अनुरूप या डुप्लिकेट है, तो यह उल्लंघन होता है। व्याख्या: जबकि अपवाद-रहित फ़ैक्ट्री मेथड Create संभवतः किसी त्रुटि ऑब्जेक्ट के माध्यम से इसकी रिपोर्ट करता है, त्रुटि होने पर गैर-अपवाद-सुरक्षित कंस्ट्रक्टर द्वारा अपवाद ट्रिगर करने की संभावना है। प्रश्न Q-45a6fdd0859218bd (खुला)
  • रेज़ोल्यूशन के दौरान मैपिंग अनुपलब्ध: यदि इंटीग्रेटर ने डिप्लॉयमेंट मेनिफ़ेस्ट में ara::core::InstanceSpecifier के लिए कोई मैपिंग स्टोर नहीं की है, तो ResolveInstanceIDs() का कॉल एक खाली सूची लौटाता है (ARAComAPI पृ. 1 “Figure 6.6: InstanceIdentifier Resolution”, AUTOSAR_AP_EXP_ARAComAPI पृ. 24 §4.3 “InstanceSpecifier Resolution”)। यह आमतौर पर एक कॉन्फ़िगरेशन त्रुटि को दर्शाता है।
  • अनुपलब्ध सर्विस इंस्टेंस: यदि निर्दिष्ट आइडेंटिफ़ायर के लिए स्केलेटन साइड पर कोई संगत OfferService() निष्पादित नहीं किया गया है, तो FindService द्वारा लौटाया गया ServiceHandleContainer खाली रहता है (ARAComAPI पृ. 103 “Figure 6.5: Service Discovery”)।

यह क्लास गाइड AUTOSAR Adaptive Platform रिलीज़ R25-11 के विनिर्देशों और स्पष्टीकरणों पर आधारित है।

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

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

2

मेथड

2

ऑपरेटर

3

क्लास आरेख

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

G nara__com__InstanceIdentifier581 InstanceIdentifier + InstanceIdentifier() + operator=() + ~InstanceIdentifier() + Create() + operator<() + operator==() + toString()

विवरण दृश्य

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

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

InstanceIdentifier फ़ंक्शन 3

Move Constructor

ओवरलोड InstanceIdentifier 3
InstanceIdentifier (InstanceIdentifier &&other) noexcept; SWS_CM_00053
InstanceIdentifier (const InstanceIdentifier &other) noexcept; SWS_CM_00056
explicit InstanceIdentifier (ara::core::StringView serializedFormat); SWS_CM_11521
~InstanceIdentifier फ़ंक्शन

Destructor

~InstanceIdentifier () noexcept;

मेथड

Create फ़ंक्शन

Exception-less construction of a ara::com::InstanceIdentifier

static InstanceIdentifier Create (ara::core::StringView serialized Format) noexcept;
toString फ़ंक्शन

Stringification method for ara::com::InstanceIdentifier

ara::core::StringView toString () const noexcept;

ऑपरेटर

operator< फ़ंक्शन

LessThan operator as per [lessthancomparable] in [30]

bool operator< (const InstanceIdentifier &other) const noexcept;
operator= फ़ंक्शन 2

Move assignment constructor

ओवरलोड = 2
InstanceIdentifier & operator= (InstanceIdentifier &&other) noexcept; SWS_CM_00054
InstanceIdentifier & operator= (const InstanceIdentifier &other) noexcept; SWS_CM_11525
operator== फ़ंक्शन

Equality operator as per [equalitycomparable] in [30]

bool operator== (const InstanceIdentifier &other) const noexcept;

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

फ़ंक्शन Create [SWS_CM_11520] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

static InstanceIdentifier Create (ara::core::StringView serialized Format) noexcept;

Exception-less construction of a ara::com::InstanceIdentifier

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

उपयोग

स्थैतिक फ़ंक्शन ara::com::InstanceIdentifier::Create ([SWS_CM_11520]) InstanceIdentifier को इंस्टेंटिएट करने के लिए एक अपवाद-मुक्त फ़ैक्टरी विधि का प्रतिनिधित्व करता है। यह एक समकालिक इनपुट पैरामीटर के रूप में प्रकार ara::core::StringView (serializedFormat) की एक स्ट्रिंग स्वीकार करता है और InstanceIdentifier का एक इंस्टेंस लौटाता है ([SWS_CM_11520])। क्रमबद्ध स्ट्रिंग का कंक्रीट प्रारूप मानकीकृत नहीं है, बल्कि संबंधित संचार प्रबंधन ड्राइवर द्वारा विक्रेता-विशिष्ट रूप से पूर्व-निर्धारित है ([SWS_CM_00088], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”)।

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

फ़ंक्शन को noexcept और अपवाद-सुरक्षित के रूप में निर्दिष्ट किया गया है ([SWS_CM_11520])। यदि पास की गई स्ट्रिंग दूषित, गैर-अनुपालनकारी या सिस्टम में डुप्लिकेट है, तो विनिर्देश उल्लंघन InvalidInstanceIdentifierStringViolation ([SWS_CM_11520]) को परिभाषित करता है। चूंकि हस्ताक्षर ara::core::Result जैसा कोई त्रुटि प्रकार नहीं लौटाता है, इसलिए उल्लंघन संभवतः प्लेटफ़ॉर्म-आंतरिक त्रुटि प्रबंधन या समाप्ति के माध्यम से इंटरसेप्ट किया जाएगा (व्याख्या)। प्रश्न Q-17a699ea15610637 (खुला)

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

एक ara::com::InstanceIdentifier सिस्टम ([SWS_CM_00302]) में समान सेवा प्रकार के विभिन्न इंस्टेंसेस की अद्वितीय पहचान और विभेदन के लिए कार्य करता है। कॉलर को यह सुनिश्चित करना चाहिए कि प्रदान की गई स्ट्रिंग एक वैध और सिस्टम-व्यापी अद्वितीय इंस्टेंस का प्रतिनिधित्व करती है, क्योंकि प्रतियों (duplicates) को स्पष्ट रूप से एक उल्लंघन माना जाता है ([SWS_CM_11520])।

इंटरैक्शन

उत्पन्न इंस्टेंस पहचानकर्ता विधि ToString() ([SWS_CM_11522]) से मेल खाता है, जिसके माध्यम से स्ट्रिंग प्रतिनिधित्व को फिर से पढ़ा जा सकता है ([SWS_CM_00088])। इसके अतिरिक्त, ऑब्जेक्ट का उपयोग समग्र सिस्टम में कंक्रीट सेवा इंस्टेंसेस को संबोधित करने के लिए किया जाता है ([SWS_CM_00302])।

यह उपयोग निर्देश एक AI द्वारा उत्पन्न किया गया था और यह विशेष रूप से विनिर्देश स्तर R25-11 पर आधारित है।

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

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidInstanceI- Given ara::com::InstanceIdentifier string is corrupted, dentifierStringVi- non-compliant or duplicated olation

Parameter (in)

ParameterBeschreibung
serializedFormatString form of an ara::com::InstanceIdentifier

Rückgabewert

TypBeschreibung
InstanceIdentifierAn ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11520
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11520@rel:R25-11#744f8122
Content hash
744f8122
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11520
Status: valid/unmigrated Version: rel:R25-11#eeb32462 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_11520@rel:R25-11#eeb32462
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1718d3472026-09-30
  • R24-11rel:R24-11#11e5a2e42026-10-14
  • R25-11rel:R25-11#eeb324622026-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

फ़ंक्शन InstanceIdentifier [SWS_CM_00053] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier (InstanceIdentifier &&other) noexcept;

Move Constructor

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

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier object to move

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

Record
AUTOSAR/AP/record/SWS_CM_00053
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00053@rel:R25-11#3eacdb07
Content hash
3eacdb07
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00053
Status: valid/unmigrated Version: rel:R25-11#caf5ba60 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_00053@rel:R25-11#caf5ba60
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d0a634282026-09-30
  • R24-11rel:R24-11#f1022a3d2026-10-14
  • R25-11rel:R25-11#caf5ba602026-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

फ़ंक्शन InstanceIdentifier [SWS_CM_00056] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier (const InstanceIdentifier &other) noexcept;

Copy Constructor

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

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier object to copy

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

Record
AUTOSAR/AP/record/SWS_CM_00056
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00056@rel:R25-11#0736e0c7
Content hash
0736e0c7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00056
Status: valid/unmigrated Version: rel:R25-11#e0c300a4 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_00056@rel:R25-11#e0c300a4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a442ca0c2026-09-30
  • R24-11rel:R24-11#91b5ff7c2026-10-14
  • R25-11rel:R25-11#e0c300a42026-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

फ़ंक्शन InstanceIdentifier [SWS_CM_11521] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

explicit InstanceIdentifier (ara::core::StringView serializedFormat);

Default Constructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitnot exception safe
Verletzungen (Violations)InvalidInstanceI- Given ara::com::InstanceIdentifier string is corrupted, dentifierStringVi- non-compliant or duplicated olation

Parameter (in)

ParameterBeschreibung
serializedFormatString form of an ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11521
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11521@rel:R25-11#c15bed75
Content hash
c15bed75
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11521
Status: valid/unmigrated Version: rel:R25-11#689a4afe 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_11521@rel:R25-11#689a4afe
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#818b98f02026-09-30
  • R24-11rel:R24-11#41eb409f2026-10-14
  • R25-11rel:R25-11#689a4afe2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator< [SWS_CM_11524] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

bool operator< (const InstanceIdentifier &other) const noexcept;

LessThan operator as per [lessthancomparable] in [30]

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

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

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to compare

Rückgabewert

TypBeschreibung
boolTRUE if other is less than *this, FALSE otherwise.

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

Record
AUTOSAR/AP/record/SWS_CM_11524
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11524@rel:R25-11#d6e03579
Content hash
d6e03579
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11524
Status: valid/unmigrated Version: rel:R25-11#77fab622 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_11524@rel:R25-11#77fab622
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#940d67392026-09-30
  • R24-11rel:R24-11#7d6989192026-10-14
  • R25-11rel:R25-11#77fab6222026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_CM_00054] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

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

Move assignment constructor

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

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to move

Rückgabewert

TypBeschreibung
InstanceIdentifier &New ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_00054
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00054@rel:R25-11#cf043c42
Content hash
cf043c42
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00054
Status: valid/unmigrated Version: rel:R25-11#f9cadc05 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_00054@rel:R25-11#f9cadc05
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#443a6cbd2026-09-30
  • R24-11rel:R24-11#fa7cfb922026-10-14
  • R25-11rel:R25-11#f9cadc052026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_CM_11525] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier & operator= (const InstanceIdentifier &other) noexcept;

Copy assignment constructor

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

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to copy

Rückgabewert

TypBeschreibung
InstanceIdentifier &New ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11525
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11525@rel:R25-11#f13114bf
Content hash
f13114bf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11525
Status: valid/unmigrated Version: rel:R25-11#197f0d66 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_11525@rel:R25-11#197f0d66
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#629783cf2026-09-30
  • R24-11rel:R24-11#abf0a0842026-10-14
  • R25-11rel:R25-11#197f0d662026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator== [SWS_CM_11523] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

bool operator== (const InstanceIdentifier &other) const noexcept;

Equality operator as per [equalitycomparable] in [30]

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

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

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to compare

Rückgabewert

TypBeschreibung
boolTRUE if other is equal to *this, FALSE otherwise.

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

Record
AUTOSAR/AP/record/SWS_CM_11523
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11523@rel:R25-11#9d516b96
Content hash
9d516b96
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11523
Status: valid/unmigrated Version: rel:R25-11#9145a6aa 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_11523@rel:R25-11#9145a6aa
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#50f237182026-09-30
  • R24-11rel:R24-11#035c45fb2026-10-14
  • R25-11rel:R25-11#9145a6aa2026-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

फ़ंक्शन toString [SWS_CM_11522] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

ara::core::StringView toString () const noexcept;

Stringification method for ara::com::InstanceIdentifier

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

विधि toString ara::com::InstanceIdentifier ([SWS_CM_11522]) के इंस्टेंसेस के लिए एक स्ट्रिंगिफ़िकेशन फ़ंक्शन के रूप में कार्य करती है, जिसका उपयोग सिस्टम में समान सेवा के विभिन्न इंस्टेंसेस को विशिष्ट रूप से अलग करने के लिए किया जाता है ([SWS_CM_00302], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”)।

उपयोग और रिटर्न मान

फ़ंक्शन हेडर #include "ara/com/service/instance_identifier.h" में घोषित किया गया है और इसे एक स्थिरांक ऑब्जेक्ट पर समकालिक रूप से और बिना पैरामीटर के कॉल किया जाता है ([SWS_CM_11522]):

  • रिटर्न मान: विधि इंस्टेंस पहचानकर्ता का पाठ्य प्रतिनिधित्व ara::core::StringView के रूप में लौटाती है ([SWS_CM_11522])।
  • प्रारूप: लौटाई गई स्ट्रिंग का प्रारूप संबंधित Communication-Management-Provider के लिए विक्रेता-विशिष्ट रूप से कार्यान्वित किया गया है और मानकीकृत नहीं है ([SWS_CM_00088])। वही प्रारूप स्ट्रिंग-आधारित कंस्ट्रक्टर द्वारा भी अपेक्षित है ([SWS_CM_11520], [SWS_CM_00088])।

त्रुटि हैंडलिंग और समवर्तीता

विधि को noexcept के रूप में परिभाषित किया गया है और इस प्रकार यह पूर्ण अपवाद सुरक्षा (exception safe) की गारंटी देती है ([SWS_CM_11522])। न तो अपवाद ट्रिगर किए जाते हैं और न ही त्रुटि कोड लौटाए जाते हैं। चूंकि रिटर्न प्रकार ara::core::StringView के पास संदर्भित मेमोरी का कोई स्वामित्व नहीं है, इसलिए डेटा की वैधता संभवतः InstanceIdentifier ऑब्जेक्ट के जीवनकाल से बंधी होगी। प्रश्न Q-51f5f18a79ebf3a4 (खुला)

इंटरैक्शन

ara::com::ServiceIdentifierType::toString के विपरीत, जिसे not exception safe के रूप में निर्दिष्ट किया गया है ([SWS_CM_11514]), InstanceIdentifier::toString सख्त अपवाद- और त्रुटि-मुक्तता की गारंटी देता है ([SWS_CM_11522])।

यह उपयोग निर्देश स्वचालित रूप से उत्पन्न किया गया था। सभी विवरण विनिर्देश द्वारा समर्थित हैं या स्पष्ट रूप से धारणा (assumption) के रूप में चिह्नित हैं।

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

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

Rückgabewert

TypBeschreibung
ara::core::StringViewString representation of a ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11522
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11522@rel:R25-11#d6c6ab2f
Content hash
d6c6ab2f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11522
Status: valid/unmigrated Version: rel:R25-11#5d231f17 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_11522@rel:R25-11#5d231f17
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cc1787472026-09-30
  • R24-11rel:R24-11#5eabc4232026-10-14
  • R25-11rel:R25-11#5d231f172026-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

फ़ंक्शन ~InstanceIdentifier [SWS_CM_00055] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

~InstanceIdentifier () noexcept;

Destructor

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

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

Record
AUTOSAR/AP/record/SWS_CM_00055
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00055@rel:R25-11#3e35e644
Content hash
3e35e644
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00055
Status: valid/unmigrated Version: rel:R25-11#0f00f6b7 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_00055@rel:R25-11#0f00f6b7
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b6686cab2026-09-30
  • R24-11rel:R24-11#e308d7272026-10-14
  • R25-11rel:R25-11#0f00f6b72026-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