DEENESPTFRRUARHIKOZHNL

class <SI-Namespace>::common::<SI>

User GuideAI-GENERATED

Provides common static metadata, version information, and identifiers for a service interface.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f6b3f809e490 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides common static metadata, version information, and identifiers for a service interface.

As a common namespace, the class bundles static metadata and identifiers for an interface in Communication Management of AUTOSAR Adaptive SWS CommunicationManagement §8.2.2.1 “Public Member Variables”. It provides basic information for unique identification and versioning of the service via serviceIdentifier and serviceVersion [SWS_CM_11506]. In addition, serviceContractVersionMajor and serviceContractVersionMinor define the exact service contract version to ensure interface compatibility. Interpretation: Since all declared elements are static, the class presumably requires no instantiation at runtime and is included immutably process-wide. Question Q-bdf8084e3c4a2dec (open)

Context

In the AUTOSAR Adaptive Platform, the C++ class <SI-Namespace>::common::<SI> in the com module (Communication Management) fulfills the central role of a common metadata and namespace container for a defined service interface SWS CommunicationManagement §8.2.2.1 “Public Member Variables”. The class combines static properties and interface identifiers that apply uniformly to both service consumers and service providers and are provided via the header file #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_common.h" [SWS_CM_11506].

The primary interaction partners include functional Communication Management ara::com, whose fundamental data types are included. The class exposes the service identifier serviceIdentifier of type const ara::com::ServiceIdentifierType [SWS_CM_11506] (SWS CommunicationManagement §8.2.2.1.3 “serviceIdentifier”) as well as the service version serviceVersion of type const ara::com::ServiceVersionType [SWS_CM_11507] (SWS CommunicationManagement §8.2.2.1.4 “serviceVersion”). Interpretation: Application and platform components use this common class definition as an authoritative reference to set up service instances via uniform identifiers and interface contracts. Question (open)

diag_kontext Dienstanwendung Dienstanwendung GemeinsameKlasse <SI-Namespace>::common::<SI> Dienstanwendung->GemeinsameKlasse includes and reads metadata Kommunikationsmanagement ara::com GemeinsameKlasse->Kommunikationsmanagement uses types from ara::com

Context diagram: Classification of the common interface class in interaction with service applications and basic types of Communication Management. Sources: [SWS_CM_11506], [SWS_CM_11507], SWS CommunicationManagement §8.2.2.1 “Public Member Variables”.

Lifecycle

With regard to lifecycle, <SI-Namespace>::common::<SI> differs fundamentally from dynamic instance classes: It requires no explicit instantiation and possesses no dynamically managed state. All interface variables defined in the specification are declared as static class members SWS CommunicationManagement §8.2.2.1 “Public Member Variables”.

The identifier serviceIdentifier [SWS_CM_11506] and versioning serviceVersion [SWS_CM_11507] are declared as static const. In addition, serviceContractVersionMajor [SWS_CM_11508] (SWS CommunicationManagement §8.2.2.1.1 “serviceContractVersionMajor”) and serviceContractVersionMinor [SWS_CM_11509] (SWS CommunicationManagement §8.2.2.1.2 “serviceContractVersionMinor”) define the contract version numbers as static std::uint32_t values. Interpretation: The static lifetime of these symbols corresponds to the entire process duration; their initialization is likely performed when loading the respective module or shared library. Question (open) There is no dynamic destruction or deallocation of memory resources.

Regarding concurrency, variables serviceIdentifier and serviceVersion qualified with const provide unrestricted thread safety for simultaneous read accesses. Interpretation: Because version variables serviceContractVersionMajor and serviceContractVersionMinor represent contractual specification states, they presumably remain unchanged at runtime, which allows simultaneous read accesses from multiple execution threads without synchronization overhead. Question Q-2335ea4535e239d6 (open)

Usage Path

The typical usage path comprises static access to metadata and version information to ensure interface compatibility:

  • Header inclusion: The application or the generated communication layer includes file <SiNamespaceDerivedDirectoryPath>/<SiShortname>_common.h to obtain access to namespace <SI-Namespace>::common::<SI> [SWS_CM_11506].
  • Service identification: Components access the unique identifier of the service directly via <SI-Namespace>::common::<SI>::serviceIdentifier, for example to initialize instances or to register with the communication infrastructure [SWS_CM_11506] (SWS CommunicationManagement §8.2.2.1.3 “serviceIdentifier”).
  • Version comparison: To verify interface compatibility between communication partners, serviceVersion [SWS_CM_11507] as well as contract versions serviceContractVersionMajor [SWS_CM_11508] and serviceContractVersionMinor [SWS_CM_11509] are read.

