DEENESPTFRRUARHIKOZHNL

class ara::com::InstanceIdentifier

[SWS_CM_00302] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

class InstanceIdentifier {...};

Unique identifier of a specific AdaptivePlatformServiceInstance, to distinguish different instances of exactly the same service. ara::com::InstanceIdentifier satisfies the [equalitycomparable], [lessthancomparable] and [copyassignable] requirements as per [30] to allow for logging of ara::com::InstanceIdentifiers as well as storing and managing ara::com::InstanceIdentifiers by the application (see operators). ara:: com::InstanceIdentifier does not contain a fully qualified name, which would also have service type information.

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/service/instance_identifier.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com

User GuideAI-GENERATED

Serves for the unique identification of technical service instances to distinguish identical services.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 1921f270f529 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves for the unique identification of technical service instances to distinguish identical services.

The class ara::com::InstanceIdentifier represents the unique technical identifier of a concrete service instance in the AUTOSAR Adaptive Platform and enables addressing via specific communication bindings (AUTOSAR_AP_EXP_ARAComAPI p. 22 §4.1 “InstanceIdentifier class”). As a serializable value type, it can be created from strings, compared, and managed in containers ([SWS_CM_11520], [SWS_CM_11523]). While standard applications primarily use abstract model identifiers, the direct use of this technical identifier serves special cases such as multi-binding and fail-over solutions (AUTOSAR_AP_EXP_ARAComAPI p. 25 “InstanceIdentifier Usage”).

Context

The class ara::com::InstanceIdentifier serves to uniquely identify a concrete service instance on the Adaptive Platform (AdaptivePlatformServiceInstance) in order to distinguish different instances of the exact same service from one another. It encapsulates the technology-specific addressing of the chosen communication binding, but deliberately contains no fully qualified name with service type information. For the regular software developer, direct interaction with ara::com::InstanceIdentifier is generally abstracted: While logical names via ara::core::InstanceSpecifier are primarily used in the software component model (AUTOSAR_AP_EXP_ARAComAPI p. 23 §4.2 “InstanceSpecifier class”), the integrator maps these to the technical bindings and their respective instance IDs via manifest files (AUTOSAR_AP_EXP_ARAComAPI p. 23 §4.2 “InstanceSpecifier class”).

In the context of so-called multi-binding, a single abstract identifier can be mapped to multiple technical bindings. Resolving via ResolveInstanceIDs() therefore returns a ara::com::InstanceIdentifierContainer that bundles multiple ara::com::InstanceIdentifier (ARAComAPI p. 1 “Figure 6.6: InstanceIdentifier Resolution”, AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”). This enables servers (skeletons) to serve clients over different transport technologies, or clients (proxies) to implement fail-over paths (ARAComAPI p. 1 “Figure 6.6: InstanceIdentifier Resolution”).

diag_kontext Applikation Applikation Runtime ara::com Runtime (ResolveInstanceIDs) Applikation->Runtime uebergibt InstanceSpecifier ServiceProxy Service-Proxy / Skeleton (FindService / OfferService) Applikation->ServiceProxy addresses with InstanceIdentifier Manifest Deployment-Manifest Manifest->Runtime definiert Binding-Mapping Runtime->Applikation returns InstanceIdentifierContainer

Context diagram: Interaction of application, deployment manifest, instance resolution, and service interfaces. Sources: ARAComAPI p. 103 “Figure 6.5: Service Discovery”, AUTOSAR_AP_EXP_ARAComAPI p. 23 §4.2 “InstanceSpecifier class”, AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”

Lifecycle

Instances of ara::com::InstanceIdentifier have full value semantics. They satisfy the requirements equalitycomparable, lessthancomparable, and copyassignable according to ISO/IEC 14882:2014, allowing them to be managed, sorted, and logged in standard containers. The class provides the following constructors and lifecycle functions:

Through the interplay of the string constructor with the method toString() ([SWS_CM_11522]), the class is serializable (AUTOSAR_AP_EXP_ARAComAPI p. 22 §4.1 “InstanceIdentifier class”). This allows persisting, transmitting, and later reusing an identifier. An interpretation of content (introspection) of the serialized string by the application logic is not intended, since the structure depends entirely on the middleware product and binding (AUTOSAR_AP_EXP_ARAComAPI p. 22 §4.1 “InstanceIdentifier class”).

