function Create [SWS_CM_10438] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00139
static ara::core::Result< <SI>Proxy > Create (const <SI-Namespace>::proxy:: <SI>Proxy::HandleType &handle) noexcept;
Exception-less construction of a Proxy from a HandleType using the Named Constructor idiom.
Usage and Semantics
The static factory method Create serves according to [SWS_CM_10438] for the exception-free creation of a proxy instance (<SI>Proxy) following the named constructor idiom. As parameter handle, it requires a previously determined service handle according to [SWS_CM_00131]. The call is synchronous and declared as noexcept. The result is returned in a ara::core::Result, which contains the operational proxy instance in case of success.
Error handling
If an error occurs during instantiation, Create returns an error code of type ara::com::ComErrc via ara::core::Result [SWS_CM_10438]:
ComErrc::kServiceNotAvailable: The service is no longer available after previously being offered viaOfferService().ComErrc::kCommunicationFailure: The network binding reports a recoverable communication error or the failure of a secured connection.
Both errors exhibit rollback semantics [SWS_CM_10438]. For structural or security-related errors, specified violations take effect: If the passed handle is null or corrupted, a ErroneousServiceHandleViolation is present. If the calling process lacks the necessary permissions for the instance under grant enforcement, the request is rejected and treated as InsufficientPermissionsViolation (SWS CommunicationManagement §8 “Security”, [SWS_CM_10438]).
Concurrency and Constraints
Interpretation: Since Create operates synchronously and binds communication resources, the call is likely reentrant for different handles, but should not be executed in time-critical hard real-time loops due to possible network initializations. Question Q-f7ba23670f562788 (open)
This text was generated by an AI system based on the AUTOSAR R25-11 specification.
Implementer's Guide to follow (complexity I2)
| Header-Datei | #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h" |
|---|---|
| Scope | class <SI-Namespace>::proxy::<SI>Proxy |
| Exception-Sicherheit | exception safe |
| Verletzungen (Violations) | ErroneousService- Provided HandleType is null or corrupt HandleViolation InsufficientPer- Refused by Grant Enforcement missionsViolation |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| handle | As per [SWS_CM_00131] |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< {<service-interface-name> }Proxy > | • If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a Proxy • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ComErrc::kServiceNotAvailable | rollback_semantics Service is not available after being previously offered via Offer Service() |
| ComErrc::kCommunicationFailure | rollback_semantics The network binding reported a recoverable communications error or a secure communication failure |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_10438- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_10438@rel:R25-11#b417ae7a- Content hash
b417ae7a- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10438
Status: valid/unmigrated
Version: rel:R25-11#cfeddea9
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_10438@rel:R25-11#cfeddea9
Recorded Revisions (8):
- R25-11
rel:R25-11#b417ae7a2026-09-30 - R19-11
rel:R19-11#7e4e18b92026-10-14 - R20-11
rel:R20-11#f1232f7e2026-10-14 - R21-11
rel:R21-11#f1232f7e2026-10-14 - R22-11
rel:R22-11#38bf837e2026-10-14 - R23-11
rel:R23-11#38bf837e2026-10-14 - R24-11
rel:R24-11#08265d1c2026-10-14 - R25-11
rel:R25-11#cfeddea92026-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 · German original