फ़ंक्शन Get [SWS_CM_00112] Upstream: RS_CM_00218, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138
ara::core::Future< FieldType > Get () noexcept;
Get the current value of the Field. The method is present only if Field.hasGetter ==TRUE, otherwise it is not present (shall not be generated)
उपयोग
मेथड Get प्रॉक्सी स्कोप <SI-Namespace>::proxy::fields::<Field> में वर्तमान फ़ील्ड मान ([SWS_CM_00112]; AUTOSAR_AP_EXP_ARAComAPI §6 “FieldGet” भी देखें) को एसिंक्रोनस रूप से प्राप्त करने का कार्य करता है। फ़ंक्शन प्रॉक्सी हेडर <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h के माध्यम से प्रदान किया जाता है और यह केवल तभी मौजूद होता है जब फ़ील्ड Field.hasGetter == TRUE के लिए मॉडल किया गया हो ([SWS_CM_00112])। यह कोई पैरामीटर नहीं लेता है और एक ara::core::Future<FieldType> लौटाता है, जिसमें सफल ट्रांसमिशन के बाद वर्तमान मान शामिल होता है ([SWS_CM_00112])।
त्रुटि प्रबंधन और सीमा शर्तें
इंटरफ़ेस को noexcept और अपवाद-सुरक्षित (exception-safe) के रूप में परिभाषित किया गया है ([SWS_CM_00112])। यदि ऑपरेशन विफल रहता है, तो लौटाए गए ara::core::Future में रोलबैक सिमेंटिक्स ([SWS_CM_00112]) के साथ एक त्रुटि कोड होता है:
ComErrc::kCommunicationFailure: नेटवर्क बाइंडिंग एक सुधारने योग्य संचार त्रुटि या सुरक्षित संचार की विफलता की रिपोर्ट करता है ([SWS_CM_00112])।ComErrc::kMinimumSendIntervalViolationError: एक ट्रांसमिट अनुरोध तत्व के लिए कॉन्फ़िगर किए गए न्यूनतम ट्रांसमिशन अंतराल (minimumSendInterval) की अनुमति से अधिक तेज़ी से किया गया था ([SWS_CM_00112])।InsufficientPermissionsViolation: Grant Enforcement द्वारा निष्पादन को अस्वीकार कर दिया जाता है ([SWS_CM_00112])।
गेटर के लिए कोई एप्लिकेशन त्रुटियां (Application Errors) मौजूद नहीं हैं ([SWS_CM_00113])।
इंटरैक्शन
स्केलेटन पक्ष पर, गेटर अनुरोध के प्रसंस्करण के लिए एक कॉलबैक की आवश्यकता होती है, जो RegisterGetHandler के माध्यम से पंजीकृत किया जाता है ([SWS_CM_00114])। Get() का प्रत्येक कॉल एक एंड-टू-एंड जांच (E2E) निष्पादित करता है; परिणामस्वरूप स्थिति की स्थिति (state status) को प्रॉक्सी पक्ष पर GetE2EStateMachineStateGetter के माध्यम से समकालिक रूप से क्वेरी किया जा सकता है ([SWS_CM_00145])।
यह पाठ विनिर्देश दस्तावेजों के आधार पर एक AI द्वारा तैयार किया गया था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)
| Header-Datei | #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h" |
|---|---|
| Scope | class <SI-Namespace>::proxy::fields::<Field> |
| Exception-Sicherheit | exception safe |
| Verletzungen (Violations) | InsufficientPer- Refused by Grant Enforcement missionsViolation |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Future< FieldType > | • If successful: an ara::core::Future containing a Field Type object as per [SWS_CM_11403] • If unsuccessful: an ara::core::Future containing a corresponding ara::core::FutureErrc |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ComErrc::kCommunicationFailure | rollback_semantics The network binding reported a recoverable communications error or a secure communication failure |
| ComErrc::kMinimumSendIntervalViolationError | rollback_semantics Minimum Send Interval violation, because a transmission request for a service instance element (event, field or method call) was issued faster than allowed, i.e., the configured minimum send interval ServiceInterfaceDeploymentElement. minimumSendInterval for the service instance element has not yet expired. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_00112- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_00112@rel:R25-11#e2312622- Content hash
e2312622- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00112
Status: valid/unmigrated
Version: rel:R25-11#ec4a8dc1
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_CM_00112@rel:R25-11#ec4a8dc1
Recorded Revisions (8):
- R25-11
rel:R25-11#0bc1ce772026-09-30 - R19-11
rel:R19-11#85c2390c2026-10-14 - R20-11
rel:R20-11#85c2390c2026-10-14 - R21-11
rel:R21-11#85c2390c2026-10-14 - R22-11
rel:R22-11#5a1fa5a12026-10-14 - R23-11
rel:R23-11#da1367322026-10-14 - R24-11
rel:R24-11#78164d832026-10-14 - R25-11
rel:R25-11#ec4a8dc12026-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 · जर्मन मूल