DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::GenericUDSService

[SWS_DM_00602] Upstream: RS_Diag_04169

class GenericUDSService {...};

Generic UDS interface.

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

사용자 가이드AI 생성

진단 관리자에서 들어오는 진단 요청의 비동기 처리를 위한 일반 UDS 인터페이스 역할을 합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: d0d38c589b70 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

진단 관리자에서 들어오는 진단 요청의 비동기 처리를 위한 일반 UDS 인터페이스 역할을 합니다.

ara::diag::GenericUDSService 클래스는 일반 UDS 서비스 핸들러로서 AUTOSAR 진단 관리자를 통해 임의의 UDS 진단 요청을 수신하고 처리할 수 있도록 지원합니다 [SWS_DM_00616]. PortPrototype에 바인딩된 후 서비스는 Offer()을 통해 활성화되고, HandleMessage() 메서드에서 요청을 비동기적으로 처리하며, StopOffer()를 통해 다시 등록 해제됩니다 [SWS_DM_00618], [SWS_DM_00619], [SWS_DM_00620]. 인스턴스는 복사하거나 이동할 수 없으며, DiagUdsNrcErrc의 NRC를 통해 오류를 알립니다 [SWS_DM_01657], [SWS_DM_00618].

컨텍스트

ara::diag::GenericUDSService 클래스는 UDS(Unified Diagnostic Services)에 따른 진단 통신을 위한 일반 서비스 인터페이스를 제공합니다. 전용 인터페이스에서 다루지 않거나 사용자 정의된 UDS 서비스를 구현하고 처리하려는 애플리케이션을 위한 기본 클래스 역할을 합니다. 상호작용은 주로 진단 애플리케이션 컴포넌트, AUTOSAR 진단 관리자(DM) 및 기본 모델링 컨텍스트 간에 발생합니다. 진단 관리자 및 플랫폼 모델에 대한 연결은 인스턴스화 시 DiagnosticGenericUdsInterface의 해당 PortPrototype을 가리키는 ara::core::InstanceSpecifier을 통해 설정됩니다 [SWS_DM_00616]. 인터페이스를 통해 등록이 활성화되는 즉시 진단 관리자는 들어오는 UDS 요청을 구현된 인스턴스로 전달합니다 [SWS_DM_00619].

GenericUDSContext DM Diagnostic-Manager (DM) Service ara::diag::GenericUDSService DM->Service Offer() / StopOffer() DM->Service HandleMessage(sid, data) App Applikations-Handler Service->App Virtuelle Abarbeitung App->DM Future<OperationOutput> Model AUTOSAR Modell / InstanceSpecifier Model->Service Konfiguration / PortPrototype

컨텍스트 다이어그램: DM 및 애플리케이션과 ara::diag::GenericUDSService의 컴포넌트 및 상호작용 컨텍스트. 출처: [SWS_DM_00616], [SWS_DM_00618], [SWS_DM_00619]

수명 주기

ara::diag::GenericUDSService의 인스턴스는 고정된 PortPrototype에 바인딩되며 단일 인스턴스로 설계되었습니다: 복사 생성자 [SWS_DM_01657], 이동 생성자 [SWS_DM_01658] 및 대입 연산자 [SWS_DM_01655], [SWS_DM_01656]은 삭제되었습니다(delete). 생성은 InstanceSpecifier 및 동시성 구성 ConcurrencyType(kConcurrent 또는 kNotConcurrent)을 지정하여 생성자를 통해 명시적으로 수행됩니다 [SWS_DM_00616]. 서비스 준비 상태의 수명 주기는 두 가지 주요 단계로 나뉩니다:

  • 제공되지 않음 (Stopped / Initial): 생성 후 또는 StopOffer() 호출 후 DM은 인스턴스로 요청을 전달하지 않습니다 [SWS_DM_00620].
  • 제공됨 (Offered): Offer()이 성공적으로 호출된 후 핸들러가 활성화되어 들어오는 진단 메시지를 처리합니다 [SWS_DM_00619].

