DEENESPTFRRUARHIKOZHNL

class <DataElement-Namespace>::<DataElementInterface>

[SWS_DM_00603] Upstream: RS_Diag_04169

class <DataElementInterface> {...};

DiagnosticDataElementInterface class

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Forwarding-Header#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }/<DataElementShortname>_fwd.h"
Scopenamespace <DataElement-Namespace>

User GuideAI-GENERATED

Enables applications to provide and respond to diagnostic read queries for the Diagnostic Manager.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 70357181b1bf Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables applications to provide and respond to diagnostic read queries for the Diagnostic Manager.

The interface serves Adaptive Applications to provide diagnostic data for read accesses by Diagnostic Management. After instantiation via an instance specifier, the application must actively offer the service so that incoming read requests can be received [SWS_DM_00597]. Incoming requests are processed via the asynchronous read method, which provides the requested output data or negative response codes in a future value [SWS_DM_00596]. Because copy and move operations are deleted, each instance is permanently bound to its context.

Context

The generated C++ class <DataElementInterface> acts within the functional cluster diag (AUTOSAR Adaptive Platform) as a standardized server interface for providing readable diagnostic data AUTOSAR_AP_SWS_Diagnostics p. 68. Specifically, it maps a DiagnosticDataElementInterface in the role read, via which an Adaptive Application transmits data values for diagnostic requests (such as UDS ReadDataByIdentifier) to the Diagnostic Manager (DM) [SWS_DM_00596].

Essential interaction partners are the Diagnostic Management of the platform daemon, which coordinates incoming diagnostic requests, and the implementing Adaptive Application, which inherits from this interface and implements the provision logic. Instantiation and assignment to the software architecture are performed via a modeled port prototype that is connected via an ara::core::InstanceSpecifier [SWS_DM_00587]. The output data is encapsulated in a type-specific structure whose arguments are represented by corresponding output elements [SWS_DM_80023], [SWS_DM_00581].

Lifecycle

An instance is created via the constructor by specifying the ara::core::InstanceSpecifier and the concurrency mode ara::diag::ConcurrencyType [SWS_DM_00587]. To maintain unique mapping within the process, both the copy constructor and the move constructor are deleted [SWS_DM_01661], [SWS_DM_01662]. Likewise, the copy and move assignment operators are explicitly deleted [SWS_DM_01659], [SWS_DM_01660]. An instance thus remains fixed at its created address.

Regarding operation, the object undergoes defined phases:

  • Not Offered: After construction, the object is initially in an inactive state in which the DM does not deliver read requests.
  • Offered: Calling Offer() activates the service with the DM so that incoming read requests are forwarded [SWS_DM_00597].
  • Deregistered: Calling StopOffer() deactivates the forwarding of future diagnostic requests by the DM [SWS_DM_00617].
  • Destruction: The virtual destructor ~<DataElementInterface>() terminates the lifecycle of the interface instance [SWS_DM_00588].

While the constructor is specified as thread-safe [SWS_DM_00587], Offer(), StopOffer(), Read(), and the destructor are not thread-safe [SWS_DM_00597], [SWS_DM_00617], [SWS_DM_00596], [SWS_DM_00588]. The parameter concurrencyType in the constructor determines whether the handler implementation is implemented thread-safe (kConcurrent) or not thread-safe (kNotConcurrent) [SWS_DM_00587].

Lifecycle Uninitialized Uninitialized NotOffered NotOffered Uninitialized->NotOffered Konstruktor Offered Offered NotOffered->Offered Offer() Destructed Destructed NotOffered->Destructed Destruktor Offered->NotOffered StopOffer() Offered->Destructed Destruktor

State diagram: State phases of an interface instance between initialization, publication state, and destruction. Sources: [SWS_DM_00587], [SWS_DM_00597], [SWS_DM_00617], [SWS_DM_00588].

Usage Path

The regular flow for data retrieval follows a fixed sequence of steps:

  1. Instantiation: The application instantiates the derived handler class with the desired instanceSpec and concurrencyType [SWS_DM_00587].
  2. Service release: The application calls Offer(), enabling the DM to forward read requests [SWS_DM_00597].
  3. Processing of read requests: When a read request arrives at the DM, it calls the pure virtual method Read(metaInfo, cancellationHandler) on the handler [SWS_DM_00596]. The application evaluates metaInfo and can check via cancellationHandler.IsCanceled() whether the conversation was canceled, or register a callback via cancellationHandler.SetNotifier [SWS_DM_00596].
  4. Feedback: Interpretation: The actual determination of the output data is typically expected to occur asynchronously; the result is provided in an ara::core::Future with the corresponding ReadOutput object [SWS_DM_00596], [SWS_DM_00581]. Question Q-ce317bd1275e4fd9 (open)
  5. Service termination: Prior to shutdown, the application calls StopOffer() to prevent forwarding [SWS_DM_00617], followed by object destruction [SWS_DM_00588].
