함수 <DataElementInterface> [SWS_DM_00587] Upstream: RS_AP_00137, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173
<DataElementInterface1> (ara::core::InstanceSpecifier instanceSpec, ara::diag::ConcurrencyType concurrencyType) noexcept;
Construct a DataElement from an ara::core::InstanceSpecifier
생성자 함수 [SWS_DM_00587]는 AUTOSAR_AP_SWS_Diagnostics §8.28.2.2.1.6에 따라 ara::core::InstanceSpecifier를 통해 <DataElementInterface>을 인스턴스화하는 역할을 합니다.
사용법 및 매개변수:
instanceSpec: 모델 컨텍스트에서 서비스의 구체적인 인스턴스를 지정합니다.concurrencyType: 동시성 동작을 결정하고 인터페이스가 스레드 안전(kConcurrent)으로 실행되는지 또는 스레드 안전하지 않게(kNotConcurrent) 실행되는지를 정의합니다.
동시성 및 예외 안전성: 이 함수는 noexcept(으)로 선언되어 있으며 사양에서 스레드 안전(thread-safe) 및 예외 안전(exception-safe)으로 분류되어 있습니다 [SWS_DM_00587].
오류 처리 및 모델링 위반: 오류는 C++ 예외로 이어지지 않고, 명시된 위반(Violations)으로 이어집니다:
InstanceSpecifierMappingIntegrityViolation: 프로세스 컨텍스트에서instanceSpec을(를) 확인할 수 없거나PortPrototype을(를) 참조하지 않을 때 발생합니다.PortInterfaceMappingViolation:DiagnosticDataElementInterface을(를) 통해 유형화된PortPrototype이(가)DiagnosticDataPortMapping에 의해 참조되지 않을 때 보고됩니다.ProcessMappingViolation: 인스턴스 참조가 존재하지만 런타임 프로세스에 일치하는 모델링된 프로세스가 존재하지 않는 경우 발생합니다.InstanceSpecifierAlreadyInUseViolation: 동일 프로세스 내에서instanceSpec이(가) 이미 생성자 호출에 의해 점유되어 있는 경우 전송됩니다.
이 사용 지침은 AUTOSAR R25-11을 기반으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "<DataElementDirectoryPath>/{<data-element-shortname-lower> }.h" |
|---|---|
| Scope | class <DataElement-Namespace>::<DataElementInterface> |
| 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 DiagnosticDataElementInterface 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_00587- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00587@rel:R25-11#a8661ad9- Content hash
a8661ad9- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00587
Status: valid/unmigrated
Version: rel:R25-11#3137c965
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_00587@rel:R25-11#3137c965
Recorded Revisions (8):
- R25-11
rel:R25-11#5035bc322026-09-30 - R19-11
rel:R19-11#362db1312026-10-14 - R20-11
rel:R20-11#2280335d2026-10-14 - R21-11
rel:R21-11#90eaccce2026-10-14 - R22-11
rel:R22-11#163504222026-10-14 - R23-11
rel:R23-11#bbe3ec942026-10-14 - R24-11
rel:R24-11#5f9d4fbd2026-10-14 - R25-11
rel:R25-11#3137c9652026-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 · 독일어 원문