함수 Get [SWS_CM_11546] Upstream: RS_CM_00202, RS_CM_00203, RS_AP_00114, RS_AP_00122, RS_AP_00135, RS_AP_00145
T * Get () const noexcept;
Returns a pointer to the managed object.
사용법 및 의미론
함수 Get은(는) 헤더 ara/com/service/sample_ptr.h의 클래스 ara::com::SamplePtr의 매개변수가 없는 멤버 함수입니다 [SWS_CM_11546]. 인스턴스가 관리하는 객체에 대한 T* 유형의 원시 포인터를 동기적으로 반환합니다 [SWS_CM_11546]. ara::core::Future을(를) 제공하는 서비스 필드의 비동기 쿼리와 달리 [SWS_CM_00112], 이 접근은 호출 스레드에서 즉시 수행됩니다.
오류 처리 및 제약 조건
이 메서드는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)(으)로 명시되어 있습니다 [SWS_CM_11546]. C++ 예외를 통한 오류 상태는 발생하지 않습니다. 인스턴스가 현재 관리하는 객체가 없는 경우 반환되는 포인터는 아마도 nullptr일 것으로 보입니다. 참조된 데이터를 추가 처리하기 전에 E2E 모니터링 상태가 ara::com::e2e::SMState::kValid 상태인지, 프로파일 상태 검사에서 오류가 발생하지 않았는지 확인해야 합니다 [SWS_CM_90422]. 질문 Q-d850bd8ee144369a (열림)
상호작용 및 구분
통신 관리에서 Get은(는) 샘플 관리의 프레임워크 내에서 제공되는 수신된 값(샘플)에 대한 직접 데이터 액세스 역할을 합니다 AUTOSAR_AP_EXP_ARAComAPI §10 “GetNewSamples”. 이 함수는 다른 Get 작업과 명확히 구분되어야 합니다:
- 필드 Getter: 프록시에서 서비스 필드를 검색하는 작업은
ara::core::Future을(를) 반환하는Get()을(를) 통해 이루어지며 [SWS_CM_00112], 이를 위해 서버 측에 핸들러를 등록할 수 있습니다 [SWS_CM_00114]. - E2E 상태: 필드 Getter의 모니터링 상태는
GetE2EStateMachineStateGetter을(를) 통해 별도로 확인됩니다 [SWS_CM_00145].
이 텍스트는 AI에 의해 작성되었으며 AUTOSAR 릴리스 R25-11을 기반으로 합니다.
구현자 가이드 준비 중 (복잡도 I2)
| Header-Datei | #include "ara/com/service/sample_ptr.h" |
|---|---|
| Scope | class ara::com::SamplePtr |
| Exception-Sicherheit | exception safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| T* | A pointer to the managed object |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CM_11546- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CM_11546@rel:R25-11#02486cfd- Content hash
02486cfd- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11546
Status: valid/unmigrated
Version: rel:R25-11#ff040cc4
Versionshistorie & Revisions (1 transition, 3 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_11546@rel:R25-11#ff040cc4
Recorded Revisions (3):
- R25-11
rel:R25-11#19683df22026-09-30 - R24-11
rel:R24-11#83411fd82026-10-14 - R25-11
rel:R25-11#ff040cc42026-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 · 독일어 원문