DEENESPTFRRUARHIKOZHNL

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

[SWS_DM_00751] Upstream: RS_Diag_04178

class OperationCycle final {...};

DiagnosticOperationCycleInterface provides functionality for handling of operation cycles.

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

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

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

डायग्नोस्टिक संचालन चक्रों की निगरानी करने और मॉडल किए गए पोर्ट्स के माध्यम से चक्र पुनरारंभ ट्रिगर करने में सक्षम बनाता है।

क्लास ara::diag::OperationCycle अनुप्रयोग को डायग्नोस्टिक संचालन चक्रों के नियंत्रण और निगरानी के लिए फ़ंक्शन प्रदान करती है [SWS_DM_00752]। इंस्टेंस ara::core::InstanceSpecifier के माध्यम से एक मॉडल किए गए पोर्ट से बंधे होते हैं, न तो कॉपी किए जा सकते हैं और न ही स्थानांतरित किए जा सकते हैं, और प्रति पहचानकर्ता प्रोसेस में केवल एक बार मौजूद हो सकते हैं। SetNotifier के माध्यम से चक्र परिवर्तनों के लिए एक अधिसूचना पंजीकृत की जा सकती है और RestartOperationCycle के माध्यम से संचालन चक्र का पुनरारंभ ट्रिगर किया जा सकता है [SWS_DM_01102]। थ्रेड-सुरक्षित कंस्ट्रक्टर के अपवाद के साथ, सभी विधियों के साथ-साथ डिस्ट्रक्टर भी थ्रेड-सुरक्षित नहीं हैं और समानांतर एक्सेस के मामले में अनुप्रयोग-पक्षीय सिंक्रोनाइज़ेशन की आवश्यकता होती है।

संदर्भ

क्लास ara::diag::OperationCycle AUTOSAR Adaptive Diagnostics के भीतर DiagnosticOperationCycleInterface को साकार करती है और संचालन चक्रों के प्रबंधन और नियंत्रण के लिए फ़ंक्शन प्रदान करती है। यह संचालन चक्रों की स्थितियों की निगरानी करने या उन्हें लक्षित रूप से रीसेट करने के लिए अनुकूली अनुप्रयोग और डायग्नोस्टिक्स प्रबंधन के बीच एक इंटरफ़ेस के रूप में कार्य करती है।

संपूर्ण सिस्टम से कनेक्शन एक ara::core::InstanceSpecifier के माध्यम से होता है, जिसे कंस्ट्रक्टर कॉल के दौरान पास किया जाता है [SWS_DM_00752]। यह पहचानकर्ता मॉडल में परिभाषित एक PortPrototype को संदर्भित करता है। मॉडल यहाँ एक अद्वितीय असाइनमेंट निर्धारित करता है: एक DiagnosticOperationCyclePortMapping द्वारा संदर्भित PortPrototype को DiagnosticOperationCycleInterface द्वारा टाइप किया जाना चाहिए [SWS_DM_00752]। नियंत्रण के अतिरिक्त, क्लास ara::diag::OperationCycle::OperationCycleSetNotifier प्रकार के एक कॉलबैक इंटरफ़ेस (std::function<void(void)> के रूप में परिभाषित) के माध्यम से इंटरैक्ट करती है, जिसके माध्यम से संचालन चक्र में बदलाव होने पर अनुप्रयोग को सूचनाएं भेजी जाती हैं [SWS_DM_02078], [SWS_DM_00755]।

जीवनचक्र

ara::diag::OperationCycle का निर्माण कंस्ट्रक्टर OperationCycle(const ara::core::InstanceSpecifier &specifier) [SWS_DM_00752] के माध्यम से पोर्ट इंस्टेंस विनिर्देश प्रदान करके स्पष्ट रूप से किया जाता है। कंस्ट्रक्टर को अपवाद-सुरक्षित (exception safe) और थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_00752]।

