함수 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
사용
정적 함수 ara::com::InstanceIdentifier::Create([SWS_CM_11520])은(는) InstanceIdentifier을(를) 인스턴스화하기 위한 예외 없는 팩토리 메서드를 나타냅니다. 이 함수는 동기 입력 매개변수로 유형 ara::core::StringView(serializedFormat)의 문자열을 받아 InstanceIdentifier의 인스턴스를 반환합니다([SWS_CM_11520]). 직렬화된 문자열의 구체적인 형식은 표준화되어 있지 않으며 해당 통신 관리 드라이버에 의해 제조사별로 지정됩니다([SWS_CM_00088], AUTOSAR_AP_SWS_CommunicationManagement §7.5.22.1 “Service Identifier Data Types”).
오류 처리
이 함수는 noexcept(으)로 지정되어 있으며 예외 안전으로 명시되어 있습니다([SWS_CM_11520]). 전달된 문자열이 손상되었거나 규격을 준수하지 않거나 시스템 내에서 중복된 경우 사양에서는 위반 InvalidInstanceIdentifierStringViolation을(를) 정의합니다([SWS_CM_11520]). 시그니처가 ara::core::Result와(과) 같은 오류 유형을 반환하지 않으므로 위반은 플랫폼 내부 오류 처리 또는 종료를 통해 포착될 것으로 추정됩니다(해석). 질문 Q-17a699ea15610637 (열림)
동시성 및 제약사항
ara::com::InstanceIdentifier은(는) 시스템 내에서 동일한 서비스 유형의 서로 다른 인스턴스를 고유하게 식별하고 구별하는 역할을 합니다([SWS_CM_00302]). 중복은 명시적으로 위반으로 간주되므로 호출자는 제공된 문자열이 유효하고 시스템 전체에서 고유한 인스턴스를 나타내도록 보장해야 합니다([SWS_CM_11520]).
상호 작용
생성된 인스턴스 식별자는 문자열 표현을 다시 읽어올 수 있는 메서드 ToString()([SWS_CM_11522])과(와) 일치합니다([SWS_CM_00088]). 또한 이 객체는 전체 시스템에서 구체적인 서비스 인스턴스를 어드레싱하는 데 사용됩니다([SWS_CM_00302]).
이 사용 참고사항은 AI에 의해 생성되었으며 R25-11 사양 상태에만 기반합니다.
구현자 가이드 준비 중 (복잡도 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#52e21e81- Content hash
52e21e81- 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 · 독일어 원문