تعداد ComErrc [SWS_CM_10432] Upstream: RS_AP_00130, RS_AP_00122, RS_AP_00127
enum class ComErrc : ara::core::ErrorDomain::CodeType {...};
Defines the error codes for the ara::com::ComErrorDomain
| Header-Datei | #include "ara/com/com_error_domain.h" |
|---|---|
| Forwarding-Header | #include "ara/com/com_fwd.h" |
| Scope | namespace ara::com |
| Symbol | ComErrc |
| Basistyp | ara::core::ErrorDomain::CodeType |
Werte
| Enumerator | Beschreibung |
|---|---|
| kServiceNotAvailable | =1 Service is not available after being previously offered via Offer |
| Service() | |
| kMaxSamplesExceeded | =2 Application holds more ara::com::SamplePtrs than commited in Subscribe() Samples were possibly skipped. |
| kCommunicationFailure | =3 The network binding reported a recoverable communications error or a secure communication failure |
| kFieldValueNotInitialized | =6 Field value has yet not been initialized via Update() (see [SWS_CM_00128] |
| kFieldSetHandlerNotSet | =7 Field SetHandler has not been registered via RegisterSet Handler() |
| kServiceNotOffered | = 11 Service has not yet been offered via OfferService() |
| kInstanceIDNotResolvable | = 15 The ara::core::InstanceSpecifier is valid but could not be resolved/mapped to an existing ara::com:: InstanceIdentifier |
| kMaxSampleCountNotRealizable | = 16 Provided maxSampleCount for event re-subscription does not match the maxSampleCount for the current subscription |
| kUnknownApplicationError | = 22 A remote service returned an unconfigured application error. |
| kMinimumSendIntervalViolationError | = 23 Minimum Send Interval violation, because a transmission request for a service instance element (event, field or method call) was issued faster than allowed, i.e., the configured minimum send interval ServiceInterfaceDeploymentElement. minimumSendInterval for the service instance element has not yet expired. |
وفقًا لـ [SWS_CM_10432]، يحدد التعداد ComErrc رموز الأخطاء المعيارية لـ ara::com::ComErrorDomain للأخطاء القابلة للاسترداد (Recoverable Errors) وفقًا لـ EXP ARAComAPI §2 «Recoverable Errors». ويتم نقله في أنواع الإرجاع مثل ara::core::Result أو ara::core::Future بواسطة واجهات برمجة التطبيقات (APIs) المتزامنة وغير المتزامنة لإدارة الاتصالات، وذلك للإشارة بدقة إلى أسباب الأخطاء الوظيفية في سياق العميل أو الخادم.
تغطي عناصر التعداد حالات أخطاء محددة على طول دورة حياة الخدمة ونقل البيانات:
- دورة حياة الخدمة والربط: تشير
kServiceNotOfferedإلى أن الخدمة لم يتم توفيرها بعد عبرOfferService()([SWS_CM_00101])، بينما تشيرkServiceNotAvailableإلى فقدانها المؤقت. وتحدثkInstanceIDNotResolvableعندما يتعذر حلInstanceSpecifier([SWS_CM_00118]). - اشتراكات الأحداث والعينات: تحذر
kMaxSamplesExceededمن تجاوز حصصSamplePtrالملتزم بها، وتبلغkMaxSampleCountNotRealizableعن قيم غير مناسبة عند إعادة الاشتراك عبر [SWS_CM_00141]. - الحقول والنقل: تشير
kFieldValueNotInitializedإلى نقص التهيئة قبلUpdate()([SWS_CM_00119])، وkFieldSetHandlerNotSetإلى عدم وجود معالج الضبط (Setter-Handler). وتؤدي مشكلات الشبكة المحلية، مثل إرسال المشغلات عبر [SWS_CM_00721]، إلىkCommunicationFailure([SWS_CM_10517]). علاوة على ذلك، تعاقبkMinimumSendIntervalViolationErrorانتهاكات معدل النبض وkUnknownApplicationErrorأخطاء الخادم غير المتوقعة ([SWS_CM_10432]).
كنوع تعداد محض، لا يمتلك ComErrc حالة خاصة به؛ ولذلك يُرجّح أن تكون عمليات القراءة والمقارنة لقيم الأخطاء آمنة بشكل متزامن في خيط المعالجة المستدعي. سؤال Q-013822ee5711df2b (مفتوح) ويقع التحقق الفعلي من الخطأ على عاتق التطبيق بعد تقييم كائن النتيجة المعني.
تم إنشاء هذا النص وتنسيقه بواسطة ذكاء اصطناعي.
دليل المنفِّذ قيد الإعداد (التعقيد I3)
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_10432- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_10432@rel:R25-11#818af268- Content hash
818af268- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10432
Status: valid/unmigrated
Version: rel:R25-11#a1bb25ac
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_10432@rel:R25-11#a1bb25ac
Recorded Revisions (8):
- R25-11
rel:R25-11#0540727f2026-09-30 - R19-11
rel:R19-11#e85687322026-10-14 - R20-11
rel:R20-11#d76a076f2026-10-14 - R21-11
rel:R21-11#bba466f32026-10-14 - R22-11
rel:R22-11#defb05652026-10-14 - R23-11
rel:R23-11#6109561d2026-10-14 - R24-11
rel:R24-11#75455b1d2026-10-14 - R25-11
rel:R25-11#a1bb25ac2026-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 · الأصل الألماني