Usage Path

Since ara::com provides overloads for common methods that accept ara::core::InstanceSpecifier directly, manual handling of ara::com::InstanceIdentifier is primarily aimed at advanced use cases such as specialized bindings or targeted fail-over (AUTOSAR_AP_EXP_ARAComAPI p. 25 “InstanceIdentifier Usage”). The typical sequence is divided into the following steps:

  1. Resolution: The application translates the abstract model identifier into the assigned technical instance identifiers using ResolveInstanceIDs() (AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”).
  2. Selection: From the resulting ara::com::InstanceIdentifierContainer, the application selects the desired ara::com::InstanceIdentifier (ARAComAPI p. 1 “Figure 6.6: InstanceIdentifier Resolution”).
  3. Service search: The identifier is passed to the static method FindService(ara::com::InstanceIdentifier instance) of the proxy class (ARAComAPI p. 103 “Figure 6.5: Service Discovery”).
  4. Processing: The service search returns a ServiceHandleContainer, based on which proxies are instantiated (ARAComAPI p. 103 “Figure 6.5: Service Discovery”). The instance identifier can be queried via GetInstanceId() (AUTOSAR_AP_EXP_ARAComAPI p. 30 “GetInstanceId”).
Resolution and usage of the InstanceIdentifierApplikationara::com RuntimeService proxyResolveInstanceIDs(instanceSpecifier)Result<InstanceIdentifierContainer>FindService(instanceIdentifier)Result<ServiceHandleContainer>

Sequence diagram: Resolution of the identifier and targeted service search via the technical InstanceIdentifier. Sources: ARAComAPI p. 103 “Figure 6.5: Service Discovery”, AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”

Error Scenarios

When handling ara::com::InstanceIdentifier, two error situations in particular must be taken into account:

This class guide is based on the specifications and explanations of AUTOSAR Adaptive Platform Release R25-11.

Member map

Class diagram

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

G nara__com__InstanceIdentifier581 InstanceIdentifier + InstanceIdentifier() + operator=() + ~InstanceIdentifier() + Create() + operator<() + operator==() + toString()

Detail view

Select an entry in the outline.

Constructors and destructor

Move Constructor

Overloads InstanceIdentifier 3
InstanceIdentifier (InstanceIdentifier &&other) noexcept; SWS_CM_00053
InstanceIdentifier (const InstanceIdentifier &other) noexcept; SWS_CM_00056
explicit InstanceIdentifier (ara::core::StringView serializedFormat); SWS_CM_11521

Destructor

~InstanceIdentifier () noexcept;

Methods

Create function

Exception-less construction of a ara::com::InstanceIdentifier

static InstanceIdentifier Create (ara::core::StringView serialized Format) noexcept;
toString function

Stringification method for ara::com::InstanceIdentifier

ara::core::StringView toString () const noexcept;

Operators

operator< function

LessThan operator as per [lessthancomparable] in [30]

bool operator< (const InstanceIdentifier &other) const noexcept;
operator= function 2

Move assignment constructor

Overloads = 2
InstanceIdentifier & operator= (InstanceIdentifier &&other) noexcept; SWS_CM_00054
InstanceIdentifier & operator= (const InstanceIdentifier &other) noexcept; SWS_CM_11525
operator== function

Equality operator as per [equalitycomparable] in [30]

bool operator== (const InstanceIdentifier &other) const noexcept;

Method documentation

function Create [SWS_CM_11520] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

static InstanceIdentifier Create (ara::core::StringView serialized Format) noexcept;

Exception-less construction of a ara::com::InstanceIdentifier

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

use

The static function ara::com::InstanceIdentifier::Create ([SWS_CM_11520]) represents an exception-free factory method for instantiating an InstanceIdentifier. It accepts a string of type ara::core::StringView (serializedFormat) as a synchronous input parameter and returns an instance of InstanceIdentifier ([SWS_CM_11520]). The concrete format of the serialized string is not standardized, but specified vendor-specifically by the respective communication management driver ([SWS_CM_00088], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”).

Error handling

The function is specified as noexcept and exception-safe ([SWS_CM_11520]). If the passed string is corrupted, non-conforming, or duplicated in the system, the specification defines the violation InvalidInstanceIdentifierStringViolation ([SWS_CM_11520]). Since the signature does not return an error type such as ara::core::Result, a violation is presumably caught via platform-internal error handling or termination (interpretation). Question Q-17a699ea15610637 (open)

