DEENESPTFRRUARHIKOZHNL

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

[SWS_DM_00693] Upstream: RS_Diag_04166, RS_Diag_04169

class Conversation final {...};

Conversation interface.

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

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

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

सक्रिय डायग्नोस्टिक चैनलों की निगरानी के साथ-साथ डायग्नोस्टिक सत्र और सुरक्षा स्तर के नियंत्रण को सक्षम बनाता है।

वर्ग ara::diag::Conversation गतिविधि स्थिति, डायग्नोस्टिक सत्र और सुरक्षा स्तर की निगरानी के साथ-साथ मानक सत्र पर रीसेट करने के लिए एक डायग्नोस्टिक संचार चैनल का प्रतिनिधित्व करता है [SWS_DM_00692] [SWS_DM_00701]। एप्लिकेशन स्थिर खोज फ़ंक्शनों के माध्यम से केवल संदर्भों के रूप में उदाहरण (instances) प्राप्त करते हैं, क्योंकि स्वयं का इंस्टैंसिएशन और साथ ही कॉपी और मूव संचालन हटा दिए गए हैं [SWS_DM_02090]। जबकि रीड स्थिति क्वेरीज़ को थ्रेड-सुरक्षित रूप से निष्पादित किया जा सकता है, कॉलबैक पंजीकरण और सत्र को रीसेट करने के लिए बाहरी सिंक्रोनाइज़ेशन की आवश्यकता होती है।

संदर्भ

वर्ग ara::diag::Conversation एक बाहरी डायग्नोस्टिक टेस्टर और Adaptive Platform SWS Diagnostics §8.2 “Conversation” के बीच एक संचार चैनल के इंटरफ़ेस का प्रतिनिधित्व करता है। यह चल रही डायग्नोस्टिक गतिविधियों को समझने और नियंत्रित करने के लिए एप्लिकेशन और आंतरिक Diagnostic Management (DM) के बीच एक कड़ी के रूप में कार्य करता है। इसके इंस्टेंस के माध्यम से, Adaptive एप्लिकेशन वर्तमान कनेक्शन स्थिति [SWS_DM_00694], सक्रिय डायग्नोस्टिक सत्र [SWS_DM_00696], सुरक्षा स्तर [SWS_DM_00698] और चैनल की पहचान विशेषताओं [SWS_DM_00700] में अंतर्दृष्टि प्राप्त करते हैं।

diag_kontext app Adaptive Anwendung conv ara::diag::Conversation app->conv GetConversation() / Statusabfragen conv->app Notifier-Callbacks dm निदान प्रबंधन conv->dm ResetToDefaultSession() dm->conv Verwaltung & Lebenszyklus

संदर्भ आरेख: एप्लिकेशन और Diagnostic Management के बीच ara::diag::Conversation का एकीकरण। स्रोत: [SWS_DM_00692], [SWS_DM_00782], SWS Diagnostics §8.2 “Conversation”।

जीवनचक्र

ara::diag::Conversation के इंस्टेंस पूरी तरह से Diagnostic Management डेमन द्वारा त्वरित और प्रबंधित किए जाते हैं। एप्लिकेशन द्वारा मैन्युअल निर्माण, कॉपी करना या मूव करना बहिष्कृत है: कॉपी कंस्ट्रक्टर [SWS_DM_02090] और मूव कंस्ट्रक्टर [SWS_DM_02092] दोनों के साथ-साथ असाइनमेंट ऑपरेटर [SWS_DM_02091] [SWS_DM_02093] हटा दिए गए हैं (=delete)। इसलिए संदर्भित ऑब्जेक्ट्स का जीवनकाल सीधे डायग्नोस्टिक सबसिस्टम की रनटाइम स्थिति से जुड़ा होना चाहिए। प्रश्न Q-f8deca481d5b76e1 (खुला)

मौजूदा इंस्टेंस तक पहुंच विशेष रूप से स्थिर क्वेरी फ़ंक्शनों के माध्यम से होती है। GetAllConversations() के साथ सभी कॉन्फ़िगर किए गए कनेक्शनों के संदर्भ प्राप्त किए जा सकते हैं [SWS_DM_00782], जबकि GetCurrentActiveConversations() वर्तमान में सक्रिय सभी चैनलों की एक सूची प्रदान करता है जिनकी गतिविधि स्थिति kActive से मेल खाती है [SWS_DM_00783]। इसके अलावा, एक चल रहे डायग्नोस्टिक अनुरोध के मेटाडेटा के आधार पर एक विशिष्ट कनेक्शन को GetConversation(metaInfo) के माध्यम से हल किया जा सकता है [SWS_DM_00692]।

समवर्तीता (concurrency) के संबंध में, स्थिति और पहचानकर्ताओं तक सभी रीड एक्सेस थ्रेड-सुरक्षित के रूप में निर्दिष्ट हैं [SWS_DM_00694] [SWS_DM_00696] [SWS_DM_00698]। इसके विपरीत, अधिसूचना कॉलबैक पंजीकृत करना और सत्र को रीसेट करना थ्रेड-सुरक्षित नहीं (not thread-safe) माना जाता है [SWS_DM_00695] [SWS_DM_00701] और इसके लिए एप्लिकेशन-साइड सिंक्रोनाइज़ेशन की आवश्यकता होती है।

उपयोग पथ

