function Offer [SWS_DM_01825] Upstream: RS_Diag_04256
ara::core::Result< void > Offer () noexcept;
Enable the DM to forward request messages to this handler.
With the synchronous method Offer() of class ara::diag::SovdServiceValidation, the Adaptive Application enables the forwarding of incoming validation requests by Diagnostic Management (DM) to the registered handler [SWS_DM_01825]. The call takes place without input parameters and signals to the DM the readiness of the handler instance to receive.
The method returns a ara::core::Result<void> [SWS_DM_01825]. In the event of an error, rollback semantics are applied and one of the following error codes is returned:
DiagOfferErrc::kAlreadyOffered: The service was already offered for this instance beforehand [SWS_DM_01825].DiagOfferErrc::kConfigurationMismatch: The configuration does not match the diagnostic extract (DEXT) [SWS_DM_01825].
Regarding execution safety, the method is defined as exception safe and noexcept, but is expressly considered not thread-safe (not thread-safe) [SWS_DM_01825]. Interpretation: Parallel calls on the same instance must not occur unprotected from concurrent threads and must be synchronized by the application. Question Q-b07b7c8bb8852378 (open)
This procedure follows the uniform interface pattern of adaptive diagnostic handlers, as also applies, for example, to ara::diag::ServiceValidation [SWS_DM_00776] or ara::diag::CommunicationControl [SWS_DM_00809]. As long as offering has not been successfully completed, the DM does not forward any requests to the instance [SWS_DM_01825], analogous to interfaces where services that have not yet been offered result in default responses or fallback values [SWS_DM_01525]. The specification also clarifies that this is a purely DM-specific registration that must not be confused with service offerings of communication management AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.
This text was generated by an AI.
Implementer's Guide to follow (complexity 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#8e8c1df3- Content hash
8e8c1df3- 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 · German original