DEENESPTFRRUARHIKOZHNL

struct <RoutineInterface-Namespace>::<RoutineInterface>::<RoutineInterface9>StopOutput

[SWS_DM_00582] Upstream: RS_Diag_04169, RS_Diag_04224, RS_AP_00127, RS_AP_00128, RS_ AP_00138

struct <RoutineInterface9>StopOutput {...};

Structure wrapping the out arguments for a Stop

Header-Datei#include "<RoutineInterfaceDirectoryPath>/<RoutineInterfaceShortname>.h"
Forwarding-Header#include "<RoutineInterfaceDirectoryPath>/<RoutineInterfaceShortname>/<RoutineInterfaceShortname>_fwd.h"
Scopeclass <RoutineInterface-Namespace>::<RoutineInterface>

User GuideAI-GENERATED

Encapsulates the output arguments when stopping a diagnostic routine for bundled return of the result data.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: ebb98a15e8c2 Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Encapsulates the output arguments when stopping a diagnostic routine for bundled return of the result data.

The structure <RoutineInterface-Namespace>::<RoutineInterface>::<RoutineInterface9>StopOutput encapsulates the output arguments for stopping a diagnostic routine in the Adaptive module diag. It is created during the processing of a stop command in order to return the resulting data in a structured manner to the diagnostic system. As a pure data structure, it possesses no independent state logic and is discarded again after transmission.

Context

The structure <RoutineInterface-Namespace>::<RoutineInterface>::<RoutineInterface9>StopOutput is part of the diagnostic module (diag) of the AUTOSAR Adaptive Platform in release R25-11. According to the description, it serves as a data structure that encapsulates the output arguments for a stop operation ("Structure wrapping the out arguments for a Stop"). Within diagnostic communication for routine control, this structure is presumably used to return the result data supplied by a routine when stopping to the caller or diagnostic system in a bundled manner. Question Q-8fd69717e4ad4d46 (open)

Lifecycle

As a data structure (struct), <RoutineInterface9>StopOutput possesses a simple value object lifecycle. It is typically instantiated within the implementation of a diagnostic routine when a stop command is processed. The output data is stored in the elements of the structure, whereupon the instance is passed to the diagnostic framework via return value or asynchronously via a future. After transmission or further processing of the contained arguments, the instance is destroyed again. In all likelihood, complex internal state management or an independent lifecycle across multiple calls does not exist for this pure data carrier.

Usage Path

A typical usage path comprises the following steps:

  • Receipt of a request to stop a routine by the diagnostic service.
  • Creation of an instance of <RoutineInterface9>StopOutput by the routine implementation.
  • Populating the structured output fields with the current result and status data of the terminated routine.
  • Returning the structure to the caller, where the contained output arguments are interpreted and packed into the corresponding diagnostic response.

Error Scenarios

Since this is a passive output structure, the type itself presumably does not throw any exceptions. Question Q-e5d45b3ff9043fcd (open) If stopping a routine fails functionally or if invalid states occur, this is unlikely to be signaled via the values of this structure alone, but rather via the associated return channel (for example, via error codes of a Result type). A precondition for meaningful usage is the successful or at least defined execution of the stop action, so that the output fields can be populated with valid data.

This guide was curated by an AI based on the AUTOSAR specification database for R25-11.