DEENESPTFRRUARHIKOZHNL

class 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

User GuideKI-GENERIERT

Ermöglicht die Überwachung, Statusabfrage und das Löschen von Diagnose-Fehlercodes für eine Speicherdestination.
KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: a165a7d55aae Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Ermöglicht die Überwachung, Statusabfrage und das Löschen von Diagnose-Fehlercodes für eine Speicherdestination.

Die Klasse ara::diag::DTCInformation ermöglicht adaptiven Anwendungen die statusbezogene Überwachung, Abfrage und Bereinigung von Diagnose-Fehlercodes (DTCs) für eine konfigurierte Diagnose-Speicherdestination ([SWS_DM_00664]). Neben dem asynchronen Auslesen des UDS-DTC-Statusbytes und der Steuerung des DTC-Status unterstützt die Klasse das Registrieren ereignisgesteuerter Notifier sowie das Löschen von Fehlerspeichereinträgen über Clear ([SWS_DM_00671]). Instanzen sind weder kopier- noch verschiebbar, wobei Leseoperationen threadsicher sind, modifizierende Methoden und Notifier-Registrierungen hingegen synchronisiert werden müssen.

Kontext

Die Klasse ara::diag::DTCInformation stellt Schnittstellen bereit, um Operationen auf Fehlercode-Informationen (Diagnostic Trouble Codes, DTCs) bezogen auf eine konfigurierte Diagnose-Speicherdestination (DiagnosticMemoryDestination) durchzuführen ([SWS_DM_00664]). Innerhalb der AUTOSAR Adaptive Platform vermittelt sie zwischen der adaptiven Anwendung und dem Diagnostic Management (DM). Die Bindung an die Diagnoseschnittstelle erfolgt bei der Konstruktion über einen ara::core::InstanceSpecifier, welcher auf einen Port-Prototyp eines DiagnosticDTCInformationInterface verweisen muss ([SWS_DM_00664]).

Zu den zentralen Aufgaben der Klasse gehören das Abfragen von Fehlerstatuswerten wie dem UDS-DTC-Statusbyte ([SWS_DM_00666]), das Auslesen der Anzahl aktuell gespeicherter Fehlereinträge ([SWS_DM_00669]), die Überwachung des Speicherüberlaufs ([SWS_DM_00919]) sowie die Steuerung und Statusabfrage der DTC-Freigabe im Kontext des UDS-Dienstes 0x85 (ControlDTCSetting) ([SWS_DM_00672], [SWS_DM_00674]). Zudem ermöglicht die Klasse das gezielte Löschen einzelner DTCs oder vollständiger DTC-Gruppen ([SWS_DM_00671]). Hinsichtlich des Funktionsumfangs bestehen im Diagnostic Management definierte Grenzen: Gemäß AUTOSAR_AP_SWS_Diagnostics §4.1 „Limitations of sub-functions of 0x19 ReadDTCInformation“ unterstützt das DM weder OBD/WWH-OBD noch die UDS-Funktionalität eines Mirror Event Memory.

DTCInformationContext Applikation Applikation DTCInformation DTCInformation Applikation->DTCInformation steuert und fragt ab DTCInformation->Applikation benachrichtigt per Notifier DiagnosticManagement DiagnosticManagement DTCInformation->DiagnosticManagement interagiert via Port DiagnosticManagement->DTCInformation meldet Statusaenderungen

Kontextdiagramm: Zusammenspiel von adaptiver Applikation, DTCInformation-Instanz und Diagnostic Management. Quellen: [SWS_DM_00664], [SWS_DM_00666], [SWS_DM_00667]

Lebenszyklus

Eine Instanz von ara::diag::DTCInformation wird explizit über ihren Konstruktor unter Übergabe des modellierten ara::core::InstanceSpecifier erzeugt ([SWS_DM_00664]). Der Konstruktor ist threadsicher ausgeführt ([SWS_DM_00664]). Die Klasse besitzt eine strikte Semantik der Einzigartigkeit: Copy-Konstruktor ([SWS_DM_01613]) und Move-Konstruktor ([SWS_DM_01614]) sowie Copy-Zuweisungsoperator ([SWS_DM_01611]) und Move-Zuweisungsoperator ([SWS_DM_01612]) sind gelöscht (=delete). Eine Instanz verbleibt somit fest an ihrem Erzeugungsort und kann weder kopiert noch verschoben werden. Zudem darf derselbe InstanceSpecifier pro Prozess nicht mehrfach instanziiert werden ([SWS_DM_00664]).

