함수 Create [SWS_SM_81014] Upstream: RS_SM_00402
static ara::core::Result< S2RSatellite > Create () noexcept;
Creation of an conneting directly to S2RHub within the current machine.
사용
"정적 팩토리 메서드 ara::sm::s2r::S2RSatellite::Create은(는) 동일 머신 내에서 S2RHub에 직접 연결하기 위한 세틀라이트를 동기식으로 인스턴스화하는 데 사용됩니다([SWS_SM_81014]). 호출은 매개변수를 받지 않으며 성공 시 생성된 세틀라이트 객체를 제공하는 ara::core::Result<S2RSatellite>을(를) 반환합니다([SWS_SM_81014])."
오류 처리
"구성에서 \"Force IAM switch\" 스위치가 true(으)로 설정되어 있는 경우, 호출이 실패하고 오류 코드 ara::sm::SmErrc::kAuthenticationRequired을(를) 반환합니다([SWS_SM_00716]). 이 경우 대신 ara::sm::s2r::S2RSatellite::S2RSatellite 생성자를 반드시 사용해야 합니다([SWS_SM_81014]). 또한 호출 시점에 ARA 런타임 환경이 초기화되지 않은 경우 AraNotInitialized-Violation이(가) 발생합니다([SWS_SM_81014])."
동시성 및 제약 조건
"이 함수는 thread-safe 및 exception-safe한 것으로 명시되어 있으며 noexcept(으)로 선언되어 있습니다([SWS_SM_81014]). 따라서 동시 애플리케이션 컨텍스트에서 안전하게 호출할 수 있습니다."
상호 작용
"S2RSatellite의 인스턴스는 서스펜드 모드 이전 및 이후의 알림을 처리하기 위해 S2R 지원 애플리케이션에서 사용됩니다(SWS StateManagement §7.5.2 “S2R Satellite”). 성공적인 인스턴스화 후 애플리케이션은 Offer을(를) 통해 허브에 등록합니다([SWS_SM_00710]). 객체를 파괴하기 전에 StopOffer을(를) 사용하여 등록 취소를 호출해야 합니다([SWS_SM_00713]). 해석: Create 메서드는 주로 세틀라이트에 대해 IAM 인증이 강제되지 않는 애플리케이션 시나리오를 위해 고안된 것으로 보입니다." 질문 Q-fc41980edcb3f61a (열림)
이 사용 지침은 AI에 의해 작성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/sm/s2r/S2RSatellite.h" |
|---|---|
| Scope | class ara::sm::s2r::S2RSatellite |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
| Verletzungen (Violations) | AraNotInitialized- Violation message that is sent in case a constructor or function Violation checks for an initialized ara and identifies that ara is not initialized. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< S2RSatellite > | a result that contains either a object or an error. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ara::sm::SmErrc::kAuthenticationRequired | rollback_semantics S2R Satellite requires IAM authentication. ara::sm::s2r:: S2RSatellite::S2RSatellite has to be used instead. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_SM_81014- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_SM_81014@rel:R25-11#0647ab39- Content hash
0647ab39- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81014
Status: valid/unmigrated
Version: rel:R25-11#cd8a5e9e
Versionshistorie & Revisions (1 transition)
- 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_SM_81014@rel:R25-11#cd8a5e9e
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 · 독일어 원문