Concurrency and Limitations

An ara::com::InstanceIdentifier serves to uniquely identify and distinguish different instances of the same service type in the system ([SWS_CM_00302]). The caller must ensure that the provided string represents a valid and system-wide unique instance, since duplicates are explicitly treated as a violation ([SWS_CM_11520]).

Interaction

The generated instance identifier corresponds to the method ToString() ([SWS_CM_11522]), via which the string representation can be read out again ([SWS_CM_00088]). Furthermore, the object is used for addressing concrete service instances in the overall system ([SWS_CM_00302]).

This usage note was generated by an AI and is based exclusively on specification status R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidInstanceI- Given ara::com::InstanceIdentifier string is corrupted, dentifierStringVi- non-compliant or duplicated olation

Parameter (in)

ParameterBeschreibung
serializedFormatString form of an ara::com::InstanceIdentifier

Rückgabewert

TypBeschreibung
InstanceIdentifierAn ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11520
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11520@rel:R25-11#1718d347
Content hash
1718d347
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11520
Status: valid/unmigrated Version: rel:R25-11#eeb32462 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_11520@rel:R25-11#eeb32462
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1718d3472026-09-30
  • R24-11rel:R24-11#11e5a2e42026-10-14
  • R25-11rel:R25-11#eeb324622026-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 InstanceIdentifier [SWS_CM_00053] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier (InstanceIdentifier &&other) noexcept;

Move Constructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier object to move

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

Record
AUTOSAR/AP/record/SWS_CM_00053
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00053@rel:R25-11#d0a63428
Content hash
d0a63428
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00053
Status: valid/unmigrated Version: rel:R25-11#caf5ba60 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_00053@rel:R25-11#caf5ba60
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d0a634282026-09-30
  • R24-11rel:R24-11#f1022a3d2026-10-14
  • R25-11rel:R25-11#caf5ba602026-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 InstanceIdentifier [SWS_CM_00056] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier (const InstanceIdentifier &other) noexcept;

Copy Constructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier object to copy

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

Record
AUTOSAR/AP/record/SWS_CM_00056
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00056@rel:R25-11#a442ca0c
Content hash
a442ca0c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00056
Status: valid/unmigrated Version: rel:R25-11#e0c300a4 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_00056@rel:R25-11#e0c300a4
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a442ca0c2026-09-30
  • R24-11rel:R24-11#91b5ff7c2026-10-14
  • R25-11rel:R25-11#e0c300a42026-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 InstanceIdentifier [SWS_CM_11521] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

explicit InstanceIdentifier (ara::core::StringView serializedFormat);

Default Constructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitnot exception safe
Verletzungen (Violations)InvalidInstanceI- Given ara::com::InstanceIdentifier string is corrupted, dentifierStringVi- non-compliant or duplicated olation

Parameter (in)

ParameterBeschreibung
serializedFormatString form of an ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11521
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11521@rel:R25-11#818b98f0
Content hash
818b98f0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11521
Status: valid/unmigrated Version: rel:R25-11#689a4afe 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_11521@rel:R25-11#689a4afe
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#818b98f02026-09-30
  • R24-11rel:R24-11#41eb409f2026-10-14
  • R25-11rel:R25-11#689a4afe2026-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_CM_11524] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

bool operator< (const InstanceIdentifier &other) const noexcept;

LessThan operator as per [lessthancomparable] in [30]

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to compare

Rückgabewert

TypBeschreibung
boolTRUE if other is less than *this, FALSE otherwise.

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

Record
AUTOSAR/AP/record/SWS_CM_11524
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11524@rel:R25-11#940d6739
Content hash
940d6739
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11524
Status: valid/unmigrated Version: rel:R25-11#77fab622 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_11524@rel:R25-11#77fab622
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#940d67392026-09-30
  • R24-11rel:R24-11#7d6989192026-10-14
  • R25-11rel:R25-11#77fab6222026-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_CM_00054] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier & operator= (InstanceIdentifier &&other) noexcept;

Move assignment constructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to move

Rückgabewert