स्वामित्व और कॉपी सिमेंटिक्स के संबंध में, क्लास को एक सख्त एकल ऑब्जेक्ट के रूप में मॉडल किया गया है, जो मॉडल किए गए पोर्ट के लिए एक निश्चित 1:1 बाइंडिंग का प्रतिनिधित्व करता है। कॉपी करना और स्थानांतरित करना पूरी तरह से प्रतिबंधित है:

  • डुप्लिकेट्स को बाहर करने के लिए कॉपी कंस्ट्रक्टर डिलीट किया गया है (delete) [SWS_DM_01598]।
  • मूव कंस्ट्रक्टर डिलीट किया गया है (delete) [SWS_DM_01599]।
  • कॉपी असाइनमेंट ऑपरेटर डिलीट किया गया है (delete) [SWS_DM_01596]।
  • मूव असाइनमेंट ऑपरेटर डिलीट किया गया है (delete) [SWS_DM_01597]।

इसके अतिरिक्त, फ्रेमवर्क एकाधिक असाइनमेंट को प्रतिबंधित करता है: एक InstanceSpecifier को उसी प्रोसेस के भीतर इंस्टेंसिएशन के लिए बार-बार उपयोग नहीं किया जा सकता है [SWS_DM_00752]। रीलीज़ डिस्ट्रक्टर ~OperationCycle() [SWS_DM_00753] में होती है। कंस्ट्रक्टर के विपरीत, डिस्ट्रक्टर थ्रेड-सुरक्षित (not thread-safe) नहीं है, यद्यपि इसे अपवाद-सुरक्षित घोषित किया गया है [SWS_DM_00753]। क्लास की अन्य विधियाँ और साथ ही कॉलबैक प्रकार भी थ्रेड-सुरक्षित नहीं हैं [SWS_DM_00755], [SWS_DM_01102], [SWS_DM_02078], इसलिए समान इंस्टेंस पर समानांतर एक्सेस को अनुप्रयोग पक्ष पर सिंक्रोनाइज़ किया जाना चाहिए।

उपयोग पथ

एक विशिष्ट उपयोग पथ में इंस्टेंसिएशन, चक्र परिवर्तनों के लिए हैंडलर का वैकल्पिक पंजीकरण, चक्र पुनरारंभ का बार-बार ट्रिगर होना और साथ ही रीलीज़ शामिल है:

  1. इंस्टेंसिएशन: अनुप्रयोग संबंधित InstanceSpecifier [SWS_DM_00752] को पास करते हुए ऑब्जेक्ट OperationCycle बनाता है।
  2. नोटिफ़ायर पंजीकृत करना: विधि SetNotifier के माध्यम से, अनुप्रयोग प्रकार OperationCycleSetNotifier [SWS_DM_00755], [SWS_DM_02078] का एक कॉलबैक फ़ंक्शन पंजीकृत करता है। जब संचालन चक्र बदलता है तो यह फ़ंक्शन कॉल किया जाता है। SetNotifier का लगातार कॉल पहले से पंजीकृत नोटिफ़ायर को पूरी तरह से अधिलेखित कर देता है [SWS_DM_00755]।
  3. संचालन चक्र पुनरारंभ करना: RestartOperationCycle() के माध्यम से अनुप्रयोग संचालन चक्र के पुनरारंभ को ट्रिगर करता है [SWS_DM_01102]। डायग्नोस्टिक्स प्रबंधन चक्र को अपडेट करता है और स्थिति परिवर्तनों पर पंजीकृत कॉलबैक को सूचित करता है [SWS_DM_00755]। यहाँ अधिसूचना संभवतः डायग्नोस्टिक्स प्रबंधन के संदर्भ में एसिंक्रोनस रूप से होनी चाहिए। प्रश्न Q-7cd22debf6fa91d7 (खुला)
  4. विनाश: सॉफ़्टवेयर घटक के शटडाउन होने पर, ऑब्जेक्ट को डिस्ट्रक्टर [SWS_DM_00753] के माध्यम से नष्ट कर दिया जाता है।