एक विशिष्ट उपयोग के मामले में कनेक्शन निर्धारित करना, अधिसूचना फ़ंक्शन पंजीकृत करना और सत्र स्थिति की लक्षित निगरानी या हेरफेर शामिल है:

  • संदर्भ प्राप्त करना: आने वाले डायग्नोस्टिक अनुरोध पर, संबद्ध इंस्टेंस को GetConversation(metaInfo) का उपयोग करके प्राप्त किया जाता है [SWS_DM_00692]।
  • स्थिति निगरानी सेट करना: पंजीकरण विधियों SetActivityNotifier() [SWS_DM_00695] [SWS_DM_02126], SetDiagnosticSessionNotifier() [SWS_DM_00697] [SWS_DM_02127] और SetSecurityLevelNotifier() [SWS_DM_00699] [SWS_DM_02128] के माध्यम से परिवर्तनों पर एप्लिकेशन को सूचित किया जाता है। एक बार-बार की गई कॉल पहले से पंजीकृत कॉलबैक को अधिलेखित कर देती है।
  • स्थिति क्वेरी करना: वर्तमान स्थिति को GetDiagnosticSession() [SWS_DM_00696] या GetDiagnosticSecurityLevel() [SWS_DM_00698] के साथ समकालिक रूप से निर्धारित किया जा सकता है। GetDiagnosticSessionShortName() [SWS_DM_00707] और GetDiagnosticSecurityLevelShortName() [SWS_DM_00708] का उपयोग करके एनम को पठनीय संक्षिप्त पहचानकर्ताओं में हल किया जा सकता है।
  • सत्र रीसेट करना: यदि तर्क को निरस्तीकरण या मूल स्थिति में वापस लौटने की आवश्यकता होती है, तो ResetToDefaultSession() चैनल को मानक सत्र में वापस ले जाता है [SWS_DM_00701]।
ara::diag::Conversation के लिए उपयोग अनुक्रमएप्लिकेशनबातचीतDiagnosticManagementUse Case: कनेक्शन समापन (Connection termination)GetConversation(metaInfo)Result<Conversation&>Use Case: Callback-Registrierung & StatusabfrageSetDiagnosticSessionNotifier(notifier)Result<void>GetDiagnosticSession()Result<SessionControlType>Use Case: SitzungssteuerungResetToDefaultSession()सत्र परिवर्तन निष्पादित करेंResult<void>

अनुक्रम आरेख: नोटिफ़ायर्स को पंजीकृत करने, स्थिति क्वेरी और सत्र रीसेट करने का विशिष्ट इंटरैक्शन क्रम। स्रोत: [SWS_DM_00692], [SWS_DM_00697], [SWS_DM_00696], [SWS_DM_00701]।

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

ara::diag::Conversation की विधियाँ ara::core::Result के माध्यम से त्रुटियों का संकेत देती हैं। यदि Diagnostic Management की मूल कार्यक्षमता अस्थायी रूप से अनुपलब्ध है, तो GetConversation(), GetActivityStatus(), GetDiagnosticSession(), GetDiagnosticSecurityLevel() और GetConversationIdentifier() त्रुटि कोड DiagErrc::kServiceNotAvailable के साथ विफल हो जाते हैं [SWS_DM_00692] [SWS_DM_00694] [SWS_DM_00696] [SWS_DM_00698] [SWS_DM_00700]। इस प्रक्रिया में कॉल्स रोलबैक सेमांटिक्स का पालन करते हैं और बिना किसी दुष्प्रभाव के रहते हैं।

स्ट्रिंग रूपांतरण फ़ंक्शनों GetDiagnosticSessionShortName() [SWS_DM_00707] और GetDiagnosticSecurityLevelShortName() [SWS_DM_00708] में, एक अज्ञात या अमान्य प्रगणना मान पास करने से त्रुटि DiagErrc::kInvalidArgument उत्पन्न होती है। नोटिफ़ायर पंजीकरण विधियों और ResetToDefaultSession() के लिए विनिर्देश में कोई मानकीकृत त्रुटि कोड परिभाषित नहीं हैं [SWS_DM_00701]।

यह गाइड पूरी तरह से AUTOSAR Adaptive विनिर्देश R25-11 पर आधारित है।

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

क्लास आरेख

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

G nara__diag__Conversation235 Conversation + Conversation() + operator=() + GetActivityStatus() + GetAllConversations() + GetConversation() + GetConversationIdentifier() + GetCurrentActiveConversations() + GetDiagnosticSecurityLevel() + GetDiagnosticSecurityLevelShortName() + GetDiagnosticSession() + GetDiagnosticSessionShortName() + ResetToDefaultSession() + SetActivityNotifier() + SetDiagnosticSessionNotifier() + SetSecurityLevelNotifier()

विवरण दृश्य

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

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

Conversation फ़ंक्शन 2

Copy constructor of conversation is deleted.

ओवरलोड Conversation 2
Conversation (const Conversation &)=delete; SWS_DM_02090
Conversation (Conversation &&)=delete; SWS_DM_02092

मेथड

GetActivityStatus फ़ंक्शन

Represents the status of an active conversation.

ara::core::Result< ActivityStatusType > GetActivityStatus () noexcept;
GetAllConversations फ़ंक्शन

Get all possible conversations.

static ara::core::Vector< std::reference_wrapper< Conversation > > Get AllConversations () noexcept;
GetConversation फ़ंक्शन

Get one conversation based on given MetaInfo.

static ara::core::Result< Conversation & > GetConversation (const Meta Info &metaInfo) noexcept;
GetConversationIdentifier फ़ंक्शन

Getter for the current identification properties of the active conversation.

GetCurrentActiveConversations फ़ंक्शन

Get all currently active conversations.

