फ़ंक्शन <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#569b2de5- Content hash
569b2de5- 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 · जर्मन मूल