function Offer [SWS_DM_01872] Upstream: RS_Diag_04261
ara::core::Result< void > Offer () noexcept;
This Offer will enable the DM to forward request messages to this handler.
use
The method Offer of class ara::diag::SovdConfiguration serves to enable the forwarding of diagnostic requests by Diagnostic Management (DM) to the configured handler [SWS_DM_01872]. The call takes place synchronously, takes no parameters, and reports back the result via ara::core::Result<void> [SWS_DM_01872]. As long as a handler has not been offered via Offer, the DM does not forward incoming requests, which corresponds to the basic offering pattern of diagnostic interfaces (cf. [SWS_DM_01525], [SWS_DM_00809]).
Error handling
In the event of an error, a ara::core::Result with an error code of the enumeration DiagOfferErrc is returned, whereby rollback semantics apply [SWS_DM_01872]:
DiagOfferErrc::kAlreadyOffered: Is reported if the service was already offered beforehand [SWS_DM_01872].DiagOfferErrc::kConfigurationMismatch: Occurs if the configuration does not match the DEXT description data [SWS_DM_01872].
Concurrency and Limitations
The operation is declared as noexcept and exception-safe (exception safe), but is specified as not thread-safe (not thread-safe) [SWS_DM_01872]. Simultaneous calls to the same instance from multiple threads must be prevented by the calling application. A repeated call after an offering has already taken place would presumably be acknowledged with an error without a state change. Question Q-f9b1a995dbb002ef (open)
This usage note was created by an AI based on the AUTOSAR specification R25-11.
Implementer's Guide to follow (complexity I1)
| Header-Datei | #include "ara/diag/sovd_configuration.h" |
|---|---|
| Scope | class ara::diag::SovdConfiguration |
| 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::kConfigurationMismatch | rollback_semantics monitor configuration does not match DEXT |
| DiagOfferErrc::kAlreadyOffered | rollback_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_01872- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01872@rel:R25-11#01789639- Content hash
01789639- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01872
Status: valid/unmigrated
Version: rel:R25-11#3482e5bc
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_01872@rel:R25-11#3482e5bc
Recorded Revisions (4):
- R25-11
rel:R25-11#017896392026-09-30 - R23-11
rel:R23-11#9fcae3412026-10-14 - R24-11
rel:R24-11#635634302026-10-14 - R25-11
rel:R25-11#3482e5bc2026-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 · German original