DEENESPTFRRUARHIKOZHNL

فئة ara::diag::DTCInformation

[SWS_DM_00657] Upstream: RS_Diag_04150, RS_Diag_04105

class DTCInformation final {...};

Class to implement operations on DTC informations per configured DiagnosticMemory Destination.

Header-Datei#include "ara/diag/dtc_information.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

دليل المستخدممولَّد بالذكاء الاصطناعي

يتيح مراقبة رموز أعطال التشخيص والاستعلام عن حالتها ومسحها لوجهة ذاكرة.
مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: a165a7d55aae المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

يتيح مراقبة رموز أعطال التشخيص والاستعلام عن حالتها ومسحها لوجهة ذاكرة.

تتيح الفئة ara::diag::DTCInformation للتطبيقات المتكيفة المراقبة المرتبطة بالحالة والاستعلام والتنظيف لرموز أعطال التشخيص (DTCs) لوجهة ذاكرة تشخيص مهيأة ([SWS_DM_00664]). وإلى جانب القراءة اللاتزامنية لبايت حالة UDS DTC والتحكم في حالة DTC، تدعم الفئة تسجيل عناصر إشعار مدفوعة بالأحداث بالإضافة إلى مسح إدخالات ذاكرة الأعطال عبر Clear ([SWS_DM_00671]). وتعد المثيلات غير قابلة للنسخ أو النقل، حيث تكون عمليات القراءة آمنة لخيوط المعالجة، في حين يجب مزامنة الدوال المعدلة وتسجيلات عناصر الإشعار.

السياق

توفر الفئة ara::diag::DTCInformation واجهات لإجراء عمليات على معلومات رموز الأعطال (Diagnostic Trouble Codes، DTCs) المرتبطة بوجهة ذاكرة تشخيص مهيأة (DiagnosticMemoryDestination) ([SWS_DM_00664]). وضمن AUTOSAR Adaptive Platform، تتوسط الفئة بين التطبيق المتكيف وDiagnostic Management (DM). ويتم الربط بواجهة التشخيص عند الإنشاء عبر ara::core::InstanceSpecifier، والذي يجب أن يشير إلى نموذج منفذ لـ DiagnosticDTCInformationInterface ([SWS_DM_00664]).

تتضمن المهام المركزية للفئة الاستعلام عن قيم حالة الأعطال مثل بايت حالة UDS DTC ([SWS_DM_00666])، وقراءة عدد إدخالات الأعطال المخزنة حاليًا ([SWS_DM_00669])، ومراقبة طفحان الذاكرة ([SWS_DM_00919])، بالإضافة إلى التحكم في تمكين DTC والاستعلام عن حالته في سياق خدمة UDS رقم 0x85 (ControlDTCSetting) ([SWS_DM_00672]، [SWS_DM_00674]). علاوة على ذلك، تتيح الفئة المسح المستهدف لرموز DTC الفردية أو مجموعات DTC الكاملة ([SWS_DM_00671]). وفيما يتعلق بنطاق الوظائف، توجد حدود محددة في Diagnostic Management: فوفقًا لـ AUTOSAR_AP_SWS_Diagnostics §4.1 «Limitations of sub-functions of 0x19 ReadDTCInformation»، لا يدعم DM كلًا من OBD/WWH-OBD ووظيفة Mirror Event Memory الخاصة بـ UDS.

DTCInformationContext Applikation Applikation DTCInformation DTCInformation Applikation->DTCInformation يتحكم ويستعلم DTCInformation->Applikation benachrichtigt per Notifier DiagnosticManagement DiagnosticManagement DTCInformation->DiagnosticManagement interagiert via Port DiagnosticManagement->DTCInformation meldet Statusaenderungen

مخطط السياق: التفاعل بين التطبيق المتكيف، ومثيل DTCInformation، وDiagnostic Management. المصادر: [SWS_DM_00664]، [SWS_DM_00666]، [SWS_DM_00667]

دورة الحياة

يتم إنشاء مثيل ara::diag::DTCInformation صراحةً عبر منشئه مع تمرير ara::core::InstanceSpecifier المصمم ([SWS_DM_00664]). وصُمم المنشئ ليكون آمنًا لخيوط المعالجة ([SWS_DM_00664]). وتمتلك الفئة دلالات فريدة صارمة: فمنشئ النسخ ([SWS_DM_01613]) ومنشئ النقل ([SWS_DM_01614]) بالإضافة إلى معامل تعيين النسخ ([SWS_DM_01611]) ومعامل تعيين النقل ([SWS_DM_01612]) محذوفة (=delete). وبذلك يبقى المثيل ثابتًا في موقع إنشائه ولا يمكن نسخه أو نقله. بالإضافة إلى ذلك، لا يجوز إنشاء مثيل لنفس InstanceSpecifier عدة مرات لكل عملية ([SWS_DM_00664]).

يتم الإتلاف عبر الهادم ~DTCInformation() ([SWS_DM_00665]). الهادم ليس آمنًا لخيوط المعالجة ([SWS_DM_00665]). وفيما يتعلق بالتزامن، تفرق الفئة بين عمليات القراءة والتعديل: فالاستعلامات البحتة مثل GetCurrentStatus ([SWS_DM_00666])، وGetNumberOfStoredEntries ([SWS_DM_00669])، وGetControlDTCStatus ([SWS_DM_00672])، وGetEventMemoryOverflow ([SWS_DM_00919]) تعد آمنة لخيوط المعالجة. وفي المقابل، فإن العمليات المعدلة مثل Clear ([SWS_DM_00671]) وEnableControlDtc ([SWS_DM_00674]) وجميع دوال تسجيل عناصر الإشعار ليست آمنة لخيوط المعالجة ([SWS_DM_00667]، [SWS_DM_00668]، [SWS_DM_00670]، [SWS_DM_00673]، [SWS_DM_00918]).

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

