DEENESPTFRRUARHIKOZHNL

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

[SWS_CM_11510] Upstream: RS_CM_00200, RS_CM_00500

class ServiceIdentifierType {...};

Specifies a Service Identifier The exact type may be overridden by the Communication Management software provider. but shall at least satisfy the [equalitycomparable] ([SWS_CM_11511]), [lessthancomparable] ([SWS_CM_11512]) and [copyassignable] ([SWS_CM_11513]) requirements as per [30] to allow for logging, storing and managing ara:: com::ServiceIdentifierTypes by the application.

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

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

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

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

Adaptive अनुप्रयोगों में प्रबंधन, सॉर्टिंग और लॉगिंग के लिए सेवाओं की विशिष्ट पहचान का कार्य करता है।

क्लास ara::com::ServiceIdentifierType AUTOSAR Adaptive Communication Management [SWS_CM_11510] में सेवाओं की विशिष्ट पहचान के लिए कार्य करती है। यह अनुप्रयोगों को सेवा पहचानकर्ताओं को प्रबंधित करने, कॉपी करने और सॉर्ट करने के साथ-साथ मानकीकृत C++ अवधारणाओं और ऑपरेटरों SWS CommunicationManagement §8.10.1 “Class: ServiceIdentifierType” के माध्यम से लॉगिंग उद्देश्यों के लिए टेक्स्ट आउटपुट प्रदान करने में सक्षम बनाती है। ठोस प्रकार का स्वरूप सॉफ्टवेयर प्रदाता द्वारा निर्दिष्ट किया जाता है, जिसमें विनिर्देश के अनुसार सभी प्रदान किए गए सदस्य फ़ंक्शन अपवाद-सुरक्षित नहीं (not exception safe) के रूप में वर्गीकृत हैं।

संदर्भ

क्लास ara::com::ServiceIdentifierType AUTOSAR Adaptive Platform [SWS_CM_11510] के Communication Management में किसी सेवा के विशिष्ट पहचानकर्ता को निर्दिष्ट करती है। ठोस प्रकार का स्वरूप Communication Management के संबंधित सॉफ्टवेयर निर्माता पर निर्भर करता है और इसे प्रदाता-विशिष्ट रूप से ओवरराइड किया जा सकता है SWS CommunicationManagement §8.10.1 “Class: ServiceIdentifierType”। ठोस सेवाओं के इंटरफ़ेस पर यह क्लास अन्य बातों के अलावा एक स्थिर स्थिरांक serviceIdentifier के रूप में प्रकट होती है SWS CommunicationManagement पृ. 319। अनुप्रयोग सॉफ्टवेयर इंस्टेंसेस को लॉग करने, संग्रहीत करने और प्रबंधित करने के लिए इस पहचानकर्ता का उपयोग करता है SWS CommunicationManagement §8.10.1 “Class: ServiceIdentifierType”।

Context Provider Communication Management Software Provider ServiceId ara::com::ServiceIdentifierType Provider->ServiceId परिभाषित / ओवरराइड करता है Service Service-Schnittstelle (serviceIdentifier) Service->ServiceId deklariert statische Instanz App Applikation App->ServiceId प्रबंधन और लॉगिंग के लिए उपयोग करता है

संदर्भ आरेख (Context diagram): प्रदाता कार्यान्वयन, सेवा इंटरफ़ेस और अनुप्रयोग के बीच ServiceIdentifierType का एकीकरण। स्रोत: [SWS_CM_11510], SWS CommunicationManagement §8.10.1, पृ. 319

जीवनचक्र

पहचानकर्ता के रूप में ara::com::ServiceIdentifierType बिना किसी अपनी जटिल अवस्था मशीन (state machine) के एक मान प्रकार (value type) के रूप में कार्य करता है। इसका निर्माण और मान असाइनमेंट C++ अवधारणा copyassignable पर आधारित है, जिसे असाइनमेंट ऑपरेटर operator= के माध्यम से कार्यान्वित किया जाता है [SWS_CM_11513]। इसके माध्यम से, पहचानकर्ता इंस्टेंसेस को बिना किसी समस्या के कॉपी किया जा सकता है और अनुप्रयोग के भीतर आगे भेजा जा सकता है।

स्वामित्व या तो इंटरफ़ेस परिभाषा SWS CommunicationManagement पृ. 319 पर स्थिर रूप से रहता है या कॉलिंग एप्लिकेशन के उत्तरदायित्व क्षेत्र में एक स्वतंत्र प्रतिलिपि के रूप में रहता है। निश्चित जीवन चक्र या संक्रमण परिभाषित नहीं हैं। चूंकि विनिर्देश के अनुसार सभी सदस्य फ़ंक्शन अपवाद-सुरक्षित नहीं हैं, इसलिए अनुप्रयोग द्वारा बाहरी सिंक्रोनाइज़ेशन के बिना एक ही इंस्टेंस पर समवर्ती राइट असाइनमेंट थ्रेड-सुरक्षित नहीं हो सकते हैं। प्रश्न Q-f6569be429992e62 (खुला)

