함수 <RoutineInterface> [SWS_DM_00589] Upstream: RS_AP_00137, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173
<RoutineInterface1> (ara::core::InstanceSpecifier instance Spec, ara::diag::ConcurrencyType concurrencyType) noexcept;
Construct a DiagnosticRoutine from an ara::core::InstanceSpecifier
생성자 함수 [SWS_DM_00589]은(는) 인스턴스 식별자를 통해 루틴 인터페이스(DiagnosticRoutine)를 인스턴스화하는 데 사용됩니다. 선언은 noexcept(으)로 지정되어 있으며, 예외 안전(exception safe) 및 스레드 안전(thread-safe)한 것으로 간주됩니다SWS Diagnostics §8.30.2.2.1.8 “{<routine-interface-name-1>}”.
매개변수 및 호출
instanceSpec(ara::core::InstanceSpecifier): 일치하는 모델 포트에 바인딩된 특정 서비스 인스턴스의 식별자입니다.concurrencyType(ara::diag::ConcurrencyType): 인터페이스가 동시 또는 스레드 안전하게 실행되는지(kConcurrent) 아니면 스레드 안전하지 않은지(kNotConcurrent)를 결정합니다.
런타임 및 모델 검사
생성 중에 프레임워크는 모델 및 프로세스 구성을 검사합니다. 잘못된 할당이나 중복 사용이 있는 경우 특정 위반(Violations)이 발생합니다[SWS_DM_00589]:
InstanceSpecifierMappingIntegrityViolation:InstanceSpecifier을 실행 파일의 컨텍스트에서 확인할 수 없거나PortPrototype를 가리키지 않습니다.PortInterfaceMappingViolation:DiagnosticRoutineInterface에 의해 타입화된PortPrototype이(가)DiagnosticServiceGenericMapping에 의해 참조되지 않습니다.ProcessMappingViolation: 기존 인스턴스 참조에 대해 런타임에 일치하는 모델링된 프로세스가 존재하지 않습니다.InstanceSpecifierAlreadyInUseViolation: 지정된InstanceSpecifier이(가) 현재 프로세스 내에서 기존 인스턴스에 의해 이미 사용되고 있습니다.
이 사용 지침은 AUTOSAR 사양을 기반으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "<RoutineInterfaceDirectoryPath>/<RoutineInterfaceShortname>.h" |
|---|---|
| Scope | class <RoutineInterface-Namespace>::<RoutineInterface> |
| 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 DiagnosticRoutineInterface needs to be referenced by a DiagnosticServiceGenericMapping. 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_00589- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00589@rel:R25-11#627dbd50- Content hash
627dbd50- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00589
Status: valid/unmigrated
Version: rel:R25-11#6a6a97fe
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_00589@rel:R25-11#6a6a97fe
Recorded Revisions (8):
- R25-11
rel:R25-11#b4e9b0332026-09-30 - R19-11
rel:R19-11#bec420792026-10-14 - R20-11
rel:R20-11#35efd0d72026-10-14 - R21-11
rel:R21-11#ed9520fb2026-10-14 - R22-11
rel:R22-11#dc24794a2026-10-14 - R23-11
rel:R23-11#64edfc512026-10-14 - R24-11
rel:R24-11#ff4bdd882026-10-14 - R25-11
rel:R25-11#6a6a97fe2026-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 · 독일어 원문