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 [SWS_CM_11510]. وهي تتيح للتطبيقات إدارة مُعرِّفات الخدمات ونسخها وفرزها، بالإضافة إلى إخراج النصوص لأغراض التسجيل عبر مفاهيم ومعاملات C++‎ القياسية SWS CommunicationManagement §8.10.1 «Class: ServiceIdentifierType». ويتم تحديد نوع التجسيد الملموس بواسطة موفر البرمجيات، مع تصنيف جميع الدوال الأعضاء المتوفرة وفقاً للمواصفة على أنها غير آمنة ضد الاستثناءات.

السياق

تُحدد الفئة ara::com::ServiceIdentifierType المُعرِّف الفريد لخدمة ما في Communication Management الخاص بـ AUTOSAR Adaptive Platform [SWS_CM_11510]. ويخضع نوع التجسيد الملموس لمُصنِّع برمجيات 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 يستخدم للإدارة وتسجيل السجلات

مخطط السياق: تضمين ServiceIdentifierType بين تنفيذ الموفر وواجهة الخدمة والتطبيق. المصادر: [SWS_CM_11510]، SWS CommunicationManagement §8.10.1، ص 319

دورة الحياة

يعمل ara::com::ServiceIdentifierType كمُعرِّف كنوع قيمة دون آلة حالة معقدة خاصة به. ويعتمد الإنشاء وتعيين القيمة على مفهوم C++‎ copyassignable، والذي يتم تنفيذه عبر معامل التعيين operator= [SWS_CM_11513]. يتيح ذلك نسخ مثيلات المُعرِّف وتمريرها داخلياً داخل التطبيق دون صعوبة.

تبقى الملكية إما استاتيكية عند تعريف الواجهة SWS CommunicationManagement ص. 319 أو كنسخة مستقلة ضمن نطاق مسؤولية التطبيق المستدعي. ولا توجد مراحل حياة أو انتقالات محددة وثابتة. ونظراً لأن جميع الدوال الأعضاء غير آمنة ضد الاستثناءات وفقاً للمواصفة، يُرجَّح ألا تكون تعيينات الكتابة المتزامنة على نفس المثيل آمنة خيطياً دون مزامنة خارجية بواسطة التطبيق. سؤال Q-f6569be429992e62 (مفتوح)

مسار الاستخدام

يشمل الاستخدام النموذجي لـ ara::com::ServiceIdentifierType الخطوات التالية:

  • الحصول والتعيين: يحصل التطبيق على المُعرِّف من واجهة الخدمة الاستاتيكية SWS CommunicationManagement ص. 319 ويُعيِّنه عبر تعيين النسخ operator= إلى متغير محلي أو بنية تخزين [SWS_CM_11513].
  • المقارنة والفرز: للتخزين في حاويات مرتبة أو ترابطية، توفر الفئة operator== وفقاً لـ equalitycomparable [SWS_CM_11511] بالإضافة إلى operator< وفقاً لـ lessthancomparable [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].

كشرط مسبق لعمليات المقارنة، يجب تهيئة المثيلات المشاركة بشكل صالح. ولا تمتلك ara::core::StringView المُرجعة من toString() ذاكرة خاصة بها؛ وبالتالي يُرجَّح أن تكون صلاحيتها مرتبطة بعمر المخزن المؤقت للذاكرة الأساسي أو المثيل (تفسير). سؤال 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#108c922d
Content hash
108c922d
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#824ecbc5
Content hash
824ecbc5
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#a885bed3
Content hash
a885bed3
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 · الأصل الألماني

تُنشئ الدالة العضو المتزامنة toString للفئة ara::com::ServiceIdentifierType تمثيلًا نصيًا لمعرّف الخدمة كـ 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 الأساسية، ولا يجوز إلغاء الإسناد بعد انتهائها.

في إطار التفاعل مع الواجهات ذات الصلة، توجد طريقة مماثلة toString لتحديد النسخة ara::com::InstanceIdentifier ([SWS_CM_11522]، SWS CommunicationManagement §8.8.1.1.3.4 «toString»). وعلى عكس تلك الدالة المحددة كـ noexcept والآمنة من الاستثناءات، لا يقدّم ServiceIdentifierType::toString أي ضمان للخلو من الاستثناءات ([SWS_CM_11514]، [SWS_CM_11522]).

تم إنشاء هذا النص بواسطة ذكاء اصطناعي ويستند حصريًا إلى بيانات المواصفات من 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#98952349
Content hash
98952349
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