DEENESPTFRRUARHIKOZHNL

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

[SWS_DM_00608] Upstream: RS_Diag_04169, RS_Diag_04277

class CancellationHandler final {...};

CancellationHandler contains a shared state if the processing should be cancelled.

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

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

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

संसाधनों के संरक्षण के लिए चल रहे डायग्नोस्टिक रूटीन्स को किसी वार्तालाप के समयपूर्व निरस्तीकरण का संकेत देता है।

वर्ग ara::diag::CancellationHandler डायग्नोस्टिक अनुप्रयोगों को Diagnostic Management [SWS_DM_00608] में चल रही प्रोसेसिंग के समयपूर्व निरस्तीकरण के बारे में सूचित करता है। DM-Core द्वारा निर्मित ऑब्जेक्ट सर्विस प्रोसेसर को IsCanceled() के माध्यम से निरस्तीकरण स्थिति की जांच करने या सर्विस निष्पादन को तत्काल रोकने के लिए SetNotifier() के माध्यम से कॉलबैक द्वारा सूचित होने की अनुमति देता है [SWS_DM_00615]। एक बार सेट की गई निरस्तीकरण स्थिति अपरिवर्तनीय होती है, और इंस्टेंस तक पहुँच को एप्लिकेशन स्तर पर सुरक्षित किया जाना चाहिए, क्योंकि इंटरफ़ेस थ्रेड-सुरक्षित नहीं है।

संदर्भ

वर्ग ara::diag::CancellationHandler मॉड्यूल diag के भीतर एक साझा स्थिति संकेतक के रूप में कार्य करता है, जो यह दर्शाता है कि क्या चल रही डायग्नोस्टिक प्रोसेसिंग को समय से पहले रद्द किया जाना चाहिए [SWS_DM_00608]। AUTOSAR Adaptive Platform में यह वर्ग Diagnostic Management (DM) के सर्वर इंस्टेंस और निष्पादक एप्लिकेशन लॉजिक के बीच मध्यस्थता करता है, जैसे कि निर्माता-विशिष्ट UDS सेवाओं के प्रसंस्करण के दौरान (AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.24 “Custom Diagnostic Services”, [SWS_DM_00502])।

यदि कोई सक्रिय डायग्नोस्टिक वार्तालाप बाहरी घटनाओं या प्रोटोकॉल आवश्यकताओं द्वारा रद्द कर दिया जाता है, तो Diagnostic Server इंस्टेंस शुरू की गई गतिविधि को यथाशीघ्र रोकने के लिए बाध्य है [SWS_DM_00278]। CancellationHandler के माध्यम से यह निरस्तीकरण सर्विस प्रोसेसर को संकेतित किया जाता है, ताकि संसाधन-गहन गणनाओं को निरस्त किया जा सके और डायग्नोस्टिक प्रतिक्रियाओं को उनके ट्रांसमिशन शुरू होने से पहले अनुचित रूप से भेजे जाने से रोका जा सके [SWS_DM_00279]।

जीवनचक्र

ara::diag::CancellationHandler का इंस्टेंटिएशन डायग्नोस्टिक फ्रेमवर्क के अनन्य नियंत्रण में है: डिफ़ॉल्ट कंस्ट्रक्टर को अनुप्रयोगों के लिए स्पष्ट रूप से हटा दिया गया है (delete), ताकि इंस्टेंस विशेष रूप से DM-Core द्वारा ही बनाए जा सकें [SWS_DM_00609]। एक स्पष्ट स्थिति असाइनमेंट सुनिश्चित करने के लिए, वर्ग को गैर-कॉपी करने योग्य एकल इंस्टेंस के रूप में निर्दिष्ट किया गया है; कॉपी कंस्ट्रक्टर [SWS_DM_00611] और कॉपी असाइनमेंट ऑपरेटर [SWS_DM_00613] हटा दिए गए हैं।