تنقسم حالة الاستخدام النموذجية إلى المراحل التالية:

  1. إنشاء المثيل: يهيئ التطبيق الكائن مع تحديد InstanceSpecifier المناسب ([SWS_DM_00664]).
  2. تهيئة دالة رد النداء: يسجل التطبيق عناصر إشعار للمراقبة الموجهة بالأحداث. وتتوفر دوال رد نداء لتغيرات حالة DTC (SetDTCStatusChangedNotifier مع DtcStatusChangedNotifier) ([SWS_DM_00667]، [SWS_DM_02122])، وتحديثات سجلات اللقطات (SetSnapshotRecordUpdatedNotifier مع SnapshotRecordUpdatedTypeNotifier) ([SWS_DM_00668]، [SWS_DM_02123])، والتغيرات في عدد إدخالات الأعطال (SetNumberOfStoredEntriesNotifier مع NumberOfStoredEntriesNotifier) ([SWS_DM_00670]، [SWS_DM_02124])، والتغيرات في حالة ControlDTC (SetControlDtcStatusNotifier مع ControlDtcStatusTypeNotifier) ([SWS_DM_00673]، [SWS_DM_02125])، بالإضافة إلى حالات طفحان الذاكرة (SetEventMemoryOverflowNotifier مع EventMemoryOverflowSetNotifier) ([SWS_DM_00918]، [SWS_DM_02076]). وتتجاوز الاستدعاءات اللاحقة دوال رد النداء المسجلة سابقًا؛ ويُرجح إجراء عمليات التسجيل هذه مجمعة بصورة مفضلة في مرحلة التهيئة. سؤال Q-d7665d8d5229a47b (مفتوح)
  3. استعلامات الحالة: يمكن للتطبيق استرداد معلومات DTC في أي وقت. ويعيد استدعاء GetCurrentStatus(dtc) كائن ara::core::Future<UdsDtcStatusByteType> ([SWS_DM_00666]). وبصورة تكميلية، تتوفر GetNumberOfStoredEntries() ([SWS_DM_00669]) وGetControlDTCStatus() ([SWS_DM_00672]) لا تزامنيًا عبر Future، بالإضافة إلى GetEventMemoryOverflow() ([SWS_DM_00919]) تزامنيًا عبر ara::core::Result<bool>.
  4. تنظيف ذاكرة الأعطال والتحكم: يبدأ التطبيق مسح رموز الأعطال عبر Clear(dtcGroup)، مما يوفر ara::core::Future<void> لا تزامنيًا ([SWS_DM_00671]). وإذا كان سيُعاد تمكين تعيين DTCs، ينشط EnableControlDtc() حالة ControlDTC ([SWS_DM_00674]).
سير العمل النموذجي للتفاعل مع DTCInformationApplikationDTCInformationDiagnostic ManagementDTCInformation(specifier)PortPrototype bindenBereitInstanz erzeugtSetDTCStatusChangedNotifier(notifier)Result<void>GetCurrentStatus(dtc)Status ermittelnUdsDtcStatusByteFuture<UdsDtcStatusByteType> readiedClear(dtcGroup)Fehlerspeicher loeschenBestaetigungFuture<void> readied

مخطط تسلسلي: المسار النموذجي لإنشاء المثيل، وتسجيل عناصر الإشعار، والاستعلام عن الحالة، ومسح الأعطال. المصادر: [SWS_DM_00664]، [SWS_DM_00667]، [SWS_DM_00666]، [SWS_DM_00671]

سيناريوهات الأخطاء

حُددت احتمالات الأخطاء التالية عند التعامل مع ara::diag::DTCInformation:

  • انتهاكات التهيئة عند الإنشاء: يؤدي ربط النموذج غير المكتمل أو الخاطئ إلى حدوث انتهاكات محددة ([SWS_DM_00664]):
    • InstanceSpecifierMappingIntegrityViolation: يتعذر حل المعرّف في سياق الملف القابل للتنفيذ أو أنه لا يشير إلى PortPrototype.
    • PortInterfaceMappingViolation: لم يتم تصنيف PortPrototype كـ DiagnosticDTCInformationInterface.
    • ProcessMappingViolation: لا توجد عملية مصممة مناسبة في وقت التشغيل.
    • InstanceSpecifierAlreadyInUseViolation: الـ InstanceSpecifier مستخدم بالفعل بواسطة مثيل آخر في العملية الجارية.
  • أخطاء وقت التشغيل أثناء الاستعلامات وتنظيف الذاكرة:
    • DiagErrc::kServiceNotAvailable: الوظائف الأساسية لـ Diagnostic Management غير متوفرة مؤقتًا؛ ويحدث ذلك مع GetCurrentStatus ([SWS_DM_00666])، وGetNumberOfStoredEntries ([SWS_DM_00669])، وGetControlDTCStatus ([SWS_DM_00672])، وGetEventMemoryOverflow ([SWS_DM_00919])، وClear ([SWS_DM_00671]).
    • DiagErrc::kNoSuchDTC: لا يوجد DTC مخصص للحدث المطلوب ([SWS_DM_00666]).
    • DiagErrc::kWrongDtc: تم تمرير رقم DTC غير صالح عند Clear ([SWS_DM_00671]).
    • DiagErrc::kBusy: الواجهة لا تزال مشغولة بمعالجة سابقة ([SWS_DM_00671]).
    • DiagErrc::kMemoryError أو DiagErrc::kFailed: أخطاء أثناء الوصول إلى ذاكرة الأعطال المادية أو أخطاء معالجة عامة أثناء Clear ([SWS_DM_00671]).
  • معاملات غير صالحة عند تسجيل عناصر الإشعار: تفشل الدوال SetSnapshotRecordUpdatedNotifier ([SWS_DM_00668])، وSetNumberOfStoredEntriesNotifier ([SWS_DM_00670])، وSetControlDtcStatusNotifier ([SWS_DM_00673])، وSetEventMemoryOverflowNotifier ([SWS_DM_00918]) مع DiagErrc::kInvalidArgument في حال تمرير مؤشر دالة أو معامل غير مسموح به.

يستند هذا الدليل إلى مواصفة AUTOSAR Adaptive R25-11 للوحدة diag ويلخص المتطلبات الخاصة بـ ara::diag::DTCInformation.

خريطة الأعضاء

مخطط الفئة

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

G nara__diag__DTCInformation53 DTCInformation + DTCInformation() + operator=() + ~DTCInformation() + Clear() + EnableControlDtc() + GetControlDTCStatus() + GetCurrentStatus() + GetEventMemoryOverflow() + GetNumberOfStoredEntries() + SetControlDtcStatusNotifier() + SetDTCStatusChangedNotifier() + SetEventMemoryOverflowNotifier() + SetNumberOfStoredEntriesNotifier() + SetSnapshotRecordUpdatedNotifier()

عرض التفاصيل

اختر عنصرًا من المخطط.

المُنشئات والمُتلف

DTCInformation دالة 3

Constructor for a DTCInformation instance which allows for DTC related operation per DiagnosticMemoryDestination.