static ara::core::Vector< std::reference_wrapper< Conversation > > Get CurrentActiveConversations () noexcept;
GetDiagnosticSecurityLevel फ़ंक्शन

Represents the current active diagnostic SecurityLevel of an active conversation.

ara::core::Result< SecurityLevelType > GetDiagnosticSecurityLevel () noexcept;

Converts the given diagnostic SecurityLevel into the ShortName.

GetDiagnosticSession फ़ंक्शन

Represents the current active diagnostic session of an active conversation.

ara::core::Result< SessionControlType > GetDiagnosticSession () noexcept;
GetDiagnosticSessionShortName फ़ंक्शन

Converts the given diagnostic session into the ShortName.

ara::core::Result< ara::core::StringView > GetDiagnosticSessionShort Name (SessionControlType session) noexcept;
ResetToDefaultSession फ़ंक्शन

Method to reset the current session to default session.

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

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

ara::core::Result< void > SetActivityNotifier (ActivityStatusType Notifier notifier) noexcept;
SetDiagnosticSessionNotifier फ़ंक्शन

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

ara::core::Result< void > SetDiagnosticSessionNotifier (SessionControl TypeNotifier notifier) noexcept;
SetSecurityLevelNotifier फ़ंक्शन

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

ara::core::Result< void > SetSecurityLevelNotifier (SecurityLevelType Notifier notifier) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

Copy assignment operator of conversation is deleted.

ओवरलोड = 2
Conversation & operator= (const Conversation &)=delete; SWS_DM_02091
Conversation & operator= (Conversation &&)=delete; SWS_DM_02093

टाइप उपनाम

ActivityStatusTypeNotifier टाइप उपनाम

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

using ActivityStatusTypeNotifier = std::function<void(ActivityStatus Type)>;
SecurityLevelTypeNotifier टाइप उपनाम

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

using SecurityLevelTypeNotifier = std::function<void(SecurityLevel Type)>;
SessionControlTypeNotifier टाइप उपनाम

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

using SessionControlTypeNotifier = std::function<void(SessionControl Type)>;

नेस्टेड टाइप

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

फ़ंक्शन Conversation [SWS_DM_02090] Upstream: RS_AP_00134

Conversation (const Conversation &)=delete;

Copy constructor of conversation is deleted.

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation

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

Record
AUTOSAR/AP/record/SWS_DM_02090
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02090@rel:R25-11#139e49a5
Content hash
139e49a5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02090
Status: valid/unmigrated Version: rel:R25-11#4794c95c Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02090@rel:R25-11#4794c95c
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन Conversation [SWS_DM_02092] Upstream: RS_AP_00134

Conversation (Conversation &&)=delete;

Move constructor of conversation is deleted.

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation

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

Record
AUTOSAR/AP/record/SWS_DM_02092
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02092@rel:R25-11#3e9b205b
Content hash
3e9b205b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02092
Status: valid/unmigrated Version: rel:R25-11#c1133833 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02092@rel:R25-11#c1133833
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन GetActivityStatus [SWS_DM_00694] Upstream: RS_AP_00139, RS_Diag_04169

ara::core::Result< ActivityStatusType > GetActivityStatus () noexcept;

Represents the status of an active conversation.

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

Rückgabewert

TypBeschreibung
ara::core::Result<ActivityStatusType >the activity status of the conversation

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_00694
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00694@rel:R25-11#d3422dad
Content hash
d3422dad
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00694
Status: valid/unmigrated Version: rel:R25-11#ed7817d4 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_00694@rel:R25-11#ed7817d4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2a044ec12026-09-30
  • R19-11rel:R19-11#5bb1402e2026-10-14
  • R20-11rel:R20-11#572f5ddc2026-10-14
  • R21-11rel:R21-11#572f5ddc2026-10-14
  • R22-11rel:R22-11#bd60d8fa2026-10-14
  • R23-11rel:R23-11#46b965a92026-10-14
  • R24-11rel:R24-11#3d1f91b12026-10-14
  • R25-11rel:R25-11#ed7817d42026-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

फ़ंक्शन GetAllConversations [SWS_DM_00782] Upstream: RS_Diag_04166, RS_Diag_04169, RS_Diag_04209

static ara::core::Vector< std::reference_wrapper< Conversation > > Get AllConversations () noexcept;

Get all possible conversations.

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

Rückgabewert

TypBeschreibung
ara::core::Vector<std::reference_wrapper<Conversation > >A Vector of all possible Conversation objects

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

Record
AUTOSAR/AP/record/SWS_DM_00782
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00782@rel:R25-11#800162ba
Content hash
800162ba
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00782
Status: valid/unmigrated Version: rel:R25-11#d611d124 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_00782@rel:R25-11#d611d124
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d2c5059b2026-09-30
  • R19-11rel:R19-11#5b89e7fd2026-10-14
  • R20-11rel:R20-11#a48e4d862026-10-14
  • R21-11rel:R21-11#657f3de32026-10-14
  • R22-11rel:R22-11#fde570342026-10-14
  • R23-11rel:R23-11#3933ca7f2026-10-14
  • R24-11rel:R24-11#afddc99e2026-10-14
  • R25-11rel:R25-11#d611d1242026-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

फ़ंक्शन GetConversation [SWS_DM_00692] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04170

static ara::core::Result< Conversation & > GetConversation (const Meta Info &metaInfo) noexcept;

Get one conversation based on given MetaInfo.

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

Parameter (in)

ParameterBeschreibung
metaInfoMetaInfo of the request.

Rückgabewert