इसके विपरीत, वर्ग मूव-सिमेंटिक्स का समर्थन करता है: मूव कंस्ट्रक्टर [SWS_DM_00610] और मूव असाइनमेंट ऑपरेटर [SWS_DM_00612] को डिफ़ॉल्ट कार्यान्वयन के रूप में noexcept घोषित किया गया है। यह संभवतः फ्रेमवर्क को इंस्टेंस के स्वामित्व को डाउनस्ट्रीम निष्पादन संदर्भों में कुशलतापूर्वक स्थानांतरित करने की अनुमति देता है। प्रश्न (खुला)

स्थिति के संदर्भ में, इंस्टेंस मोनोटोनिक व्यवहार प्रदर्शित करता है। इनिशियलाइज़ेशन के तुरंत बाद IsCanceled() मान false का संकेत देता है [SWS_DM_00984]। जैसे ही संबंधित डायग्नोस्टिक वार्तालाप रद्द होता है, स्थिति true में बदल जाती है। यह निरस्तीकरण स्थिति इंस्टेंस के नष्ट होने तक अपरिवर्तनीय रूप से बनी रहती है [SWS_DM_00984]।

start NotCanceled रद्द नहीं किया गया IsCanceled() == false start->NotCanceled Erzeugung durch DM-Core Canceled Abgebrochen IsCanceled() == true NotCanceled->Canceled डायग्नोस्टिक वार्तालाप का रद्दीकरण (नोटिफ़ायर कॉल) ende NotCanceled->ende नियमित विनाश Canceled->ende विनाश (Destruction)

स्थिति आरेख: CancellationHandler का जीवनचक्र और स्थिति संक्रमण। स्रोत: [SWS_DM_00609], [SWS_DM_00984], AUTOSAR_AP_SWS_Diagnostics §7.3.2 “Return of cancellation status”

उपयोग पथ

हैंडलर का विशिष्ट उपयोग निम्नलिखित समन्वित चरणों में संरचित है:

  1. प्रावधान: डायग्नोस्टिक अनुरोध प्राप्त होने पर, DM-Core CancellationHandler ऑब्जेक्ट बनाता है और इसे डायग्नोस्टिक एप्लिकेशन के प्रोसेसिंग रूटीन को अग्रेषित करता है (AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.24 “Custom Diagnostic Services”, [SWS_DM_00609])।
  2. पंजीकरण या पोलिंग: एप्लिकेशन SetNotifier() का उपयोग करके प्रकार ara::diag::CancellationHandler::CancellationHandlerSetNotifier ([SWS_DM_02075]) का एक अधिसूचना फ़ंक्शन पंजीकृत करता है, जिसे निरस्तीकरण होने पर कॉल किया जाता है [SWS_DM_00615]। वैकल्पिक रूप से या इसके साथ-साथ, यह समय-समय पर IsCanceled() को पोल करता है [SWS_DM_00614]।
  3. सिग्नलिंग: यदि DM वार्तालाप को रद्द करता है, तो हैंडलर में स्थिति true [SWS_DM_00984] में बदल जाती है और पंजीकृत Notifier ट्रिगर हो जाता है [SWS_DM_00615]।
  4. निरस्तीकरण: एप्लिकेशन शुरू किए गए कार्य को तुरंत रोक देता है [SWS_DM_00278]। यदि प्रतिक्रिया अभी तक प्रसारित नहीं हुई है, तो DM इसे भेजने से रोकता है [SWS_DM_00279]।
  5. समापन: प्रोसेसिंग पूरी होने के बाद, हैंडलर ऑब्जेक्ट को सर्विस संदर्भ के साथ नष्ट कर दिया जाता है।
रद्दीकरण संकेतन का अनुक्रमDM-CoreCancellationHandlerDiagnose-AnwendungErzeugung [SWS_DM_00609]हैंडलर इंस्टेंस के साथ सर्विस कॉलSetNotifier(callback) [SWS_DM_00615]Laufende DiagnoseverarbeitungUse Case: DM में वार्तालाप (Conversation) रद्द कर दिया जाता हैSignalisiere Abbruch [SWS_DM_00984]Aufruf Notifier-Callback [SWS_DM_00615]Verarbeitung abbrechen [SWS_DM_00278]वापसी (प्रतिक्रिया छोड़ दी गई) [SWS_DM_00279]