उपयोग पथ

ara::com::ServiceIdentifierType के विशिष्ट उपयोग में निम्नलिखित चरण शामिल हैं:

  • प्राप्ति और असाइनमेंट: अनुप्रयोग स्थिर सेवा इंटरफ़ेस SWS CommunicationManagement पृ. 319 से पहचानकर्ता प्राप्त करता है और कॉपी असाइनमेंट operator= के माध्यम से इसे किसी स्थानीय चर या मेमोरी संरचना में असाइन करता है [SWS_CM_11513]।
  • तुलना और सॉर्टिंग: सॉर्ट किए गए या साहचर्य (associative) कंटेनरों में भंडारण के लिए, क्लास operator==, equalitycomparable के अनुसार [SWS_CM_11511] तथा lessthancomparable के अनुसार operator< [SWS_CM_11512] प्रदान करती है। इससे पहचानकर्ताओं की समानता की जांच की जा सकती है और उन्हें एक सख्त क्रम में व्यवस्थित किया जा सकता है।
  • निदान के लिए सीरियलाइज़ेशन: लॉगिंग और ट्रेस उद्देश्यों के लिए, विधि toString() ara::core::StringView [SWS_CM_11514] के रूप में एक टेक्स्ट प्रतिनिधित्व प्रदान करती है।

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

इंटरफ़ेस प्रकार ara::core::ErrorCode के किसी भी विशेष त्रुटि कोड या रिटर्न मान को परिभाषित नहीं करता है। सभी सदस्य फ़ंक्शन (operator=, operator<, operator==, toString) आवश्यकताओं में स्पष्ट रूप से not exception safe के रूप में वर्गीकृत हैं [SWS_CM_11511] [SWS_CM_11512] [SWS_CM_11513] [SWS_CM_11514]।

तुलना परिचालनों के लिए पूर्व शर्त के रूप में, शामिल इंस्टेंसेस का मान्य रूप से प्रारंभ (initialized) होना आवश्यक है। toString() द्वारा लौटाया गया ara::core::StringView अपनी स्वयं की मेमोरी नहीं रखता है; इसलिए इसकी वैधता अंतर्निहित मेमोरी बफर या इंस्टेंस के जीवनकाल से बंधी होने की संभावना है (व्याख्या)। प्रश्न Q-60373784c6a80c99 (खुला)

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

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

मेथड

1

ऑपरेटर

3

क्लास आरेख

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

G nara__com__ServiceIdentifierType24 ServiceIdentifierType + operator=() + operator<() + operator==() + toString()

विवरण दृश्य

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

मेथड

toString फ़ंक्शन

Stringification method for ara::com::ServiceIdentifierType

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

ऑपरेटर

operator< फ़ंक्शन

LessThan operator as per [lessthancomparable] in [30] LessThan operator as per [lessthancomparable] in [30]

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

Copy assignment constructor

ServiceIdentifierType & operator= (const ServiceIdentifierType &other);
operator== फ़ंक्शन

Equality operator as per [equalitycomparable] in [30]

bool operator== (const ServiceIdentifierType &other) const;

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

फ़ंक्शन operator< [SWS_CM_11512] Upstream: RS_CM_00200, RS_CM_00500

bool operator< (const ServiceIdentifierType &other) const;

LessThan operator as per [lessthancomparable] in [30] 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/service_identifier.h"
Scopeclass ara::com::ServiceIdentifierType
Exception-Sicherheitnot exception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::ServiceIdentifierType 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_11512
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11512@rel:R25-11#8ae2f7a8
Content hash
8ae2f7a8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11512
Status: valid/unmigrated Version: rel:R25-11#e5fa89ba 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_11512@rel:R25-11#e5fa89ba
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1c25fbcd2026-09-30
  • R24-11rel:R24-11#5a9cbdb02026-10-14
  • R25-11rel:R25-11#e5fa89ba2026-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_11513] Upstream: RS_CM_00200, RS_CM_00500

ServiceIdentifierType & operator= (const ServiceIdentifierType &other);

Copy assignment constructor

Header-Datei#include "ara/com/service/service_identifier.h"
Scopeclass ara::com::ServiceIdentifierType
Exception-Sicherheitnot exception safe

Parameter (in)