Die Zerstörung erfolgt über den Destruktor ~DTCInformation() ([SWS_DM_00665]). Der Destruktor ist nicht threadsicher ([SWS_DM_00665]). Hinsichtlich der Nebenläufigkeit differenziert die Klasse zwischen Lese- und Änderungsoperationen: Reine Abfragen wie GetCurrentStatus ([SWS_DM_00666]), GetNumberOfStoredEntries ([SWS_DM_00669]), GetControlDTCStatus ([SWS_DM_00672]) und GetEventMemoryOverflow ([SWS_DM_00919]) sind threadsicher. Demgegenüber sind modifizierende Operationen wie Clear ([SWS_DM_00671]) und EnableControlDtc ([SWS_DM_00674]) sowie sämtliche Notifier-Registrierungsmethoden nicht threadsicher ([SWS_DM_00667], [SWS_DM_00668], [SWS_DM_00670], [SWS_DM_00673], [SWS_DM_00918]).

Nutzungspfad

Ein typischer Anwendungsfall gliedert sich in folgende Phasen:

  1. Instanziierung: Die Applikation initialisiert das Objekt unter Angabe des passenden InstanceSpecifier ([SWS_DM_00664]).
  2. Callback-Konfiguration: Zur ereignisorientierten Überwachung registriert die Anwendung Notifier. Verfügbar sind Callbacks für DTC-Statusänderungen (SetDTCStatusChangedNotifier mit DtcStatusChangedNotifier) ([SWS_DM_00667], [SWS_DM_02122]), Aktualisierungen von Snapshot-Records (SetSnapshotRecordUpdatedNotifier mit SnapshotRecordUpdatedTypeNotifier) ([SWS_DM_00668], [SWS_DM_02123]), Änderungen der Fehlereintragsanzahl (SetNumberOfStoredEntriesNotifier mit NumberOfStoredEntriesNotifier) ([SWS_DM_00670], [SWS_DM_02124]), Änderungen am ControlDTC-Status (SetControlDtcStatusNotifier mit ControlDtcStatusTypeNotifier) ([SWS_DM_00673], [SWS_DM_02125]) sowie Speicherüberläufe (SetEventMemoryOverflowNotifier mit EventMemoryOverflowSetNotifier) ([SWS_DM_00918], [SWS_DM_02076]). Nachfolgende Aufrufe überschreiben zuvor registrierte Callbacks; diese Registrierungen dürften vorzugsweise gebündelt in der Initialisierungsphase erfolgen. Frage Q-d7665d8d5229a47b (offen)
  3. Statusabfragen: Die Anwendung kann DTC-Informationen jederzeit abrufen. Ein Aufruf von GetCurrentStatus(dtc) liefert ein ara::core::Future<UdsDtcStatusByteType> ([SWS_DM_00666]). Ergänzend stehen GetNumberOfStoredEntries() ([SWS_DM_00669]) und GetControlDTCStatus() ([SWS_DM_00672]) asynchron via Future sowie GetEventMemoryOverflow() ([SWS_DM_00919]) synchron via ara::core::Result<bool> zur Verfügung.
  4. Fehlerspeicherbereinigung und Steuerung: Das Löschen von Fehlercodes stößt die Anwendung über Clear(dtcGroup) an, was ein asynchrones ara::core::Future<void> bereitstellt ([SWS_DM_00671]). Soll das Setzen von DTCs wieder freigegeben werden, aktiviert EnableControlDtc() den ControlDTC-Status ([SWS_DM_00674]).
Typischer Ablauf der Interaktion mit DTCInformationApplikationDTCInformationDiagnostic ManagementDTCInformation(specifier)PortPrototype bindenBereitInstanz erzeugtSetDTCStatusChangedNotifier(notifier)Result<void>GetCurrentStatus(dtc)Status ermittelnUdsDtcStatusByteFuture<UdsDtcStatusByteType> readiedClear(dtcGroup)Fehlerspeicher loeschenBestaetigungFuture<void> readied