अनुक्रम आरेख: DM-Core, CancellationHandler और डायग्नोस्टिक एप्लिकेशन के बीच इंटरैक्शन पैटर्न। स्रोत: [SWS_DM_00278], [SWS_DM_00614], [SWS_DM_00615], [SWS_DM_00984], [SWS_DM_00609], [SWS_DM_00279]

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

ara::diag::CancellationHandler का इंटरफ़ेस त्रुटिरहित डिज़ाइन द्वारा पहचाना जाता है। सभी मेथड्स जैसे IsCanceled() [SWS_DM_00614], SetNotifier() [SWS_DM_00615] और मूव ऑपरेशन्स [SWS_DM_00610] [SWS_DM_00612] अपवाद-सुरक्षित हैं (noexcept) और कोई त्रुटि कोड नहीं लौटाते हैं।

यदि SetNotifier() को कई बार कॉल किया जाता है, तो इसके कारण कोई त्रुटि नहीं होती है: बाद के पंजीकरण पहले से सेट किए गए कॉलबैक को पूरी तरह से ओवरराइट कर देते हैं [SWS_DM_00615], [SWS_DM_01348]।

थ्रेड सुरक्षा पर विशेष ध्यान देने की आवश्यकता है: सभी सदस्य फ़ंक्शन्स (IsCanceled, SetNotifier) और कॉलबैक प्रकार को स्पष्ट रूप से गैर-थ्रेड-सुरक्षित घोषित किया गया है [SWS_DM_00614], [SWS_DM_00615], [SWS_DM_02075]। यदि स्थिति जांच या Notifier पंजीकरण थ्रेड सीमाओं के पार किए जाते हैं, तो एप्लिकेशन को बाहरी सुरक्षा तंत्रों का उपयोग करना चाहिए। इसके अतिरिक्त, कॉलबैक संभवतः DM के ट्रिगरिंग थ्रेड में समकालिक रूप से कॉल किया जाता है, इसलिए एप्लिकेशन-साइड Notifier फ़ंक्शन्स को नॉन-ब्लॉकिंग रहना चाहिए। प्रश्न Q-26c43c035d4f18a3 (खुला)

यह मार्गदर्शिका AUTOSAR Adaptive R25-11 विनिर्देश के आधार पर एक AI सिस्टम द्वारा तैयार की गई थी।

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

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

1

ऑपरेटर

1

टाइप उपनाम

1

क्लास आरेख

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

G nara__diag__CancellationHandler489 CancellationHandler + CancellationHandler() + operator=() + IsCanceled() + SetNotifier()

विवरण दृश्य

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

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

CancellationHandler फ़ंक्शन 3

CancellationHandler shall not be constructable by applications but the DM core only.

ओवरलोड CancellationHandler 3
CancellationHandler ()=delete; SWS_DM_00609
CancellationHandler (CancellationHandler &&other) noexcept=default; SWS_DM_00610
CancellationHandler (const CancellationHandler &)=delete; SWS_DM_00611

मेथड

IsCanceled फ़ंक्शन

Reports whether the diagnostic service execution is cancelled in DM.

bool IsCanceled () const noexcept;
SetNotifier फ़ंक्शन

Registering a notifier function which is called if the diagnostic service execution is cancelled in DM. A consecutive call of this method will overwrite the previous registered notifier.

void SetNotifier (CancellationHandlerSetNotifier notifier) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

Move assignment operator of CancellationHandler.

ओवरलोड = 2
CancellationHandler & operator= (CancellationHandler &&other) noexcept=default; SWS_DM_00612

टाइप उपनाम

CancellationHandlerSetNotifier टाइप उपनाम

Notifier function which is called if the diagnostic service execution is cancelled in DM.

using CancellationHandlerSetNotifier = std::function<void(void)>;

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