TypBeschreibung
ara::core::Result<Conversation & >Conversation object or error

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_00692
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00692@rel:R25-11#b3931640
Content hash
b3931640
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00692
Status: valid/unmigrated Version: rel:R25-11#56f84ccd 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_00692@rel:R25-11#56f84ccd
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#435614992026-09-30
  • R19-11rel:R19-11#842bac5e2026-10-14
  • R20-11rel:R20-11#c12542fc2026-10-14
  • R21-11rel:R21-11#b2bba1dd2026-10-14
  • R22-11rel:R22-11#069f33cc2026-10-14
  • R23-11rel:R23-11#36f823122026-10-14
  • R24-11rel:R24-11#02c9dc132026-10-14
  • R25-11rel:R25-11#56f84ccd2026-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

फ़ंक्शन GetConversationIdentifier [SWS_DM_00700] Upstream: RS_AP_00139, RS_Diag_04169

ara::core::Result< ConversationIdentifierType > GetConversation Identifier () noexcept;

Getter for the current identification properties of the active conversation.

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

Rückgabewert

TypBeschreibung
ara::core::Result<ConversationIdentifierType >Returns the conversation information

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_00700
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00700@rel:R25-11#57a260a2
Content hash
57a260a2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00700
Status: valid/unmigrated Version: rel:R25-11#4e415079 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_00700@rel:R25-11#4e415079
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#126118842026-09-30
  • R19-11rel:R19-11#b95f93e22026-10-14
  • R20-11rel:R20-11#67ff974f2026-10-14
  • R21-11rel:R21-11#67ff974f2026-10-14
  • R22-11rel:R22-11#46ec30932026-10-14
  • R23-11rel:R23-11#1ae0af2f2026-10-14
  • R24-11rel:R24-11#2e3acc272026-10-14
  • R25-11rel:R25-11#4e4150792026-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

फ़ंक्शन GetCurrentActiveConversations [SWS_DM_00783] Upstream: RS_Diag_04166, RS_Diag_04169, RS_Diag_04209

static ara::core::Vector< std::reference_wrapper< Conversation > > Get CurrentActiveConversations () noexcept;

Get all currently active conversations.

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

Rückgabewert

TypBeschreibung
ara::core::Vector<std::reference_wrapper<Conversation > >A Vector of all currently active (GetActivityStatus() == kActive) Conversation objects.

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

Record
AUTOSAR/AP/record/SWS_DM_00783
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00783@rel:R25-11#69bfc489
Content hash
69bfc489
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00783
Status: valid/unmigrated Version: rel:R25-11#0836aea7 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_00783@rel:R25-11#0836aea7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f90567b82026-09-30
  • R19-11rel:R19-11#f673e9752026-10-14
  • R20-11rel:R20-11#50e9815d2026-10-14
  • R21-11rel:R21-11#2b04ffb12026-10-14
  • R22-11rel:R22-11#297e1edb2026-10-14
  • R23-11rel:R23-11#f13cae9f2026-10-14
  • R24-11rel:R24-11#4274a6302026-10-14
  • R25-11rel:R25-11#0836aea72026-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

फ़ंक्शन GetDiagnosticSecurityLevel [SWS_DM_00698] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04208

ara::core::Result< SecurityLevelType > GetDiagnosticSecurityLevel () noexcept;

Represents the current active diagnostic SecurityLevel of an active conversation.

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

उपयोग

वर्ग ara::diag::Conversation का मेथड GetDiagnosticSecurityLevel एक डायग्नोस्टिक वार्तालाप के वर्तमान में सक्रिय सुरक्षा स्तर को सिंक्रोनस रूप से निर्धारित करने का कार्य करता है (AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.6 “GetDiagnosticSecurityLevel”, [SWS_DM_00698])। यह हेडर #include "ara/diag/conversation.h" के माध्यम से प्रदान किया जाता है, कोई पासिंग पैरामीटर स्वीकार नहीं करता है और विनिर्देशक noexcept के साथ घोषित किया गया है।

रिटर्न प्रकार के रूप में, फ़ंक्शन एक ara::core::Result<SecurityLevelType> प्रदान करता है। सफलता की स्थिति में, इस ऑब्जेक्ट में सक्रिय कनेक्शन की वर्तमान सुरक्षा स्थिति का एनम मान सीधे शामिल होता है [SWS_DM_00698]।

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

यदि क्वेरी विफल रहती है, तो मेथड त्रुटि कोड DiagErrc::kServiceNotAvailable [SWS_DM_00698] के साथ एक ara::core::Result देता है। रोलबैक सेमांटिक्स का उपयोग करते हुए, यह संकेत देता है कि Diagnostic Management (DM) के आवश्यक कार्य कॉल के समय उपलब्ध नहीं हैं। निष्पादन सुरक्षा के संबंध में, GetDiagnosticSecurityLevel को थ्रेड-सुरक्षित और अपवाद-सुरक्षित के रूप में वर्गीकृत किया गया है [SWS_DM_00698] और इस प्रकार यह विभिन्न थ्रेड्स से समवर्ती कॉल की अनुमति देता है।

इंटरैक्शन

व्याख्या: आवश्यक प्राधिकरण स्तर की उपलब्धता की पुष्टि करने के लिए, आमतौर पर संरक्षित डायग्नोस्टिक गतिविधियों के निष्पादन से पहले एक कॉल होने की संभावना है। प्रश्न Q-8c056d4c5199524d (खुला) आगे की प्रोसेसिंग या डायग्नोस्टिक आउटपुट के लिए, निर्धारित SecurityLevelType को मेथड GetDiagnosticSecurityLevelShortName (AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.7 “GetDiagnosticSecurityLevelShortName”, [SWS_DM_00708]) के माध्यम से संबंधित प्रतीकात्मक संक्षिप्त नाम (ara::core::StringView के रूप में shortName) में अनुवादित किया जा सकता है।

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

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

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