Call sequence for providing and reading a diagnostic data elementDiagnostic ManagementDataElement HandlerAnwendungskernUse Case: DienstregistrierungOffer()Result<void> (kSuccess)Use Case: Leseanfrage verarbeitenRead(metaInfo, cancellationHandler)Daten abfragen / ermittelnaltErfolgreich gelesenReadOutput bereitstellenFuture with ReadOutputFehlerfall / NRCFehler aufgetretenFuture with DiagUdsNrcErrcUse Case: DienstabmeldungStopOffer()

Sequence diagram: Call sequence from service registration through asynchronous reading to deregistration. Sources: [SWS_DM_00597], [SWS_DM_00596], [SWS_DM_00617].

Error Scenarios

In case of error, the different lifecycle phases must be considered separately:

Integrity violations can occur as early as construction, signaled via specific violations [SWS_DM_00587]:

  • InstanceSpecifierMappingIntegrityViolation: The instance specifier cannot be resolved in the model of the executable or does not reference an PortPrototype.
  • PortInterfaceMappingViolation: A PortPrototype typed by the DiagnosticDataElementInterface is not referenced by an DiagnosticDataPortMapping.
  • ProcessMappingViolation: A matching InstanceRef exists, but no matching modeled process corresponding to the runtime process was found.
  • InstanceSpecifierAlreadyInUseViolation: The constructor was called with an InstanceSpecifier that is already in use in the current process.

If Offer() is called for an already offered service, the method returns an ara::core::Result with the error code DiagOfferErrc::kAlreadyOffered (rollback semantics) [SWS_DM_00597].

If a read request cannot be answered successfully in Read(), the returned ara::core::Future must contain a corresponding ISO 14229-1 Negative Response Code (NRC) via DiagUdsNrcErrc or an ApApplicationError [SWS_DM_00596].

This guide is based on the AUTOSAR AP Release R25-11 specification and summarizes the requirements of module diag.

Member map

Class diagram

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

G n_DataElement_Namespace____DataElementInterface_750 <DataElementInterface> + <DataElementOutArg> + Offer() + Read() + StopOffer() + operator=() + <DataElementInterface>() + ~<DataElementInterface>()

Detail view

Select an entry in the outline.

Methods

Construct a DataElement from an ara::core::InstanceSpecifier

Overloads <DataElementInterface> 3
<DataElementInterface1> (ara::core::InstanceSpecifier instanceSpec, ara::diag::ConcurrencyType concurrencyType) noexcept; SWS_DM_00587
<DataElementInterface2> (const <DataElementInterface2> &other)=delete; SWS_DM_01661
<DataElementInterface4> (<DataElementInterface4> &&other)=delete; SWS_DM_01662
Offer function

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

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

Provision of a Read DataElement (DiagnosticDataElementInterface in the role read)

virtual ara::core::Future< <DataElement>ReadOutput > Read (const ara::diag::MetaInfo &metaInfo, ara::diag::CancellationHandler cancellationHandler) noexcept=0;
StopOffer function

This StopOffer will disable the forwarding of request messages from DM

void StopOffer () noexcept;

Destruction of a DataElement

virtual ~<DataElementInterface6> () noexcept;

Operators

operator= function 2

Copy assignment constructor deletion

Overloads = 2
<DataElementInterface3> & operator= (const <DataElementInterface3> &other)=delete; SWS_DM_01659
<DataElementInterface5> & operator= ( <DataElementInterface5> &&other)=delete; SWS_DM_01660

Constants

Member declaration representing an out argument in an Output.

<DataElementOutArgType> <DataElementOutArg>;

Embedded types

Method documentation

function <DataElementInterface> [SWS_DM_00587] Upstream: RS_AP_00137, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

<DataElementInterface1> (ara::core::InstanceSpecifier instanceSpec, ara::diag::ConcurrencyType concurrencyType) noexcept;

Construct a DataElement from an ara::core::InstanceSpecifier

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 838df6a198bf Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The constructor function [SWS_DM_00587] serves to instantiate a <DataElementInterface> via an ara::core::InstanceSpecifier according to AUTOSAR_AP_SWS_Diagnostics §8.28.2.2.1.6.

