फ़ंक्शन <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को निष्पादन योग्य (Executable) के संदर्भ में हल नहीं किया जा सकता है या यह किसी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#024f18ba- Content hash
024f18ba- 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 · जर्मन मूल