फ़ंक्शन CancellationHandler [SWS_DM_00609] Upstream: RS_Diag_04169, RS_Diag_04277, RS_AP_00146

CancellationHandler ()=delete;

CancellationHandler shall not be constructable by applications but the DM core only.

Header-Datei#include "ara/diag/cancellation_handler.h"
Scopeclass ara::diag::CancellationHandler

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

Record
AUTOSAR/AP/record/SWS_DM_00609
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00609@rel:R25-11#cf5f2f1a
Content hash
cf5f2f1a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00609
Status: valid/unmigrated Version: rel:R25-11#a6ca1e4f 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_00609@rel:R25-11#a6ca1e4f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#32d2fc0f2026-09-30
  • R19-11rel:R19-11#7a1764d82026-10-14
  • R20-11rel:R20-11#e8c9ed302026-10-14
  • R21-11rel:R21-11#e8c9ed302026-10-14
  • R22-11rel:R22-11#0f01241c2026-10-14
  • R23-11rel:R23-11#9abbccec2026-10-14
  • R24-11rel:R24-11#a6ca1e4f2026-10-14
  • R25-11rel:R25-11#a6ca1e4f2026-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

फ़ंक्शन CancellationHandler [SWS_DM_00610] Upstream: RS_Diag_04169, RS_Diag_04277, RS_AP_00145

CancellationHandler (CancellationHandler &&other) noexcept=default;

Move constructor of CancellationHandler.

Header-Datei#include "ara/diag/cancellation_handler.h"
Scopeclass ara::diag::CancellationHandler
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-construct from.

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

Record
AUTOSAR/AP/record/SWS_DM_00610
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00610@rel:R25-11#34348c09
Content hash
34348c09
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00610
Status: valid/unmigrated Version: rel:R25-11#ba4f30fc 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_00610@rel:R25-11#ba4f30fc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4f891f002026-09-30
  • R19-11rel:R19-11#2ce25f622026-10-14
  • R20-11rel:R20-11#fe3bebee2026-10-14
  • R21-11rel:R21-11#fe3bebee2026-10-14
  • R22-11rel:R22-11#76b9a7992026-10-14
  • R23-11rel:R23-11#4965c41c2026-10-14
  • R24-11rel:R24-11#6ad057c92026-10-14
  • R25-11rel:R25-11#ba4f30fc2026-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

फ़ंक्शन CancellationHandler [SWS_DM_00611] Upstream: RS_Diag_04169, RS_Diag_04277, RS_AP_00145

CancellationHandler (const CancellationHandler &)=delete;

CancellationHandler shall be a single not copy-able instance.

Header-Datei#include "ara/diag/cancellation_handler.h"
Scopeclass ara::diag::CancellationHandler

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

Record
AUTOSAR/AP/record/SWS_DM_00611
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00611@rel:R25-11#05768cec
Content hash
05768cec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00611
Status: valid/unmigrated Version: rel:R25-11#4cd308a0 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_00611@rel:R25-11#4cd308a0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b0158f642026-09-30
  • R19-11rel:R19-11#f97a8e382026-10-14
  • R20-11rel:R20-11#4da60bf72026-10-14
  • R21-11rel:R21-11#c3927bb32026-10-14
  • R22-11rel:R22-11#1209199b2026-10-14
  • R23-11rel:R23-11#95a0c1002026-10-14
  • R24-11rel:R24-11#4cd308a02026-10-14
  • R25-11rel:R25-11#4cd308a02026-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

फ़ंक्शन IsCanceled [SWS_DM_00614] Upstream: RS_Diag_04169, RS_Diag_04277

bool IsCanceled () const noexcept;

Reports whether the diagnostic service execution is cancelled in DM.

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

Rückgabewert

TypBeschreibung
boolbool Returns true, if the diagnostic service execution is cancelled in DM.

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

