DEENESPTFRRUARHIKOZHNL

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

[SWS_DM_01704] Upstream: RS_Diag_04151

class MultipleEvent final {...};

Class to implement operations on diagnostic Events with the multiple event interfaces.

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

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

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

ईवेंट हैंडल और कॉलबैक सूचनाओं के माध्यम से एकाधिक नैदानिक घटनाओं की क्वेरी और निगरानी को सक्षम बनाता है।

यह क्लास अनुप्रयोगों को ईवेंट हैंडल [SWS_DM_01705] के आधार पर एक सामान्य इंटरफ़ेस के माध्यम से एकाधिक नैदानिक घटनाओं की स्थिति-संबंधी क्वेरी और निगरानी करने में सक्षम बनाती है। अधिसूचना कॉलबैक के पंजीकरण के अलावा, ईवेंट स्थिति, डिबाउंसिंग, त्रुटि काउंटर और DTC संख्या निर्धारित करने के लिए एसिंक्रोनस विधियाँ उपलब्ध हैं [SWS_DM_01707], [SWS_DM_01709]। इंस्टेंस न तो कॉपी करने योग्य हैं और न ही स्थानांतरित करने योग्य हैं और गैर-थ्रेड-सुरक्षित डिस्ट्रक्टर के कारण रिलीज़ से पहले सक्रिय ऑपरेशंस की व्यवस्थित समाप्ति की आवश्यकता होती है [SWS_DM_01706], [SWS_DM_02067]।

संदर्भ

क्लास ara::diag::MultipleEvent एकाधिक घटनाओं के लिए इंटरफेस के माध्यम से नैदानिक घटनाओं की क्वेरी और निगरानी करने के लिए अनुप्रयोग को इंटरफेस प्रदान करती है [SWS_DM_01705]। एकल-ईवेंट क्लासों के विपरीत, MultipleEvent के इंस्टेंस पर ऑपरेशंस EventHandleType [SWS_DM_01707], [SWS_DM_01708] प्रकार के पहचानकर्ता के माध्यम से विशिष्ट घटनाओं को संबोधित करते हैं। यह क्लास अनुप्रयोग सॉफ़्टवेयर घटक और Adaptive AUTOSAR AUTOSAR AP SWS Diagnostics, पृ. 69 के डायग्नोस्टिक मैनेजमेंट (DM) के बीच एक इंटरफ़ेस के रूप में कार्य करती है। एक DiagnosticMultipleEventInterface के पोर्ट प्रोटोटाइप के माध्यम से ऑब्जेक्ट कॉन्फ़िगर किए गए डायग्नोस्टिक इंफ्रास्ट्रक्चर से बंधा होता है [SWS_DM_01705]।

जीवनचक्र

MultipleEvent का एक इंस्टेंस एक स्पष्ट कंस्ट्रक्टर के माध्यम से ara::core::InstanceSpecifier निर्दिष्ट करके बनाया जाता है [SWS_DM_01705]। कंस्ट्रक्टर थ्रेड-सुरक्षित है और इंटरफ़ेस प्रकार DiagnosticMultipleEventInterface [SWS_DM_01705] के पोर्ट प्रोटोटाइप के मॉडल किए गए बाइंडिंग को सत्यापित करता है। यदि मैपिंग विफल हो जाती है या प्रक्रिया के भीतर समान इंस्टेंस पहचानकर्ता का पुन: उपयोग किया जाता है, तो प्लेटफ़ॉर्म InstanceSpecifierAlreadyInUseViolation या PortInterfaceMappingViolation [SWS_DM_01705] जैसे संगत उल्लंघनों की रिपोर्ट करता है।

कॉपी और मूव ऑपरेशंस MultipleEvent के लिए पूरी तरह से प्रतिबंधित हैं: कॉपी और मूव कंस्ट्रक्टर दोनों के साथ-साथ संबंधित असाइनमेंट ऑपरेटरों को हटा दिया गया घोषित किया गया है [SWS_DM_02067], [SWS_DM_02068], [SWS_DM_02069], [SWS_DM_02070]। इसलिए ऑब्जेक्ट की सख्त पहचान होती है और यह अपने निर्माण स्थल पर ही रहता है। डिस्ट्रक्टर ~MultipleEvent() गैर-थ्रेड-सुरक्षित निर्दिष्ट है [SWS_DM_01706]। इसलिए कॉल करने वाले घटकों को विनाश से पहले यह सुनिश्चित करना होगा कि इंस्टेंस के माध्यम से कोई और एसिंक्रोनस क्वेरी या सूचनाएं नहीं चल रही हैं AUTOSAR AP SWS Diagnostics, पृ. 78।