Rückgabewert

TypBeschreibung
ara::core::Result<SecurityLevelType >Returns the current SecurityLevel

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_00698
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00698@rel:R25-11#8c0536ba
Content hash
8c0536ba
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00698
Status: valid/unmigrated Version: rel:R25-11#f7a1e8de 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_00698@rel:R25-11#f7a1e8de
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#628e5fed2026-09-30
  • R19-11rel:R19-11#9fed8b1c2026-10-14
  • R20-11rel:R20-11#c70e66042026-10-14
  • R21-11rel:R21-11#3fddfcd12026-10-14
  • R22-11rel:R22-11#fb7b24702026-10-14
  • R23-11rel:R23-11#d0084dcd2026-10-14
  • R24-11rel:R24-11#1251fd382026-10-14
  • R25-11rel:R25-11#f7a1e8de2026-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

फ़ंक्शन GetDiagnosticSecurityLevelShortName [SWS_DM_00708] Upstream: RS_Diag_04169, RS_Diag_04208

ara::core::Result< ara::core::StringView > GetDiagnosticSecurityLevel ShortName (SecurityLevelType securityLevel) noexcept;

Converts the given diagnostic SecurityLevel into the ShortName.

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

उपयोग

हेडर ara/diag/conversation.h से सिंक्रोनस मेथड ara::diag::Conversation::GetDiagnosticSecurityLevelShortName प्रकार SecurityLevelType के दिए गए सुरक्षा स्तर को कॉन्फ़िगर किए गए संक्षिप्त नाम (DiagnosticSecurityLevel.shortName) के पहचानकर्ता में हल करता है [SWS_DM_00708]। कॉल परिणाम को ara::core::Result<ara::core::StringView> के रूप में देता है।

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

त्रुटि की स्थिति में, फ़ंक्शन त्रुटि कोड DiagErrc::kInvalidArgument देता है [SWS_DM_00708]। Diagnostic Server का इंस्टेंस दो शर्तों के आधार पर पैरामीटर मान को मान्य करता है:

  • यदि तर्क securityLevel के रूप में लॉक की गई स्थिति kLocked पास की जाती है, तो Diagnostic Server को अनिवार्य रूप से kInvalidArgument वापस करना होगा [SWS_DM_01259]।
  • यदि पास किया गया मान DiagnosticContributionSet में गणना ((DiagnosticSecurityAccess.requestSeedId + 1) / 2) के अनुसार किसी कॉन्फ़िगर की गई प्रविष्टि से मेल नहीं खाता है, तो कॉल kInvalidArgument के साथ भी विफल हो जाता है [SWS_DM_01260]।

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

मेथड को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) तथा थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_00708]। निर्दिष्ट थ्रेड-सुरक्षा के कारण, एप्लिकेशन-साइड म्यूटेक्स सिंक्रोनाइज़ेशन के बिना समवर्ती डायग्नोस्टिक गतिविधियों के दौरान भी कॉल सुरक्षित होने की संभावना है। प्रश्न Q-b851a473c2d836b7 (खुला) संदर्भित स्ट्रिंग तक पहुँचने से पहले, एप्लिकेशन को यह जांचना होगा कि ara::core::Result में कोई त्रुटि तो नहीं है।

यह उपयोग नोट स्वचालित रूप से तैयार किया गया था। सभी संदर्भ रिलीज़ R25-11 के लिए AUTOSAR Adaptive प्लेटफ़ॉर्म के विनिर्देशों से आते हैं।

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

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

Parameter (in)

ParameterBeschreibung
securityLevelSecurity level enum the shortname shall be returned for.

Rückgabewert

TypBeschreibung
ara::core::Result<ara::core::StringView >ara::core::Result<ara::core::StringView> the SecurityLevel as shortName; DiagnosticSecurityLevel.shortName.

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_00708
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00708@rel:R25-11#c873c8c3
Content hash
c873c8c3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00708
Status: valid/unmigrated Version: rel:R25-11#3e07bb5e Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00708@rel:R25-11#3e07bb5e
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#ad3cc17f2026-09-30
  • R20-11rel:R20-11#b852d3862026-10-14
  • R21-11rel:R21-11#618fb0662026-10-14
  • R22-11rel:R22-11#4879f23d2026-10-14
  • R23-11rel:R23-11#488bb9ba2026-10-14
  • R24-11rel:R24-11#bce583e52026-10-14
  • R25-11rel:R25-11#3e07bb5e2026-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

फ़ंक्शन GetDiagnosticSession [SWS_DM_00696] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04208

ara::core::Result< SessionControlType > GetDiagnosticSession () noexcept;

Represents the current active diagnostic session of an active conversation.

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

Rückgabewert

TypBeschreibung
ara::core::Result<SessionControlType >the current session

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_00696
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00696@rel:R25-11#2f3c6a16
Content hash
2f3c6a16
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00696
Status: valid/unmigrated Version: rel:R25-11#43ed0f51 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_00696@rel:R25-11#43ed0f51
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d12e41e92026-09-30
  • R19-11rel:R19-11#0f787e1f2026-10-14
  • R20-11rel:R20-11#4ee06c722026-10-14
  • R21-11rel:R21-11#980ebaf22026-10-14
  • R22-11rel:R22-11#5a23cab62026-10-14
  • R23-11rel:R23-11#e3c9e4282026-10-14
  • R24-11rel:R24-11#043ec2502026-10-14
  • R25-11rel:R25-11#43ed0f512026-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