ParameterBeschreibung
otherara::com::ServiceIdentifierType to copy

Rückgabewert

TypBeschreibung
ServiceIdentifierType &New ara::com::ServiceIdentifierType

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

Record
AUTOSAR/AP/record/SWS_CM_11513
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11513@rel:R25-11#b41dd226
Content hash
b41dd226
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11513
Status: valid/unmigrated Version: rel:R25-11#5c10ce0a 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_11513@rel:R25-11#5c10ce0a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d0d051232026-09-30
  • R24-11rel:R24-11#311f46172026-10-14
  • R25-11rel:R25-11#5c10ce0a2026-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_11511] Upstream: RS_CM_00200, RS_CM_00500

bool operator== (const ServiceIdentifierType &other) const;

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/service_identifier.h"
Scopeclass ara::com::ServiceIdentifierType
Exception-Sicherheitnot exception safe

Parameter (in)

ParameterBeschreibung
otherara::com::ServiceIdentifierType 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_11511
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11511@rel:R25-11#163c16c7
Content hash
163c16c7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11511
Status: valid/unmigrated Version: rel:R25-11#278988fc 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_11511@rel:R25-11#278988fc
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#6cf83e6e2026-09-30
  • R24-11rel:R24-11#65c2c63e2026-10-14
  • R25-11rel:R25-11#278988fc2026-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_11514] Upstream: RS_CM_00200, RS_CM_00500

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

Stringification method for ara::com::ServiceIdentifierType

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

वर्ग ara::com::ServiceIdentifierType का तुल्यकालिक सदस्य फ़ंक्शन toString ara::core::StringView ([SWS_CM_11514], SWS CommunicationManagement §8.10.1.1.2.3 “toString”) के रूप में सेवा पहचानकर्ता का एक पाठ्य निरूपण उत्पन्न करता है। इसे हेडर #include "ara/com/service/service_identifier.h" के माध्यम से घोषित किया जाता है, यह कोई पैरामीटर स्वीकार नहीं करता है और ऑब्जेक्ट की स्थिति को संशोधित नहीं करता है ([SWS_CM_11514])।

त्रुटि सुरक्षा के संबंध में, विनिर्देश में फ़ंक्शन को स्पष्ट रूप से not exception safe के रूप में वर्गीकृत किया गया है ([SWS_CM_11514])। विशिष्ट त्रुटि कोड, त्रुटि रिटर्न मान या DET/DEM संदेश स्रोतों में निर्दिष्ट नहीं हैं; इसलिए कॉल करने वालों को ध्यान में रखना चाहिए कि कॉल के दौरान अपवाद हो सकते हैं।

चूंकि रिटर्न प्रकार ara::core::StringView के रूप में परिभाषित है, यह संभवतः पहचानकर्ता ऑब्जेक्ट के आंतरिक वर्ण डेटा को संदर्भित करता है। प्रश्न Q-54e93f60d3b6a2b4 (खुला) इसलिए प्रदान किए गए दृश्य की वैधता संभवतः अंतर्निहित ServiceIdentifierType इंस्टेंस के जीवनकाल से जुड़ी होती है और इसकी समाप्ति के बाद इसे आगे डीरेफरेंस नहीं किया जाना चाहिए।

संबंधित इंटरफेस के साथ संयोजन में, इंस्टेंस पहचान ara::com::InstanceIdentifier ([SWS_CM_11522], SWS CommunicationManagement §8.8.1.1.3.4 “toString”) के लिए एक समान विधि toString मौजूद है। उस फ़ंक्शन के विपरीत, जिसे noexcept और अपवाद-सुरक्षित के रूप में निर्दिष्ट किया गया है, ServiceIdentifierType::toString अपवाद-मुक्त होने की कोई गारंटी प्रदान नहीं करता है ([SWS_CM_11514], [SWS_CM_11522])।

यह पाठ AI द्वारा तैयार किया गया था और पूरी तरह से AUTOSAR R25-11 के विनिर्देश डेटा पर आधारित है।

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

Header-Datei#include "ara/com/service/service_identifier.h"
Scopeclass ara::com::ServiceIdentifierType
Exception-Sicherheitnot exception safe

Rückgabewert

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

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

Record
AUTOSAR/AP/record/SWS_CM_11514
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11514@rel:R25-11#c03af74a
Content hash
c03af74a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11514
Status: valid/unmigrated Version: rel:R25-11#00f1cc2e 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_11514@rel:R25-11#00f1cc2e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f8f8e1d02026-09-30
  • R24-11rel:R24-11#68f3452d2026-10-14
  • R25-11rel:R25-11#00f1cc2e2026-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