struct <DataIdentifier-Namespace>::<DataIdentifierInterface>::<DataIdentifier>ReadOutput
struct <DataIdentifier>ReadOutput {...};
Structure wrapping the out arguments for a ReadOutput
| Header-Datei | #include "<DataIdentifierDirectoryPath>/<DataIdentifierShortname>.h" |
|---|---|
| Forwarding-Header | #include "<DataIdentifierDirectoryPath>/<DataIdentifierShortname>/<DataIdentifierShortname>_ fwd.h" |
| Scope | class <DataIdentifier-Namespace>::<DataIdentifierInterface> |
User GuideAI-GENERATED
Encapsulates, as a data structure, the output arguments for reading a diagnostic identifier.
Encapsulates, as a data structure, the output arguments for reading a diagnostic identifier.
In the module diag of the Adaptive Platform (R25-11), the structure <DataIdentifier>ReadOutput bundles the output arguments for read accesses to a diagnostic identifier. It is typically instantiated by the application during a read request, populated with the determined diagnostic data, and returned to the calling diagnostic layer. Specific error codes are not defined for the structure itself; failures are likely to be signaled via higher-level interface mechanisms. Question Q-9809ce0698534716 (open)
Context
The structure <DataIdentifier>ReadOutput is part of the diagnostic functionality (module diag) within the Adaptive Platform of AUTOSAR for release R25-11. According to the specification description, it serves as an encapsulation for the output arguments (out arguments) of a read operation on a diagnostic identifier (ReadOutput). It forms the data transfer structure between the diagnostic service layer and the application interface <DataIdentifierInterface>, which is defined within the configurable namespace <DataIdentifier-Namespace>. The role of this type is to aggregate the output data provided by the application for a specific data identifier and return it to the caller.
Lifecycle
The instantiation of <DataIdentifier>ReadOutput typically occurs in the context of processing a diagnostic read request. Presumably, the application software or the diagnostic stack creates an instance of this structure type, populates the contained output fields, and transmits the structure as a return value or result object. Question (open) Since it is a data encapsulation structure (struct) without complex interface contracts, its lifecycle is subject to regular C++ value semantics. Destruction occurs automatically upon leaving scope or after the values have been read by the caller.
Usage Path
A typical sequence for using <DataIdentifier>ReadOutput comprises receiving a diagnostic read request via the interface <DataIdentifierInterface>, executing the application-specific read operation, populating the structure <DataIdentifier>ReadOutput with the determined data, and subsequently passing the structure to the caller for forwarding the diagnostic response. Presumably, the structure is passed as part of a function result (for example within a result or future type like ara::core::Future or ara::core::Result). Question Q-1bbf24274fb55ce3 (open)
Error Scenarios
Since the payload for <DataIdentifier>ReadOutput lists no specific error codes, preconditions, or exception types, the structure itself primarily transports the payload information of successful output arguments. If reading the data fails on the application side, this is likely not signaled via invalid instances of the structure, but rather via higher-level error handling mechanisms of the diagnostic interface (for example diagnostic return codes or negative response codes). Question (open)
This guide was generated automatically based on the AUTOSAR specification metadata for release R25-11.
gemini-3.8-flash-low· 2026-10-13 · German original