फ़ंक्शन GetDiagnosticSessionShortName [SWS_DM_00707] Upstream: RS_Diag_04169, RS_Diag_04208

ara::core::Result< ara::core::StringView > GetDiagnosticSessionShort Name (SessionControlType session) noexcept;

Converts the given diagnostic session into the ShortName.

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

Parameter (in)

ParameterBeschreibung
sessionDiagnostic session the shortname shall be returned for.

Rückgabewert

TypBeschreibung
ara::core::Result<ara::core::StringView >ara::core::Result<ara::core::StringView> the session as shortName; DiagnosticSession.shortName.

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_00707
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00707@rel:R25-11#a88f2ca5
Content hash
a88f2ca5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00707
Status: valid/unmigrated Version: rel:R25-11#ec692072 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_00707@rel:R25-11#ec692072
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#382520262026-09-30
  • R20-11rel:R20-11#8e2625812026-10-14
  • R21-11rel:R21-11#633a4a682026-10-14
  • R22-11rel:R22-11#8d9fdc682026-10-14
  • R23-11rel:R23-11#68d2b3682026-10-14
  • R24-11rel:R24-11#687ae1a02026-10-14
  • R25-11rel:R25-11#ec6920722026-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

फ़ंक्शन ResetToDefaultSession [SWS_DM_00701] Upstream: RS_Diag_04006, RS_Diag_04166, RS_Diag_04169, RS_Diag_04209

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

Method to reset the current session to default session.

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

विधि ara::diag::Conversation::ResetToDefaultSession एक Adaptive Application को डायग्नोस्टिक वार्तालाप को स्पष्ट रूप से मानक सत्र (Default Session) में रीसेट करने में सक्षम बनाती है [SWS_DM_00701]।

उपयोग

यह कॉल हेडर फ़ाइल #include "ara/diag/conversation.h" के माध्यम से ara::diag::Conversation के एक इंस्टेंस पर पैरामीटर के बिना की जाती है [SWS_DM_00701]। यदि विधि को कॉल किया जाता है, तो Diagnostic Server का इंस्टेंस पहले चल रहे अनुरोध को पूरा करता है और उसके बाद ही वार्तालाप के डायग्नोस्टिक सत्र को Default Session में बदलता है [SWS_DM_00842]।

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

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

इंटरैक्शन

विधि वार्तालाप इंटरफ़ेस के सूचनात्मक स्वरूप को लक्षित स्थिति नियंत्रण के साथ पूरक बनाती है AUTOSAR_AP_SWS_Diagnostics §7 “Diagnostic Conversation Interface”। यह सुनिश्चित करता है कि वार्तालाप की स्थिति संशोधित होने से पहले मौजूदा डायग्नोस्टिक अनुरोध व्यवस्थित रूप से समाप्त हो जाएँ [SWS_DM_00842]।

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

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

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

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

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_00701
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00701@rel:R25-11#e67ddfb9
Content hash
e67ddfb9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00701
Status: valid/unmigrated Version: rel:R25-11#c03208e0 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_00701@rel:R25-11#c03208e0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#54ef57a92026-09-30
  • R19-11rel:R19-11#cba5e6552026-10-14
  • R20-11rel:R20-11#576381052026-10-14
  • R21-11rel:R21-11#576381052026-10-14
  • R22-11rel:R22-11#3b3097d22026-10-14
  • R23-11rel:R23-11#945d0ca32026-10-14
  • R24-11rel:R24-11#5966beb72026-10-14
  • R25-11rel:R25-11#c03208e02026-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

फ़ंक्शन SetActivityNotifier [SWS_DM_00695] Upstream: RS_AP_00139, RS_Diag_04169

ara::core::Result< void > SetActivityNotifier (ActivityStatusType Notifier notifier) noexcept;

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

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

उपयोग

विधि ara::diag::Conversation::SetActivityNotifier का उपयोग एक अधिसूचना फ़ंक्शन (notifier) को पंजीकृत करने के लिए किया जाता है, जिसे तब कॉल किया जाता है जब डायग्नोस्टिक वार्तालाप की गतिविधि स्थिति बदलती है [SWS_DM_00695]। घोषणा हेडर फ़ाइल #include "ara/diag/conversation.h" के माध्यम से वर्ग ara::diag::Conversation के स्कोप में की जाती है AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.11 “SetActivityNotifier”। उसी इंस्टेंस पर दोहराया गया या क्रमिक कॉल पहले से पंजीकृत notifier को पूरी तरह से अधिलेखित कर देता है [SWS_DM_00695], [SWS_DM_01355]।

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

रिटर्न मान को ara::core::Result<void> के रूप में टाइप किया गया है और यह सफलता या त्रुटि स्थिति की रिपोर्ट करता है; हालाँकि, इंटरफ़ेस किसी मानकीकृत त्रुटि कोड को निर्दिष्ट नहीं करता है [SWS_DM_00695]। विधि को noexcept और अपवाद-सुरक्षित (exception safe) के रूप में घोषित किया गया है।

थ्रेड सुरक्षा के संबंध में, फ़ंक्शन को थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में वर्गीकृत किया गया है [SWS_DM_00695]। यदि एकाधिक थ्रेड्स से समान वार्तालाप इंस्टेंस तक पहुँचा जाता है, तो पंजीकरण कॉल को अनुप्रयोग पक्ष पर सिंक्रनाइज़ किया जाना चाहिए।