Usage and Parameters:

  • instanceSpec: Specifies the concrete instance of the service in the model context.
  • concurrencyType: Determines concurrency behavior and defines whether the interface is executed thread-safely (kConcurrent) or non-thread-safely (kNotConcurrent).

Concurrency and exception safety: The function is declared as noexcept and classified in the specification as thread-safe and exception-safe [SWS_DM_00587].

Error handling and modeling violations: Errors do not result in C++ exceptions, but in specified violations:

  • InstanceSpecifierMappingIntegrityViolation: Occurs when instanceSpec is not resolvable in the process context or does not refer to a PortPrototype.
  • PortInterfaceMappingViolation: Reported when a PortPrototype typed via DiagnosticDataElementInterface is not referenced by a DiagnosticDataPortMapping.
  • ProcessMappingViolation: Exists when an instance reference is present, but no matching modeled process exists for the runtime process.
  • InstanceSpecifierAlreadyInUseViolation: Sent when instanceSpec in the same process is already occupied by a constructor call.

This usage note was generated automatically based on AUTOSAR R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>
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 DiagnosticDataElementInterface needs to be referenced by a DiagnosticDataPortMapping. 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
instanceSpecThe specifier of a specific instance of a service.
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_00587
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00587@rel:R25-11#5035bc32
Content hash
5035bc32
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00587
Status: valid/unmigrated Version: rel:R25-11#3137c965 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_00587@rel:R25-11#3137c965
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5035bc322026-09-30
  • R19-11rel:R19-11#362db1312026-10-14
  • R20-11rel:R20-11#2280335d2026-10-14
  • R21-11rel:R21-11#90eaccce2026-10-14
  • R22-11rel:R22-11#163504222026-10-14
  • R23-11rel:R23-11#bbe3ec942026-10-14
  • R24-11rel:R24-11#5f9d4fbd2026-10-14
  • R25-11rel:R25-11#3137c9652026-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

function <DataElementInterface> [SWS_DM_01661] Upstream: RS_AP_00147

<DataElementInterface2> (const <DataElementInterface2> &other)=delete;

Copy constructor deletion

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>

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

Record
AUTOSAR/AP/record/SWS_DM_01661
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01661@rel:R25-11#1cd9fb52
Content hash
1cd9fb52
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01661
Status: valid/unmigrated Version: rel:R25-11#2f60d744 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_01661@rel:R25-11#2f60d744
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#1cd9fb522026-09-30
  • R23-11rel:R23-11#0016469c2026-10-14
  • R24-11rel:R24-11#de93ef5f2026-10-14
  • R25-11rel:R25-11#2f60d7442026-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

function <DataElementInterface> [SWS_DM_01662] Upstream: RS_AP_00147

<DataElementInterface4> (<DataElementInterface4> &&other)=delete;

Move constructor

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>

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

Record
AUTOSAR/AP/record/SWS_DM_01662
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01662@rel:R25-11#91b60d86
Content hash
91b60d86
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01662
Status: valid/unmigrated Version: rel:R25-11#2bcbb47c 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_01662@rel:R25-11#2bcbb47c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#91b60d862026-09-30
  • R23-11rel:R23-11#df8de15a2026-10-14
  • R24-11rel:R24-11#05b223222026-10-14
  • R25-11rel:R25-11#2bcbb47c2026-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

function Offer [SWS_DM_00597] Upstream: RS_AP_00119, RS_AP_00139, RS_Diag_04169, RS_Diag_04224

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

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

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 9d47ee9edbd8 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The synchronous method Offer of a DataElementInterface activates the forwarding of incoming diagnostic requests by the Diagnostic Management daemon (DM) to the associated handler ([SWS_DM_00597]). It accepts no parameters, guarantees exception safety (exception safe / noexcept), and returns a ara::core::Result<void> ([SWS_DM_00597]).

The following specifications apply to error handling, concurrency, and sequencing:

  • Error handling: If the service has already been offered previously, the call fails and returns the error code DiagOfferErrc::kAlreadyOffered with rollback semantics ([SWS_DM_00597]).
  • Concurrency: The function is specified as not thread-safe (not thread-safe) ([SWS_DM_00597]). Concurrent calls on the same instance must be synchronized on the application side.
  • Ordering constraints: As long as Offer has not been called by the Adaptive Application, the DM does not forward any requests to the handler or uses internal fallback values ([SWS_DM_01525], [SWS_DM_01527]). The call is typically expected to occur during the application startup phase (interpretation). Question Q-dca0925e698789c5 (open)