소멸은 가상 소멸자 ~GenericUDSService() [SWS_DM_00584]을 통해 수행됩니다. 스레드 안전성과 관련하여 생성자는 스레드 안전한 것으로 지정되어 있는 반면, Offer(), StopOffer() 및 소멸자는 스레드 안전하지 않으므로 외부 동기화가 필요합니다 [SWS_DM_00616], [SWS_DM_00619], [SWS_DM_00620], [SWS_DM_00584].

GenericUDSLifecycle Uninitialized 존재하지 않음 Stopped 준비됨 / 오퍼링되지 않음 Uninitialized->Stopped Konstruktor(specifier, concurrencyType) Stopped->Uninitialized ~GenericUDSService() Offered Angeboten (Aktiv) Stopped->Offered Offer() Offered->Stopped StopOffer() Offered->Offered HandleMessage()

상태 다이어그램: 수명 주기 및 서비스 제공 상태. 출처: [SWS_DM_00616], [SWS_DM_00619], [SWS_DM_00620], [SWS_DM_00584]

사용 경로

일반적인 흐름에는 파생된 서비스 클래스의 인스턴스화, 핸들러 활성화, 비동기 작업 처리 및 이후의 비활성화가 포함됩니다:

  1. 인스턴스화: 애플리케이션은 적절한 ara::core::InstanceSpecifier 및 원하는 ConcurrencyType을 사용하여 특수화된 서비스 클래스를 인스턴스화합니다 [SWS_DM_00616].
  2. 서비스 제공: Offer()을 호출하면 진단 관리자에 메시지 수신 준비 상태가 신호됩니다 [SWS_DM_00619].
  3. 메시지 처리: 들어오는 UDS 요청으로 인해 DM이 순수 가상 메서드 HandleMessage()을 호출합니다. 서비스 식별자(sid), 페이로드(requestData), 메타데이터(metaInfo) 및 cancellationHandler이 전달됩니다 [SWS_DM_00618]. 이 메서드는 결과 또는 오류가 비동기적으로 제공되는 ara::core::Future<OperationOutput>을 반환합니다 [SWS_DM_00618]. 핸들러는 cancellationHandler.IsCanceled()을 통해 작업이 취소되었는지 확인하거나 cancellationHandler.SetNotifier()을 통해 알림을 등록할 수 있습니다 [SWS_DM_00618].
  4. 서비스 종료: 인스턴스가 소멸되기 전에 StopOffer()을 통해 요청 전달이 종료됩니다 [SWS_DM_00620], [SWS_DM_00584].
GenericUDSService를 통한 UDS 요청 처리ApplikationGenericUDSServiceDiagnostic-ManagerErzeugung(specifier, concurrencyType)Offer()Handler registrierenResult<void> (Erfolg)Use Case: Diagnoseanfrage bearbeitenHandleMessage(sid, requestData, metaInfo, cancelHandler)altVerarbeitung erfolgreichFuture::set_value(OperationOutput)Fehlerfall / AblehnungFuture::set_error(DiagUdsNrcErrc)Use Case: Dienst deregistrierenStopOffer()Handler deregistrieren

시퀀스 다이어그램: 등록, 메시지 처리 및 등록 해제 시 일반적인 호출 흐름. 출처: [SWS_DM_00616], [SWS_DM_00618], [SWS_DM_00619], [SWS_DM_00620]

오류 시나리오

오류 상황은 다양한 단계에서 발생할 수 있으며 차별화된 처리가 필요합니다:

  • 인스턴스화 위반: 모델에서 InstanceSpecifier의 매핑에 실패하면 프레임워크는 정의된 위반을 보고합니다: InstanceSpecifierMappingIntegrityViolation(Specifier를 모델에서 확인할 수 없거나 PortPrototype을 가리키지 않음), PortInterfaceMappingViolation(포트가 DiagnosticServiceGenericMapping을 통해 참조되지 않음), ProcessMappingViolation(일치하는 프로세스가 모델링되지 않음) 또는 InstanceSpecifierAlreadyInUseViolation(Specifier가 프로세스에서 이미 사용됨) [SWS_DM_00616].
  • 중복 제공 호출: 서비스가 이미 활성 상태로 제공되고 있음에도 Offer()이 호출되면 호출이 실패하고 오류 코드 DiagOfferErrc::kAlreadyOffered을 반환합니다(롤백 의미론) [SWS_DM_00619].
  • 진단 관련 실행 오류: HandleMessage()에서 UDS 메시지에 기능적으로 긍정 응답할 수 없는 경우, Future의 결과는 DiagUdsNrcErrc을 통해 ISO 14229-1에 따른 적절한 NRC(Negative Response Code)로 채워져야 합니다 [SWS_DM_00618]. 또한 기본 진단 대화가 조기에 종료된 경우 구현은 cancellationHandler의 취소 신호에 응답해야 합니다 [SWS_DM_00618].

