फ़ंक्शन ResolveInstanceIDs [SWS_CM_00118] Upstream: RS_CM_00200, RS_AP_00114, RS_AP_00115, RS_AP_00120, RS_AP_00121, RS_AP_00119, RS_AP_00127, RS_AP_00137
ara::core::Result< ara::com::InstanceIdentifierContainer > Resolve InstanceIDs (ara::core::InstanceSpecifier metaModelIdentifier) noexcept;
Translates an ara::core::InstanceSpecifier to a ara::com:: InstanceIdentifierContainer. The length/size of the ara::com:: InstanceIdentifierContainer is relative to the number of matches.
नेमस्पेस ara::com::runtime ([SWS_CM_00118]) में सिंक्रोनस फ़ंक्शन ResolveInstanceIDs प्रकार ara::core::InstanceSpecifier के एक मॉडल-आधारित पहचानकर्ता को ठोस तकनीकी इंस्टेंस में हल करता है। परिणाम के रूप में, यह एक ara::core::Result<ara::com::InstanceIdentifierContainer> लौटाता है, जिसमें असाइन किए गए ara::com::InstanceIdentifier शामिल होते हैं (EXP ARAComAPI §4 “InstanceSpecifier Resolution”)।
कंटेनर कॉन्फ़िगर किए गए परिनियोजन (deployment) को दर्शाता है:
- एकल तत्व एक विशिष्ट तकनीकी बाइंडिंग के मानक मामले का प्रतिनिधित्व करता है।
- एकाधिक तत्व तब दिखाई देते हैं जब इंटीग्रेटर ने मल्टी-बाइंडिंग कॉन्फ़िगर की हो, उदाहरण के लिए सर्वर पक्ष पर वैकल्पिक बाइंडिंग या क्लाइंट-साइड फ़ेल-ओवर अवधारणाओं के लिए (EXP ARAComAPI §4 “InstanceSpecifier Resolution”)।
- एक खाली कंटेनर मैपिंग की कमी और इस प्रकार इंटीग्रेटर द्वारा कॉन्फ़िगरेशन त्रुटि को इंगित करता है (EXP ARAComAPI §4 “InstanceSpecifier Resolution”)।
त्रुटि के मामले में, ara::core::Result त्रुटि कोड ComErrc::kInstanceIDNotResolvable लौटाता है, यदि InstanceSpecifier औपचारिक रूप से वैध है, लेकिन किसी मौजूदा InstanceIdentifier को असाइन नहीं किया जा सका ([SWS_CM_00118])। फ़ंक्शन को noexcept और अपवाद-सुरक्षित घोषित किया गया है।
विशिष्ट अनुप्रयोग परिदृश्यों में, प्रत्यक्ष कॉल आवश्यक नहीं है, क्योंकि प्रॉक्सी और स्केलेटन एपीआई ऐसे ओवरलोड प्रदान करते हैं जो InstanceSpecifier को सीधे स्वीकार करते हैं (EXP ARAComAPI §4 “InstanceSpecifier Resolution”)। मैन्युअल समाधान मुख्य रूप से उन्नत परिदृश्यों के लिए कार्य करता है, जिनमें प्रौद्योगिकी-विशिष्ट InstanceIdentifier का आदान-प्रदान प्रक्रियाओं के पार किया जाता है या बाइंडिंग को विशेष रूप से चुना जाता है (EXP ARAComAPI §4 “InstanceSpecifier Resolution”)।
यह पाठ AUTOSAR विनिर्देश के आधार पर एक AI द्वारा तैयार किया गया था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)
| Header-Datei | #include "ara/com/runtime.h" |
|---|---|
| Scope | namespace ara::com::runtime |
| Exception-Sicherheit | exception safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| metaModelIdentifier | The ara::core::InstanceSpecifier to be translated. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result<ara::com::InstanceIdentifierContainer > | An ara::com::InstanceIdentifierContainer if successful, otherwise an error code indicating the error |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ComErrc::kInstanceIDNotResolvable | rollback_semantics The ara::core::InstanceSpecifier is valid but could not be resolved/mapped to an existing ara::com:: InstanceIdentifier |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_00118- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_00118@rel:R25-11#7aa760d8- Content hash
7aa760d8- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00118
Status: valid/unmigrated
Version: rel:R25-11#7fda17bf
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_00118@rel:R25-11#7fda17bf
Recorded Revisions (8):
- R25-11
rel:R25-11#0f70035f2026-09-30 - R19-11
rel:R19-11#f7400f912026-10-14 - R20-11
rel:R20-11#41c24bfc2026-10-14 - R21-11
rel:R21-11#29fd954c2026-10-14 - R22-11
rel:R22-11#e6a302622026-10-14 - R23-11
rel:R23-11#2a18d23a2026-10-14 - R24-11
rel:R24-11#09c394e82026-10-14 - R25-11
rel:R25-11#7fda17bf2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · जर्मन मूल