DEENESPTFRRUARHIKOZHNL

class {<hierarchical-namespace-list-lower-skeleton>}::skeleton::{ <service-interface-name>}Skeleton

User GuideAI-GENERATED

Serves as a base class for server-side implementation and provision of methods of a service interface.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 3d03b3b797b6 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves as a base class for server-side implementation and provision of methods of a service interface.

The class serves as a server-side base class for implementing a service interface in ara::com, from which the service provider application derives. During creation, the constructor determines whether incoming method calls are processed in an event-driven manner or via polling [SWS_CM_00130]. For methods declared exception-safe, faulty executions are signaled as an error code via the returned ara::core::Future [SWS_CM_00191].

Context

Class {<hierarchical-namespace-list-lower-skeleton>}::skeleton::{ <service-interface-name>}Skeleton serves in the Adaptive Platform in module com as a generated, abstract base class for server-side provision of a service interface. An application-specific service provider component derives from this skeleton class to implement the functional business logic of the service. The class mediates between the concrete service provider application and the communication middleware or the underlying protocol binding such as SOME/IP (SWS CommunicationManagement §8.1 “Method invocation”). Interaction partners include the service provider application that creates and owns the instance, the skeleton class itself, and the communication infrastructure that receives, deserializes, and forwards incoming service requests to the skeleton ([SWS_CM_10306], [SWS_CM_10307]).

Context Provider Dienstanbieter-Implementierung Skeleton ServiceSkeleton Provider->Skeleton erbt von / implementiert Binding Kommunikations-Binding / Middleware Skeleton->Binding returns Future / result Binding->Skeleton leitet Methodenaufrufe weiter

Context diagram: Interaction between service provider application, ServiceSkeleton, and communication middleware. Sources: [SWS_CM_10306], [SWS_CM_10307], SWS CommunicationManagement §8.1 “Method invocation”.

Lifecycle

Creation of the skeleton instance takes place via the constructor, to which the desired processing mode ara::com::MethodCallProcessingMode is passed [SWS_CM_00130]. This mode determines the concurrency strategy for incoming method calls: If kEvent or kEventSingleThread is configured, incoming method calls are invoked immediately in an event-driven manner by the communication middleware [SWS_CM_10306]. If kPoll is passed instead, processing is handled on a polling basis by the application [SWS_CM_10307]. Interpretation: The skeleton instance presumably remains owned by the service provider application throughout active service provisioning and is destroyed only upon service shutdown. Question Q-ce25321f79393024 (open)

Usage Path

The typical sequence comprises the implementation of the pure virtual methods by the derived provider class and subsequent execution upon incoming requests. For regular method calls (request-response), the skeleton defines an interface that returns a ara::core::Future with the corresponding output object [SWS_CM_00191], [SWS_CM_99556]. For fire-and-forget methods without a response, the skeleton provides pure virtual operations with return type void [SWS_CM_90434]. Upon incoming requests, the communication middleware deserializes the payload and forwards the call to the concrete implementation of the skeleton class in accordance with the configured processing mode ([SWS_CM_10306], [SWS_CM_00191]).

Invocation of a service method on the skeletonKommunikations-BindingServiceSkeletonDienstanbieter-ImplementierungEingehende Anfragenachricht (SOME/IP)Nutzdaten deserialisierenvirtual <Method>(inArgs)Execute business logicara::core::Future<<Method>Output>Antwortnachricht bereitstellen

Sequence diagram: Sequence of a method call via the skeleton. Sources: [SWS_CM_00191], [SWS_CM_10306], SWS CommunicationManagement §8.1 “Method invocation”.

Error Scenarios

Both request-response methods and fire-and-forget methods are annotated at the interface level with noexcept and declared exception-safe ([SWS_CM_00191], [SWS_CM_90434]). Errors during processing of regular method calls are not transmitted via C++ exceptions; instead, in the event of an error, the returned ara::core::Future conveys a corresponding error code of type ara::com::ComErrc or an ApApplicationError [SWS_CM_00191]. According to the specification, neither return values nor standardized error codes are provided for fire-and-forget methods [SWS_CM_90434].

This guide was generated by an AI assistant based on the AUTOSAR specification.

UML class diagram

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

G n__hierarchical_namespace_list_lower_skeleton____skeleton_____service_i379 { <service-interface-name>}Skeleton + <FnFMethod>() + <Method>()

Methods

<FnFMethod> function

Provision of a fire-and-forget method (ClientServerOperation. fireAndForget ==TRUE)

virtual void {<fnfmethod-name>} ({<fnfmethod-in-arg-derived-type-0to N>} {<fnfmethod-in-arg-symbol-0toN>}) noexcept=0;
<Method> function

Provision of a method (ClientServerOperation. fireAndForget ==FALSE)

virtual ara::core::Future< {<method-name>}Output > {<method-name>} ( {<method-in-arg-derived-type-0toN>} {<method-in-arg-symbol-0toN>}) noexcept=0;

Method documentation

function <FnFMethod> [SWS_CM_90434] Upstream: RS_CM_00215, RS_AP_00114

virtual void {<fnfmethod-name>} ({<fnfmethod-in-arg-derived-type-0to N>} {<fnfmethod-in-arg-symbol-0toN>}) noexcept=0;

Provision of a fire-and-forget method (ClientServerOperation. fireAndForget ==TRUE)

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

The API function [SWS_CM_90434] defines the purely virtual interface of a fire-and-forget method on the server side. It is part of the generated skeleton class {<hierarchical-namespace-list-lower-skeleton>}::skeleton::{<service-interface-name>}Skeleton and is provided via the header file {<si-namespace-derived-directory-path-lower>}/{<si-shortname-lower>}_skeleton.h (AUTOSAR_AP_SWS_CommunicationManagement §8.4.5.2.4.1 “{<fnfmethod-name>}”). The function is generated as soon as the attribute ClientServerOperation.fireAndForget == TRUE is configured for a ClientServerOperation in the design model.