이 클래스 가이드는 AUTOSAR 표준을 기반으로 자동 생성되었습니다.

멤버 맵

생성자 및 소멸자

2

연산자

1

중첩 타입

1

클래스 다이어그램

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

G nara__diag__GenericUDSService134 GenericUDSService + GenericUDSService() + operator=() + ~GenericUDSService() + HandleMessage() + Offer() + StopOffer()

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Constructor of GenericUDSService.

오버로드 GenericUDSService 3
explicit GenericUDSService (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_00616
GenericUDSService (GenericUDSService &)=delete; SWS_DM_01657
GenericUDSService (GenericUDSService &&) noexcept=delete; SWS_DM_01658

Destructor of GenericUDSService.

virtual ~GenericUDSService () noexcept;

메서드

Called for any request message.

virtual ara::core::Future< OperationOutput > HandleMessage (std::uint8_t sid, ara::core::Span< const std::uint8_t > requestData, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
Offer 함수

This Offer will enable the DM to forward request messages to this handler.

ara::core::Result< void > Offer () noexcept;
StopOffer 함수

This StopOffer will disable the forwarding of request messages from DM.

void StopOffer () noexcept;

연산자

operator= 함수 2

GenericUDSService shall be a single not assignable instance.

오버로드 = 2

중첩 타입

OperationOutput 클래스

메서드 문서

함수 GenericUDSService [SWS_DM_00616] Upstream: RS_AP_00137, RS_Diag_04169, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit GenericUDSService (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept;

Constructor of GenericUDSService.

Header-Datei#include "ara/diag/generic_uds_service.h"
Scopeclass ara::diag::GenericUDSService
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is typed by a pingViolation DiagnosticGenericUdsInterface needs to be referenced by a DiagnosticServiceGenericMapping. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype of a DiagnosticGenericUdsInterface.
concurrencyTypeSpecifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).

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

Record
AUTOSAR/AP/record/SWS_DM_00616
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00616@rel:R25-11#a6730d85
Content hash
a6730d85
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00616
Status: valid/unmigrated Version: rel:R25-11#3d790c95 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_00616@rel:R25-11#3d790c95
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#87df61712026-09-30
  • R19-11rel:R19-11#84d8fb9f2026-10-14
  • R20-11rel:R20-11#50d1ef612026-10-14
  • R21-11rel:R21-11#bc4b87432026-10-14
  • R22-11rel:R22-11#927edc252026-10-14
  • R23-11rel:R23-11#f591fa1b2026-10-14
  • R24-11rel:R24-11#bb9f2bcf2026-10-14
  • R25-11rel:R25-11#3d790c952026-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

함수 GenericUDSService [SWS_DM_01657] Upstream: RS_AP_00147

GenericUDSService (GenericUDSService &)=delete;

GenericUDSService shall be a single not copy-able instance.

Header-Datei#include "ara/diag/generic_uds_service.h"
Scopeclass ara::diag::GenericUDSService

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

Record
AUTOSAR/AP/record/SWS_DM_01657
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01657@rel:R25-11#25ae88d2
Content hash
25ae88d2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01657
Status: valid/unmigrated Version: rel:R25-11#76928831 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01657@rel:R25-11#76928831
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#be554e2d2026-09-30
  • R23-11rel:R23-11#a940ac8f2026-10-14
  • R24-11rel:R24-11#769288312026-10-14
  • R25-11rel:R25-11#769288312026-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

함수 GenericUDSService [SWS_DM_01658] Upstream: RS_AP_00147

GenericUDSService (GenericUDSService &&) noexcept=delete;

Move constructor of GenericUDSService.

Header-Datei#include "ara/diag/generic_uds_service.h"
Scopeclass ara::diag::GenericUDSService

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

Record
AUTOSAR/AP/record/SWS_DM_01658
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01658@rel:R25-11#0b85102d
Content hash
0b85102d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01658
Status: valid/unmigrated Version: rel:R25-11#595ee4df Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01658@rel:R25-11#595ee4df
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#fd8860f32026-09-30
  • R23-11rel:R23-11#a5685d662026-10-14
  • R24-11rel:R24-11#595ee4df2026-10-14
  • R25-11rel:R25-11#595ee4df2026-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

함수 HandleMessage [SWS_DM_00618] Upstream: RS_AP_00119, RS_AP_00138, RS_Diag_04169, RS_Diag_04170, RS_ Diag_04172, RS_Diag_04173

virtual ara::core::Future< OperationOutput > HandleMessage (std::uint8_t sid, ara::core::Span< const std::uint8_t > requestData, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for any request message.

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

ara::diag::GenericUDSService의 메서드 HandleMessage은 수신된 UDS 진단 요청의 애플리케이션별 처리에 사용됩니다[SWS_DM_00618].

사용

Diagnostic Management(DM)은 수신된 각 진단 요청 메시지에 대해 이 메서드를 호출합니다[SWS_DM_00618]. 매개변수를 통해 서비스 식별자(sid), 페이로드(ara::core::Span<const std::uint8_t> 형식의 requestData), 연결 정보(metaInfo) 및 cancellationHandler가 전달됩니다. 처리는 ara::core::Future<OperationOutput> [SWS_DM_00618] 반환을 통해 비동기식으로 이루어집니다. requestData의 페이로드는 연결된 Promise가 이행되거나 작업이 취소될 때까지 유효하게 유지됩니다. 애플리케이션은 cancellationHandler.IsCanceled()를 통해 취소 상태를 확인하거나 cancellationHandler.SetNotifier()을 사용하여 세션 취소에 대한 알림을 등록할 수 있습니다[SWS_DM_00618].

오류 처리

요청을 성공적으로 처리할 수 없는 경우, 애플리케이션은 DiagUdsNrcErrc [SWS_DM_00618]을 통해 적절한 부정 응답 코드(ISO 14229-1에 따른 NRC)를 사용하여 반환된 Future를 통해 오류를 알립니다.

동시성 및 제약 조건

  • metaInfo의 수명: metaInfo 객체의 유효성은 메서드 호출의 활성 실행 기간으로 엄격하게 제한됩니다[SWS_DM_01345]. HandleMessage 반환 후 이를 저장하거나 사용하는 것은 정의되지 않은 동작으로 이어집니다.
  • 재진입성 및 동시성: 호출이 스레드 안전하게 수행되어야 하는지 여부는 생성자에서 지정된 ara::diag::ConcurrencyType SWS Diagnostics §7.3.1.2 “Concurrency of ara::diag interfaces”에 의해 결정됩니다. kConcurrent의 경우 DM은 후속 요청을 병렬로 호출할 수 있습니다. kNotConcurrent의 경우 DM은 진행 중인 요청의 결과가 제공될 때까지 대기합니다.

이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 바탕으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I2)

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

Parameter (in)

ParameterBeschreibung
sidDiagnostic Request Service Identifier.
requestDataDiagnostic request data (starting after SID). Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<OperationOutput >A Result with either a OperationOutput or an error

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_00618
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00618@rel:R25-11#6e6563b6
Content hash
6e6563b6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00618
Status: valid/unmigrated Version: rel:R25-11#256cc37a 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_00618@rel:R25-11#256cc37a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#99edf6352026-09-30
  • R19-11rel:R19-11#07f4afe82026-10-14
  • R20-11rel:R20-11#97dcd1762026-10-14
  • R21-11rel:R21-11#bf4e483a2026-10-14
  • R22-11rel:R22-11#f4f521dc2026-10-14
  • R23-11rel:R23-11#96bc13662026-10-14
  • R24-11rel:R24-11#8392efc52026-10-14
  • R25-11rel:R25-11#256cc37a2026-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

함수 Offer [SWS_DM_00619] Upstream: RS_AP_00139, RS_AP_00119, RS_Diag_04169

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

This Offer will enable the DM to forward request messages to this handler.

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

사용

ara::diag::GenericUDSService 클래스의 Offer 메서드는 진단 요청의 전달을 활성화합니다. 즉, Diagnostic Manager(DM)가 수신 UDS 요청 메시지를 이 핸들러로 전달할 수 있도록 합니다 [SWS_DM_00619]. 동기식 호출은 파라미터가 없고 차단되지 않으며 반환값으로 ara::core::Result<void>을 제공합니다 [SWS_DM_00619]. 실행은 일반적으로(해석:) 네트워크를 통해 진단 메시지를 처리해야 하기 전, Adaptive Application의 초기화 및 시작 단계 중에 발생할 것으로 보입니다. 질문 Q-c1e385a434fe1e4e (열림)

오류 처리 및 동시성

이 함수는 noexcept으로 선언되어 있으며 예외 안전성을 보장합니다 [SWS_DM_00619]. 서비스가 이미 이전에 제공된 경우 등록이 실패하고 롤백 시맨틱과 함께 오류 코드 DiagOfferErrc::kAlreadyOffered를 반환합니다 [SWS_DM_00619]. 스레드 안전성과 관련하여 이 인터페이스는 not thread-safe로 지정되어 있습니다 [SWS_DM_00619]. 동일한 인스턴스에 대한 동시 호출은 호출하는 애플리케이션에 의해 동기화되어야 합니다.

상호 작용

Offer을 통한 제공은 AUTOSAR Adaptive 진단 서브시스템의 표준화된 등록 패턴에 해당하며, 루틴([SWS_DM_00557]) 또는 데이터 식별자([SWS_DM_00638])에 대해 지정된 방식과 유사합니다. 명명 체계는 ara::com을 따르고 있으나, 이는 Diagnostic Manager의 진단 전용 메서드입니다 AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.

이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 AI에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

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

Rückgabewert

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

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

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

Record
AUTOSAR/AP/record/SWS_DM_00619
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00619@rel:R25-11#2404a61c
Content hash
2404a61c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00619
Status: valid/unmigrated Version: rel:R25-11#ae4f6e9d 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_00619@rel:R25-11#ae4f6e9d
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#05dc2f912026-09-30
  • R19-11rel:R19-11#0e22e9622026-10-14
  • R20-11rel:R20-11#542fec492026-10-14
  • R21-11rel:R21-11#31bb39122026-10-14
  • R22-11rel:R22-11#420b15e72026-10-14
  • R23-11rel:R23-11#7855d6082026-10-14
  • R24-11rel:R24-11#2afc8d572026-10-14
  • R25-11rel:R25-11#ae4f6e9d2026-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

함수 StopOffer [SWS_DM_00620] Upstream: RS_Diag_04169

void StopOffer () noexcept;

This StopOffer will disable the forwarding of request messages from DM.

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

사용

ara::diag::GenericUDSService 클래스의 StopOffer 메서드는 Diagnostic Management(DM)에서 서비스 인스턴스로 전달되는 수신 진단 요청의 포워딩을 비활성화합니다 [SWS_DM_00620]. 이 함수는 헤더 ara/diag/generic_uds_service.h을(를) 통해 제공되며, 매개변수를 기대하지 않고 void 반환 타입을 갖습니다 [SWS_DM_00620].

오류 처리

이 메서드는 noexcept(으)로 지정되어 있으며 예외 안전(exception safe)한 것으로 명시되어 있습니다 [SWS_DM_00620]. 예외를 발생시키지 않고 오류 코드를 반환하지 않으며, 포워딩 중지는 결정론적으로 수행됩니다.

동시성 및 제약사항

사양에 따르면 StopOffer은(는) 스레드 안전하지 않음(not thread-safe)으로 분류되어 있습니다 [SWS_DM_00620]. 동일한 인스턴스에 대한 병렬 호출은 애플리케이션 측에서 보호되어야 합니다. 해석: StopOffer 호출은 보류 중인 포워딩을 방지하기 위해 일반적으로 인스턴스 객체가 파괴되기 전이나 일시적으로 사용할 수 없을 때 수행될 것으로 추정됩니다. 질문 Q-408323dd00c313c0 (열림)

상호 작용

StopOffer의 개념은 제네릭 루틴 [SWS_DM_00558], 제네릭 데이터 식별자 [SWS_DM_00639], Security Access [SWS_DM_00767] 및 모니터 [SWS_DM_01089]에서도 볼 수 있듯이 ara::diag 내의 일관된 아키텍처 패턴을 따릅니다. 명칭은 ara::com을(를) 기반으로 하지만 Diagnostic Management의 독자적인 구현입니다 AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.

이 사용 지침은 AI에 의해 생성되었으며 AUTOSAR 릴리스 R25-11의 사양만을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 I2)

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00620
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00620@rel:R25-11#7580282b
Content hash
7580282b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00620
Status: valid/unmigrated Version: rel:R25-11#1d426258 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_00620@rel:R25-11#1d426258
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4e246fdf2026-09-30
  • R19-11rel:R19-11#e52849f92026-10-14
  • R20-11rel:R20-11#66bfb24f2026-10-14
  • R21-11rel:R21-11#7d420efa2026-10-14
  • R22-11rel:R22-11#f6582c092026-10-14
  • R23-11rel:R23-11#f67e3ec02026-10-14
  • R24-11rel:R24-11#b55c0cb92026-10-14
  • R25-11rel:R25-11#1d4262582026-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_01655] Upstream: RS_AP_00147

GenericUDSService & operator= (GenericUDSService &)=delete;

GenericUDSService shall be a single not assignable instance.

Header-Datei#include "ara/diag/generic_uds_service.h"
Scopeclass ara::diag::GenericUDSService

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

Record
AUTOSAR/AP/record/SWS_DM_01655
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01655@rel:R25-11#d90efc6d
Content hash
d90efc6d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01655
Status: valid/unmigrated Version: rel:R25-11#7e13bda6 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01655@rel:R25-11#7e13bda6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a547556d2026-09-30
  • R23-11rel:R23-11#d553807d2026-10-14
  • R24-11rel:R24-11#7e13bda62026-10-14
  • R25-11rel:R25-11#7e13bda62026-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_01656] Upstream: RS_AP_00147

GenericUDSService & operator= (GenericUDSService &&)=delete;

Move assignment operator of GenericUDSService.

Header-Datei#include "ara/diag/generic_uds_service.h"
Scopeclass ara::diag::GenericUDSService

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

Record
AUTOSAR/AP/record/SWS_DM_01656
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01656@rel:R25-11#9bf71b5b
Content hash
9bf71b5b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01656
Status: valid/unmigrated Version: rel:R25-11#38601fc9 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01656@rel:R25-11#38601fc9
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b4b3af992026-09-30
  • R23-11rel:R23-11#ca5bd3e62026-10-14
  • R24-11rel:R24-11#38601fc92026-10-14
  • R25-11rel:R25-11#38601fc92026-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

함수 ~GenericUDSService [SWS_DM_00584] Upstream: RS_AP_00134, RS_Diag_04169

virtual ~GenericUDSService () noexcept;

Destructor of GenericUDSService.

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

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

Record
AUTOSAR/AP/record/SWS_DM_00584
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00584@rel:R25-11#60bb70f8
Content hash
60bb70f8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00584
Status: valid/unmigrated Version: rel:R25-11#67b03061 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_00584@rel:R25-11#67b03061
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1744d32b2026-09-30
  • R19-11rel:R19-11#a888e6d82026-10-14
  • R20-11rel:R20-11#b89a01092026-10-14
  • R21-11rel:R21-11#b89a01092026-10-14
  • R22-11rel:R22-11#b2f7e8712026-10-14
  • R23-11rel:R23-11#0599d30b2026-10-14
  • R24-11rel:R24-11#ac8cbc5b2026-10-14
  • R25-11rel:R25-11#67b030612026-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