फ़ंक्शन 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
उपयोग
स्थैतिक फ़ंक्शन 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" |
|---|---|
| Scope | class ara::com::InstanceIdentifier |
| Exception-Sicherheit | exception safe |
| Verletzungen (Violations) | InvalidInstanceI- Given ara::com::InstanceIdentifier string is corrupted, dentifierStringVi- non-compliant or duplicated olation |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| serializedFormat | String form of an ara::com::InstanceIdentifier |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| InstanceIdentifier | An 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
Recorded Revisions (3):
- R25-11
rel:R25-11#1718d3472026-09-30 - R24-11
rel:R24-11#11e5a2e42026-10-14 - R25-11
rel:R25-11#eeb324622026-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 · जर्मन मूल