DEENESPTFRRUARHIKOZHNL

क्लास ara::diag::Event

[SWS_DM_00646] Upstream: RS_Diag_04151

class Event final {...};

Class to implement operations on diagnostic Events.

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

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

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

अनुप्रयोगों को नैदानिक घटनाओं की स्थिति-संबंधी निगरानी, डिबाउंसिंग और DTC क्वेरी की सुविधा देता है।

AUTOSAR Adaptive में क्लास ara::diag::Event नैदानिक घटनाओं और उनकी डिबाउंसिंग व त्रुटि स्थितियों की निगरानी के लिए ऑपरेशन्स प्रदान करती है। ऍप्लिकेशन्स InstanceSpecifier के माध्यम से ऑब्जेक्ट को इंस्टैनशिएट करते हैं, वैकल्पिक परिवर्तन सूचनाएं पंजीकृत करते हैं और एसिंक्रोनस रूप से नैदानिक और DTC जानकारी प्राप्त करते हैं [SWS_DM_00647]। एक केंद्रीय बाधा के रूप में, इंस्टेंस न तो कॉपी करने योग्य है और न ही स्थानांतरित (move) करने योग्य, और थ्रेड-सुरक्षा की कमी के कारण अधिकांश क्वेरी मेथड्स को समवर्ती एक्सेस के दौरान ऍप्लिकेशन-पक्षीय सिंक्रोनाइज़ेशन की आवश्यकता होती है [SWS_DM_00649]।

संदर्भ

AUTOSAR Adaptive Platform में क्लास ara::diag::Event नैदानिक घटनाओं के साथ इंटरैक्शन के लिए प्राथमिक इंटरफ़ेस के रूप में कार्य करती है। यह ऍप्लिकेशन-विशिष्ट सॉफ़्टवेयर और केंद्रीय निदान प्रबंधन के बीच एक संयोजक के रूप में कार्य करती है। इस इंटरफ़ेस के माध्यम से, ऍप्लिकेशन्स किसी ईवेंट की वर्तमान नैदानिक और डिबाउंसिंग स्थिति की निगरानी करते हैं या स्थिति परिवर्तनों के बारे में सूचित होते हैं।

सिस्टम संदर्भ में इंटरैक्शन में अनिवार्य रूप से तीन पक्ष शामिल होते हैं:

  • ऍप्लिकेशन सॉफ़्टवेयर: क्लास को इंस्टैनशिएट करता है, स्थिति क्वेरीज़ शुरू करता है और एसिंक्रोनस स्थिति अपडेट प्राप्त करता है।
  • ara::diag::Event: टाइप किए गए नैदानिक पोर्ट (किसी DiagnosticEventInterface का PortPrototype) को इनकैप्सुलेट करता है और थ्रेड- व प्रोसेस-व्यापी क्वेरी मेथड्स प्रदान करता है।
  • Diagnostic Management (DM): सर्वर पक्ष पर त्रुटि पहचान, DTC असाइनमेंट और डिबाउंसिंग व्यवहार (Debouncing) निष्पादित करता है।
app Anwendungssoftware event ara::diag::Event app->event Statusabfrage / Notifier dm निदान प्रबंधन event->dm Ereignisdaten / Notifikationen

संदर्भ आरेख: ऍप्लिकेशन सॉफ़्टवेयर और Diagnostic Management के बीच Event क्लास का वर्गीकरण। स्रोत: [SWS_DM_00647], [SWS_DM_00653]

जीवनचक्र

इंस्टैनशिएशन स्पष्ट रूप से एक ara::core::InstanceSpecifier पास करके किया जाता है [SWS_DM_00647]। आइडेंटिफ़ायर को एक ऐसे PortPrototype को संदर्भित करना चाहिए जो DiagnosticEventInterface के माध्यम से टाइप किया गया हो। कन्स्ट्रक्टर अपवाद-सुरक्षित और थ्रेड-सुरक्षित है [SWS_DM_00647]।

स्वामित्व के संबंध में, ara::diag::Event को एक गैर-कॉपी करने योग्य और गैर-स्थानांतरण योग्य एकल इंस्टेंस के रूप में परिभाषित किया गया है: कॉपी कन्स्ट्रक्टर [SWS_DM_01681] और मूव कन्स्ट्रक्टर [SWS_DM_01682] दोनों के साथ-साथ संबंधित असाइनमेंट ऑपरेटर्स ([SWS_DM_01679], [SWS_DM_01680]) स्पष्ट रूप से हटा दिए गए हैं (=delete)। प्रति प्रोसेस एक InstanceSpecifier को एक से अधिक बार इंस्टैनशिएट नहीं किया जा सकता है [SWS_DM_00647]।