जीवनचक्र में अंतःक्रिया

वार्तालाप के इंस्टेंस Diagnostic Server द्वारा प्रदान किए जाते हैं, जहाँ समानांतर वार्तालापों की अधिकतम संख्या maxConversations के माध्यम से कॉन्फ़िगर की जाती है [SWS_DM_00840]। जब किसी डायग्नोस्टिक वार्तालाप का जीवनचक्र समाप्त होता है, तो Diagnostic Server गतिविधि स्थिति को kInactive पर सेट करता है [SWS_DM_00843]। यह संभवतः पंजीकृत notifier को सक्रिय डायग्नोस्टिक संचार की समाप्ति का संकेत देता है। प्रश्न Q-93c30267eb100ed7 (खुला)

यह पाठ एक AI प्रणाली द्वारा उत्पन्न किया गया था और संपादकीय रूप से समीक्षित किया गया है।

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

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

Parameter (in)

ParameterBeschreibung
notifiernotifier function to be called

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

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_00695
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00695@rel:R25-11#78369ad6
Content hash
78369ad6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00695
Status: valid/unmigrated Version: rel:R25-11#1015a6c7 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_00695@rel:R25-11#1015a6c7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5eecbfa02026-09-30
  • R19-11rel:R19-11#c2cf431a2026-10-14
  • R20-11rel:R20-11#6973db082026-10-14
  • R21-11rel:R21-11#483f11df2026-10-14
  • R22-11rel:R22-11#dafc31d62026-10-14
  • R23-11rel:R23-11#996aadb12026-10-14
  • R24-11rel:R24-11#8248ea3f2026-10-14
  • R25-11rel:R25-11#1015a6c72026-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

फ़ंक्शन SetDiagnosticSessionNotifier [SWS_DM_00697] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04208

ara::core::Result< void > SetDiagnosticSessionNotifier (SessionControl TypeNotifier notifier) noexcept;

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

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

फ़ंक्शन SetDiagnosticSessionNotifier वर्ग ara::diag::Conversation से संबंधित है और हेडर फ़ाइल #include "ara/diag/conversation.h" के माध्यम से प्रदान किया जाता है [SWS_DM_00697]। यह अनुप्रयोगों को एक notifier फ़ंक्शन पंजीकृत करने की अनुमति देता है, जो डायग्नोस्टिक सत्र के प्रत्येक परिवर्तन पर ट्रिगर होता है।

उपयोग और कॉल सिमेंटिक्स

यह कॉल SessionControl TypeNotifier प्रकार के पैरामीटर notifier को पास करते हुए ara::diag::Conversation के इंस्टेंस पर समकालिक रूप से की जाती है [SWS_DM_00697]। एक क्रमिक या दोहराया गया विधि कॉल पहले से पंजीकृत notifier को पूरी तरह से अधिलेखित कर देता है AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.12 “SetDiagnosticSessionNotifier”।

रिटर्न मान और त्रुटि प्रबंधन

रिटर्न मान के रूप में, इंटरफ़ेस एक ara::core::Result<void> लौटाता है, जो या तो एक सफल पंजीकरण की पुष्टि करता है या इसमें एक त्रुटि ऑब्जेक्ट होता है [SWS_DM_00697]। विनिर्देश इस कॉल के लिए किसी भी मानकीकृत त्रुटि कोड को परिभाषित नहीं करता है; इसलिए उत्पन्न होने वाली त्रुटियाँ कार्यान्वयन-विशिष्ट सत्यापन के कारण होने की संभावना है। प्रश्न Q-1ac7eebee90e3c22 (खुला)

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

  • थ्रेड सुरक्षा: विधि को थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_00697]। इसलिए, समान वार्तालाप इंस्टेंस के लिए समानांतर कॉल को अनुप्रयोग पक्ष पर सिंक्रनाइज़ किया जाना चाहिए।
  • अपवाद सुरक्षा: फ़ंक्शन को noexcept के रूप में घोषित किया गया है और इसे अपवाद-सुरक्षित (exception safe) माना जाता है [SWS_DM_00697]।
  • विनिर्देश स्थिति: मानक में फ़ंक्शन के दस्तावेज़ीकरण अनुभाग को प्रारूप (DRAFT) के रूप में चिह्नित किया गया है AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.12 “SetDiagnosticSessionNotifier”।

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

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

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

Parameter (in)

ParameterBeschreibung
notifiernotifier function to be called

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

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_00697
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00697@rel:R25-11#032856d5
Content hash
032856d5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00697
Status: valid/unmigrated Version: rel:R25-11#07e4c466 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_00697@rel:R25-11#07e4c466
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4962fbb22026-09-30
  • R19-11rel:R19-11#0f2677902026-10-14
  • R20-11rel:R20-11#aef2058a2026-10-14
  • R21-11rel:R21-11#aef2058a2026-10-14
  • R22-11rel:R22-11#b2727dc92026-10-14
  • R23-11rel:R23-11#91ac768a2026-10-14
  • R24-11rel:R24-11#22154ba92026-10-14
  • R25-11rel:R25-11#07e4c4662026-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

फ़ंक्शन SetSecurityLevelNotifier [SWS_DM_00699] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04208

ara::core::Result< void > SetSecurityLevelNotifier (SecurityLevelType Notifier notifier) noexcept;

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

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

उपयोग