The concept of offering via Offer is also used consistently with other DM handlers such as routines ([SWS_DM_00594]) and data identifiers ([SWS_DM_00599]). Although the naming is inspired by ara::com, it represents an independent DM implementation (SWS Diagnostics §7.3.4.1.2 “Monitors”).

This text was generated by an AI based on the specification data.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >• If successful: an ara::core::Result containing a ara:: core::Result::value_type • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: diag::DiagOfferErrc

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_00597
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00597@rel:R25-11#872cc339
Content hash
872cc339
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00597
Status: valid/unmigrated Version: rel:R25-11#dc11c9cd 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_00597@rel:R25-11#dc11c9cd
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#872cc3392026-09-30
  • R19-11rel:R19-11#aef2a6c42026-10-14
  • R20-11rel:R20-11#dc31bf0e2026-10-14
  • R21-11rel:R21-11#38b1f8ef2026-10-14
  • R22-11rel:R22-11#3ac4d67f2026-10-14
  • R23-11rel:R23-11#c2a3f2c12026-10-14
  • R24-11rel:R24-11#9279c3692026-10-14
  • R25-11rel:R25-11#dc11c9cd2026-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

function Read [SWS_DM_00596] Upstream: RS_AP_00114, RS_AP_00127, RS_AP_00128, RS_AP_00138

virtual ara::core::Future< <DataElement>ReadOutput > Read (const ara::diag::MetaInfo &metaInfo, ara::diag::CancellationHandler cancellationHandler) noexcept=0;

Provision of a Read DataElement (DiagnosticDataElementInterface in the role read)

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4be12ba12f01 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method Read serves to provide a data element within a DiagnosticDataElementInterface instance in the read role [SWS_DM_00596]. The call is made asynchronously by the Diagnostic Manager to process diagnostic read requests.

Usage and signature

The interface returns a ara::core::Future with a typed ReadOutput object according to [SWS_DM_00581] [SWS_DM_00596]. The implementation processes the request via the passed parameters:

  • metaInfo: Passes metadata about the incoming diagnostic request [SWS_DM_00596].
  • cancellationHandler: Enables monitoring of premature cancellation of the diagnostic conversation via cancellationHandler.IsCanceled() as well as registering a notification function via cancellationHandler.SetNotifier() [SWS_DM_00596].

Error Handling and Concurrency

If the data element cannot be read successfully, the ara::core::Future returns an error rather than a value. A matching UDS Negative Response Code (NRC) according to ISO 14229-1 via DiagUdsNrcErrc or a ApApplicationError must be set as the error code [SWS_DM_00596]. The function is specified as noexcept and exception-safe (exception safe).

Regarding the execution context, Read is declared as not thread-safe [SWS_DM_00596]. The interaction corresponds to the general pattern of adaptive diagnostic read operations, as defined analogously for data identifiers ([SWS_DM_00640]) or extended data records ([SWS_DM_02156]).

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
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< {<data-element-name>}ReadOutput >• If successful: an ara::core::Future containing a ReadOutput object as per [SWS_DM_00581] • If unsuccessful: an ara::core::Future containing a corresponding DiagUdsNrcErrc or ApApplicationError.

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_00596
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00596@rel:R25-11#46170e3a
Content hash
46170e3a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00596
Status: valid/unmigrated Version: rel:R25-11#db56d6b8 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_00596@rel:R25-11#db56d6b8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#46170e3a2026-09-30
  • R19-11rel:R19-11#27ec1d4b2026-10-14
  • R20-11rel:R20-11#7e478e7b2026-10-14
  • R21-11rel:R21-11#86f986be2026-10-14
  • R22-11rel:R22-11#d7f279f42026-10-14
  • R23-11rel:R23-11#05b772b12026-10-14
  • R24-11rel:R24-11#47e253022026-10-14
  • R25-11rel:R25-11#db56d6b82026-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

function StopOffer [SWS_DM_00617] Upstream: RS_Diag_04169

void StopOffer () noexcept;

This StopOffer will disable the forwarding of request messages from DM

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 91119add8e3c Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method StopOffer on the interface <DataElement-Namespace>::<DataElementInterface> deactivates the forwarding of incoming request messages from Diagnostic Management (DM) to the relevant data element [SWS_DM_00617]. The call is synchronous, requires no input parameters, and returns no return value [SWS_DM_00617].

Regarding error handling, the function is specified as exception safe and declared with noexcept [SWS_DM_00617]. Neither C++ exceptions are thrown nor error codes returned. Interpretation: Since the specification only provides for stopping message forwarding, the method call is likely to reject future diagnostic requests only, while processing already in progress at the time of the call remains unaffected. Question Q-a741bb87f41cfe59 (open)