विनाश डिस्ट्रक्टर ~Event() के माध्यम से होता है [SWS_DM_00648]। कन्स्ट्रक्टर के विपरीत, डिस्ट्रक्टर थ्रेड-सुरक्षित नहीं है। अन्य सभी सदस्य फ़ंक्शन्स (GetDTCNumber के अपवाद के साथ) भी गैर-थ्रेड-सुरक्षित के रूप में निर्दिष्ट हैं, यही कारण है कि एक ही इंस्टेंस पर समानांतर कॉल्स को ऍप्लिकेशन पक्ष पर सिंक्रोनाइज़ किया जाना चाहिए। Release R25-11 में, इस संबंध में शब्दावली को Reentrancy से Concurrency में सुसंगत बनाया गया था AUTOSAR_AP_SWS_Diagnostics §1 “Change History”।

उपयोग पथ

एक विशिष्ट उपयोग का मामला निम्नलिखित कॉल्स में विभाजित है:

  1. आरंभीकरण: ऍप्लिकेशन अपने InstanceSpecifier के माध्यम से इंस्टेंस बनाता है [SWS_DM_00647]। आरंभीकरण के समय बाइंडिंग नैदानिक डेमॉन से कनेक्शन स्थापित करती है। प्रश्न Q-78e4462a0d147cfb (खुला)
  2. नोटिफ़ायर पंजीकृत करें: निगरानी के लिए, वैकल्पिक रूप से SetEventStatusChangedNotifier के माध्यम से एक कॉलबैक पंजीकृत किया जाता है [SWS_DM_00650]। बाद का कॉल पहले सेट किए गए नोटिफ़ायर को अधिलेखित (overwrite) कर देता है।
  3. स्थिति क्वेरीज़: संचालन के दौरान, ऍप्लिकेशन ara::core::Future के माध्यम से एसिंक्रोनस रूप से नैदानिक डेटा की क्वेरी करता है:
    • GetEventStatus() वर्तमान स्थिति बाइट निर्धारित करता है [SWS_DM_00649]।
    • GetDebouncingStatus() वर्तमान डिबाउंसिंग स्थिति लौटाता है [SWS_DM_00654]।
    • GetFaultDetectionCounter() त्रुटि पहचान काउंटर (FDC) प्राप्त करता है [SWS_DM_00656]।
    • GetTestComplete() जाँचता है कि क्या परीक्षण पूरा हो चुका है (FDC -128 या 127 तक पहुँच गया है) [SWS_DM_00655]।
    • GetDTCNumber(dtcFormat) चयनित प्रारूप में संबद्ध DTC संख्या प्रदान करता है और इसे थ्रेड-सुरक्षित निष्पादित किया गया है [SWS_DM_00653]।
डायग्नोस्टिक इवेंट इंटरैक्शन का विशिष्ट प्रवाहएप्लिकेशनara::diag::Eventनिदान प्रबंधनEvent(specifier)Verbindung registrierenSetEventStatusChangedNotifier(notifier)Result<void>GetEventStatus()Ereignisstatus anfordernEventStatusByteFuture<EventStatusByte>optइवेंट स्थिति परिवर्तित होती हैStatusaktualisierungnotifier(EventStatusByte)

अनुक्रम आरेख: ऍप्लिकेशन, Event इंस्टेंस और Diagnostic Management के बीच विशिष्ट इंटरैक्शन अनुक्रम। स्रोत: [SWS_DM_00647], [SWS_DM_00650], [SWS_DM_00649], [SWS_DM_00653]

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