उपयोग पथ

इंस्टैंशिएशन के बाद, अनुप्रयोग आमतौर पर किसी विशिष्ट घटना (EventHandleType के माध्यम से पहचानी गई) की स्थिति परिवर्तनों के बारे में सूचित होने के लिए SetEventStatusChangedNotifier का उपयोग करके एक कॉलबैक फ़ंक्शन पंजीकृत करता है [SWS_DM_01708]। उसी घटना के लिए इस विधि का एक पुनः कॉल पहले सेट किए गए नोटिफ़ायर को अधिलेखित कर देता है [SWS_DM_01708]। यह पंजीकरण फ़ंक्शन थ्रेड-सुरक्षित नहीं है [SWS_DM_01708]।

चल रहे संचालन के दौरान, वर्तमान डायग्नोस्टिक जानकारी को प्रत्येक ईवेंट हैंडल के लिए लक्षित तरीके से पूछा जा सकता है। सभी स्थिति-संबंधी रीड ऑपरेशंस अपना डेटा एसिंक्रोनस रूप से एक ara::core::Future में लौटाते हैं:

  • GetEventStatus घटना के वर्तमान स्थिति बाइट को EventStatusByte [SWS_DM_01707] के रूप में लौटाता है।
  • GetDebouncingStatus घटना की डिबाउंस स्थिति (DebouncingState) लौटाता है [SWS_DM_01710]।
  • GetFaultDetectionCounter वर्तमान त्रुटि पहचान काउंटर (FaultDetectionCounter) को हस्ताक्षरित 8-बिट पूर्णांक मान के रूप में लौटाता है [SWS_DM_01711]।
  • GetDTCNumber अनुरोधित DTCFormatType [SWS_DM_01709] में संबद्ध DTC संख्या की क्वेरी करता है।

इन क्वेरी फ़ंक्शनों की थ्रेड सुरक्षा कॉन्फ़िगरेशन पर निर्भर करती है [SWS_DM_01707], [SWS_DM_01709], [SWS_DM_01710], [SWS_DM_01711]।

Nutzungsablauf ara::diag::MultipleEventएप्लिकेशनMultipleEventDiagnoseManagementUse Case: InstanziierungMultipleEvent(specifier)Bindung an PortPrototypeपुष्टि / प्रावधानUse Case: Notifier-RegistrierungSetEventStatusChangedNotifier(handle, notifier)Result<void>Use Case: स्थिति और DTC क्वेरीGetEventStatus(handle)Statusabfrage weiterleitenEventStatusByteFuture<EventStatusByte>GetDTCNumber(handle, dtcFormat)DTC-Abfrage weiterleitenDTC-NummerFuture<uint32_t>

अनुक्रम आरेख: MultipleEvent के माध्यम से नैदानिक घटनाओं के अवलोकन और क्वेरी का विशिष्ट उपयोग पथ। स्रोत: [SWS_DM_01705], [SWS_DM_01707], [SWS_DM_01708], [SWS_DM_01709], [SWS_DM_01710], [SWS_DM_01711]

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

MultipleEvent की विधियाँ DiagErrc प्रकार के माध्यम से त्रुटि स्थितियों का संकेत देती हैं, जिसे या तो एक ara::core::Result में या लौटाए गए ara::core::Future में एनकैप्सुलेट करके ले जाया जाता है [SWS_DM_01707], [SWS_DM_01708], [SWS_DM_01709]। निम्नलिखित त्रुटि स्थितियाँ निर्दिष्ट हैं:

  • DiagErrc::kInvalidArgument: तब होता है जब अमान्य पैरामीटर पास किए जाते हैं, उदाहरण के लिए एक अमान्य EventHandleType या kPreFailed [SWS_DM_01707], [SWS_DM_01708], [SWS_DM_01709], [SWS_DM_01710], [SWS_DM_01711] जैसी आंतरिक डिबाउंसिंग त्रुटियों के मामले में।
  • DiagErrc::kNoSuchDTC: GetDTCNumber द्वारा रिपोर्ट किया जाता है यदि अनुरोधित नैदानिक घटना के लिए कोई संगत DTC कॉन्फ़िगर या संबद्ध नहीं है [SWS_DM_01709]।
  • DiagErrc::kServiceNotAvailable: रीड ऑपरेशंस के दौरान तब होता है जब निष्पादन समय पर डायग्नोस्टिक मैनेजमेंट की आवश्यक बुनियादी कार्यक्षमताएँ उपलब्ध नहीं होती हैं [SWS_DM_01707], [SWS_DM_01709], [SWS_DM_01710], [SWS_DM_01711]।