Record
AUTOSAR/AP/record/SWS_DM_00614
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00614@rel:R25-11#a1052c7c
Content hash
a1052c7c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00614
Status: valid/unmigrated Version: rel:R25-11#18c060c2 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_00614@rel:R25-11#18c060c2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5ef119872026-09-30
  • R19-11rel:R19-11#1c2e3c102026-10-14
  • R20-11rel:R20-11#edbe2ca92026-10-14
  • R21-11rel:R21-11#a3bf6bd52026-10-14
  • R22-11rel:R22-11#273586642026-10-14
  • R23-11rel:R23-11#4129f9192026-10-14
  • R24-11rel:R24-11#df0879a12026-10-14
  • R25-11rel:R25-11#18c060c22026-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

फ़ंक्शन SetNotifier [SWS_DM_00615] Upstream: RS_Diag_04169, RS_Diag_04277

void SetNotifier (CancellationHandlerSetNotifier notifier) noexcept;

Registering a notifier function which is called if the diagnostic service execution is cancelled in DM. A consecutive call of this method will overwrite the previous registered notifier.

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

उपयोग

हेडर ara/diag/cancellation_handler.h से विधि ara::diag::CancellationHandler::SetNotifier ([SWS_DM_00615]) प्रकार CancellationHandlerSetNotifier का एक कॉलबैक फ़ंक्शन पंजीकृत करती है। जैसे ही किसी डायग्नोस्टिक सेवा का निष्पादन निरस्त किया जाता है, यह फ़ंक्शन Diagnostic Management (DM) द्वारा कॉल किया जाता है। पंजीकरण स्वयं सिंक्रोनस होता है और इसका कोई रिटर्न मान नहीं होता है (void)।

त्रुटि प्रबंधन और निष्पादन सिमेंटिक्स

कॉल को noexcept के रूप में निर्दिष्ट किया गया है और इसे अपवाद-सुरक्षित (exception safe) माना जाता है ([SWS_DM_00615])। इस इंटरफ़ेस के लिए विशिष्ट त्रुटि कोड, त्रुटि रिटर्न या DET/DEM संदेश प्रदान नहीं किए गए हैं।

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

थ्रेड-सुरक्षा के संबंध में, विधि को not thread-safe के रूप में वर्गीकृत किया गया है ([SWS_DM_00615])। इसलिए CancellationHandler के एक इंस्टेंस को असुरक्षित रूप से समवर्ती संशोधित नहीं किया जाना चाहिए। एक ही इंस्टेंस पर SetNotifier के कई लगातार कॉलों के मामले में, DM पहले से पंजीकृत नोटिफ़ायर को अधिलेखित कर देता है ([SWS_DM_01348], SWS Diagnostics पृ. 193)। इसके अतिरिक्त, DM के आंतरिक निरस्तीकरण प्रसंस्करण में विलंब न करने के लिए, कॉलबैक फ़ंक्शन को उचित रूप से कोई ब्लॉकिंग ऑपरेशन निष्पादित नहीं करना चाहिए। प्रश्न Q-94d2cb76c17c4fa4 (खुला)

इंटरैक्शन

DM द्वारा सेवा और रूटीन हैंडलर को पैरामीटर के रूप में एक CancellationHandler इंस्टेंस पास किया जाता है, उदाहरण के लिए जेनेरिक सेवा प्रसंस्करण ([SWS_DM_00618]), डेटा एक्सेस ([SWS_DM_00636]) या रूटीन ([SWS_DM_00554]) में। यदि कोई डायग्नोस्टिक वार्तालाप निरस्त हो जाता है, तो DM यथासंभव चल रही आंतरिक गतिविधियों को निरस्त कर देता है ([SWS_DM_00278]) और प्रतिक्रिया के प्रसारण को त्याग देता है ([SWS_DM_00279])। SetNotifier के माध्यम से पंजीकरण IsCanceled ([SWS_DM_00984]) के माध्यम से निरस्तीकरण स्थिति की सिंक्रोनस पूछताछ के अलावा एक ईवेंट-संचालित प्रतिक्रिया पथ प्रदान करता है।

यह पाठ एक AI द्वारा तैयार किया गया था; सभी तकनीकी कथन पेलोड द्वारा समर्थित हैं।

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

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

