함수 Offer [SWS_DM_01825] Upstream: RS_Diag_04256
ara::core::Result< void > Offer () noexcept;
Enable the DM to forward request messages to this handler.
Adaptive Application은 ara::diag::SovdServiceValidation 클래스의 동기 메서드 Offer()을(를) 사용하여 Diagnostic Management(DM)에서 등록된 핸들러로 들어오는 검증 요청의 전달을 활성화합니다 [SWS_DM_01825]. 호출은 전달 매개변수 없이 수행되며, DM에 대해 핸들러 인스턴스의 수신 준비 상태를 알립니다.
이 메서드는 ara::core::Result<void>을(를) 반환합니다 [SWS_DM_01825]. 오류가 발생할 경우 롤백 시맨틱이 적용되며 다음 오류 코드 중 하나가 반환됩니다:
DiagOfferErrc::kAlreadyOffered: 이 인스턴스에 대해 서비스가 이미 이전에 제공되었습니다 [SWS_DM_01825].DiagOfferErrc::kConfigurationMismatch: 구성이 진단 추출(DEXT)과 일치하지 않습니다 [SWS_DM_01825].
실행 안전성과 관련하여 이 메서드는 exception safe 및 noexcept(으)로 정의되어 있으나, 명시적으로 스레드 안전하지 않은 것(not thread-safe)(으)로 간주됩니다 [SWS_DM_01825]. 해석: 동일한 인스턴스에 대한 병렬 호출은 경합하는 스레드로부터 보호되지 않은 채 발생해서는 안 되며, 애플리케이션에 의해 동기화되어야 합니다. 질문 Q-b07b7c8bb8852378 (열림)
이러한 절차는 예를 들어 ara::diag::ServiceValidation [SWS_DM_00776] 또는 ara::diag::CommunicationControl [SWS_DM_00809]에도 적용되는 어댑티브 진단 핸들러의 표준화된 인터페이스 패턴을 따릅니다. 제공이 성공적으로 완료되지 않는 한, 아직 제공되지 않은 서비스가 표준 응답 또는 대체 값으로 이어지는 인터페이스와 유사하게 DM은 해당 인스턴스로 요청을 전달하지 않습니다 [SWS_DM_01825] [SWS_DM_01525]. 또한 규격에서는 이것이 순수 DM 전용 등록이며 통신 관리의 서비스 제공과 혼동해서는 안 된다는 점을 명확히 하고 있습니다 AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.
이 텍스트는 AI에 의해 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/diag/sovd_service_validation.h" |
|---|---|
| Scope | class ara::diag::SovdServiceValidation |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< void > | Returns nothing or an error. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| DiagOfferErrc::kAlreadyOffered | rollback_semantics The service is already offered. |
| DiagOfferErrc::kConfigurationMismatch | rollback_semantics monitor configuration does not match DEXT |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_01825- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01825@rel:R25-11#12e293ee- Content hash
12e293ee- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01825
Status: valid/unmigrated
Version: rel:R25-11#d1affa7c
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_01825@rel:R25-11#d1affa7c
Recorded Revisions (4):
- R25-11
rel:R25-11#8e8c1df32026-09-30 - R23-11
rel:R23-11#9d51b0512026-10-14 - R24-11
rel:R24-11#05dd235d2026-10-14 - R25-11
rel:R25-11#d1affa7c2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문