फ़ंक्शन <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]।
त्रुटि प्रबंधन और मॉडलिंग नियम
फ़ंक्शन कोई रिटर्न मान नहीं देता है और कोई अपवाद नहीं फेंकता है। इसके बजाय कॉन्फ़िगरेशन या मॉडलिंग में त्रुटियों के कारण परिभाषित Violations होते हैं [SWS_DM_00585]:
InstanceSpecifierMappingIntegrityViolation:instanceSpecको निष्पादन योग्य (executable) के संदर्भ में हल नहीं किया जा सकता है या यह किसीPortPrototype[SWS_DM_00585] को संदर्भित नहीं करता है।PortInterfaceMappingViolation:DiagnosticDataIdentifierInterfaceद्वारा टाइप किया गयाPortPrototypeकिसीDiagnosticDataPortMappingद्वारा संदर्भित नहीं है [SWS_DM_00585]।ProcessMappingViolation: इंस्टेंस संदर्भ के लिए वर्तमान रनटाइम प्रक्रिया हेतु कोई उपयुक्त मॉडल की गई प्रक्रिया मौजूद नहीं है [SWS_DM_00585]।InstanceSpecifierAlreadyInUseViolation: कंस्ट्रक्टर को एकinstanceSpecके साथ कॉल किया गया था, जो वर्तमान प्रक्रिया में पहले से ही उपयोग में है [SWS_DM_00585]।
व्याख्या: चूंकि फ़ंक्शन को noexcept के रूप में घोषित किया गया है, इसलिए पहचाने गए Violations को संभवतः फ़्रेमवर्क के भीतर गंभीर इनिशियलाइज़ेशन त्रुटियों के रूप में माना जाएगा। प्रश्न 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#366de05e- Content hash
366de05e- 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 · जर्मन मूल