함수 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)
사용
프록시 스코프 <SI-Namespace>::proxy::fields::<Field>에서 메서드 Get은 현재 필드 값의 비동기적 조회에 사용됩니다([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 및 예외 안전([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]).
게터(Getter)에는 애플리케이션 오류(Application Errors)가 존재하지 않습니다([SWS_CM_00113]).
상호 작용
스켈레톤 측에서 게터 요청을 처리하려면 RegisterGetHandler을 통해 등록되는 콜백이 전제되어야 합니다([SWS_CM_00114]). Get()의 각 호출은 종단 간 검사(E2E)를 수행하며, 그 결과로 나타나는 상태 상태는 프록시 측에서 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#dfb87d08- Content hash
dfb87d08- 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 · 독일어 원문