Nutzungsablauf von OperationCycleएप्लिकेशनOperationCycleDiagnose-FrameworkUse Case: InstanziierungOperationCycle(specifier)PortPrototype जाँचना & बाइंड करनाPort gebundenInstanz erzeugtUse Case: Notifier पंजीकृत करेंSetNotifier(notifier)Result<void>Use Case: Betriebszyklus neustartenRestartOperationCycle()Zyklusneustart anfordernZyklus aktualisiertResult<void>Use Case: चक्र परिवर्तन अधिसूचनाnotifier()

अनुक्रम आरेख: इंस्टेंसिएशन, नोटिफ़ायर पंजीकरण और संचालन चक्र के पुनरारंभ का प्रवाह। स्रोत: [SWS_DM_00752], [SWS_DM_00755], [SWS_DM_01102], [SWS_DM_02078]।

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

इनिशियलाइज़ेशन में त्रुटियों को फ्रेमवर्क द्वारा उल्लंघनों (Violations) के रूप में संकेतित किया जाता है, क्योंकि कंस्ट्रक्टर को noexcept [SWS_DM_00752] के रूप में घोषित किया गया है:

  • InstanceSpecifierMappingIntegrityViolation: InstanceSpecifier को निष्पादन योग्य के संदर्भ में हल नहीं किया जा सकता है या यह ऐसे तत्व को संदर्भित करता है जो PortPrototype नहीं है [SWS_DM_00752]।
  • PortInterfaceMappingViolation: DiagnosticOperationCyclePortMapping द्वारा संदर्भित PortPrototype को DiagnosticOperationCycleInterface द्वारा टाइप नहीं किया गया है [SWS_DM_00752]।
  • ProcessMappingViolation: यद्यपि एक उपयुक्त इंस्टेंस संदर्भ मौजूद है, लेकिन रनटाइम प्रोसेस के लिए कोई उपयुक्त मॉडल किया गया प्रोसेस नहीं मिला [SWS_DM_00752]।
  • InstanceSpecifierAlreadyInUseViolation: कंस्ट्रक्टर को एक ऐसे InstanceSpecifier के साथ कॉल किया गया था, जो वर्तमान प्रोसेस के भीतर पहले से ही उपयोग किया जा रहा है [SWS_DM_00752]।

नियमित संचालन में, विधियाँ SetNotifier और RestartOperationCycle एक ara::core::Result<void> लौटाती हैं [SWS_DM_00755], [SWS_DM_01102]। दोनों फ़ंक्शंस के लिए मानक में कोई विशिष्ट त्रुटि कोड परिभाषित नहीं हैं (“This function does not specify any standardized errors.”) [SWS_DM_00755], [SWS_DM_01102]। Result प्रकार का उपयोग मुख्य रूप से एक समान इंटरफ़ेस डिज़ाइन की सेवा के लिए और कार्यान्वयन-विशिष्ट त्रुटि स्थितियों के लिए स्थान प्रदान करने के लिए होने की संभावना है। प्रश्न Q-2c59a287c0d5783a (खुला)

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

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

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

2

ऑपरेटर

1

टाइप उपनाम

1

क्लास आरेख

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

G nara__diag__OperationCycle125 OperationCycle + OperationCycle() + operator=() + ~OperationCycle() + RestartOperationCycle() + SetNotifier()

विवरण दृश्य

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

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

OperationCycle फ़ंक्शन 3

Constructor for DiagnosticOperationCycleInterface.