Regarding concurrency, the interface is defined as not thread-safe [SWS_DM_00617]. Callers must therefore protect parallel accesses to the same instance by application-side synchronization mechanisms. Although the name was chosen following ara::com, it is an independent, diagnostic-specific interface of the Diagnostics functional cluster AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.

Deactivation fits into the overall architectural pattern of the DM: Analogous StopOffer methods exist for data identifiers [SWS_DM_00600], generic routines [SWS_DM_00558], generic UDS services [SWS_DM_00620], and reset requests [SWS_DM_01017] to terminate request forwarding to the respective handler in a controlled manner.

This usage note was generated automatically based on the specification AUTOSAR AP R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>
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_00617
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00617@rel:R25-11#c087b549
Content hash
c087b549
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00617
Status: valid/unmigrated Version: rel:R25-11#f93e3c48 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_00617@rel:R25-11#f93e3c48
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c087b5492026-09-30
  • R19-11rel:R19-11#4686d8712026-10-14
  • R20-11rel:R20-11#302902f52026-10-14
  • R21-11rel:R21-11#60b4eb6e2026-10-14
  • R22-11rel:R22-11#630d49a22026-10-14
  • R23-11rel:R23-11#d3c624d92026-10-14
  • R24-11rel:R24-11#a0e4aac82026-10-14
  • R25-11rel:R25-11#f93e3c482026-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

function operator= [SWS_DM_01659] Upstream: RS_AP_00147

<DataElementInterface3> & operator= (const <DataElementInterface3> &other)=delete;

Copy assignment constructor deletion

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>

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

Record
AUTOSAR/AP/record/SWS_DM_01659
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01659@rel:R25-11#473419de
Content hash
473419de
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01659
Status: valid/unmigrated Version: rel:R25-11#af6f33fc 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_01659@rel:R25-11#af6f33fc
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#473419de2026-09-30
  • R23-11rel:R23-11#9013eaab2026-10-14
  • R24-11rel:R24-11#bd96b8662026-10-14
  • R25-11rel:R25-11#af6f33fc2026-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

function operator= [SWS_DM_01660] Upstream: RS_AP_00147

<DataElementInterface5> & operator= ( <DataElementInterface5> &&other)=delete;

Move assignment constructor

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>

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

Record
AUTOSAR/AP/record/SWS_DM_01660
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01660@rel:R25-11#e5b15729
Content hash
e5b15729
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01660
Status: valid/unmigrated Version: rel:R25-11#5711e300 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_01660@rel:R25-11#5711e300
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e5b157292026-09-30
  • R23-11rel:R23-11#1e4f2e112026-10-14
  • R24-11rel:R24-11#92f17c3c2026-10-14
  • R25-11rel:R25-11#5711e3002026-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

function ~<DataElementInterface> [SWS_DM_00588] Upstream: RS_Diag_04169, RS_AP_00134

virtual ~<DataElementInterface6> () noexcept;

Destruction of a DataElement

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>
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_00588
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00588@rel:R25-11#b88cfb3b
Content hash
b88cfb3b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00588
Status: valid/unmigrated Version: rel:R25-11#ad7733a4 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_00588@rel:R25-11#ad7733a4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b88cfb3b2026-09-30
  • R19-11rel:R19-11#4c53dc262026-10-14
  • R20-11rel:R20-11#b2fa29ed2026-10-14
  • R21-11rel:R21-11#0f467e0d2026-10-14
  • R22-11rel:R22-11#b00f6d462026-10-14
  • R23-11rel:R23-11#28e88b432026-10-14
  • R24-11rel:R24-11#2cdc2f6c2026-10-14
  • R25-11rel:R25-11#ad7733a42026-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

Documentation of constants / variables

variable <DataElementOutArg> [SWS_DM_80023] Upstream: RS_Diag_04224, RS_Diag_04169

<DataElementOutArgType> <DataElementOutArg>;

Member declaration representing an out argument in an Output.

Header-Datei#include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h"
Scopeclass <DataElement-Namespace>::<DataElementInterface>
Symbol<DataElementOutArg>
Typ<DataElementOutArgType>

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

Record
AUTOSAR/AP/record/SWS_DM_80023
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_80023@rel:R25-11#98e36acc
Content hash
98e36acc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_80023
Status: valid/unmigrated Version: rel:R25-11#caed5afa Versionshistorie & Revisions (1 transition, 3 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_80023@rel:R25-11#caed5afa
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#98e36acc2026-09-30
  • R24-11rel:R24-11#b1ac80b72026-10-14
  • R25-11rel:R25-11#caed5afa2026-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