DEENESPTFRRUARHIKOZHNL

klasse 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-GEGENEREERD

Dient voor de unieke identificatie van technische service-instanties ter onderscheiding van gelijksoortige services.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 1921f270f529 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Dient voor de unieke identificatie van technische service-instanties ter onderscheiding van gelijksoortige services.

De klasse ara::com::InstanceIdentifier representeert de unieke technische identificatie van een concrete service-instantie in het AUTOSAR Adaptive Platform en maakt adressering via specifieke communicatie-bindings mogelijk (AUTOSAR_AP_EXP_ARAComAPI p. 22 §4.1 “InstanceIdentifier class”). Als serialiseerbaar waardetype kan deze worden aangemaakt uit tekenreeksen, vergeleken en beheerd in containers ([SWS_CM_11520], [SWS_CM_11523]). Terwijl standaardapplicaties primair abstracte model-identifiers gebruiken, dient het directe gebruik van deze technische identificator voor speciale gevallen zoals multi-binding en failover-oplossingen (AUTOSAR_AP_EXP_ARAComAPI p. 25 “InstanceIdentifier Usage”).

Context

De klasse ara::com::InstanceIdentifier dient voor de unieke identificatie van een concrete service-instantie op het Adaptive Platform (AdaptivePlatformServiceInstance), om verschillende instanties van exact dezelfde service van elkaar te onderscheiden. Deze kapselt de technologiespecifieke adressering van de gekozen communicatie-binding in, maar bevat bewust geen fully qualified name met servicetype-informatie. Voor de reguliere softwareontwikkelaar is de directe interactie met ara::com::InstanceIdentifier doorgaans geabstraheerd: terwijl in het softwarecomponentmodel voornamelijk logische namen via ara::core::InstanceSpecifier worden gebruikt (AUTOSAR_AP_EXP_ARAComAPI p. 23 §4.2 “InstanceSpecifier class”), wijst de integrator deze via manifestbestanden toe aan de technische bindings en hun respectieve instantie-ID's (AUTOSAR_AP_EXP_ARAComAPI p. 23 §4.2 “InstanceSpecifier class”).

In het kader van zogeheten multi-binding kan een enkele abstracte identifier worden gekoppeld aan meerdere technische bindings. De resolutie via ResolveInstanceIDs() retourneert daarom een ara::com::InstanceIdentifierContainer die meerdere ara::com::InstanceIdentifier bundelt (ARAComAPI p. 1 “Figure 6.6: InstanceIdentifier Resolution”, AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”). Dit stelt servers (skeletons) in staat om clients via verschillende transporttechnologieën te bedienen, of clients (proxies) om failover-paden te realiseren (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 adresseert met InstanceIdentifier Manifest Deployment-Manifest Manifest->Runtime definiert Binding-Mapping Runtime->Applikation levert InstanceIdentifierContainer op

Contextdiagram: samenspel van applicatie, deployment-manifest, instantie-resolutie en service-interfaces. Bronnen: 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”

Levenscyclus

Instanties van ara::com::InstanceIdentifier beschikken over volwaardige waardesemantiek. Ze voldoen aan de eisen equalitycomparable, lessthancomparable en copyassignable volgens ISO/IEC 14882:2014, waardoor ze kunnen worden beheerd in standaardcontainers, gesorteerd en gelogd. De klasse stelt de volgende constructors en levenscyclusfuncties beschikbaar:

  • Uitzonderingsvrije creatie via de statische fabrieksmethode Create ([SWS_CM_11520]) met noexcept.
  • Expliciete constructor op basis van een string-representatie ([SWS_CM_11521]), die uitdrukkelijk niet uitzonderingsveilig (not exception safe) is.
  • Copy-constructor ([SWS_CM_00056]) en move-constructor ([SWS_CM_00053]), beide gespecificeerd als noexcept.
  • Copy-toekenningsoperator ([SWS_CM_11525]) en move-toekenningsoperator ([SWS_CM_00054]), telkens met noexcept.
  • Vergelijkingsoperatoren operator== ([SWS_CM_11523]) en operator< ([SWS_CM_11524]) voor gelijkheids- en ordeningscontrole.
  • Destructor ~InstanceIdentifier() ([SWS_CM_00055]) met noexcept.

Door het samenspel van de string-constructor met de methode toString() ([SWS_CM_11522]) is de klasse serialiseerbaar (AUTOSAR_AP_EXP_ARAComAPI p. 22 §4.1 “InstanceIdentifier class”). Dit maakt het persisteren, overdragen en later hergebruiken van een identifier mogelijk. Een inhoudelijke interpretatie (introspectie) van de geserialiseerde string door de applicatielogica is niet voorzien, aangezien de opbouw volledig afhangt van het middlewareproduct en de binding (AUTOSAR_AP_EXP_ARAComAPI p. 22 §4.1 “InstanceIdentifier class”).

Gebruikspad

Aangezien ara::com voor gangbare methoden overloads aanbiedt die direct ara::core::InstanceSpecifier accepteren, richt het handmatig omgaan met ara::com::InstanceIdentifier zich primair op geavanceerde usecases zoals gespecialiseerde bindings of gerichte fail-over (AUTOSAR_AP_EXP_ARAComAPI p. 25 “InstanceIdentifier Usage”). Het typische verloop is onderverdeeld in de volgende stappen:

  1. Resolutie: de applicatie vertaalt de abstracte model-identifier door middel van ResolveInstanceIDs() naar de toegewezen technische instantie-identificaties (AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”).
  2. Selectie: uit de resulterende ara::com::InstanceIdentifierContainer kiest de applicatie de gewenste ara::com::InstanceIdentifier (ARAComAPI p. 1 “Figure 6.6: InstanceIdentifier Resolution”).
  3. Zoeken naar services: de identifier wordt doorgegeven aan de statische methode FindService(ara::com::InstanceIdentifier instance) van de proxy-klasse (ARAComAPI p. 103 “Figure 6.5: Service Discovery”).
  4. Verwerking: het zoeken naar services levert een ServiceHandleContainer op, op basis waarvan proxies worden geïnstantieerd (ARAComAPI p. 103 “Figure 6.5: Service Discovery”). Via GetInstanceId() kan de instantie-identificatie worden opgevraagd (AUTOSAR_AP_EXP_ARAComAPI p. 30 “GetInstanceId”).
Resolutie en gebruik van de InstanceIdentifierApplikationara::com RuntimeService-ProxyResolveInstanceIDs(instanceSpecifier)Result<InstanceIdentifierContainer>FindService(instanceIdentifier)Result<ServiceHandleContainer>

Sequentiediagram: resolutie van de identifier en gericht zoeken naar services via de technische InstanceIdentifier. Bronnen: ARAComAPI p. 103 “Figure 6.5: Service Discovery”, AUTOSAR_AP_EXP_ARAComAPI p. 24 §4.3 “InstanceSpecifier Resolution”

Foutscenario's

Bij het omgaan met ara::com::InstanceIdentifier moet met name rekening worden gehouden met twee foutsituaties:

Deze klassehandleiding is gebaseerd op de specificaties en toelichtingen van de AUTOSAR Adaptive Platform Release R25-11.

Ledenkaart

Klassendiagram

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

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

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en 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;

Methoden

Create functie

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

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

Stringification method for ara::com::InstanceIdentifier

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

Operatoren

operator< functie

LessThan operator as per [lessthancomparable] in [30]

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

Move assignment constructor

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

Equality operator as per [equalitycomparable] in [30]

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

Documentatie van de methoden

functie 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

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: b4194687c159 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De statische functie ara::com::InstanceIdentifier::Create ([SWS_CM_11520]) vormt een uitzonderingsvrije fabrieksmethode voor het instantiëren van een InstanceIdentifier. Deze accepteert als synchrone invoerparameter een string van het type ara::core::StringView (serializedFormat) en levert een instantie van InstanceIdentifier op ([SWS_CM_11520]). Het concrete formaat van de geserialiseerde tekenreeks is niet gestandaardiseerd, maar fabrikantspecifiek voorgeschreven door de betreffende driver voor communicatiebeheer ([SWS_CM_00088], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”).

Foutafhandeling

De functie is gespecificeerd als noexcept en uitzonderingsveilig ([SWS_CM_11520]). Wanneer de overgedragen tekenreeks gecorrumpeerd, niet-conform of in het systeem gedupliceerd is, definieert de specificatie de schending InvalidInstanceIdentifierStringViolation ([SWS_CM_11520]). Aangezien de signatuur geen fouttype zoals ara::core::Result retourneert, wordt een overtreding vermoedelijk via platforminterne foutafhandeling of beëindiging opgevangen (interpretatie). Vraag Q-17a699ea15610637 (open)

Gelijktijdigheid en beperkingen

Een ara::com::InstanceIdentifier dient voor de unieke identificatie en het onderscheid van verschillende instanties van hetzelfde servicetype in het systeem ([SWS_CM_00302]). De aanroeper moet waarborgen dat de verstrekte tekenreeks een geldige en systeemwijd unieke instantie vertegenwoordigt, aangezien duplicaten expliciet als schending worden aangemerkt ([SWS_CM_11520]).

Samenspel

De gecreëerde instantie-identificator correspondeert met de methode ToString() ([SWS_CM_11522]), waarmee de tekenreeksweergave weer kan worden uitgelezen ([SWS_CM_00088]). Daarnaast wordt het object gebruikt voor het adresseren van concrete service-instanties in het gehele systeem ([SWS_CM_00302]).

Deze gebruiksinstructie is gegenereerd door een AI en baseert zich uitsluitend op de specificatiestand R25-11.

Implementer's Guide volgt (complexiteit 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#b6fda7f9
Content hash
b6fda7f9
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

functie 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#43862719
Content hash
43862719
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

functie 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#de136b9c
Content hash
de136b9c
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

functie 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#8699357e
Content hash
8699357e
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

functie 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#cab85cf4
Content hash
cab85cf4
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

functie 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#2827c155
Content hash
2827c155
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

functie 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#b20ef63b
Content hash
b20ef63b
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

functie 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#9b5a3c14
Content hash
9b5a3c14
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

functie 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

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: fb75f02e4eb4 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De methode toString dient als stringificatiefunctie voor instanties van ara::com::InstanceIdentifier ([SWS_CM_11522]), die worden gebruikt voor het unieke onderscheid tussen verschillende instanties van dezelfde service in het systeem ([SWS_CM_00302], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”).

Gebruik en retourwaarde

De functie is gedeclareerd in de header #include "ara/com/service/instance_identifier.h" en wordt synchroon evenals parameterloos op een constant object aangeroepen ([SWS_CM_11522]):

  • Retourwaarde: De methode levert de tekstrepresentatie van de instantie-identificatie als ara::core::StringView terug ([SWS_CM_11522]).
  • Formaat: Het formaat van de geretourneerde tekenreeks is fabrikantspecifiek voor de betreffende Communication Management-provider geïmplementeerd en niet gestandaardiseerd ([SWS_CM_00088]). Hetzelfde formaat wordt ook door de string-gebaseerde constructor verwacht ([SWS_CM_11520], [SWS_CM_00088]).

Foutafhandeling en gelijktijdigheid

De methode is gedefinieerd als noexcept en garandeert daarmee volledige uitzonderingsveiligheid (exception safe) ([SWS_CM_11522]). Er worden noch uitzonderingen gegenereerd noch foutcodes geretourneerd. Aangezien het retourtype ara::core::StringView geen eigendom over het gereferentieerde geheugen bezit, is de geldigheid van de gegevens vermoedelijk gebonden aan de levensduur van het InstanceIdentifier-object. Vraag Q-51f5f18a79ebf3a4 (open)

Samenspel

In tegenstelling tot ara::com::ServiceIdentifierType::toString, die gespecificeerd is als not exception safe ([SWS_CM_11514]), waarborgt InstanceIdentifier::toString strikte uitzonderings- en foutvrijheid ([SWS_CM_11522]).

Deze gebruiksinstructie is automatisch gegenereerd. Alle vermeldingen zijn onderbouwd door de specificatie of expliciet als aanname aangeduid.

Implementer's Guide volgt (complexiteit 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#c7575da2
Content hash
c7575da2
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

functie ~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#050debf5
Content hash
050debf5
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