त्रुटि की स्थिति में, ऑपरेशंस रोलबैक सिमेंटिक्स [SWS_DM_01707], [SWS_DM_01709] की गारंटी देते हैं।

यह मार्गदर्शिका विशेष रूप से AUTOSAR Adaptive R25-11 के विनिर्देशन संबंधी निर्देशों पर आधारित है।

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

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

2

ऑपरेटर

1

क्लास आरेख

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

G nara__diag__MultipleEvent593 MultipleEvent + MultipleEvent() + operator=() + ~MultipleEvent() + GetDTCNumber() + GetDebouncingStatus() + GetEventStatus() + GetFaultDetectionCounter() + SetEventStatusChangedNotifier()

विवरण दृश्य

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

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

MultipleEvent फ़ंक्शन 3

Constructor MultipleEvent class.

ओवरलोड MultipleEvent 3
explicit MultipleEvent (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_01705
MultipleEvent (MultipleEvent &&) noexcept=delete; SWS_DM_02069
MultipleEvent (MultipleEvent &)=delete; SWS_DM_02070
~MultipleEvent फ़ंक्शन

Destructor of class MultipleEvent.

~MultipleEvent () noexcept;

मेथड

GetDebouncingStatus फ़ंक्शन

Get the current debouncing status of the requested event.

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

Returns the DTC-ID related to requested event.

ara::core::Future< std::uint32_t > GetDTCNumber (EventHandleType event Handle, DTCFormatType dtcFormat) noexcept;
GetEventStatus फ़ंक्शन

Returns the current status of the requested event.

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

Returns the current value of Fault Detection Counter of the selected event.

ara::core::Future< std::int8_t > GetFaultDetectionCounter (EventHandle Type eventHandle) 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 (EventHandle Type eventHandle, EventStatusByteNotifier notifier) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

Copy assignment operator of MultipleEvent.

ओवरलोड = 2
MultipleEvent & operator= (MultipleEvent &)=delete; SWS_DM_02067
MultipleEvent & operator= (MultipleEvent &&)=delete; SWS_DM_02068

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

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

ara::core::Future< std::uint32_t > GetDTCNumber (EventHandleType event Handle, DTCFormatType dtcFormat) noexcept;

Returns the DTC-ID related to requested event.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
eventHandleIdentifies the requested event
dtcFormatDefine DTC format type for the return value.

Rückgabewert

TypBeschreibung
ara::core::Future<std::uint32_t >DTC number in respective DTCFormatType.

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing
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_01709
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01709@rel:R25-11#ccd72b98
Content hash
ccd72b98
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01709
Status: valid/unmigrated Version: rel:R25-11#e7981753 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_01709@rel:R25-11#e7981753
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#bec474d72026-09-30
  • R23-11rel:R23-11#9a0ba31b2026-10-14
  • R24-11rel:R24-11#e8916a392026-10-14
  • R25-11rel:R25-11#e79817532026-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_01710] Upstream: RS_Diag_04068, RS_Diag_04225, RS_AP_00139

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

Get the current debouncing status of the requested event.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
eventHandleIdentifies the requested event

Rückgabewert

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

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing
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_01710
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01710@rel:R25-11#06585b18
Content hash
06585b18
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01710
Status: valid/unmigrated Version: rel:R25-11#66286266 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_01710@rel:R25-11#66286266
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#02687f5a2026-09-30
  • R23-11rel:R23-11#74e6f1862026-10-14
  • R24-11rel:R24-11#ae2c6ff62026-10-14
  • R25-11rel:R25-11#662862662026-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_01707] Upstream: RS_Diag_04151, RS_AP_00139

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

Returns the current status of the requested event.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
eventHandleHandle of the Event

Rückgabewert

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

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing
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_01707
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01707@rel:R25-11#c30c4d38
Content hash
c30c4d38
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01707
Status: valid/unmigrated Version: rel:R25-11#60d26ba2 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_01707@rel:R25-11#60d26ba2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#00fb8fb82026-09-30
  • R23-11rel:R23-11#959068f12026-10-14
  • R24-11rel:R24-11#dd57a5052026-10-14
  • R25-11rel:R25-11#60d26ba22026-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_01711] Upstream: RS_AP_00139

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

Returns the current value of Fault Detection Counter of the selected event.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
eventHandleIdentifies the requested event

Rückgabewert

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

Fehler

FehlercodeBeschreibung
DiagErrc::kInvalidArgumentrollback_semantics e.g. kPreFailed with internal debouncing
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_01711
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01711@rel:R25-11#53ccc9d0
Content hash
53ccc9d0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01711
Status: valid/unmigrated Version: rel:R25-11#5c4028f4 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_01711@rel:R25-11#5c4028f4
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#4982ea842026-09-30
  • R23-11rel:R23-11#50dedae62026-10-14
  • R24-11rel:R24-11#58737ccd2026-10-14
  • R25-11rel:R25-11#5c4028f42026-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

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

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

Constructor MultipleEvent class.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent
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 DiagnosticMultipleEventPortMapping needs to be typed by a DiagnosticMultipleEventInterface. 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 DiagnosticMultipleEventInterface.

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

Record
AUTOSAR/AP/record/SWS_DM_01705
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01705@rel:R25-11#d0f1f169
Content hash
d0f1f169
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01705
Status: valid/unmigrated Version: rel:R25-11#14b1154a 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_01705@rel:R25-11#14b1154a
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e97676eb2026-09-30
  • R23-11rel:R23-11#4e9686b02026-10-14
  • R24-11rel:R24-11#b064f42e2026-10-14
  • R25-11rel:R25-11#14b1154a2026-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

फ़ंक्शन MultipleEvent [SWS_DM_02069] Upstream: RS_AP_00147

MultipleEvent (MultipleEvent &&) noexcept=delete;

Move constructor of MultipleEvent.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent

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

Record
AUTOSAR/AP/record/SWS_DM_02069
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02069@rel:R25-11#1b76a05b
Content hash
1b76a05b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02069
Status: valid/unmigrated Version: rel:R25-11#8fc0e2a4 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_02069@rel:R25-11#8fc0e2a4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#8bb5b78d2026-09-30
  • R24-11rel:R24-11#8fc0e2a42026-10-14
  • R25-11rel:R25-11#8fc0e2a42026-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

फ़ंक्शन MultipleEvent [SWS_DM_02070] Upstream: RS_AP_00147

MultipleEvent (MultipleEvent &)=delete;

Copy constructor of MultipleEvent.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent

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

Record
AUTOSAR/AP/record/SWS_DM_02070
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02070@rel:R25-11#44f692c6
Content hash
44f692c6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02070
Status: valid/unmigrated Version: rel:R25-11#fff39381 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_02070@rel:R25-11#fff39381
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b96cd6282026-09-30
  • R24-11rel:R24-11#fff393812026-10-14
  • R25-11rel:R25-11#fff393812026-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_01708] Upstream: RS_Diag_04183, RS_AP_00139

ara::core::Result< void > SetEventStatusChangedNotifier (EventHandle Type eventHandle, EventStatusByteNotifier 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 · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: bd91ad4f4cb5 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

मेथड ara::diag::MultipleEvent::SetEventStatusChangedNotifier [SWS_DM_01708] EventStatusByteNotifier प्रकार के एक कॉलबैक फ़ंक्शन को पंजीकृत करती है, जिसे तब कॉल किया जाता है जब किसी डायग्नोस्टिक इवेंट की स्थिति बदलती है। पैरामीटर eventHandle के माध्यम से इंस्टेंस के भीतर वांछित इवेंट की पहचान की जाती है। मेथड को noexcept के रूप में निर्दिष्ट किया गया है और यह एक ara::core::Result<void> लौटाती है। पुनः कॉल करने पर पहले से पंजीकृत नोटिफ़ायर ओवरराइट हो जाता है [SWS_DM_01708]।

त्रुटि प्रबंधन

यदि पंजीकरण के दौरान कोई त्रुटि होती है, तो ara::core::Result एक संबंधित त्रुटि कोड लौटाता है। त्रुटि DiagErrc::kInvalidArgument निर्दिष्ट है, उदाहरण के लिए आंतरिक डिबाउंसिंग जैसे kPreFailed के संदर्भ में [SWS_DM_01708]।

समवर्तीता और प्रतिबंध

ऑपरेशन को exception safe घोषित किया गया है, लेकिन स्पष्ट रूप से not thread-safe के रूप में वर्गीकृत किया गया है [SWS_DM_01708]। इसलिए समान इंस्टेंस पर समवर्ती कॉल्स को बाहरी रूप से सिंक्रोनाइज़ किया जाना चाहिए।

इंटरैक्शन

जबकि क्लास ara::diag::Event, SetEventStatusChangedNotifier [SWS_DM_00650] के साथ हैंडल के बिना एकल इवेंट्स का प्रबंधन करती है, MultipleEvent कई इवेंट्स को एक साथ समूहीकृत करती है। संभवतः Diagnostic Management (DM), [SWS_DM_01029] के समान, eventHandle के माध्यम से संबद्ध इवेंट के प्रत्येक स्थिति परिवर्तन पर पंजीकृत नोटिफ़ायर के कॉल का कारण बनता है AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.7 “Event status change notifications”। प्रश्न Q-ef7791b2a1106582 (खुला)

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

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

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

Parameter (in)

ParameterBeschreibung
eventHandleIdentifies the requested event
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
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_01708
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01708@rel:R25-11#dd262470
Content hash
dd262470
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01708
Status: valid/unmigrated Version: rel:R25-11#75cdce7a 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_01708@rel:R25-11#75cdce7a
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#8d52a1ae2026-09-30
  • R23-11rel:R23-11#09aaa2182026-10-14
  • R24-11rel:R24-11#f4a611642026-10-14
  • R25-11rel:R25-11#75cdce7a2026-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_02067] Upstream: RS_AP_00147

MultipleEvent & operator= (MultipleEvent &)=delete;

Copy assignment operator of MultipleEvent.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent

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

Record
AUTOSAR/AP/record/SWS_DM_02067
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02067@rel:R25-11#036f97b5
Content hash
036f97b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02067
Status: valid/unmigrated Version: rel:R25-11#5d5f9dd0 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_02067@rel:R25-11#5d5f9dd0
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#eea970b12026-09-30
  • R24-11rel:R24-11#5d5f9dd02026-10-14
  • R25-11rel:R25-11#5d5f9dd02026-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_02068] Upstream: RS_AP_00147

MultipleEvent & operator= (MultipleEvent &&)=delete;

Move assignment operator of MultipleEvent.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent

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

Record
AUTOSAR/AP/record/SWS_DM_02068
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02068@rel:R25-11#bcb6f126
Content hash
bcb6f126
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02068
Status: valid/unmigrated Version: rel:R25-11#77174b30 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_02068@rel:R25-11#77174b30
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5e2fb56f2026-09-30
  • R24-11rel:R24-11#77174b302026-10-14
  • R25-11rel:R25-11#77174b302026-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

फ़ंक्शन ~MultipleEvent [SWS_DM_01706] Upstream: RS_Diag_04151, RS_AP_00134

~MultipleEvent () noexcept;

Destructor of class MultipleEvent.

Header-Datei#include "ara/diag/multiple_event.h"
Scopeclass ara::diag::MultipleEvent
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_01706
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01706@rel:R25-11#534c4d37
Content hash
534c4d37
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01706
Status: valid/unmigrated Version: rel:R25-11#3c4e00c2 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_01706@rel:R25-11#3c4e00c2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#de8d63a32026-09-30
  • R23-11rel:R23-11#93abb2b92026-10-14
  • R24-11rel:R24-11#3edfe3082026-10-14
  • R25-11rel:R25-11#3c4e00c22026-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