ओवरलोड OperationCycle 3
explicit OperationCycle (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_00752
OperationCycle (OperationCycle &)=delete; SWS_DM_01598
OperationCycle (OperationCycle &&) noexcept=delete; SWS_DM_01599
~OperationCycle फ़ंक्शन

Destructor of DiagnosticOperationCycleInterface .

~OperationCycle () noexcept;

मेथड

RestartOperationCycle फ़ंक्शन

Trigger to restart the Operation Cycle.

ara::core::Result< void > RestartOperationCycle () noexcept;
SetNotifier फ़ंक्शन

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

ara::core::Result< void > SetNotifier (OperationCycleSetNotifier notifier) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

OperationCycle shall be a single not assignable instance.

ओवरलोड = 2

टाइप उपनाम

OperationCycleSetNotifier टाइप उपनाम

Notifier function which is called if the operation cycle is changed. .

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

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

फ़ंक्शन OperationCycle [SWS_DM_00752] Upstream: RS_AP_00137, RS_Diag_04178, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

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

Constructor for DiagnosticOperationCycleInterface.

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle
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 DiagnosticOperationCyclePortMapping needs to be typed by a DiagnosticOperationCycleInterface. 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 DiagnosticOperationCycleInterface.

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

Record
AUTOSAR/AP/record/SWS_DM_00752
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00752@rel:R25-11#d5b847aa
Content hash
d5b847aa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00752
Status: valid/unmigrated Version: rel:R25-11#4e6a8dfa 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_00752@rel:R25-11#4e6a8dfa
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2a4669f22026-09-30
  • R19-11rel:R19-11#6871d33d2026-10-14
  • R20-11rel:R20-11#2e0c1aa62026-10-14
  • R21-11rel:R21-11#2e0c1aa62026-10-14
  • R22-11rel:R22-11#1ca367e82026-10-14
  • R23-11rel:R23-11#299fa4a92026-10-14
  • R24-11rel:R24-11#44360f102026-10-14
  • R25-11rel:R25-11#4e6a8dfa2026-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

फ़ंक्शन OperationCycle [SWS_DM_01598] Upstream: RS_AP_00147

OperationCycle (OperationCycle &)=delete;

OperationCycle shall be a single not copy-able instance.

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle

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

Record
AUTOSAR/AP/record/SWS_DM_01598
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01598@rel:R25-11#17f38dce
Content hash
17f38dce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01598
Status: valid/unmigrated Version: rel:R25-11#ccd2781f 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_01598@rel:R25-11#ccd2781f
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b96c98e72026-09-30
  • R23-11rel:R23-11#be742fd52026-10-14
  • R24-11rel:R24-11#ccd2781f2026-10-14
  • R25-11rel:R25-11#ccd2781f2026-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

फ़ंक्शन OperationCycle [SWS_DM_01599] Upstream: RS_AP_00147

OperationCycle (OperationCycle &&) noexcept=delete;

Move constructor of OperationCycle.

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle

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

Record
AUTOSAR/AP/record/SWS_DM_01599
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01599@rel:R25-11#aeb21827
Content hash
aeb21827
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01599
Status: valid/unmigrated Version: rel:R25-11#2316d64a 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_01599@rel:R25-11#2316d64a
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#ce425afa2026-09-30
  • R23-11rel:R23-11#c9a6f5282026-10-14
  • R24-11rel:R24-11#c06200d22026-10-14
  • R25-11rel:R25-11#2316d64a2026-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

फ़ंक्शन RestartOperationCycle [SWS_DM_01102] Upstream: RS_AP_00139, RS_Diag_04178, RS_Diag_04182

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

Trigger to restart the Operation Cycle.

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

वर्ग ara::diag::OperationCycle का सदस्य फ़ंक्शन RestartOperationCycle (#include "ara/diag/operation_cycle.h" के माध्यम से प्रदान किया गया) Diagnostic Management (DM) को ऑपरेटिंग चक्र के पुनरारंभ की सूचना देने के लिए कार्य करता है [SWS_DM_01102]। ऑपरेटिंग चक्र जैसे इग्निशन चक्र ("Ignition on/off"), वोल्टेज चक्र ("Power up/power down") या संचित ऑपरेटिंग समय को अनुकूली एप्लिकेशन द्वारा प्रबंधित किया जाता है और ISO 14229-1 के अनुसार UDS DTC स्थिति बाइट और इवेंट मेमोरी के व्यवहार पर सीधा प्रभाव डालते हैं SWS Diagnostics §7.3.4.3 “Operation Cycles Management”।

कॉल और सिमेंटिक्स

फ़ंक्शन को बिना किसी पैरामीटर के कॉल किया जाता है और यह एक ara::core::Result<void> लौटाता है [SWS_DM_01102]। यदि DM कॉल के समय पुनरारंभ के बारे में संदेश को संसाधित करने के लिए अभी तक तैयार नहीं है, तो यह जानकारी खोती नहीं है: DM अस्थायी रूप से घटना को बफ़र (कैश) करता है और कनेक्शन पुनर्स्थापित होते ही चक्र पुनरारंभ का मूल्यांकन करता है [SWS_DM_01103]।

त्रुटि हैंडलिंग और समवर्तीता

RestartOperationCycle के लिए कोई मानकीकृत त्रुटि कोड निर्दिष्ट नहीं हैं [SWS_DM_01102]। फ़ंक्शन को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है और यह कोई C++ अपवाद नहीं फेंकता है (noexcept) [SWS_DM_01102]। हालाँकि, चूंकि इंटरफ़ेस स्पष्ट रूप से थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में नामित है [SWS_DM_01102], इसलिए कॉल करने वाले एप्लिकेशन द्वारा समान इंस्टेंस पर समवर्ती पहुँच को सिंक्रनाइज़ करने की आवश्यकता होगी। प्रश्न Q-b3b258a20fd9db22 (खुला)

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

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

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle
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_01102
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01102@rel:R25-11#e65d0db4
Content hash
e65d0db4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01102
Status: valid/unmigrated Version: rel:R25-11#a63aa0c6 Versionshistorie & Revisions (1 transition, 6 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_01102@rel:R25-11#a63aa0c6
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#0827d8bc2026-09-30
  • R21-11rel:R21-11#b5b86b5c2026-10-14
  • R22-11rel:R22-11#a541379b2026-10-14
  • R23-11rel:R23-11#5afae5ac2026-10-14
  • R24-11rel:R24-11#24cae9552026-10-14
  • R25-11rel:R25-11#a63aa0c62026-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_00755] Upstream: RS_AP_00139, RS_Diag_04178, RS_Diag_04186

ara::core::Result< void > SetNotifier (OperationCycleSetNotifier notifier) noexcept;

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

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

विधि ara::diag::OperationCycle::SetNotifier ([SWS_DM_00755]) एप्लिकेशन-साइड कॉलबैक फ़ंक्शन प्रकार OperationCycleSetNotifier को पंजीकृत करने का कार्य करती है। यह नोटिफ़ायर फ़ंक्शन Diagnostic Management (DM) द्वारा कॉल किया जाता है जैसे ही मॉनिटर किए गए संचालन चक्र की स्थिति बदलती है ([SWS_DM_00755])। विधि का उपयोग करने के लिए हेडर फ़ाइल ara/diag/operation_cycle.h शामिल की जानी चाहिए ([SWS_DM_00755])।

यदि SetNotifier को ara::diag::OperationCycle के उसी इंस्टेंस पर कई बार कॉल किया जाता है, तो DM मॉड्यूल पहले से पंजीकृत नोटिफ़ायर फ़ंक्शन को पूरी तरह से अधिलेखित कर देता है ([SWS_DM_00755], [SWS_DM_01358], AUTOSAR_AP_SWS_Diagnostics §7.3.4.4 “Consecutive registration of notifier with OperationCycle::SetNotifier()”)। यह व्यवहार DM में नोटिफ़ायर पंजीकरणों के लिए सुसंगत डिज़ाइन पैटर्न का अनुसरण करता है, जैसा कि तुलनात्मक रूप से ara::diag::CancellationHandler::SetNotifier ([SWS_DM_00615], [SWS_DM_01348]) और ara::diag::Indicator::SetNotifier ([SWS_DM_00745]) के लिए भी परिभाषित किया गया है।

ऑपरेशन को noexcept घोषित किया गया है और अपवाद सुरक्षा (exception safe) प्रदान करता है ([SWS_DM_00755])। समकालिक वापसी मान के रूप में ara::core::Result<void> लौटाया जाता है; हालाँकि, विशिष्ट मानकीकृत त्रुटि कोड परिभाषित नहीं हैं ([SWS_DM_00755])। इसलिए Result ऑब्जेक्ट में कोई भी त्रुटि स्थिति निर्माता- या प्लेटफ़ॉर्म-विशिष्ट होने की संभावना है। प्रश्न Q-6799492164efd793 (खुला) समवर्तीता के संबंध में, विधि को गैर-थ्रेड-सुरक्षित (not thread-safe) निर्दिष्ट किया गया है ([SWS_DM_00755]), जिससे उसी ऑब्जेक्ट इंस्टेंस पर समानांतर कॉलों को एप्लिकेशन द्वारा सिंक्रनाइज़ किया जाना अनिवार्य है।

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

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

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

Parameter (in)

ParameterBeschreibung
notifiernotifier function

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_00755
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00755@rel:R25-11#60b59b93
Content hash
60b59b93
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00755
Status: valid/unmigrated Version: rel:R25-11#e6f9f085 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_00755@rel:R25-11#e6f9f085
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a16949212026-09-30
  • R19-11rel:R19-11#942714802026-10-14
  • R20-11rel:R20-11#23d0c2c82026-10-14
  • R21-11rel:R21-11#cf228ecd2026-10-14
  • R22-11rel:R22-11#a890a28b2026-10-14
  • R23-11rel:R23-11#17a72de12026-10-14
  • R24-11rel:R24-11#a5cb3aae2026-10-14
  • R25-11rel:R25-11#e6f9f0852026-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_01596] Upstream: RS_AP_00147

OperationCycle & operator= (OperationCycle &)=delete;

OperationCycle shall be a single not assignable instance.

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle

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

Record
AUTOSAR/AP/record/SWS_DM_01596
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01596@rel:R25-11#4be50308
Content hash
4be50308
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01596
Status: valid/unmigrated Version: rel:R25-11#15dbab75 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_01596@rel:R25-11#15dbab75
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#056904312026-09-30
  • R23-11rel:R23-11#82f971bc2026-10-14
  • R24-11rel:R24-11#15dbab752026-10-14
  • R25-11rel:R25-11#15dbab752026-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_01597] Upstream: RS_AP_00147

OperationCycle & operator= (OperationCycle &&)=delete;

Move assignment operator of OperationCycle.

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle

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

Record
AUTOSAR/AP/record/SWS_DM_01597
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01597@rel:R25-11#a2a3976f
Content hash
a2a3976f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01597
Status: valid/unmigrated Version: rel:R25-11#481279db 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_01597@rel:R25-11#481279db
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a62227272026-09-30
  • R23-11rel:R23-11#a03bfb332026-10-14
  • R24-11rel:R24-11#481279db2026-10-14
  • R25-11rel:R25-11#481279db2026-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

फ़ंक्शन ~OperationCycle [SWS_DM_00753] Upstream: RS_AP_00134, RS_Diag_04178

~OperationCycle () noexcept;

Destructor of DiagnosticOperationCycleInterface .

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle
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_00753
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00753@rel:R25-11#a6a3be10
Content hash
a6a3be10
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00753
Status: valid/unmigrated Version: rel:R25-11#f4efc5ab 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_00753@rel:R25-11#f4efc5ab
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7fe1e08a2026-09-30
  • R19-11rel:R19-11#9baaddea2026-10-14
  • R20-11rel:R20-11#3ce86b722026-10-14
  • R21-11rel:R21-11#ae2573b02026-10-14
  • R22-11rel:R22-11#668a233e2026-10-14
  • R23-11rel:R23-11#d91d265f2026-10-14
  • R24-11rel:R24-11#f4efc5ab2026-10-14
  • R25-11rel:R25-11#f4efc5ab2026-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

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

टाइप उपनाम OperationCycleSetNotifier [SWS_DM_02078] Upstream: RS_AP_00139, RS_Diag_04178, RS_Diag_04186

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

Notifier function which is called if the operation cycle is changed. .

Header-Datei#include "ara/diag/operation_cycle.h"
Scopeclass ara::diag::OperationCycle
SymbolOperationCycleSetNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02078
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02078@rel:R25-11#40ef7b6b
Content hash
40ef7b6b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02078
Status: valid/unmigrated Version: rel:R25-11#c30b818f 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_02078@rel:R25-11#c30b818f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bd36de3b2026-09-30
  • R24-11rel:R24-11#c30b818f2026-10-14
  • R25-11rel:R25-11#c30b818f2026-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