विधि ara::diag::Conversation::SetSecurityLevelNotifier का उपयोग एक कॉलबैक फ़ंक्शन को पंजीकृत करने के लिए किया जाता है, जिसे डायग्नोस्टिक वार्तालाप का सुरक्षा स्तर (SecurityLevel) बदलते ही अधिसूचित किया जाता है [SWS_DM_00699]। इसे हेडर ara/diag/conversation.h के माध्यम से घोषित किया जाता है AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.13 “SetSecurityLevelNotifier”। यह कॉल किए जाने वाले फ़ंक्शन notifier को पैरामीटर के रूप में स्वीकार करता है। विधि का दोबारा कॉल पहले से पंजीकृत notifier फ़ंक्शन को पूरी तरह से अधिलेखित कर देता है [SWS_DM_00699]।

शब्दार्थ और रिटर्न मान

फ़ंक्शन को noexcept के रूप में परिभाषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_00699]। रिटर्न प्रकार के रूप में, यह ara::core::Result<void> प्रदान करता है, जो या तो कोई मान नहीं लौटाता है या हुई कोई त्रुटि लौटाता है [SWS_DM_00699]।

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

विनिर्देश SetSecurityLevelNotifier के लिए किसी मानकीकृत त्रुटि कोड को परिभाषित नहीं करता है [SWS_DM_00699]। ara::core::Result में वापस लौटाई गई कोई भी त्रुटि संभवतः निर्माता-विशिष्ट हो सकती है या अंतर्निहित प्लेटफ़ॉर्म रनटाइम के कारण हो सकती है। प्रश्न Q-c8dd53e9d661cc78 (खुला)

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

थ्रेड सुरक्षा के संबंध में, विधि को स्पष्ट रूप से not thread-safe के रूप में वर्गीकृत किया गया है [SWS_DM_00699]। इस प्रकार, ara::diag::Conversation के समान इंस्टेंस पर समानांतर एक्सेस को कॉलर पक्ष पर सिंक्रनाइज़ किया जाना चाहिए। इसके अतिरिक्त, वर्तमान दस्तावेज़ीकरण स्थिति में API परिभाषा की स्थिति DRAFT है AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.13 “SetSecurityLevelNotifier”।

यह उपयोग नोट विनिर्देश AUTOSAR Adaptive Platform Release R25-11 पर आधारित है।

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

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

Parameter (in)

ParameterBeschreibung
notifiernotifier function to be called

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

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_00699
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00699@rel:R25-11#32b8fd42
Content hash
32b8fd42
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00699
Status: valid/unmigrated Version: rel:R25-11#1a953b3c 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_00699@rel:R25-11#1a953b3c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bd832bbe2026-09-30
  • R19-11rel:R19-11#955a893e2026-10-14
  • R20-11rel:R20-11#e175a4872026-10-14
  • R21-11rel:R21-11#965f1c762026-10-14
  • R22-11rel:R22-11#377ba2182026-10-14
  • R23-11rel:R23-11#a5a017ec2026-10-14
  • R24-11rel:R24-11#a280e19e2026-10-14
  • R25-11rel:R25-11#1a953b3c2026-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_02091] Upstream: RS_AP_00134

Conversation & operator= (const Conversation &)=delete;

Copy assignment operator of conversation is deleted.

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation

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

Record
AUTOSAR/AP/record/SWS_DM_02091
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02091@rel:R25-11#467a37fa
Content hash
467a37fa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02091
Status: valid/unmigrated Version: rel:R25-11#c1fa5c07 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02091@rel:R25-11#c1fa5c07
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_DM_02093] Upstream: RS_AP_00134

Conversation & operator= (Conversation &&)=delete;

Move assignment operator of conversation is deleted.

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation

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

Record
AUTOSAR/AP/record/SWS_DM_02093
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02093@rel:R25-11#a8cce1a6
Content hash
a8cce1a6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02093
Status: valid/unmigrated Version: rel:R25-11#917ef331 Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02093@rel:R25-11#917ef331
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

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

टाइप उपनाम ActivityStatusTypeNotifier [SWS_DM_02126] Upstream: RS_AP_00139, RS_Diag_04169

using ActivityStatusTypeNotifier = std::function<void(ActivityStatus Type)>;

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

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation
SymbolActivityStatusTypeNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02126
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02126@rel:R25-11#f8eae86f
Content hash
f8eae86f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02126
Status: valid/unmigrated Version: rel:R25-11#9d0d103a Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02126@rel:R25-11#9d0d103a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

टाइप उपनाम SecurityLevelTypeNotifier [SWS_DM_02128] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04208

using SecurityLevelTypeNotifier = std::function<void(SecurityLevel Type)>;

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

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation
SymbolSecurityLevelTypeNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02128
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02128@rel:R25-11#f94fd13e
Content hash
f94fd13e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02128
Status: valid/unmigrated Version: rel:R25-11#bf178d8f Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02128@rel:R25-11#bf178d8f
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

टाइप उपनाम SessionControlTypeNotifier [SWS_DM_02127] Upstream: RS_AP_00139, RS_Diag_04169, RS_Diag_04208

using SessionControlTypeNotifier = std::function<void(SessionControl Type)>;

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

Header-Datei#include "ara/diag/conversation.h"
Scopeclass ara::diag::Conversation
SymbolSessionControlTypeNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02127
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02127@rel:R25-11#400dd22f
Content hash
400dd22f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02127
Status: valid/unmigrated Version: rel:R25-11#09cac05a Versionshistorie & Revisions (1 transition)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_02127@rel:R25-11#09cac05a
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill