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
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" |
|---|---|
| Scope | class ara::com::InstanceIdentifier |
| Exception-Sicherheit | exception safe |
| Verletzungen (Violations) | InvalidInstanceI- Given ara::com::InstanceIdentifier string is corrupted, dentifierStringVi- non-compliant or duplicated olation |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| serializedFormat | String form of an ara::com::InstanceIdentifier |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| InstanceIdentifier | An 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
Recorded Revisions (3):
- R25-11
rel:R25-11#1718d3472026-09-30 - R24-11
rel:R24-11#11e5a2e42026-10-14 - R25-11
rel:R25-11#eeb324622026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · German original