Sequenzdiagramm: Typischer Ablauf von Instanziierung, Notifier-Registrierung, Statusabfrage und Fehlerlöschung. Quellen: [SWS_DM_00664], [SWS_DM_00667], [SWS_DM_00666], [SWS_DM_00671]

Fehlerszenarien

Im Umgang mit ara::diag::DTCInformation sind folgende Fehlermöglichkeiten spezifiziert:

  • Konfigurationsverletzungen bei der Konstruktion: Eine unvollständige oder fehlerhafte Modellbindung führt zu spezifischen Violations ([SWS_DM_00664]):
    • InstanceSpecifierMappingIntegrityViolation: Der Bezeichner lässt sich im Kontext des Executables nicht auflösen oder referenziert kein PortPrototype.
    • PortInterfaceMappingViolation: Das PortPrototype ist nicht als DiagnosticDTCInformationInterface typisiert.
    • ProcessMappingViolation: Zur Laufzeit existiert kein passender modellierter Prozess.
    • InstanceSpecifierAlreadyInUseViolation: Der InstanceSpecifier wird im laufenden Prozess bereits von einer anderen Instanz verwendet.
  • Laufzeitfehler bei Abfragen und Speicherbereinigung:
    • DiagErrc::kServiceNotAvailable: Essenzielle Funktionen des Diagnostic Management stehen temporär nicht zur Verfügung; tritt auf bei GetCurrentStatus ([SWS_DM_00666]), GetNumberOfStoredEntries ([SWS_DM_00669]), GetControlDTCStatus ([SWS_DM_00672]), GetEventMemoryOverflow ([SWS_DM_00919]) und Clear ([SWS_DM_00671]).
    • DiagErrc::kNoSuchDTC: Für das angeforderte Ereignis existiert kein zugeordneter DTC ([SWS_DM_00666]).
    • DiagErrc::kWrongDtc: Bei Clear wurde eine ungültige DTC-Nummer übergeben ([SWS_DM_00671]).
    • DiagErrc::kBusy: Die Schnittstelle ist noch mit einer vorherigen Verarbeitung beschäftigt ([SWS_DM_00671]).
    • DiagErrc::kMemoryError oder DiagErrc::kFailed: Fehler beim Zugriff auf den physikalischen Fehlerspeicher oder allgemeine Verarbeitungsfehler während Clear ([SWS_DM_00671]).
  • Ungültige Argumente bei Notifier-Registrierung: Die Methoden SetSnapshotRecordUpdatedNotifier ([SWS_DM_00668]), SetNumberOfStoredEntriesNotifier ([SWS_DM_00670]), SetControlDtcStatusNotifier ([SWS_DM_00673]) und SetEventMemoryOverflowNotifier ([SWS_DM_00918]) schlagen mit DiagErrc::kInvalidArgument fehl, falls ein unzulässiger Funktionszeiger bzw. Parameter übergeben wird.

Dieser Leitfaden basiert auf der AUTOSAR-Adaptive-Spezifikation R25-11 für das Modul diag und fasst die Anforderungen an ara::diag::DTCInformation zusammen.

Mitgliederkarte

Klassendiagramm

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()

Detailansicht

Wähle in der Gliederung einen Eintrag aus.

Konstruktoren und Destruktor

DTCInformation function 3

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

Überladungen 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;

Methoden

Clear function

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;

Operatoren

operator= function 2

DTCInformation shall be a single not assignable instance.

Überladungen = 2

Typaliase

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

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

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)>;

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

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

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)>;

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

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

Eingebettete Typen

Dokumentation der Methoden

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 99369a404985 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die Methode Clear der Klasse ara::diag::DTCInformation ([SWS_DM_00671]) dient dem Löschen eines einzelnen DTCs oder einer DTC-Gruppe im Fehlerspeicher (AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.6 „Service 0x14 – ClearDiagnosticInformation“). Als Parameter nimmt sie über dtcGroup die Kennung der zu löschenden Gruppe bzw. des DTCs entgegen und liefert das Ergebnis asynchron als ara::core::Future<void> zurück ([SWS_DM_00671]). Die Berechtigung zum Löschen einzelner DTCs oder Gruppen unterliegt dabei Konfigurationsparametern wie clearDtcLimitation ([SWS_DM_00160]).