त्रुटि स्थितियाँ इंस्टैनशिएशन के समय मॉडलिंग उल्लंघनों (Violations) के रूप में या रनटाइम पर त्रुटि कोड के रूप में उत्पन्न होती हैं:

  • कंस्ट्रक्टर कॉल पर Violations [SWS_DM_00647]:
    • InstanceSpecifierMappingIntegrityViolation: आइडेंटिफ़ायर मॉडल में रिज़ॉल्व होने योग्य नहीं है या किसी PortPrototype को संदर्भित नहीं करता है।
    • PortInterfaceMappingViolation: संदर्भित PortPrototype DiagnosticEventInterface के रूप में टाइप नहीं किया गया है।
    • ProcessMappingViolation: प्रोसेस से मेल खाता कोई मॉडल किया गया संदर्भ नहीं मिला।
    • InstanceSpecifierAlreadyInUseViolation: आइडेंटिफ़ायर उसी प्रोसेस में पहले से ही किसी सक्रिय इंस्टेंस द्वारा उपयोग किया जा रहा है।
  • ara::core::Result या ara::core::Future के माध्यम से रनटाइम त्रुटि कोड:
    • DiagErrc::kServiceNotAvailable: सभी स्थिति क्वेरीज़ में उत्पन्न होता है ([SWS_DM_00649], [SWS_DM_00653], [SWS_DM_00654], [SWS_DM_00655], [SWS_DM_00656]), यदि Diagnostic Management के आवश्यक बैकग्राउंड फ़ंक्शन्स उपलब्ध नहीं हैं। संचार संभवतः IPC के माध्यम से एसिंक्रोनस रूप से संचालित होता है। प्रश्न (खुला)
    • DiagErrc::kNoSuchDTC: GetDTCNumber द्वारा रिपोर्ट किया जाता है, यदि ईवेंट के लिए कोई DTC संग्रहीत नहीं है [SWS_DM_00653]।
    • DiagErrc::kInvalidArgument: SetEventStatusChangedNotifier द्वारा लौटाया जाता है, उदाहरण के लिए अमान्य पास किए गए मानों के मामले में [SWS_DM_00650]।

यह गाइड Release R25-11 में AUTOSAR Adaptive Platform के विनिर्देशों पर आधारित है।

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

कंस्ट्रक्टर और डिस्ट्रक्टर

2

ऑपरेटर

1

क्लास आरेख

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

G nara__diag__Event255 Event + Event() + operator=() + ~Event() + GetDTCNumber() + GetDebouncingStatus() + GetEventStatus() + GetFaultDetectionCounter() + GetTestComplete() + SetEventStatusChangedNotifier()

विवरण दृश्य

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

कंस्ट्रक्टर और डिस्ट्रक्टर

Event फ़ंक्शन 3

Constructor Event class.

