함수 <DataIdentifierInterface> [SWS_DM_00585] Upstream: RS_AP_00137, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173
<DataIdentifierInterface1> (ara::core::InstanceSpecifier instanceSpec, ara::diag::ConcurrencyType concurrencyType) noexcept;
Construct a DataIdentifier from an ara::core::InstanceSpecifier
사용
생성자 함수 <DataIdentifierInterface>은(는) ara::core::InstanceSpecifier에서 데이터 식별자를 인스턴스화하는 데 사용됩니다 [SWS_DM_00585]. 선언은 네임스페이스 <DataIdentifier-Namespace> 내에서 헤더 파일 #include "<DataIdentifierDirectoryPath>/<DataIdentifierShortname>.h"을(를) 통해 이루어집니다 [SWS_DM_00585]. 동기 호출은 noexcept(으)로 명시되어 있으며 “exception safe” 및 “thread-safe” 특성을 갖습니다 [SWS_DM_00585].
이 함수는 다음과 같은 전달 매개변수를 받습니다 [SWS_DM_00585]:
instanceSpec(ara::core::InstanceSpecifier): 서비스의 구체적인 인스턴스 식별자 [SWS_DM_00585].concurrencyType(ara::diag::ConcurrencyType): 인터페이스를kConcurrent(으)로 스레드 안전하게 작동할지, 아니면kNotConcurrent(으)로 스레드 안전하지 않게 작동할지를 정의합니다 [SWS_DM_00585].
오류 처리 및 모델링 규칙
이 함수는 반환값을 제공하지 않으며 예외를 발생시키지 않습니다. 대신 구성 또는 모델링 오류가 발생하면 정의된 Violation이 발생합니다 [SWS_DM_00585]:
InstanceSpecifierMappingIntegrityViolation: Executable 컨텍스트에서instanceSpec을(를) 확인할 수 없거나PortPrototype을(를) 가리키지 않습니다 [SWS_DM_00585].PortInterfaceMappingViolation:DiagnosticDataIdentifierInterface에 의해 유형화된PortPrototype이(가)DiagnosticDataPortMapping에 의해 참조되지 않습니다 [SWS_DM_00585].ProcessMappingViolation: 인스턴스 참조에 대해 현재 런타임 프로세스에 일치하는 모델링된 프로세스가 존재하지 않습니다 [SWS_DM_00585].InstanceSpecifierAlreadyInUseViolation: 생성자가 현재 프로세스에서 이미 사용 중인instanceSpec(으)로 호출되었습니다 [SWS_DM_00585].
해석: 함수가 noexcept(으)로 선언되어 있으므로 감지된 Violation은 프레임워크 내부에서 치명적인 초기화 오류로 처리될 것으로 추정됩니다. 질문 Q-8616025446bf33f2 (열림)
동시성
생성자 함수 자체는 스레드 안전하게 구현되어 있습니다 [SWS_DM_00585]. 인수 concurrencyType을(를) 통해 인스턴스의 후속 인터페이스 호출을 동시에 수행할 수 있는지 여부가 제어됩니다 [SWS_DM_00585].
본 사용 지침은 명세를 기반으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "<DataIdentifierDirectoryPath>/<DataIdentifierShortname>.h" |
|---|---|
| Scope | class <DataIdentifier-Namespace>::<DataIdentifierInterface> |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
| Verletzungen (Violations) | InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is typed by a pingViolation DiagnosticDataIdentifierInterface needs to be referenced by a DiagnosticDataPortMapping. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process. |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| instanceSpec | The specifier of a specific instance of a service. |
| concurrencyType | Specifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_00585- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00585@rel:R25-11#4543cf34- Content hash
4543cf34- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00585
Status: valid/unmigrated
Version: rel:R25-11#4e8f5fe5
Versionshistorie & Revisions (1 transition, 8 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_DM_00585@rel:R25-11#4e8f5fe5
Recorded Revisions (8):
- R25-11
rel:R25-11#424df92c2026-09-30 - R19-11
rel:R19-11#420e87cb2026-10-14 - R20-11
rel:R20-11#6d8ab4df2026-10-14 - R21-11
rel:R21-11#c7e8234c2026-10-14 - R22-11
rel:R22-11#5168b3b22026-10-14 - R23-11
rel:R23-11#c7617fcf2026-10-14 - R24-11
rel:R24-11#9629e2942026-10-14 - R25-11
rel:R25-11#4e8f5fe52026-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 · 독일어 원문