The following essential aspects apply to the implementation and runtime behavior:

  • Call semantics and parameters: The method takes input parameters analogously to regular methods according to [SWS_CM_00191]. Because it is a purely one-way communication, the signature has the return type void. Neither output parameters nor return values are transmitted to the calling client.
  • Error handling and exception safety: The operation is declared as noexcept=0 and is thus specified as strictly exception safe ([SWS_CM_90434]). Neither application-specific error codes nor other feedback channels exist; the service implementation must not allow C++ exceptions to escape from the method.
  • Execution context and concurrency: If the skeleton is operated in mode ara::com::MethodCallProcessingMode == kPoll, the processing of pending calls to [SWS_CM_90434] occurs deterministically in the thread context of the call to ProcessNextMethodCall() (AUTOSAR_AP_SWS_CommunicationManagement p. 410). Outside of polling mode, execution is likely to take place concurrently in an internal worker thread of the communication middleware. Question Q-08f014e191f9aab0 (open)

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

Implementer's Guide to follow (complexity I1)

Header-Datei#include "{<si-namespace-derived-directory-path-lower>}/{ <si-shortname-lower>}_skeleton.h"
Scopeclass {<hierarchical-namespace-list-lower-skeleton>}::skeleton::{ <service-interface-name>}Skeleton
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
{<fnfmethod-in-arg-symbol-0toN>}As per {<method-in-arg-symbol-0toN>} in [SWS_CM_00191]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_90434
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_90434@rel:R25-11#293042c2
Content hash
293042c2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_90434
Status: valid/unmigrated Version: rel:R25-11#f1dee805 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_CM_90434@rel:R25-11#f1dee805
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#293042c22026-09-30
  • R19-11rel:R19-11#bbdaa18c2026-10-14
  • R20-11rel:R20-11#e392aff42026-10-14
  • R21-11rel:R21-11#e392aff42026-10-14
  • R22-11rel:R22-11#256b25262026-10-14
  • R23-11rel:R23-11#256b25262026-10-14
  • R24-11rel:R24-11#60298f242026-10-14
  • R25-11rel:R25-11#f1dee8052026-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 <Method> [SWS_CM_00191] Upstream: RS_CM_00211, RS_AP_00114, RS_AP_00127, RS_AP_00128, RS_AP_00138

virtual ara::core::Future< {<method-name>}Output > {<method-name>} ( {<method-in-arg-derived-type-0toN>} {<method-in-arg-symbol-0toN>}) noexcept=0;

Provision of a method (ClientServerOperation. fireAndForget ==FALSE)

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

The pure virtual function <Method> serves the provider-side provision of a method within a Skeleton class for client-server operations without fire-and-forget semantics [SWS_CM_00191]. Application developers implement this interface in the skeleton class derived from the service interface to accept incoming calls. All modeled arguments whose direction is defined as in or inout are passed as input parameters [SWS_CM_00191].

Execution takes place asynchronously via the return type ara::core::Future, which in case of success contains the typed Output object with the result values [SWS_CM_00191], [SWS_CM_99556]. The method is specified as noexcept and exception-safe; standardized synchronous error codes are not defined [SWS_CM_00191]. If an error occurs during processing, the implementation provides it asynchronously via the ara::core::Future, either as an error code of type ara::com::ComErrc or as a model-specific ApApplicationError [SWS_CM_00191].

The calling context and concurrency behavior depend on the processing mode ara::com::MethodCallProcessingMode passed to the constructor of ServiceSkeleton during instantiation [SWS_CM_00130]:

  • If kEvent or kEventSingleThread was configured, the method is invoked event-driven by the middleware as soon as a corresponding SOME/IP request message has been received and deserialized [SWS_CM_10306].
  • In mode kPoll, by contrast, the call takes place synchronized in the thread of the service application when it explicitly executes ProcessNextMethodCall() on the skeleton instance [SWS_CM_10307], [SWS_CM_00199].

This text was created by an AI and is based solely on specification data from AUTOSAR R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "{<si-namespace-derived-directory-path-lower>}/{ <si-shortname-lower>}_skeleton.h"
Scopeclass {<hierarchical-namespace-list-lower-skeleton>}::skeleton::{ <service-interface-name>}Skeleton
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
{<method-in-arg-symbol-0toN>}The symbol name of method argument[0..N] in the ordered list of method arguments, with ClientServerOperation. direction == in or direction == inout given by ClientServerOperation. ArgumentDataPrototype[0..N]. shortName

Rückgabewert

TypBeschreibung
ara::core::Future< {<method-name> }Output >• If successful: an ara::core::Future containing an Output object as per [SWS_CM_99556] • If unsuccessful: an ara::core::Future containing a corresponding ara::com::ComErrc or ApApplicationError.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CM_00191
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00191@rel:R25-11#b57cf7ff
Content hash
b57cf7ff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00191
Status: valid/unmigrated Version: rel:R25-11#c5e59178 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_CM_00191@rel:R25-11#c5e59178
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b57cf7ff2026-09-30
  • R19-11rel:R19-11#ef1fdf6b2026-10-14
  • R20-11rel:R20-11#0d8e3ab22026-10-14
  • R21-11rel:R21-11#e5b231ad2026-10-14
  • R22-11rel:R22-11#b1ef31032026-10-14
  • R23-11rel:R23-11#071cc7ef2026-10-14
  • R24-11rel:R24-11#95a8f1ee2026-10-14
  • R25-11rel:R25-11#c5e591782026-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