التحميلات الزائدة DTCInformation 3
explicit DTCInformation (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_00664
DTCInformation (DTCInformation &)=delete; SWS_DM_01613
DTCInformation (DTCInformation &&) noexcept=delete; SWS_DM_01614

Destructor of class DTCInformation.

~DTCInformation () noexcept;

الدوال الأعضاء

Clear دالة

Method for Clearing a DTC or a group of DTCs.

ara::core::Future< void > Clear (std::uint32_t dtcGroup) noexcept;

Triggers a setting of ControlDTCStatus to enabled in case the application has some conditions or states demands to do so. The control DTC setting state might be set to enabled only after this API has returned.

ara::core::Result< void > EnableControlDtc () noexcept;

Contains the current status of the ControlDTCStatus.

ara::core::Future< ControlDtcStatusType > GetControlDTCStatus () noexcept;

Retrieves the current UDS DTC status byte of the given DTC identifier.

ara::core::Future< UdsDtcStatusByteType > GetCurrentStatus (std::uint32_t dtc) noexcept;

Contains the current event memory overflow status.

ara::core::Result< bool > GetEventMemoryOverflow () noexcept;

Contains the number of currently stored fault memory entries.

ara::core::Future< std::uint32_t > GetNumberOfStoredEntries () noexcept;

Registers a notifier function which is called if the control DTC setting is changed. A consecutive call of this method will overwrite the previous registered notifier.

ara::core::Result< void > SetControlDtcStatusNotifier (ControlDtc StatusTypeNotifier notifier) noexcept;

Register a notifier function which is called if a UDS DTC status is changed. A consecutive call of this method will overwrite the previous registered notifier.

ara::core::Result< void > SetDTCStatusChangedNotifier (DtcStatus ChangedNotifier notifier) noexcept;

Register a notifier function which is called if the current event memory overflow status changed. A consecutive call of this method will overwrite the previous registered notifier.

ara::core::Result< void > SetEventMemoryOverflowNotifier (EventMemory OverflowSetNotifier notifier) noexcept;

Register a notifier function which is called if the number of currently stored fault memory entries changed. A consecutive call of this method will overwrite the previous registered notifier.

ara::core::Result< void > SetNumberOfStoredEntriesNotifier (NumberOf StoredEntriesNotifier notifier) noexcept;

Register a notifier function which is called if the SnapshotRecord is changed. A consecutive call of this method will overwrite the previous registered notifier.

ara::core::Result< void > SetSnapshotRecordUpdatedNotifier (Snapshot RecordUpdatedTypeNotifier notifier) noexcept;

المعاملات

operator= دالة 2

DTCInformation shall be a single not assignable instance.

التحميلات الزائدة = 2

أسماء الأنواع البديلة

ControlDtcStatusTypeNotifier اسم نوع بديل

Registers a notifier function which is called if the control DTC setting is changed.

using ControlDtcStatusTypeNotifier = std::function<void(ControlDtc StatusType)>;
DtcStatusChangedNotifier اسم نوع بديل

Register a notifier function which is called if a UDS DTC status is changed.

using DtcStatusChangedNotifier = std::function<void(std::uint32_t dtc, UdsDtcStatusByteType udsStatusByteOld, UdsDtcStatusByteType udsStatus ByteNew)>;
EventMemoryOverflowSetNotifier اسم نوع بديل

Notifier function which is called if the current event memory overflow status changed.

using EventMemoryOverflowSetNotifier = std::function<void(bool)>;
NumberOfStoredEntriesNotifier اسم نوع بديل

Register a notifier function which is called if the number of currently stored fault memory entries changed.

using NumberOfStoredEntriesNotifier = std::function<void(std::uint32_ t)>;
SnapshotRecordUpdatedTypeNotifier اسم نوع بديل

Register a notifier function which is called if the SnapshotRecord is changed.

using SnapshotRecordUpdatedTypeNotifier = std::function<void(Snapshot RecordUpdatedType)>;

الأنواع المضمنة

توثيق الدوال

دالة Clear [SWS_DM_00671] Upstream: RS_AP_00119, RS_AP_00139, RS_Diag_04194

ara::core::Future< void > Clear (std::uint32_t dtcGroup) noexcept;

Method for Clearing a DTC or a group of DTCs.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 99369a404985 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الدالة Clear للفئة ara::diag::DTCInformation ([SWS_DM_00671]) لحذف DTC فردي أو مجموعة DTC في ذاكرة الأخطاء (AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.6 «Service 0x14 – ClearDiagnosticInformation»). وتستقبل كمعلمة عبر dtcGroup معرّف المجموعة أو الـ DTC المراد حذفه، وتُرجع النتيجة بشكل غير متزامن كـ ara::core::Future<void> ([SWS_DM_00671]). وتخضع صلاحية حذف الـ DTCs الفردية أو المجموعات لمعلمات التكوين مثل clearDtcLimitation ([SWS_DM_00160]).

معالجة الأخطاء والدلالة

تم التصريح عن الدالة كـ noexcept وتُبلغ عن الأخطاء بشكل غير متزامن عبر Future بدلالة التراجع ([SWS_DM_00671]). رموز الأخطاء المحتملة من DiagErrc هي:

  • DiagErrc::kBusy: الواجهة مشغولة بالفعل بمعالجة أخرى.
  • DiagErrc::kFailed: حدث خطأ معالجة عام أثناء التنفيذ.
  • DiagErrc::kMemoryError: حدث خطأ في الذاكرة أثناء المعالجة.
  • DiagErrc::kWrongDtc: تم تمرير رقم DTC غير صالح.
  • DiagErrc::kServiceNotAvailable: الوظائف الأساسية لـ Diagnostic Manager غير متوفرة حاليًا.

التزامن والتمييز

الدالة آمنة من الاستثناءات (exception safe)، غير أنها مصنفة صراحة بأنها not thread-safe ([SWS_DM_00671]). ولذلك يجب على المتصل مزامنة الاستدعاءات المتوازية على النسخة نفسها، وإلا فهناك خطر حدوث DiagErrc::kBusy. تفسير: من المحتمل ألا يتم استيفاء ara::core::Future المرجع إلا بعد إخلاء ذاكرة الأخطاء المادية بالكامل، على نحو مماثل لتأكيد خدمة UDS ذات الرمز 0x14 ([SWS_DM_00162]). سؤال Q-b97545b6864b24aa (مفتوح)

من حيث الوظيفة، يجب تمييز هذه العملية عن دوال SOVD التي تحمل الاسم نفسه: فبينما يفرغ ara::diag::DiagnosticSovdContentElementDataView::Clear ([SWS_DM_02233]) حاويات البيانات بشكل متزامن وآمن للخيوط، تتحكم هذه الدالة في تسلسلات التشخيص في Diagnostic Management.

تم تنظيم ملاحظة الاستخدام هذه بواسطة ذكاء اصطناعي وتستند حصريًا إلى مقتطفات مواصفات AUTOSAR AP الإصدار R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe DiagErrc::kBusy rollback_semantics

Parameter (in)

ParameterBeschreibung
dtcGroupDTC group to be cleared.

Rückgabewert

TypBeschreibung
ara::core::Future< void >void or errors

Fehler

FehlercodeBeschreibung
Interface is busy with processing.
DiagErrc::kFailedrollback_semantics Failed to process.
DiagErrc::kMemoryErrorrollback_semantics A memory error occurred during processing.
DiagErrc::kWrongDtcrollback_semantics A wrong DTC number was requested.
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

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

Record
AUTOSAR/AP/record/SWS_DM_00671
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00671@rel:R25-11#82c87b28
Content hash
82c87b28
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00671
Status: valid/unmigrated Version: rel:R25-11#5f2d812c 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_DM_00671@rel:R25-11#5f2d812c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#eeae02f92026-09-30
  • R19-11rel:R19-11#51e8d4512026-10-14
  • R20-11rel:R20-11#a949cf792026-10-14
  • R21-11rel:R21-11#a949cf792026-10-14
  • R22-11rel:R22-11#a1f423932026-10-14
  • R23-11rel:R23-11#cc3a92472026-10-14
  • R24-11rel:R24-11#ee42b6492026-10-14
  • R25-11rel:R25-11#5f2d812c2026-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

دالة DTCInformation [SWS_DM_00664] Upstream: RS_AP_00137, RS_Diag_04150, RS_Diag_04105, RS_AP_00170, RS_ AP_00171, RS_AP_00172, RS_AP_00173

explicit DTCInformation (const ara::core::InstanceSpecifier &specifier) noexcept;

Constructor for a DTCInformation instance which allows for DTC related operation per DiagnosticMemoryDestination.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticMemoryDestinationPortMapping needs to be typed by a DiagnosticDTCInformationInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype of a DiagnosticDTCInformationInterface.

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

Record
AUTOSAR/AP/record/SWS_DM_00664
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00664@rel:R25-11#5513db4b
Content hash
5513db4b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00664
Status: valid/unmigrated Version: rel:R25-11#9209c292 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_DM_00664@rel:R25-11#9209c292
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ee0cae732026-09-30
  • R19-11rel:R19-11#50771b7a2026-10-14
  • R20-11rel:R20-11#e53281312026-10-14
  • R21-11rel:R21-11#e53281312026-10-14
  • R22-11rel:R22-11#eccf83b62026-10-14
  • R23-11rel:R23-11#c51e5b242026-10-14
  • R24-11rel:R24-11#18239ea62026-10-14
  • R25-11rel:R25-11#9209c2922026-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

دالة DTCInformation [SWS_DM_01613] Upstream: RS_AP_00147

DTCInformation (DTCInformation &)=delete;

DTCInformation shall be a single not copy-able instance.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation

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

Record
AUTOSAR/AP/record/SWS_DM_01613
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01613@rel:R25-11#5f523600
Content hash
5f523600
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01613
Status: valid/unmigrated Version: rel:R25-11#7e9f5081 Versionshistorie & Revisions (1 transition, 4 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_DM_01613@rel:R25-11#7e9f5081
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#785983632026-09-30
  • R23-11rel:R23-11#ff1af2512026-10-14
  • R24-11rel:R24-11#7e9f50812026-10-14
  • R25-11rel:R25-11#7e9f50812026-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

دالة DTCInformation [SWS_DM_01614] Upstream: RS_AP_00147

DTCInformation (DTCInformation &&) noexcept=delete;

Move constructor of DTCInformation.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation

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

Record
AUTOSAR/AP/record/SWS_DM_01614
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01614@rel:R25-11#f91cd288
Content hash
f91cd288
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01614
Status: valid/unmigrated Version: rel:R25-11#da7c5f5f Versionshistorie & Revisions (1 transition, 4 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_DM_01614@rel:R25-11#da7c5f5f
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#42fc1a672026-09-30
  • R23-11rel:R23-11#f9e90d0c2026-10-14
  • R24-11rel:R24-11#da7c5f5f2026-10-14
  • R25-11rel:R25-11#da7c5f5f2026-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

دالة EnableControlDtc [SWS_DM_00674] Upstream: RS_AP_00139, RS_Diag_04159

ara::core::Result< void > EnableControlDtc () noexcept;

Triggers a setting of ControlDTCStatus to enabled in case the application has some conditions or states demands to do so. The control DTC setting state might be set to enabled only after this API has returned.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: ae09dbccd3ab المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تُستخدم الدالة ara::diag::DTCInformation::EnableControlDtc ([SWS_DM_00674]) من قِبل تطبيق مراقبة لإعادة تمكين تسجيل وتخزين رموز أخطاء التشخيص (DTCs) في Diagnostic Server. ويتم الاستدعاء بدون معاملات وبشكل متزامن عبر نسخة من الفئة ara::diag::DTCInformation من ملف الترويسة ara/diag/dtc_information.h. وترجع الدالة ara::core::Result<void> كقيمة إرجاع.

التفاعل والدلالة

إذا تم إلغاء تفعيل إعداد DTC مسبقاً، على سبيل المثال عبر خدمة UDS المسماة ControlDTCSetting (0x85) مع الدالة الفرعية 0x02 (OFF)، ([SWS_DM_00910])، فإن استدعاء EnableControlDtc يوجه Diagnostic Server وفقاً لـ [SWS_DM_00811] لاتخاذ الخطوات التالية:

  • إعادة تمكين تحديث بايت حالة UDS DTC،
  • تمكين تخزين الأخطاء في ذاكرة الأحداث الأساسية وكذلك في ذواكر الأحداث المخصصة المتأثرة،
  • تحديث ara::diag::ControlDtcStatusType إلى kDTCSettingOn.

تفسير: قد لا يتم تعيين الحالة إلى مُمكَّن إلا بعد عودة استدعاء الدالة (AP SWS Diagnostics §8.48.2.2.3.2 «EnableControlDtc»)، ولهذا السبب لا يجوز للمستدعين افتراض حدوث تغيير فوري وإلزامي للحالة أثناء التنفيذ. سؤال Q-8bfa0436f6ab98b9 (مفتوح)

معالجة الأخطاء والتزامن

الواجهة معلنة كـ noexcept، وتعد آمنة من حيث الاستثناءات (exception safe) ولا تحدد أي رموز خطأ قياسية معينة ([SWS_DM_00674]). وفيما يتعلق بالتزامن، تم تحديد الدالة على أنها ليست آمنة من حيث الخيوط (not thread-safe). وبالتالي، يجب مزامنة عمليات الوصول المتوازية إلى النسخة نفسها من قِبل التطبيق المستدعي.

تم إنشاء ملاحظة الاستخدام هذه بصورة آلية استناداً إلى المواصفة ولا تغني عن الفحص المفصل لمعيار AUTOSAR.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns void.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_00674
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00674@rel:R25-11#da86304c
Content hash
da86304c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00674
Status: valid/unmigrated Version: rel:R25-11#e45d9b89 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_DM_00674@rel:R25-11#e45d9b89
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#40671c292026-09-30
  • R19-11rel:R19-11#e1f8ab582026-10-14
  • R20-11rel:R20-11#9161618d2026-10-14
  • R21-11rel:R21-11#5a7fc00d2026-10-14
  • R22-11rel:R22-11#8925d3542026-10-14
  • R23-11rel:R23-11#488eca7f2026-10-14
  • R24-11rel:R24-11#784981982026-10-14
  • R25-11rel:R25-11#e45d9b892026-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

دالة GetControlDTCStatus [SWS_DM_00672] Upstream: RS_AP_00139, RS_Diag_04159

ara::core::Future< ControlDtcStatusType > GetControlDTCStatus () noexcept;

Contains the current status of the ControlDTCStatus.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Future<ControlDtcStatusType >The current status of ControlDtcStatus (related to UDS service 0x85)

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

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

Record
AUTOSAR/AP/record/SWS_DM_00672
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00672@rel:R25-11#b9e63378
Content hash
b9e63378
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00672
Status: valid/unmigrated Version: rel:R25-11#a2def35b 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_DM_00672@rel:R25-11#a2def35b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c7ee7aea2026-09-30
  • R19-11rel:R19-11#f21334142026-10-14
  • R20-11rel:R20-11#294229e72026-10-14
  • R21-11rel:R21-11#294229e72026-10-14
  • R22-11rel:R22-11#1fc240372026-10-14
  • R23-11rel:R23-11#4d0b71d22026-10-14
  • R24-11rel:R24-11#9273d1142026-10-14
  • R25-11rel:R25-11#a2def35b2026-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

دالة GetCurrentStatus [SWS_DM_00666] Upstream: RS_AP_00139

ara::core::Future< UdsDtcStatusByteType > GetCurrentStatus (std::uint32_t dtc) noexcept;

Retrieves the current UDS DTC status byte of the given DTC identifier.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
dtcDTC identifier for which the status should be retrieved.

Rückgabewert

TypBeschreibung
ara::core::Future< UdsDtcStatusByteType >A Future which is readied with current UDS DTC status byte of the given DTC identifier or an internal error code.

Fehler

FehlercodeBeschreibung
DiagErrc::kNoSuchDTCrollback_semantics No mapped DTC exits for the requested event.
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

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

Record
AUTOSAR/AP/record/SWS_DM_00666
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00666@rel:R25-11#cddcff5e
Content hash
cddcff5e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00666
Status: valid/unmigrated Version: rel:R25-11#4720f9ce 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_DM_00666@rel:R25-11#4720f9ce
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#cab37c252026-09-30
  • R19-11rel:R19-11#2b133ce82026-10-14
  • R20-11rel:R20-11#5cb3c7cb2026-10-14
  • R21-11rel:R21-11#5cb3c7cb2026-10-14
  • R22-11rel:R22-11#a6d6ac922026-10-14
  • R23-11rel:R23-11#5e0834612026-10-14
  • R24-11rel:R24-11#278b05692026-10-14
  • R25-11rel:R25-11#4720f9ce2026-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

دالة GetEventMemoryOverflow [SWS_DM_00919] Upstream: RS_AP_00139, RS_Diag_04093

ara::core::Result< bool > GetEventMemoryOverflow () noexcept;

Contains the current event memory overflow status.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< bool >Current status of event memory overflow.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

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

Record
AUTOSAR/AP/record/SWS_DM_00919
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00919@rel:R25-11#a4079e9b
Content hash
a4079e9b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00919
Status: valid/unmigrated Version: rel:R25-11#6a28b81d Versionshistorie & Revisions (1 transition, 7 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_DM_00919@rel:R25-11#6a28b81d
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#fd3d5cef2026-09-30
  • R20-11rel:R20-11#bc4e55fb2026-10-14
  • R21-11rel:R21-11#4d41e6ba2026-10-14
  • R22-11rel:R22-11#a5aec1ca2026-10-14
  • R23-11rel:R23-11#6b21d4342026-10-14
  • R24-11rel:R24-11#ed9c77032026-10-14
  • R25-11rel:R25-11#6a28b81d2026-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

دالة GetNumberOfStoredEntries [SWS_DM_00669] Upstream: RS_AP_00139, RS_Diag_04109

ara::core::Future< std::uint32_t > GetNumberOfStoredEntries () noexcept;

Contains the number of currently stored fault memory entries.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Future<std::uint32_t >Number of currently stored fault memory entries.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

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

Record
AUTOSAR/AP/record/SWS_DM_00669
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00669@rel:R25-11#7c0b4830
Content hash
7c0b4830
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00669
Status: valid/unmigrated Version: rel:R25-11#92925d4f 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_DM_00669@rel:R25-11#92925d4f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#979b7c2a2026-09-30
  • R19-11rel:R19-11#ff0767122026-10-14
  • R20-11rel:R20-11#fc6a2e8d2026-10-14
  • R21-11rel:R21-11#693bfdcb2026-10-14
  • R22-11rel:R22-11#4b600d7b2026-10-14
  • R23-11rel:R23-11#1f26b60f2026-10-14
  • R24-11rel:R24-11#3280c0132026-10-14
  • R25-11rel:R25-11#92925d4f2026-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

دالة SetControlDtcStatusNotifier [SWS_DM_00673] Upstream: RS_AP_00139, RS_Diag_04159

ara::core::Result< void > SetControlDtcStatusNotifier (ControlDtc StatusTypeNotifier notifier) noexcept;

Registers a notifier function which is called if the control DTC setting is changed. A consecutive call of this method will overwrite the previous registered notifier.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: a49d9f0f68f5 المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام وسياق الاستدعاء

تنتمي الدالة SetControlDtcStatusNotifier إلى الفئة ara::diag::DTCInformation ويتم تضمينها عبر الترويسة ara/diag/dtc_information.h [SWS_DM_00673]. وتُستخدم لتسجيل دالة رد نداء من جانب التطبيق من النوع ControlDtcStatusTypeNotifier [SWS_DM_00673]. يُستدعى هذا المنبه عندما يتغير ControlDTCStatus لمثيل ذاكرة التشخيص المعني، والمرتبط بخدمة UDS ذات الرمز 0x85 (ControlDTCSetting) [SWS_DM_00673]. يؤدي الاستدعاء المتكرر للدالة إلى استبدال المنبه المسجل سابقًا [SWS_DM_00673].

معالجة الأخطاء وقيم الإرجاع

يُستخدم ara::core::Result<void> كنوع إرجاع [SWS_DM_00673]. وفي حالة النجاح، لا تُرجع الدالة أي قيمة، بينما يتم توفير كود خطأ في حالة حدوث خطأ [SWS_DM_00673]. حُدد الكود DiagErrc::kInvalidArgument كخطأ محتمل [SWS_DM_00673]. أُعلنت الدالة كـ noexcept وصُنفت بأنها exception safe، ولهذا السبب لا يتعين على جهات الاستدعاء معالجة استثناءات C++‎ [SWS_DM_00673].

التزامن وحالة المواصفة

تمت الإشارة إلى الواجهة صراحةً بأنها not thread-safe [SWS_DM_00673]. لذلك، يجب مزامنة عمليات الوصول المتوازية إلى المثيل نفسه من ara::diag::DTCInformation بواسطة المستدعي. ووفقًا للوثائق SWS Diagnostics §8.48.2.2.3.7 «SetControlDtcStatusNotifier»، فإن تعريف API في الإصدار R25-11 يحمل أيضًا الحالة DRAFT.

تم إنشاء ملاحظة الاستخدام هذه آليًا بناءً على مواصفة AUTOSAR R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if the ControlDTCStatus (related to UDS service 0x85) for this diagnostic memory instance has changed.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing

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

Record
AUTOSAR/AP/record/SWS_DM_00673
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00673@rel:R25-11#16ae3192
Content hash
16ae3192
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00673
Status: valid/unmigrated Version: rel:R25-11#4ec630cc 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_DM_00673@rel:R25-11#4ec630cc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c83057292026-09-30
  • R19-11rel:R19-11#86285d0c2026-10-14
  • R20-11rel:R20-11#c712c8f12026-10-14
  • R21-11rel:R21-11#c712c8f12026-10-14
  • R22-11rel:R22-11#f749ed1c2026-10-14
  • R23-11rel:R23-11#913bd39e2026-10-14
  • R24-11rel:R24-11#db62ff532026-10-14
  • R25-11rel:R25-11#4ec630cc2026-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

دالة SetDTCStatusChangedNotifier [SWS_DM_00667] Upstream: RS_AP_00139, RS_Diag_04148

ara::core::Result< void > SetDTCStatusChangedNotifier (DtcStatus ChangedNotifier notifier) noexcept;

Register a notifier function which is called if a UDS DTC status is changed. A consecutive call of this method will overwrite the previous registered notifier.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 9216e689641e المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

باستخدام الدالة ara::diag::DTCInformation::SetDTCStatusChangedNotifier، يسجل تطبيق Adaptive (AA) دالة استدعاء رد (Callback) يتم استدعاؤها عند كل تغيير في حالة DTC لـ UDS ([SWS_DM_00667]). وبمجرد تغير حالة أحد معرّفات DTC المرتبطة بذاكرة الأعطال المعنية، يطلق Diagnostic Management (DM) هذا المُخطِر لـ DTC المعني ([SWS_DM_01031]، SWS Diagnostics §7.3.4.4.2.2 «UDS DTC Status change notifications»).

تمتلك الواجهة الخصائص والمعلمات التالية (SWS Diagnostics §8.48.2.2.3.8 «SetDTCStatusChangedNotifier»):

  • المعلمات: يأخذ notifier كائن الدالة المراد استدعاؤه من النوع DtcStatusChangedNotifier ([SWS_DM_00667]).
  • القيمة المعادة: تعيد الدالة ara::core::Result<void> وأُعلن عنها كـ noexcept ([SWS_DM_00667]).
  • معالجة الأخطاء: لم تُحدد رموز خطأ قياسية؛ وقد حُددت الدالة بأنها آمنة استثنائيًا (exception safe) ([SWS_DM_00667]).
  • التزامن: الدالة ليست آمنة مؤشريًا (not thread-safe) ([SWS_DM_00667]). يجب مزامنة الاستدعاءات المتوازية على المثيل نفسه من جهة المستدعي.

إذا استُدعي SetDTCStatusChangedNotifier بشكل متكرر على المثيل نفسه من ara::diag::DTCInformation، فإن DM يستبدل المنبه المسجل سابقًا بالكامل ([SWS_DM_01350]). وفي النظام ككل، يكمل المنبه الاستعلام المتزامن عن الحالة عبر GetCurrentStatus بإشعار معتمد على الأحداث حول تغييرات الحالة في ذاكرة الأخطاء (SWS Diagnostics §7.3.4.4.2.2 «UDS DTC Status change notifications»).

تم توليد هذا النص بواسطة ذكاء اصطناعي بناءً على مواصفة AUTOSAR ويعمل كدليل توجيهي.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if a DTC status has changed.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns void.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_00667
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00667@rel:R25-11#3d0cdc05
Content hash
3d0cdc05
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00667
Status: valid/unmigrated Version: rel:R25-11#286c80fc 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_DM_00667@rel:R25-11#286c80fc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a147750e2026-09-30
  • R19-11rel:R19-11#8e0838282026-10-14
  • R20-11rel:R20-11#589d43672026-10-14
  • R21-11rel:R21-11#5dfb752f2026-10-14
  • R22-11rel:R22-11#b086a9df2026-10-14
  • R23-11rel:R23-11#7bcc21302026-10-14
  • R24-11rel:R24-11#f5acd9ba2026-10-14
  • R25-11rel:R25-11#286c80fc2026-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

دالة SetEventMemoryOverflowNotifier [SWS_DM_00918] Upstream: RS_AP_00139, RS_Diag_04093

ara::core::Result< void > SetEventMemoryOverflowNotifier (EventMemory OverflowSetNotifier notifier) noexcept;

Register a notifier function which is called if the current event memory overflow status changed. A consecutive call of this method will overwrite the previous registered notifier.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 850e518a9100 المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الدالة SetEventMemoryOverflowNotifier التابعة للفئة ara::diag::DTCInformation (AUTOSAR_AP_SWS_Diagnostics §8.48.2.2.3.9 «SetEventMemoryOverflowNotifier») لتسجيل دالة رد نداء (notifier) يتم استدعاؤها عند حدوث تغيير في حالة طفحان ذاكرة الأحداث المقترنة [SWS_DM_00918].

الاستخدام والدلالات: يتم الاستدعاء عبر نسخة من ara::diag::DTCInformation مع تضمين ملف الترويسة ara/diag/dtc_information.h. وتستقبل المعلمة notifier كائن دالة من النوع EventMemory OverflowSetNotifier. وعند نجاح التسجيل، تُرجع الدالة ara::core::Result<void> فارغاً [SWS_DM_00918].

التفاعل والتشغيل: يحدث الطفحان عندما يتم بالفعل تخزين الحد الأقصى المُهيأ لعدد الإدخالات (DiagnosticMemoryDestination.maxNumberOfEventEntries) في ذاكرة الأحداث ويُراد تخزين إدخال إضافي (AUTOSAR_AP_SWS_Diagnostics §7.3.4.4.9 «Event memory overflow»، [SWS_DM_00923]). وإذا تم تسجيل طفحان، تستدعي وحدة Diagnostic Management دالة الإشعار بعد التنفيذ التالي لعملية محو جميع رموز أعطال التشخيص (clear all DTCs) لذاكرة الأحداث المعنية بقيمة المعلمة false [SWS_DM_00926].

التزامن والقيود: تم التصريح عن الدالة بأنها noexcept وتُعد آمنة من حيث الاستثناءات (exception safe)، إلا أنها غير آمنة لخيوط المعالجة (not thread-safe) [SWS_DM_00918]. ولذلك، يجب مزامنة الاستدعاءات المتوازية على نفس المثيل خارجيًا. إذا تم استدعاء SetEventMemoryOverflowNotifier عدة مرات، فإن الاستدعاء الجديد يحل تمامًا محل المُخطر (Notifier) المسجل سابقًا [SWS_DM_01354].

معالجة الأخطاء: إذا فشلت العملية، يُعاد رمز الخطأ DiagErrc::kInvalidArgument في ara::core::Result [SWS_DM_00918].

تم إنشاء ملاحظة الاستخدام هذه بصورة آلية. وتظل مواصفات إصدار AUTOSAR المعني هي المرجع الأساسي.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if the overflow status for this diagnostic event memory instance has changed.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing

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

Record
AUTOSAR/AP/record/SWS_DM_00918
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00918@rel:R25-11#97dbd8d8
Content hash
97dbd8d8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00918
Status: valid/unmigrated Version: rel:R25-11#4caa8701 Versionshistorie & Revisions (1 transition, 7 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_DM_00918@rel:R25-11#4caa8701
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#287c26ab2026-09-30
  • R20-11rel:R20-11#862008632026-10-14
  • R21-11rel:R21-11#862008632026-10-14
  • R22-11rel:R22-11#504188a92026-10-14
  • R23-11rel:R23-11#4299ebc42026-10-14
  • R24-11rel:R24-11#ef0d0c832026-10-14
  • R25-11rel:R25-11#4caa87012026-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

دالة SetNumberOfStoredEntriesNotifier [SWS_DM_00670] Upstream: RS_AP_00139, RS_Diag_04109

ara::core::Result< void > SetNumberOfStoredEntriesNotifier (NumberOf StoredEntriesNotifier notifier) noexcept;

Register a notifier function which is called if the number of currently stored fault memory entries changed. A consecutive call of this method will overwrite the previous registered notifier.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 687b5c4aa986 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الدالة SetNumberOfStoredEntriesNotifier الخاصة بالفئة ara::diag::DTCInformation (المعلنة في ara/diag/dtc_information.h) لتسجيل دالة رد نداء من النوع NumberOfStoredEntriesNotifier ([SWS_DM_00670]). يتم إشعار هذه الدالة بمجرد تغير عدد الإدخالات المودعة في ذاكرة أخطاء مثيل ذاكرة الأحداث المعني (AUTOSAR_AP_SWS_Diagnostics §8.48.2.2.3.10 «SetNumberOfStoredEntriesNotifier»).

تنطبق المواصفات التالية على الاستخدام وسلوك وقت التشغيل:

  • التسجيل مع الاستبدال: يمكن أن تكون هناك دالة رد نداء واحدة فقط نشطة لكل مثيل. يؤدي الاستدعاء المتجدد للدالة إلى استبدال المنبه المسجل سابقًا بالكامل ([SWS_DM_00670]).
  • التزامن والأمان: الدالة مزودة بـ noexcept ومحددة بأنها آمنة من الاستثناءات (exception safe) ([SWS_DM_00670]). ومع ذلك، نظرًا لتصنيفها على أنها ليست آمنة مؤشريًا (not thread-safe)، يجب مزامنة عمليات الوصول المتوازية إلى المثيل نفسه من جهة التطبيق.
  • معالجة الأخطاء: تُرجع الدالة ara::core::Result<void> ([SWS_DM_00670]). وإذا فشل التسجيل، يتم الإبلاغ عن كود الخطأ DiagErrc::kInvalidArgument ([SWS_DM_00670])؛ ومن المرجح أن يكون هذا هو الحال بوجه خاص عند تمرير منبه غير صالح. سؤال Q-27e5e89452a7dfbb (مفتوح)

تم إنشاء ملاحظة الاستخدام هذه تلقائيًا بناءً على مواصفات AUTOSAR.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if the number of entries for this diagnostic event memory instance has changed.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing

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

Record
AUTOSAR/AP/record/SWS_DM_00670
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00670@rel:R25-11#55807aa7
Content hash
55807aa7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00670
Status: valid/unmigrated Version: rel:R25-11#e4768ac4 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_DM_00670@rel:R25-11#e4768ac4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#59e674f72026-09-30
  • R19-11rel:R19-11#aaba3bd42026-10-14
  • R20-11rel:R20-11#2a82bad22026-10-14
  • R21-11rel:R21-11#2164b2c12026-10-14
  • R22-11rel:R22-11#407991962026-10-14
  • R23-11rel:R23-11#6da92b3b2026-10-14
  • R24-11rel:R24-11#79f5f8922026-10-14
  • R25-11rel:R25-11#e4768ac42026-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

دالة SetSnapshotRecordUpdatedNotifier [SWS_DM_00668] Upstream: RS_AP_00139, RS_Diag_04205, RS_Diag_04091

ara::core::Result< void > SetSnapshotRecordUpdatedNotifier (Snapshot RecordUpdatedTypeNotifier notifier) noexcept;

Register a notifier function which is called if the SnapshotRecord is changed. A consecutive call of this method will overwrite the previous registered notifier.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 0f7d35229325 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام وتسلسل العمليات

تُستخدم الدالة ara::diag::DTCInformation::SetSnapshotRecordUpdatedNotifier لتسجيل دالة رد نداء من النوع SnapshotRecordUpdatedTypeNotifier، والتي تُستدعى بمجرد تغير سجل لقطة (Snapshot-Record) ([SWS_DM_00668]، AUTOSAR_AP_SWS_Diagnostics §8.48.2.2.3.11 «SetSnapshotRecordUpdatedNotifier»). الاستدعاءات اللاحقة لهذه الدالة مسموح بها وتستبدل المنبه المسجل سابقًا بالكامل ([SWS_DM_00668]).

معالجة الأخطاء والتوقيع

أُعلنت الدالة كـ noexcept وتضمن أمان الاستثناءات (exception safe) ([SWS_DM_00668]). يُستخدم ara::core::Result<void> كنوع إرجاع، ويتم من خلاله إرجاع الأخطاء بشكل متزامن. في حالة حدوث خطأ، يمكن إرجاع كود الخطأ DiagErrc::kInvalidArgument ([SWS_DM_00668]). تفسير: قد تشير ملاحظة المواصفة «rollback_semantics e.g. kPreFailed with internal debouncing» إلى أنه يتم الإبلاغ عن هذا الخطأ في الحالات غير الصالحة أثناء عمليات إزالة الارتداد الداخلية والتراجعات. سؤال Q-481ee254b8395fef (مفتوح)

التزامن والقيود

حُددت الدالة صراحةً بأنها ليست آمنة مؤشريًا (not thread-safe) ([SWS_DM_00668]). يجب على المكونات المستدعية التأكد من مزامنة عمليات الوصول المتزامنة إلى كائن ara::diag::DTCInformation نفسه خارجيًا.

تم إنشاء ملاحظة الاستخدام هذه تلقائيًا بناءً على مواصفات AUTOSAR.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if the SnapshotRecord is changed.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing

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

Record
AUTOSAR/AP/record/SWS_DM_00668
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00668@rel:R25-11#35fb1fa3
Content hash
35fb1fa3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00668
Status: valid/unmigrated Version: rel:R25-11#2b6804c1 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_DM_00668@rel:R25-11#2b6804c1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#90a522172026-09-30
  • R19-11rel:R19-11#5f4542c92026-10-14
  • R20-11rel:R20-11#3eae650e2026-10-14
  • R21-11rel:R21-11#c55d6a4d2026-10-14
  • R22-11rel:R22-11#342557812026-10-14
  • R23-11rel:R23-11#4c6d1bdf2026-10-14
  • R24-11rel:R24-11#a2730d9c2026-10-14
  • R25-11rel:R25-11#2b6804c12026-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_DM_01611] Upstream: RS_AP_00147

DTCInformation & operator= (DTCInformation &)=delete;

DTCInformation shall be a single not assignable instance.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation

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

Record
AUTOSAR/AP/record/SWS_DM_01611
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01611@rel:R25-11#8fe22f44
Content hash
8fe22f44
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01611
Status: valid/unmigrated Version: rel:R25-11#9ad4aa67 Versionshistorie & Revisions (1 transition, 4 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_DM_01611@rel:R25-11#9ad4aa67
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#37a5dd0e2026-09-30
  • R23-11rel:R23-11#2833d1282026-10-14
  • R24-11rel:R24-11#9ad4aa672026-10-14
  • R25-11rel:R25-11#9ad4aa672026-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_DM_01612] Upstream: RS_AP_00147

DTCInformation & operator= (DTCInformation &&)=delete;

Move assignment operator of DTCInformation.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation

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

Record
AUTOSAR/AP/record/SWS_DM_01612
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01612@rel:R25-11#5ee71444
Content hash
5ee71444
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01612
Status: valid/unmigrated Version: rel:R25-11#cdf852d3 Versionshistorie & Revisions (1 transition, 4 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_DM_01612@rel:R25-11#cdf852d3
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#ea65d5022026-09-30
  • R23-11rel:R23-11#4efeb4b72026-10-14
  • R24-11rel:R24-11#cdf852d32026-10-14
  • R25-11rel:R25-11#cdf852d32026-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

دالة ~DTCInformation [SWS_DM_00665] Upstream: RS_AP_00134

~DTCInformation () noexcept;

Destructor of class DTCInformation.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_00665
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00665@rel:R25-11#b88c8bf3
Content hash
b88c8bf3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00665
Status: valid/unmigrated Version: rel:R25-11#ab3a3ea0 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_DM_00665@rel:R25-11#ab3a3ea0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d4ee68382026-09-30
  • R19-11rel:R19-11#0397cd102026-10-14
  • R20-11rel:R20-11#2fe669ab2026-10-14
  • R21-11rel:R21-11#2fe669ab2026-10-14
  • R22-11rel:R22-11#2c8729262026-10-14
  • R23-11rel:R23-11#ee44ac412026-10-14
  • R24-11rel:R24-11#0d07d76c2026-10-14
  • R25-11rel:R25-11#ab3a3ea02026-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

توثيق أسماء الأنواع البديلة

اسم نوع بديل ControlDtcStatusTypeNotifier [SWS_DM_02125] Upstream: RS_AP_00139, RS_Diag_04159

using ControlDtcStatusTypeNotifier = std::function<void(ControlDtc StatusType)>;

Registers a notifier function which is called if the control DTC setting is changed.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
SymbolControlDtcStatusTypeNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02125
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02125@rel:R25-11#cf48258b
Content hash
cf48258b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02125
Status: valid/unmigrated Version: rel:R25-11#15ab5e33 Versionshistorie & Revisions (1 transition)
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_DM_02125@rel:R25-11#15ab5e33
Point-in-Time History:
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

اسم نوع بديل DtcStatusChangedNotifier [SWS_DM_02122] Upstream: RS_AP_00139, RS_Diag_04148

using DtcStatusChangedNotifier = std::function<void(std::uint32_t dtc, UdsDtcStatusByteType udsStatusByteOld, UdsDtcStatusByteType udsStatus ByteNew)>;

Register a notifier function which is called if a UDS DTC status is changed.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
SymbolDtcStatusChangedNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02122
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02122@rel:R25-11#82c09711
Content hash
82c09711
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02122
Status: valid/unmigrated Version: rel:R25-11#8c9e2f83 Versionshistorie & Revisions (1 transition)
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_DM_02122@rel:R25-11#8c9e2f83
Point-in-Time History:
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

اسم نوع بديل EventMemoryOverflowSetNotifier [SWS_DM_02076] Upstream: RS_AP_00139, RS_Diag_04093

using EventMemoryOverflowSetNotifier = std::function<void(bool)>;

Notifier function which is called if the current event memory overflow status changed.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
SymbolEventMemoryOverflowSetNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02076
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02076@rel:R25-11#c3215797
Content hash
c3215797
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02076
Status: valid/unmigrated Version: rel:R25-11#015b2c76 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_DM_02076@rel:R25-11#015b2c76
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e9f0e2d62026-09-30
  • R24-11rel:R24-11#65f359f92026-10-14
  • R25-11rel:R25-11#015b2c762026-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

اسم نوع بديل NumberOfStoredEntriesNotifier [SWS_DM_02124] Upstream: RS_AP_00139, RS_Diag_04109

using NumberOfStoredEntriesNotifier = std::function<void(std::uint32_ t)>;

Register a notifier function which is called if the number of currently stored fault memory entries changed.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
SymbolNumberOfStoredEntriesNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02124
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02124@rel:R25-11#94ca0769
Content hash
94ca0769
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02124
Status: valid/unmigrated Version: rel:R25-11#85521efa Versionshistorie & Revisions (1 transition)
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_DM_02124@rel:R25-11#85521efa
Point-in-Time History:
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

اسم نوع بديل SnapshotRecordUpdatedTypeNotifier [SWS_DM_02123] Upstream: RS_AP_00139, RS_Diag_04205, RS_Diag_04091

using SnapshotRecordUpdatedTypeNotifier = std::function<void(Snapshot RecordUpdatedType)>;

Register a notifier function which is called if the SnapshotRecord is changed.

Header-Datei#include "ara/diag/dtc_information.h"
Scopeclass ara::diag::DTCInformation
SymbolSnapshotRecordUpdatedTypeNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02123
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02123@rel:R25-11#7a009ece
Content hash
7a009ece
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02123
Status: valid/unmigrated Version: rel:R25-11#c8517c79 Versionshistorie & Revisions (1 transition)
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_DM_02123@rel:R25-11#c8517c79
Point-in-Time History:
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