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

사용자 가이드AI 생성

활성 진단 채널 모니터링과 진단 세션 및 보안 레벨 제어를 지원합니다.
AI 생성 미검증 모델: 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]. 자체 인스턴스화와 복사 및 이동 작업이 삭제되어 있으므로, 애플리케이션은 정적 검색 함수를 통한 참조로만 인스턴스를 가져옵니다 [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 Diagnostic Management 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 Daemon에 의해 전적으로 인스턴스화되고 관리됩니다. 애플리케이션에 의한 수동 생성, 복사 또는 이동은 불가능합니다. 복사 생성자 [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].

동시성과 관련하여, 상태 및 식별자에 대한 모든 읽기 액세스는 스레드 안전(thread-safe)으로 명시되어 있습니다 [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 사용 시퀀스애플리케이션ConversationDiagnosticManagementUse Case: 연결 해제GetConversation(metaInfo)Result<Conversation&>Use Case: Callback-Registrierung & StatusabfrageSetDiagnosticSessionNotifier(notifier)Result<void>GetDiagnosticSession()Result<SessionControlType>Use Case: SitzungssteuerungResetToDefaultSession()세션 전환 수행Result<void>

시퀀스 다이어그램: 통지자(notifier) 등록, 상태 쿼리 및 세션 리셋을 위한 일반적인 상호작용 순서. 출처: [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

메서드

Represents the status of an active conversation.

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

Get all possible conversations.

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

Get one conversation based on given MetaInfo.

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

Getter for the current identification properties of the active conversation.

Get all currently active conversations.

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

Represents the current active diagnostic SecurityLevel of an active conversation.

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

Converts the given diagnostic SecurityLevel into the ShortName.

Represents the current active diagnostic session of an active conversation.

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

Converts the given diagnostic session into the ShortName.

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

Method to reset the current session to default session.

ara::core::Result< void > ResetToDefaultSession () 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.

ara::core::Result< void > SetActivityNotifier (ActivityStatusType Notifier 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.

ara::core::Result< void > SetDiagnosticSessionNotifier (SessionControl TypeNotifier 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.

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

타입 별칭

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

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

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

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

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#850051e2
Content hash
850051e2
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#7054beb1
Content hash
7054beb1
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#d3a1f73a
Content hash
d3a1f73a
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#f8b661d2
Content hash
f8b661d2
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#6a4d990e
Content hash
6a4d990e
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#6e4cffbf
Content hash
6e4cffbf
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#7c7e200e
Content hash
7c7e200e
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.

AI 생성 미검증 모델: 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>을(를) 반환합니다. 성공 시 이 객체는 활성 연결의 현재 보안 상태의 Enum 값을 직접 포함합니다[SWS_DM_00698].

오류 처리 및 동시성

조회에 실패하면 메소드는 오류 코드 DiagErrc::kServiceNotAvailable을(를) 갖는 ara::core::Result을(를) 반환합니다[SWS_DM_00698]. 이는 롤백 시맨틱을 적용하여 호출 시점에 Diagnostic Management (DM)의 필수 기능을 사용할 수 없음을 나타냅니다. 실행 안전성과 관련하여 GetDiagnosticSecurityLevel은(는) thread-safe 및 exception-safe로 분류되며[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#22414c17
Content hash
22414c17
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.

AI 생성 미검증 모델: 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#4b83018d
Content hash
4b83018d
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#851208cc
Content hash
851208cc
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#85e260a9
Content hash
85e260a9
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.

AI 생성 미검증 모델: 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#c5030635
Content hash
c5030635
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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 49e9828acc72 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

메서드 ara::diag::Conversation::SetActivityNotifier는 진단 대화의 활성 상태가 변경될 때마다 호출되는 알림 함수(notifier)를 등록하는 역할을 합니다 [SWS_DM_00695]. 선언은 ara::diag::Conversation 클래스 범위 내의 헤더 파일 #include "ara/diag/conversation.h"을(를) 통해 이루어집니다 AUTOSAR_AP_SWS_Diagnostics §8.9.3.2.2.11 “SetActivityNotifier”. 동일한 인스턴스에 대해 다시 호출하거나 연속으로 호출하면 이전에 등록된 알리미를 완전히 덮어씁니다 [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]. 이는 등록된 알리미에게 활성 진단 통신의 종료를 알리는 신호일 것으로 보입니다. 질문 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#f4e3a3c4
Content hash
f4e3a3c4
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.

AI 생성 미검증 모델: 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]. 이 함수를 통해 애플리케이션은 진단 세션이 변경될 때마다 트리거되는 알리미 함수를 등록할 수 있습니다.

사용법 및 호출 시맨틱

호출은 SessionControl TypeNotifier 유형의 매개변수 notifier을(를) 전달하여 ara::diag::Conversation의 인스턴스에서 동기식으로 수행됩니다 [SWS_DM_00697]. 연속적이거나 반복적인 메서드 호출은 이전에 등록된 알리미를 완전히 덮어씁니다 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#6135e891
Content hash
6135e891
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.

AI 생성 미검증 모델: 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을(를) 받습니다. 메서드를 다시 호출하면 이전에 등록된 알리미 함수를 완전히 덮어씁니다 [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 릴리스 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#6f9d7b6d
Content hash
6f9d7b6d
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#6ab0eebc
Content hash
6ab0eebc
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#ef8627ef
Content hash
ef8627ef
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#ecc5047d
Content hash
ecc5047d
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#23cfe627
Content hash
23cfe627
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#6c7edd87
Content hash
6c7edd87
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