Fehlerbehandlung und Semantik

Die Funktion ist als noexcept deklariert und meldet Fehler asynchron über das Future mit Rollback-Semantik ([SWS_DM_00671]). Mögliche Fehlercodes aus DiagErrc sind:

  • DiagErrc::kBusy: Die Schnittstelle ist bereits mit einer Verarbeitung belegt.
  • DiagErrc::kFailed: Bei der Ausführung ist ein allgemeiner Verarbeitungsfehler aufgetreten.
  • DiagErrc::kMemoryError: Während der Bearbeitung trat ein Speicherfehler auf.
  • DiagErrc::kWrongDtc: Es wurde eine ungültige DTC-Nummer übergeben.
  • DiagErrc::kServiceNotAvailable: Essenzielle Funktionen des Diagnostic Managers stehen derzeit nicht zur Verfügung.

Nebenläufigkeit und Abgrenzung

Die Methode ist ausnahmesicher (exception safe), jedoch ausdrücklich als not thread-safe eingestuft ([SWS_DM_00671]). Parallele Aufrufe auf derselben Instanz müssen daher durch den Aufrufer synchronisiert werden, andernfalls droht DiagErrc::kBusy. Interpretation: Das zurückgegebene ara::core::Future dürfte erst dann erfüllt werden, wenn der physische Fehlerspeicher vollständig bereinigt wurde, analog zur Quittierung des UDS-Dienstes 0x14 ([SWS_DM_00162]). Frage Q-b97545b6864b24aa (offen)

Funktional ist die Operation von gleichnamigen SOVD-Methoden abzugrenzen: Während ara::diag::DiagnosticSovdContentElementDataView::Clear ([SWS_DM_02233]) Datencontainer synchron und thread-safe leert, steuert diese Methode Diagnoseabläufe im Diagnostic Management.

Dieser Nutzungshinweis wurde von einer KI kuratiert und basiert ausschließlich auf den Spezifikationsauszügen von AUTOSAR AP Release R25-11.

Implementer's Guide folgt (Komplexität 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#eeae02f9
Content hash
eeae02f9
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

function 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#ee0cae73
Content hash
ee0cae73
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

function 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#78598363
Content hash
78598363
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

function 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#42fc1a67
Content hash
42fc1a67
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

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: ae09dbccd3ab Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Verwendung

Die Methode ara::diag::DTCInformation::EnableControlDtc ([SWS_DM_00674]) dient einer Überwachungsanwendung dazu, die Erfassung und Speicherung von Diagnose-Fehlercodes (DTCs) im Diagnostic Server wieder freizugeben. Der Aufruf erfolgt parameterlos und synchron über eine Instanz der Klasse ara::diag::DTCInformation aus dem Header ara/diag/dtc_information.h. Als Rückgabewert liefert die Funktion ara::core::Result<void> zurück.

Zusammenspiel und Semantik

Wurde das DTC-Setting zuvor, etwa über den UDS-Dienst ControlDTCSetting (0x85) mit Subfunktion 0x02 (OFF), deaktiviert ([SWS_DM_00910]), veranlasst der Aufruf von EnableControlDtc den Diagnostic Server gemäß [SWS_DM_00811] zu folgenden Schritten:

  • Wiederfreigabe der Aktualisierung des UDS-DTC-Statusbytes,
  • Freigabe der Fehlerspeicherung im primären sowie in betroffenen anwenderspezifischen Ereignisspeichern,
  • Aktualisierung von ara::diag::ControlDtcStatusType auf kDTCSettingOn.

Interpretation: Das Setzen des Status auf aktiviert erfolgt unter Umständen erst nach der Rückkehr des Methodenaufrufs (AP SWS Diagnostics §8.48.2.2.3.2 „EnableControlDtc“), weshalb Aufrufer nicht von einer zwingend unmittelbaren Statusänderung während der Ausführung ausgehen dürfen. Frage Q-8bfa0436f6ab98b9 (offen)

Fehlerbehandlung und Nebenläufigkeit

Die Schnittstelle ist als noexcept deklariert, gilt als ausnahmesicher (exception safe) und definiert keine spezifischen standardisierten Fehlercodes ([SWS_DM_00674]). Hinsichtlich der Nebenläufigkeit ist die Funktion als nicht threadsicher (not thread-safe) spezifiziert. Parallele Zugriffe auf dieselbe Instanz müssen daher durch die aufrufende Anwendung synchronisiert werden.

Dieser Nutzungshinweis wurde automatisiert auf Basis der Spezifikation erstellt und ersetzt nicht die Detailprüfung der AUTOSAR-Norm.

Implementer's Guide folgt (Komplexität 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#40671c29
Content hash
40671c29
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

function 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#c7ee7aea
Content hash
c7ee7aea
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

function 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#cab37c25
Content hash
cab37c25
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

function 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#fd3d5cef
Content hash
fd3d5cef
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

function 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#979b7c2a
Content hash
979b7c2a
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

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: a49d9f0f68f5 Herkunft
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Verwendung und Aufrufkontext

Die Methode SetControlDtcStatusNotifier gehört zur Klasse ara::diag::DTCInformation und wird über den Header ara/diag/dtc_information.h eingebunden [SWS_DM_00673]. Sie dient der Registrierung einer anwendungsseitigen Callback-Funktion vom Typ ControlDtcStatusTypeNotifier [SWS_DM_00673]. Dieser Notifier wird aufgerufen, wenn sich der ControlDTCStatus für die betreffende Diagnosespeicher-Instanz ändert, welcher mit dem UDS-Dienst 0x85 (ControlDTCSetting) in Verbindung steht [SWS_DM_00673]. Ein wiederholter Aufruf der Methode führt dazu, dass ein zuvor registrierter Notifier überschrieben wird [SWS_DM_00673].

Fehlerbehandlung und Rückgabewerte

Als Rückgabetyp dient ara::core::Result<void> [SWS_DM_00673]. Im Erfolgsfall liefert die Funktion keinen Wert zurück, während im Fehlerfall ein Fehlercode bereitgestellt wird [SWS_DM_00673]. Als möglicher Fehler ist der Code DiagErrc::kInvalidArgument spezifiziert [SWS_DM_00673]. Die Funktion ist als noexcept deklariert und als exception safe eingestuft, weshalb Aufrufer keine C++-Ausnahmen behandeln müssen [SWS_DM_00673].

Nebenläufigkeit und Spezifikationsstatus

Die Schnittstelle ist explizit als not thread-safe ausgewiesen [SWS_DM_00673]. Daher müssen parallele Zugriffe auf dieselbe Instanz von ara::diag::DTCInformation durch den Aufrufer synchronisiert werden. Gemäß Dokumentation SWS Diagnostics §8.48.2.2.3.7 „SetControlDtcStatusNotifier“ besitzt die API-Definition im Release R25-11 zudem den Status DRAFT.

Dieser Nutzungshinweis wurde automatisiert auf Basis der Spezifikation AUTOSAR R25-11 erstellt.

Implementer's Guide folgt (Komplexität 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#c8305729
Content hash
c8305729
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

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 9216e689641e Herkunft
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Mit der Funktion ara::diag::DTCInformation::SetDTCStatusChangedNotifier registriert eine Adaptive Application (AA) eine Callback-Funktion, die bei jeder Änderung des UDS-DTC-Status aufgerufen wird ([SWS_DM_00667]). Sobald sich der Status eines dem jeweiligen Fehlerspeicher zugeordneten DTCs ändert, löst das Diagnostic Management (DM) diesen Notifier für den betroffenen DTC aus ([SWS_DM_01031], SWS Diagnostics §7.3.4.4.2.2 „UDS DTC Status change notifications“).

Die Schnittstelle besitzt folgende Eigenschaften und Parameter (SWS Diagnostics §8.48.2.2.3.8 „SetDTCStatusChangedNotifier“):

  • Parameter: notifier nimmt das aufzurufende Funktionsobjekt vom Typ DtcStatusChangedNotifier entgegen ([SWS_DM_00667]).
  • Rückgabewert: Die Funktion liefert ara::core::Result<void> zurück und ist als noexcept deklariert ([SWS_DM_00667]).
  • Fehlerbehandlung: Es sind keine standardisierten Fehlercodes definiert; die Funktion ist als ausnahmesicher (exception safe) spezifiziert ([SWS_DM_00667]).
  • Nebenläufigkeit: Die Methode ist nicht threadsicher (not thread-safe) ([SWS_DM_00667]). Parallele Aufrufe auf derselben Instanz müssen aufruferseitig synchronisiert werden.

Wird SetDTCStatusChangedNotifier auf derselben Instanz von ara::diag::DTCInformation wiederholt aufgerufen, überschreibt das DM den zuvor registrierten Notifier vollständig ([SWS_DM_01350]). Im Gesamtsystem ergänzt der Notifier die synchrone Statusabfrage mittels GetCurrentStatus um eine ereignisbasierte Benachrichtigung über Statuswechsel im Fehlerspeicher (SWS Diagnostics §7.3.4.4.2.2 „UDS DTC Status change notifications“).

Dieser Text wurde durch eine KI auf Basis der AUTOSAR-Spezifikation generiert und dient als Orientierungshilfe.

Implementer's Guide folgt (Komplexität 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#a147750e
Content hash
a147750e
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

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 850e518a9100 Herkunft
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die Funktion SetEventMemoryOverflowNotifier der Klasse ara::diag::DTCInformation (AUTOSAR_AP_SWS_Diagnostics §8.48.2.2.3.9 „SetEventMemoryOverflowNotifier“) dient der Registrierung einer Callback-Funktion (notifier), die bei einer Änderung des Überlaufstatus des zugeordneten Ereignisspeichers aufgerufen wird [SWS_DM_00918].

Verwendung und Semantik: Der Aufruf erfolgt über eine Instanz von ara::diag::DTCInformation unter Einbindung der Header-Datei ara/diag/dtc_information.h. Der Parameter notifier nimmt ein Funktionsobjekt vom Typ EventMemory OverflowSetNotifier entgegen. Bei erfolgreicher Registrierung liefert die Methode ein leeres ara::core::Result<void> zurück [SWS_DM_00918].

Zusammenspiel und Auslösung: Ein Überlauf entsteht, wenn in einem Ereignisspeicher bereits die maximal konfigurierte Anzahl an Einträgen (DiagnosticMemoryDestination.maxNumberOfEventEntries) hinterlegt ist und ein weiterer Eintrag gespeichert werden soll (AUTOSAR_AP_SWS_Diagnostics §7.3.4.4.9 „Event memory overflow“, [SWS_DM_00923]). Wurde ein Überlauf registriert, ruft das Diagnostic-Management-Modul den Notifier nach dem nächsten Ausführen des Löschvorgangs aller DTCs (clear all DTCs) für den jeweiligen Ereignisspeicher mit dem Parameterwert false auf [SWS_DM_00926].

Nebenläufigkeit und Einschränkungen: Die Funktion ist als noexcept deklariert und gilt als ausnahmesicher (exception safe), ist jedoch nicht threadsicher (not thread-safe) [SWS_DM_00918]. Parallele Aufrufe an derselben Instanz müssen daher extern synchronisiert werden. Wird SetEventMemoryOverflowNotifier mehrfach aufgerufen, überschreibt der neue Aufruf den zuvor registrierten Notifier vollständig [SWS_DM_01354].

Fehlerbehandlung: Schlägt die Operation fehl, wird der Fehlercode DiagErrc::kInvalidArgument im ara::core::Result zurückgegeben [SWS_DM_00918].

Dieser Nutzungshinweis wurde automatisiert erstellt. Maßgeblich sind die Spezifikationen des jeweiligen AUTOSAR-Releases.

Implementer's Guide folgt (Komplexität 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#287c26ab
Content hash
287c26ab
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

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 687b5c4aa986 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die Methode SetNumberOfStoredEntriesNotifier der Klasse ara::diag::DTCInformation (deklariert in ara/diag/dtc_information.h) dient der Registrierung einer Callback-Funktion vom Typ NumberOfStoredEntriesNotifier ([SWS_DM_00670]). Diese Funktion wird benachrichtigt, sobald sich die Anzahl der im Fehlerspeicher der betreffenden Ereignisspeicher-Instanz hinterlegten Einträge ändert (AUTOSAR_AP_SWS_Diagnostics §8.48.2.2.3.10 „SetNumberOfStoredEntriesNotifier“).

Für die Verwendung und das Laufzeitverhalten gelten die folgenden Spezifikationen:

  • Überschreibende Registrierung: Pro Instanz kann jeweils nur eine Callback-Funktion aktiv sein. Ein erneuter Aufruf der Methode überschreibt den zuvor registrierten Notifier vollständig ([SWS_DM_00670]).
  • Nebenläufigkeit und Sicherheit: Die Methode ist mit noexcept versehen und als ausnahmesicher (exception safe) spezifiziert ([SWS_DM_00670]). Da sie jedoch als nicht threadsicher (not thread-safe) eingestuft ist, müssen parallele Zugriffe auf dieselbe Instanz anwendungsseitig synchronisiert werden.
  • Fehlerbehandlung: Die Funktion gibt ein ara::core::Result<void> zurück ([SWS_DM_00670]). Schlägt die Registrierung fehl, wird der Fehlercode DiagErrc::kInvalidArgument zurückgemeldet ([SWS_DM_00670]); dies dürfte insbesondere dann der Fall sein, wenn ein ungültiger Notifier übergeben wird. Frage Q-27e5e89452a7dfbb (offen)

Dieser Nutzungshinweis wurde automatisiert auf Basis der AUTOSAR-Spezifikation generiert.

Implementer's Guide folgt (Komplexität 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#59e674f7
Content hash
59e674f7
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

function 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.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: 0f7d35229325 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Verwendung und Ablauf

Die Methode ara::diag::DTCInformation::SetSnapshotRecordUpdatedNotifier dient der Registrierung einer Callback-Funktion vom Typ SnapshotRecordUpdatedTypeNotifier, die aufgerufen wird, sobald sich ein Snapshot-Record ändert ([SWS_DM_00668], AUTOSAR_AP_SWS_Diagnostics §8.48.2.2.3.11 „SetSnapshotRecordUpdatedNotifier“). Nachfolgende Aufrufe dieser Methode sind zulässig und überschreiben einen zuvor registrierten Notifier vollständig ([SWS_DM_00668]).

Fehlerbehandlung und Signatur

Die Funktion ist als noexcept deklariert und gewährleistet Ausnahme-Sicherheit (exception safe) ([SWS_DM_00668]). Als Rückgabetyp dient ara::core::Result<void>, über den Fehler synchron zurückgegeben werden. Im Fehlerfall kann der Fehlercode DiagErrc::kInvalidArgument zurückgeliefert werden ([SWS_DM_00668]). Interpretation: Die Spezifikationsnotiz „rollback_semantics e.g. kPreFailed with internal debouncing“ dürfte darauf hindeuten, dass dieser Fehler bei ungültigen Zuständen während interner Entprellungen und Rollbacks gemeldet wird. Frage Q-481ee254b8395fef (offen)

Nebenläufigkeit und Einschränkungen

Die Methode ist explizit als nicht threadsicher (not thread-safe) spezifiziert ([SWS_DM_00668]). Aufrufende Komponenten müssen sicherstellen, dass nebenläufige Zugriffe auf dasselbe ara::diag::DTCInformation-Objekt extern synchronisiert werden.

Dieser Nutzungshinweis wurde automatisiert auf Basis der AUTOSAR-Spezifikation generiert.

Implementer's Guide folgt (Komplexität 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#90a52217
Content hash
90a52217
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

function 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#37a5dd0e
Content hash
37a5dd0e
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

function 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#ea65d502
Content hash
ea65d502
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

function ~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#d4ee6838
Content hash
d4ee6838
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

Dokumentation der Typaliase

type alias 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#15ab5e33
Content hash
15ab5e33
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

type alias 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#8c9e2f83
Content hash
8c9e2f83
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

type alias 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#e9f0e2d6
Content hash
e9f0e2d6
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

type alias 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#85521efa
Content hash
85521efa
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

type alias 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#c8517c79
Content hash
c8517c79
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