Parameter (in)

ParameterBeschreibung
notifierNotification function that is called upon diagnostic service execution is cancelled in DM.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00615
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00615@rel:R25-11#00e9d0ce
Content hash
00e9d0ce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00615
Status: valid/unmigrated Version: rel:R25-11#e14e7a1e 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_00615@rel:R25-11#e14e7a1e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f4da2c0b2026-09-30
  • R19-11rel:R19-11#fb39c2da2026-10-14
  • R20-11rel:R20-11#f47ea9e72026-10-14
  • R21-11rel:R21-11#f47ea9e72026-10-14
  • R22-11rel:R22-11#b7f692922026-10-14
  • R23-11rel:R23-11#726296162026-10-14
  • R24-11rel:R24-11#e60671b12026-10-14
  • R25-11rel:R25-11#e14e7a1e2026-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_00612] Upstream: RS_Diag_04169, RS_Diag_04277, RS_AP_00145

CancellationHandler & operator= (CancellationHandler &&other) noexcept=default;

Move assignment operator of CancellationHandler.

Header-Datei#include "ara/diag/cancellation_handler.h"
Scopeclass ara::diag::CancellationHandler
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-assign from

Rückgabewert

TypBeschreibung
CancellationHandler &CancellationHandler & Reference to self.

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

Record
AUTOSAR/AP/record/SWS_DM_00612
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00612@rel:R25-11#0c8c8479
Content hash
0c8c8479
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00612
Status: valid/unmigrated Version: rel:R25-11#7b5930c2 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_00612@rel:R25-11#7b5930c2
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2910ea5e2026-09-30
  • R19-11rel:R19-11#b39713002026-10-14
  • R20-11rel:R20-11#a5fc6f3c2026-10-14
  • R21-11rel:R21-11#a5fc6f3c2026-10-14
  • R22-11rel:R22-11#73bcf74f2026-10-14
  • R23-11rel:R23-11#11366ef82026-10-14
  • R24-11rel:R24-11#08abf7be2026-10-14
  • R25-11rel:R25-11#7b5930c22026-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_00613] Upstream: RS_Diag_04169, RS_Diag_04277, RS_AP_00145

CancellationHandler & operator= (CancellationHandler &)=delete;

CancellationHandler shall be a single not assignable instance.

Header-Datei#include "ara/diag/cancellation_handler.h"
Scopeclass ara::diag::CancellationHandler

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

Record
AUTOSAR/AP/record/SWS_DM_00613
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00613@rel:R25-11#0557c9e4
Content hash
0557c9e4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00613
Status: valid/unmigrated Version: rel:R25-11#726e06bb 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_00613@rel:R25-11#726e06bb
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e98b1b032026-09-30
  • R19-11rel:R19-11#ad1b2bdd2026-10-14
  • R20-11rel:R20-11#19390a3b2026-10-14
  • R21-11rel:R21-11#19390a3b2026-10-14
  • R22-11rel:R22-11#e4479bdd2026-10-14
  • R23-11rel:R23-11#4cbd897f2026-10-14
  • R24-11rel:R24-11#726e06bb2026-10-14
  • R25-11rel:R25-11#726e06bb2026-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

टाइप उपनामों का प्रलेखन

टाइप उपनाम CancellationHandlerSetNotifier [SWS_DM_02075] Upstream: RS_Diag_04169

using CancellationHandlerSetNotifier = std::function<void(void)>;

Notifier function which is called if the diagnostic service execution is cancelled in DM.

Header-Datei#include "ara/diag/cancellation_handler.h"
Scopeclass ara::diag::CancellationHandler
SymbolCancellationHandlerSetNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02075
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02075@rel:R25-11#4ee6a218
Content hash
4ee6a218
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02075
Status: valid/unmigrated Version: rel:R25-11#0c4cb323 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_02075@rel:R25-11#0c4cb323
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4bea212f2026-09-30
  • R24-11rel:R24-11#618b70532026-10-14
  • R25-11rel:R25-11#0c4cb3232026-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