Preconditions for read access do not exist, as all constants are already available at program start. Error states or exceptions are not specified for pure read access to these static variables.

This guide is based exclusively on the AUTOSAR specification for Adaptive Communication Management (R25-11).

Member map

Class diagram

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

G n_SI_Namespace___common___SI_356 <SI> + serviceContractVersionMajor + serviceContractVersionMinor + serviceIdentifier + serviceVersion

Detail view

Select an entry in the outline.

Constants

Service Contract Major Version

static std::uint32_t serviceContractVersionMajor;

Service Contract Minor Version

static std::uint32_t serviceContractVersionMinor;

Service Identifier

static const ara::com::ServiceIdentifierType serviceIdentifier;

Service Version

static const ara::com::ServiceVersionType serviceVersion;

Documentation of constants / variables

variable serviceContractVersionMajor [SWS_CM_11508] Upstream: RS_CM_00200, RS_CM_00500

static std::uint32_t serviceContractVersionMajor;

Service Contract Major Version

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_common.h"
Scopeclass <SI-Namespace>::common::<SI>
SymbolserviceContractVersionMajor
Typstd::uint32_t

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

Record
AUTOSAR/AP/record/SWS_CM_11508
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11508@rel:R25-11#5091ff4d
Content hash
5091ff4d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11508
Status: valid/unmigrated Version: rel:R25-11#b5b0fd99 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_CM_11508@rel:R25-11#b5b0fd99
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5091ff4d2026-09-30
  • R24-11rel:R24-11#f4c82cce2026-10-14
  • R25-11rel:R25-11#b5b0fd992026-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

variable serviceContractVersionMinor [SWS_CM_11509] Upstream: RS_CM_00200, RS_CM_00500

static std::uint32_t serviceContractVersionMinor;

Service Contract Minor Version

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_common.h"
Scopeclass <SI-Namespace>::common::<SI>
SymbolserviceContractVersionMinor
Typstd::uint32_t

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

Record
AUTOSAR/AP/record/SWS_CM_11509
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11509@rel:R25-11#de150a23
Content hash
de150a23
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11509
Status: valid/unmigrated Version: rel:R25-11#1514e3bf 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_CM_11509@rel:R25-11#1514e3bf
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#de150a232026-09-30
  • R24-11rel:R24-11#1514e3bf2026-10-14
  • R25-11rel:R25-11#1514e3bf2026-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

variable serviceIdentifier [SWS_CM_11506] Upstream: RS_CM_00200, RS_CM_00500

static const ara::com::ServiceIdentifierType serviceIdentifier;

Service Identifier

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_common.h"
Scopeclass <SI-Namespace>::common::<SI>
SymbolserviceIdentifier
Typconst ara::com::ServiceIdentifierType

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

Record
AUTOSAR/AP/record/SWS_CM_11506
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11506@rel:R25-11#c38c2d9f
Content hash
c38c2d9f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11506
Status: valid/unmigrated Version: rel:R25-11#7ada766f 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_CM_11506@rel:R25-11#7ada766f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c38c2d9f2026-09-30
  • R24-11rel:R24-11#7ada766f2026-10-14
  • R25-11rel:R25-11#7ada766f2026-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

variable serviceVersion [SWS_CM_11507] Upstream: RS_CM_00200, RS_CM_00500

static const ara::com::ServiceVersionType serviceVersion;

Service Version

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_common.h"
Scopeclass <SI-Namespace>::common::<SI>
SymbolserviceVersion
Typconst ara::com::ServiceVersionType

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

Record
AUTOSAR/AP/record/SWS_CM_11507
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11507@rel:R25-11#1c29e6f0
Content hash
1c29e6f0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11507
Status: valid/unmigrated Version: rel:R25-11#5ba837f8 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_CM_11507@rel:R25-11#5ba837f8
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1c29e6f02026-09-30
  • R24-11rel:R24-11#5ba837f82026-10-14
  • R25-11rel:R25-11#5ba837f82026-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