TypBeschreibung
InstanceIdentifier &New ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_00054
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00054@rel:R25-11#443a6cbd
Content hash
443a6cbd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00054
Status: valid/unmigrated Version: rel:R25-11#f9cadc05 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_00054@rel:R25-11#f9cadc05
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#443a6cbd2026-09-30
  • R24-11rel:R24-11#fa7cfb922026-10-14
  • R25-11rel:R25-11#f9cadc052026-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_CM_11525] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

InstanceIdentifier & operator= (const InstanceIdentifier &other) noexcept;

Copy assignment constructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to copy

Rückgabewert

TypBeschreibung
InstanceIdentifier &New ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11525
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11525@rel:R25-11#629783cf
Content hash
629783cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11525
Status: valid/unmigrated Version: rel:R25-11#197f0d66 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_11525@rel:R25-11#197f0d66
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#629783cf2026-09-30
  • R24-11rel:R24-11#abf0a0842026-10-14
  • R25-11rel:R25-11#197f0d662026-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_CM_11523] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

bool operator== (const InstanceIdentifier &other) const noexcept;

Equality operator as per [equalitycomparable] in [30]

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther ara::com::InstanceIdentifier to compare

Rückgabewert

TypBeschreibung
boolTRUE if other is equal to *this, FALSE otherwise.

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

Record
AUTOSAR/AP/record/SWS_CM_11523
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11523@rel:R25-11#50f23718
Content hash
50f23718
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11523
Status: valid/unmigrated Version: rel:R25-11#9145a6aa 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_11523@rel:R25-11#9145a6aa
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#50f237182026-09-30
  • R24-11rel:R24-11#035c45fb2026-10-14
  • R25-11rel:R25-11#9145a6aa2026-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 toString [SWS_CM_11522] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

ara::core::StringView toString () const noexcept;

Stringification method for ara::com::InstanceIdentifier

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

The method toString serves as a stringification function for instances of ara::com::InstanceIdentifier ([SWS_CM_11522]), which are used to uniquely distinguish different instances of the same service in the system ([SWS_CM_00302], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”).

Usage and return value

The function is declared in header #include "ara/com/service/instance_identifier.h" and is called synchronously and parameterless on a const object ([SWS_CM_11522]):

  • Return value: The method returns the text representation of the instance identifier as ara::core::StringView ([SWS_CM_11522]).
  • Format: The format of the returned string is implemented vendor-specifically for the respective Communication Management provider and is not standardized ([SWS_CM_00088]). The same format is also expected by the string-based constructor ([SWS_CM_11520], [SWS_CM_00088]).

Error Handling and Concurrency

The method is defined as noexcept and thus guarantees full exception safety (exception safe) ([SWS_CM_11522]). Neither exceptions are thrown nor error codes are returned. Since the return type ara::core::StringView has no ownership of the referenced memory, the validity of the data is presumably tied to the lifetime of the InstanceIdentifier object. Question Q-51f5f18a79ebf3a4 (open)

Interaction

In contrast to ara::com::ServiceIdentifierType::toString, which is specified as not exception safe ([SWS_CM_11514]), InstanceIdentifier::toString guarantees strict freedom from exceptions and errors ([SWS_CM_11522]).

This usage note was generated automatically. All statements are substantiated by the specification or explicitly marked as an assumption.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::core::StringViewString representation of a ara::com::InstanceIdentifier

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

Record
AUTOSAR/AP/record/SWS_CM_11522
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11522@rel:R25-11#cc178747
Content hash
cc178747
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11522
Status: valid/unmigrated Version: rel:R25-11#5d231f17 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_11522@rel:R25-11#5d231f17
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cc1787472026-09-30
  • R24-11rel:R24-11#5eabc4232026-10-14
  • R25-11rel:R25-11#5d231f172026-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 ~InstanceIdentifier [SWS_CM_00055] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00127

~InstanceIdentifier () noexcept;

Destructor

Header-Datei#include "ara/com/service/instance_identifier.h"
Scopeclass ara::com::InstanceIdentifier
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_CM_00055
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00055@rel:R25-11#b6686cab
Content hash
b6686cab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00055
Status: valid/unmigrated Version: rel:R25-11#0f00f6b7 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_00055@rel:R25-11#0f00f6b7
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b6686cab2026-09-30
  • R24-11rel:R24-11#e308d7272026-10-14
  • R25-11rel:R25-11#0f00f6b72026-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