ओवरलोड Event 3
explicit Event (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_00647
Event (Event &)=delete; SWS_DM_01681
Event (Event &&) noexcept=delete; SWS_DM_01682
~Event फ़ंक्शन

Destructor of class Event.

~Event () noexcept;

मेथड

GetDebouncingStatus फ़ंक्शन

Get the current debouncing status.

ara::core::Future< DebouncingState > GetDebouncingStatus () noexcept;
GetDTCNumber फ़ंक्शन

Returns the DTC number related to this event instance.

ara::core::Future< std::uint32_t > GetDTCNumber (DTCFormatType dtc Format) noexcept;
GetEventStatus फ़ंक्शन

Returns the current diagnostic event status.

ara::core::Future< EventStatusByte > GetEventStatus () noexcept;
GetFaultDetectionCounter फ़ंक्शन

Returns the current value of the Fault Detection Counter (FDC) of this event.

ara::core::Future< std::int8_t > GetFaultDetectionCounter () noexcept;
GetTestComplete फ़ंक्शन

Get the status if the event has matured to test completed (corresponds to FDC = -128 or FDC = 127).

ara::core::Future< bool > GetTestComplete () noexcept;
SetEventStatusChangedNotifier फ़ंक्शन

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

ara::core::Result< void > SetEventStatusChangedNotifier (EventStatus ByteNotifier notifier) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

Event shall be a single not assign-able instance.

ओवरलोड = 2
Event & operator= (Event &)=delete; SWS_DM_01679
Event & operator= (Event &&)=delete; SWS_DM_01680

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

फ़ंक्शन Event [SWS_DM_00647] Upstream: RS_Diag_04151, RS_AP_00137, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

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

Constructor Event class.

Header-Datei#include "ara/diag/event.h"
Scopeclass ara::diag::Event
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 DiagnosticEventPortMapping needs to be typed by a DiagnosticEventInterface. 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 DiagnosticEventInterface.

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

Record
AUTOSAR/AP/record/SWS_DM_00647
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00647@rel:R25-11#00c01f42
Content hash
00c01f42
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00647
Status: valid/unmigrated Version: rel:R25-11#5add1f87 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_00647@rel:R25-11#5add1f87
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f0666d8e2026-09-30
  • R19-11rel:R19-11#3c89d7ee2026-10-14
  • R20-11rel:R20-11#870e61ce2026-10-14
  • R21-11rel:R21-11#f7c5ed1f2026-10-14
  • R22-11rel:R22-11#8c18fb3e2026-10-14
  • R23-11rel:R23-11#f694eb632026-10-14
  • R24-11rel:R24-11#51cd865b2026-10-14
  • R25-11rel:R25-11#5add1f872026-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

फ़ंक्शन Event [SWS_DM_01681] Upstream: RS_AP_00147

Event (Event &)=delete;

Event shall be a single not copy-able instance.

Header-Datei#include "ara/diag/event.h"
Scopeclass ara::diag::Event

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

Record
AUTOSAR/AP/record/SWS_DM_01681
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01681@rel:R25-11#dd530966
Content hash
dd530966
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01681
Status: valid/unmigrated Version: rel:R25-11#99c774ff 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_01681@rel:R25-11#99c774ff
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#04d5b97d2026-09-30
  • R23-11rel:R23-11#43b1f1382026-10-14
  • R24-11rel:R24-11#99c774ff2026-10-14
  • R25-11rel:R25-11#99c774ff2026-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

फ़ंक्शन Event [SWS_DM_01682] Upstream: RS_AP_00147

Event (Event &&) noexcept=delete;

Move constructor of Event.

Header-Datei#include "ara/diag/event.h"
Scopeclass ara::diag::Event

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

Record
AUTOSAR/AP/record/SWS_DM_01682
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01682@rel:R25-11#1b3241bc
Content hash
1b3241bc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01682
Status: valid/unmigrated Version: rel:R25-11#65729748 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_01682@rel:R25-11#65729748
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#8addd59c2026-09-30
  • R23-11rel:R23-11#30e0773c2026-10-14
  • R24-11rel:R24-11#657297482026-10-14
  • R25-11rel:R25-11#657297482026-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

फ़ंक्शन GetDTCNumber [SWS_DM_00653] Upstream: RS_Diag_04201, RS_AP_00139, RS_AP_00119

ara::core::Future< std::uint32_t > GetDTCNumber (DTCFormatType dtc Format) noexcept;

Returns the DTC number related to this event instance.

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

Parameter (in)

ParameterBeschreibung
dtcFormatDefine the DTC format for the return value.

Rückgabewert

TypBeschreibung
ara::core::Future<std::uint32_t >Return the DTC number in respective DTC format.

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_00653
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00653@rel:R25-11#df075e30
Content hash
df075e30
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00653
Status: valid/unmigrated Version: rel:R25-11#5e084285 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_00653@rel:R25-11#5e084285
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c154a4692026-09-30
  • R19-11rel:R19-11#5dafafb22026-10-14
  • R20-11rel:R20-11#bf458cb22026-10-14
  • R21-11rel:R21-11#06484d962026-10-14
  • R22-11rel:R22-11#8f25efce2026-10-14
  • R23-11rel:R23-11#481fbbe32026-10-14
  • R24-11rel:R24-11#07fccb8e2026-10-14
  • R25-11rel:R25-11#5e0842852026-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

फ़ंक्शन GetDebouncingStatus [SWS_DM_00654] Upstream: RS_Diag_04068, RS_Diag_04225, RS_AP_00139

ara::core::Future< DebouncingState > GetDebouncingStatus () noexcept;

Get the current debouncing status.

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

Rückgabewert

TypBeschreibung
ara::core::Future<DebouncingState >Return the current debouncing state of this event.

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_00654
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00654@rel:R25-11#8e22e146
Content hash
8e22e146
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00654
Status: valid/unmigrated Version: rel:R25-11#8bddb1d0 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_00654@rel:R25-11#8bddb1d0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#aa2d0fb82026-09-30
  • R19-11rel:R19-11#343c856a2026-10-14
  • R20-11rel:R20-11#76fa6fa62026-10-14
  • R21-11rel:R21-11#76fa6fa62026-10-14
  • R22-11rel:R22-11#b0bcfa5d2026-10-14
  • R23-11rel:R23-11#773a565b2026-10-14
  • R24-11rel:R24-11#58de85e42026-10-14
  • R25-11rel:R25-11#8bddb1d02026-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

फ़ंक्शन GetEventStatus [SWS_DM_00649] Upstream: RS_Diag_04151, RS_AP_00139

ara::core::Future< EventStatusByte > GetEventStatus () noexcept;

Returns the current diagnostic event status.

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

Rückgabewert

TypBeschreibung
ara::core::Future< EventStatusByte >Return the current diagnostic event status

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_00649
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00649@rel:R25-11#21d09201
Content hash
21d09201
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00649
Status: valid/unmigrated Version: rel:R25-11#88b46805 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_00649@rel:R25-11#88b46805
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#73c9caf02026-09-30
  • R19-11rel:R19-11#ac7535d32026-10-14
  • R20-11rel:R20-11#aa687a9f2026-10-14
  • R21-11rel:R21-11#aa687a9f2026-10-14
  • R22-11rel:R22-11#9ace322d2026-10-14
  • R23-11rel:R23-11#09d412822026-10-14
  • R24-11rel:R24-11#c1f9b0482026-10-14
  • R25-11rel:R25-11#88b468052026-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

फ़ंक्शन GetFaultDetectionCounter [SWS_DM_00656] Upstream: RS_Diag_04068, RS_AP_00139

ara::core::Future< std::int8_t > GetFaultDetectionCounter () noexcept;

Returns the current value of the Fault Detection Counter (FDC) of this event.

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

Rückgabewert

TypBeschreibung
ara::core::Future<std::int8_t >Returns the current FaultDetectionCounter value.

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_00656
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00656@rel:R25-11#1e08defd
Content hash
1e08defd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00656
Status: valid/unmigrated Version: rel:R25-11#4907132c 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_00656@rel:R25-11#4907132c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#94f917742026-09-30
  • R19-11rel:R19-11#f9f594e72026-10-14
  • R20-11rel:R20-11#57d52b342026-10-14
  • R21-11rel:R21-11#678c683c2026-10-14
  • R22-11rel:R22-11#845aefab2026-10-14
  • R23-11rel:R23-11#f314b0512026-10-14
  • R24-11rel:R24-11#b946e5e42026-10-14
  • R25-11rel:R25-11#4907132c2026-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

फ़ंक्शन GetTestComplete [SWS_DM_00655] Upstream: RS_Diag_04151, RS_AP_00139

ara::core::Future< bool > GetTestComplete () noexcept;

Get the status if the event has matured to test completed (corresponds to FDC = -128 or FDC = 127).

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

Rückgabewert

TypBeschreibung
ara::core::Future< bool >Return the current test_completed-state of this event. TRUE, if FDC = -128 or FDC = 127; FALSE in all other cases.

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_00655
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00655@rel:R25-11#cfa64391
Content hash
cfa64391
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00655
Status: valid/unmigrated Version: rel:R25-11#567ebe83 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_00655@rel:R25-11#567ebe83
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2124e8272026-09-30
  • R19-11rel:R19-11#3073277b2026-10-14
  • R20-11rel:R20-11#2be275092026-10-14
  • R21-11rel:R21-11#1d60449a2026-10-14
  • R22-11rel:R22-11#5d7ba70b2026-10-14
  • R23-11rel:R23-11#6d14f8702026-10-14
  • R24-11rel:R24-11#1273d1452026-10-14
  • R25-11rel:R25-11#567ebe832026-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

फ़ंक्शन SetEventStatusChangedNotifier [SWS_DM_00650] Upstream: RS_Diag_04183, RS_AP_00139

ara::core::Result< void > SetEventStatusChangedNotifier (EventStatus ByteNotifier notifier) noexcept;

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

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

क्लास ara::diag::Event (हेडर फ़ाइल ara/diag/event.h) की विधि [SWS_DM_00650] के माध्यम से, एक Adaptive Application EventStatusByteNotifier प्रकार के कॉलबैक फ़ंक्शन को पंजीकृत करता है। सफल पंजीकरण के बाद, Diagnostic Management (DM) संबंधित नैदानिक इवेंट के प्रत्येक स्थिति परिवर्तन पर इस नोटिफ़ायर को कॉल करता है [SWS_DM_01029]। विधि का लगातार कॉल पहले से पंजीकृत नोटिफ़ायर को अधिलेखित (overwrite) कर देता है [SWS_DM_00650]। फ़ंक्शन का सिग्नेचर ara::core::Result<void> SetEventStatusChangedNotifier(EventStatusByteNotifier notifier) noexcept है और सफलता पर एक खाली परिणाम लौटाता है [SWS_DM_00650]।

यदि प्रसंस्करण के दौरान कोई त्रुटि होती है, तो विधि त्रुटि कोड DiagErrc::kInvalidArgument लौटाती है [SWS_DM_00650]। इंटरफ़ेस हालांकि अपवाद-सुरक्षित (exception safe) घोषित किया गया है, लेकिन इसे स्पष्ट रूप से गैर-थ्रेड-सुरक्षित (not thread-safe) माना जाता है [SWS_DM_00650]। व्याख्या: उसी इंस्टेंस पर समवर्ती एक्सेस को एप्लिकेशन पक्ष पर सिंक्रनाइज़ किया जाना चाहिए; संभवतः पंजीकरण को अनुप्रयोग के आरंभीकरण चरण के दौरान प्राथमिकता से किया जाना चाहिए। प्रश्न Q-d8ed099eaed6b197 (खुला)

कार्यात्मक रूप से, नोटिफ़ायर GetEventStatus [SWS_DM_00886] के माध्यम से समकालिक स्थिति क्वेरी के अतुल्यकालिक समकक्ष का प्रतिनिधित्व करता है, जैसा कि SWS Diagnostics §7.3.4.1.7 “Event status change notifications” में बताया गया है। सामूहिक उदाहरणों के लिए, क्लास ara::diag::MultipleEvent अतिरिक्त रूप से EventHandleType पास करने के साथ संगत विधि [SWS_DM_01708] प्रदान करती है SWS Diagnostics §8.43.2.1.3.5 “SetEventStatusChangedNotifier”।

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

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

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

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if a diagnostic event 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_00650
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00650@rel:R25-11#90eac12d
Content hash
90eac12d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00650
Status: valid/unmigrated Version: rel:R25-11#2c7ca3fc 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_00650@rel:R25-11#2c7ca3fc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a0cbc3d82026-09-30
  • R19-11rel:R19-11#dc5182fc2026-10-14
  • R20-11rel:R20-11#23d7e9432026-10-14
  • R21-11rel:R21-11#dbbe3d9e2026-10-14
  • R22-11rel:R22-11#ed3ac0b02026-10-14
  • R23-11rel:R23-11#6fbd522f2026-10-14
  • R24-11rel:R24-11#019f01af2026-10-14
  • R25-11rel:R25-11#2c7ca3fc2026-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_01679] Upstream: RS_AP_00147

Event & operator= (Event &)=delete;

Event shall be a single not assign-able instance.

Header-Datei#include "ara/diag/event.h"
Scopeclass ara::diag::Event

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

Record
AUTOSAR/AP/record/SWS_DM_01679
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01679@rel:R25-11#ab6be6dc
Content hash
ab6be6dc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01679
Status: valid/unmigrated Version: rel:R25-11#10ef80b0 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_01679@rel:R25-11#10ef80b0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#2fa03c0a2026-09-30
  • R23-11rel:R23-11#fccd65ac2026-10-14
  • R24-11rel:R24-11#10abe0b52026-10-14
  • R25-11rel:R25-11#10ef80b02026-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_01680] Upstream: RS_AP_00147

Event & operator= (Event &&)=delete;

Move assignment operator of Event.

Header-Datei#include "ara/diag/event.h"
Scopeclass ara::diag::Event

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

Record
AUTOSAR/AP/record/SWS_DM_01680
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01680@rel:R25-11#a7c6c670
Content hash
a7c6c670
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01680
Status: valid/unmigrated Version: rel:R25-11#c25e65da 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_01680@rel:R25-11#c25e65da
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#986c114c2026-09-30
  • R23-11rel:R23-11#89bb7bca2026-10-14
  • R24-11rel:R24-11#c25e65da2026-10-14
  • R25-11rel:R25-11#c25e65da2026-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

फ़ंक्शन ~Event [SWS_DM_00648] Upstream: RS_Diag_04151, RS_AP_00134

~Event () noexcept;

Destructor of class Event.

Header-Datei#include "ara/diag/event.h"
Scopeclass ara::diag::Event
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_00648
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00648@rel:R25-11#9326fcf0
Content hash
9326fcf0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00648
Status: valid/unmigrated Version: rel:R25-11#a0bd8c99 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_00648@rel:R25-11#a0bd8c99
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c8ade5942026-09-30
  • R19-11rel:R19-11#484b371b2026-10-14
  • R20-11rel:R20-11#98c042472026-10-14
  • R21-11rel:R21-11#4af04e862026-10-14
  • R22-11rel:R22-11#f870d3302026-10-14
  • R23-11rel:R23-11#9789d55a2026-10-14
  • R24-11rel:R24-11#bd9345702026-10-14
  • R25-11rel:R25-11#a0bd8c992026-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