DEENESPTFRRUARHIKOZHNL

클래스 ara::sm::s2r::S2RSatellite

[SWS_SM_81002] Upstream: RS_SM_00402

class S2RSatellite {...};

S2RSatellite abstract class.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Forwarding-Header#include "ara/sm/sm_fwd.h"
Scopenamespace ara::sm::s2r

사용자 가이드AI 생성

애플리케이션이 조율된 준비 및 재개를 수행할 수 있도록 Suspend-to-RAM 알림을 수신합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: c425edf7dbdd 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

애플리케이션이 조율된 준비 및 재개를 수행할 수 있도록 Suspend-to-RAM 알림을 수신합니다.

인터페이스 ara::sm::s2r::S2RSatellite은 Adaptive Applications가 State Management로부터의 Suspend-to-RAM 알림을 수신하는 수신자 역할을 합니다([SWS_SM_81002], AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”). 초기화 및 Offer()을 통한 활성화 후, 데이터 백업 또는 서비스 재시작과 같은 애플리케이션별 준비 작업을 비동기식으로 제어하기 위해 구현된 콜백 함수 EnterSuspendMode() 및 LeaveSuspendMode()가 호출됩니다([SWS_SM_00710], [SWS_SM_81010], [SWS_SM_81011]). 중앙 허브에 등록하려면 적절하게 모델링되고 IAM 인증을 받은 프로세스 컨텍스트가 반드시 필요합니다([SWS_SM_00715]).

컨텍스트

추상 기본 클래스 ara::sm::s2r::S2RSatellite은 Adaptive Applications가 “prepared for Suspend-to-RAM” 상태로의 전환 및 해당 상태로부터의 복귀에 대한 알림을 수신하기 위한 인터페이스를 정의합니다([SWS_SM_81002], AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”). State Management 내의 중앙 S2RHub이 서스펜드 절차의 조율을 제어하는 반면(AUTOSAR_AP_SWS_StateManagement §7.5.1 “S2R Hub”), S2RSatellite의 인스턴스는 각 애플리케이션의 로컬 엔드포인트 역할을 합니다. Adaptive Application은 영구 데이터 저장, 제공된 서비스 중지 또는 안전 관련 활동 중지와 같은 애플리케이션별 준비를 수행하기 위해 추상 콜백 함수를 구현합니다(AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”).

S2RKontext app Adaptive Application sat ara::sm::s2r::S2RSatellite app->sat implementiert / instanziiert hub ara::sm::s2r::S2RHub (State Management) sat->hub Offer() / StopOffer() (Registrierung) hub->sat EnterSuspendMode() LeaveSuspendMode() iam Identity & Access Management (IAM) hub->iam 프로세스 컨텍스트 검사 [SWS_SM_00715]

컨텍스트 다이어그램: Adaptive Application, S2RSatellite, S2RHub 및 Identity Access Management 간의 상호 작용. 출처: [SWS_SM_00710], [SWS_SM_00715], AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”, AUTOSAR_AP_SWS_StateManagement §7.5.1 “S2R Hub”.

등록 및 상호 작용은 Identity and Access Management(IAM)의 보안 검사를 받습니다. S2RHub은 위성의 프로세스 컨텍스트가 구성된 SuspendToRamSatelliteMapping과 일치하는 경우에만 등록을 허용합니다([SWS_SM_00715]).

수명 주기

인스턴스 생성은 명시적 생성자 S2RSatellite(const ara::core::InstanceSpecifier&)([SWS_SM_81003]) 또는 정적 팩토리 메서드 Create()([SWS_SM_81014])를 통해 이루어집니다. 기본 생성자는 삭제되어 있습니다([SWS_SM_81004]). 이 클래스는 엄격한 소유권 시맨틱을 가집니다. 복사 생성자 및 복사 할당 연산자는 명시적으로 삭제되었으나([SWS_SM_81007], [SWS_SM_81009]), 이동 생성자 및 이동 할당은 허용되며 예외 안전 및 스레드 안전합니다([SWS_SM_81006], [SWS_SM_81008]).

인스턴스화 후 객체는 비활성 상태에 있습니다. Offer()을 호출해야만 위성이 허브에 활성 상태로 등록되고 핸들러 호출이 활성화됩니다([SWS_SM_00710], [SWS_SM_81012]). 위성은 StopOffer()이 호출될 때까지 활성 등록 상태를 유지합니다([SWS_SM_00710], [SWS_SM_81013]). 가상 소멸자 ~S2RSatellite()([SWS_SM_81005])을 통해 파괴될 때 인스턴스는 이전에 등록 취소되었거나 암시적으로 해제되는 것으로 추정됩니다. 질문 Q-bbccd3c283007ce8 (열림) 생성자와 할당은 스레드 안전하지만, Offer(), StopOffer(), 소멸자 및 핸들러는 스레드 안전하지 않습니다([SWS_SM_81003], [SWS_SM_81005], [SWS_SM_81010], [SWS_SM_81011], [SWS_SM_81012], [SWS_SM_81013]).

사용 경로

정상적인 흐름에는 배포, 상태 변경 처리 및 최종 등록 취소가 포함됩니다:

  1. 배포: 애플리케이션은 파생된 위성 클래스를 인스턴스화하고 Offer()을 호출하여 S2RHub과의 통신 준비 상태를 설정합니다([SWS_SM_00710], [SWS_SM_81012]).
  2. 서스펜드 요청: State Management가 서스펜드 프로세스를 트리거하면([SWS_SM_00701]), 위성은 순수 가상 메서드 EnterSuspendMode()을 호출합니다([SWS_SM_00711], [SWS_SM_81010]). 애플리케이션은 백업 루틴을 실행하고 반환된 ara::core::Future<void>를 통해 준비 완료를 비동기식으로 알립니다([SWS_SM_81010]).
  3. 재개 요청: 웨이크업 후 허브는 서스펜드 모드 종료를 요청합니다([SWS_SM_00703]). 위성이 메서드 LeaveSuspendMode()을 실행하면([SWS_SM_00711], [SWS_SM_81011]) 애플리케이션이 서비스를 다시 활성화합니다.
  4. 종료: 시스템을 종료하기 전에 애플리케이션이 StopOffer()을 호출하면 허브에서 위성이 등록 취소되고 핸들러가 비활성화됩니다([SWS_SM_00713], [SWS_SM_81013]).
Nutzungsablauf S2RSatelliteAdaptive ApplicationS2RSatelliteS2RHubUse Case: 초기화 및 등록Offer()RegistrierungBestaetigungResult<void> (Erfolg)Use Case: Suspend-PhaseRequestToEnterSuspendModeEnterSuspendMode()Persistieren, Dienste stoppenFuture<void> aufgeloestAntwort bereitUse Case: Resume-PhaseRequestToLeaveSuspendModeLeaveSuspendMode()Dienste reaktivierenFuture<void> aufgeloestAntwort bereitUse Case: DeregistrierungStopOffer()Deregistrierung

시퀀스 다이어그램: 등록, Suspend-to-RAM 알림, 재개 및 등록 취소의 일반적인 흐름. 출처: [SWS_SM_00701], [SWS_SM_00703], [SWS_SM_00710], [SWS_SM_00711], [SWS_SM_00713], [SWS_SM_81010], [SWS_SM_81011], [SWS_SM_81012], [SWS_SM_81013].

오류 시나리오

인스턴스화 시점부터 이미 오류가 발생할 수 있습니다. 강제 IAM 전환이 활성 상태인 경우 정적 메서드 Create()은 오류 ara::sm::SmErrc::kAuthenticationRequired을 반환합니다. 이 경우 대신 InstanceSpecifier를 사용하는 매개변수화된 생성자를 사용해야 합니다([SWS_SM_00716], [SWS_SM_81014]). 생성자 S2RSatellite(const ara::core::InstanceSpecifier&)는 모델링 및 플랫폼 상태를 검사하고 오류 발생 시 런타임 위반을 트리거합니다:

  • 플랫폼 런타임 환경이 초기화되지 않은 경우 AraNotInitializedViolation([SWS_SM_81003]).
  • 식별자를 확인할 수 없거나 PortPrototype을 가리키지 않는 경우 InstanceSpecifierMappingIntegrityViolation([SWS_SM_81003]).
  • 인터페이스 유형이 예상 인터페이스 매핑과 일치하지 않는 경우 PortInterfaceMappingViolation([SWS_SM_81003]).
  • 인스턴스 참조에 일치하는 모델링된 프로세스가 없는 경우 ProcessMappingViolation([SWS_SM_81003]).
  • 인스턴스 식별자가 프로세스 내에서 이미 사용 중인 경우 InstanceSpecifierAlreadyInUseViolation([SWS_SM_81003]).

State Management 데몬과의 연결 문제로 인해 Offer()에서의 등록이 실패하면 호출은 오류 SmErrc::kOfferFailed가 포함된 ara::core::Result을 반환합니다([SWS_SM_81012]). EnterSuspendMode() 또는 LeaveSuspendMode() 실행 중 문제가 발생하면 위성은 반환된 Future을 통해 오류 SmErrc::kRejected을 알립니다([SWS_SM_81010], [SWS_SM_81011]). 이는 서스펜드 모드를 종료할 때 허브 측에서 전체 결과 kAtLeastOneHadIssuesToLeave으로 이어집니다([SWS_SM_00707]).

이 가이드는 오직 AUTOSAR 릴리스 R25-11 사양 문서를 기반으로 한다.

멤버 맵

클래스 다이어그램

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__sm__s2r__S2RSatellite502 S2RSatellite + S2RSatellite() + operator=() + ~S2RSatellite() + Create() + EnterSuspendMode() + LeaveSuspendMode() + Offer() + StopOffer()

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

S2RSatellite 함수 4

Creation of an S2RSatellite.

오버로드 S2RSatellite 4
explicit S2RSatellite (const ara::core::InstanceSpecifier &instance) noexcept; SWS_SM_81003
S2RSatellite ()=delete; SWS_SM_81004
S2RSatellite (S2RSatellite &&ra) noexcept; SWS_SM_81006
S2RSatellite (const S2RSatellite &)=delete; SWS_SM_81007

Destructor for S2RSatellite.

virtual ~S2RSatellite () noexcept;

메서드

Create 함수

Creation of an conneting directly to S2RHub within the current machine.

static ara::core::Result< S2RSatellite > Create () noexcept;

EnterSuspendMode is called to enter Suspend Mode. The handler invocation needs to be enabled before by a call of Offer().

virtual ara::core::Future< void > EnterSuspendMode ()=0;

LeaveSuspendMode is called to leave Suspend Mode. The handler invocation needs to be enabled before by a call of Offer().

virtual ara::core::Future< void > LeaveSuspendMode ()=0;
Offer 함수

Enables potential invocations of handlers .

ara::core::Result< void > Offer () noexcept;
StopOffer 함수

Disables invocations of handlers.

void StopOffer () noexcept;

연산자

operator= 함수 2

Move assignment operator for S2RSatellite.

오버로드 = 2
S2RSatellite & operator= (S2RSatellite &&ra) noexcept; SWS_SM_81008
S2RSatellite & operator= (const S2RSatellite &)=delete; SWS_SM_81009

메서드 문서

함수 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.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: ee8ec5327419 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

"정적 팩토리 메서드 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"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitthread-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

TypBeschreibung
ara::core::Result< S2RSatellite >a result that contains either a object or an error.

Fehler

FehlercodeBeschreibung
ara::sm::SmErrc::kAuthenticationRequiredrollback_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
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 EnterSuspendMode [SWS_SM_81010] Upstream: RS_SM_00402

virtual ara::core::Future< void > EnterSuspendMode ()=0;

EnterSuspendMode is called to enter Suspend Mode. The handler invocation needs to be enabled before by a call of Offer().

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 023b44de9187 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

ara::sm::s2r::S2RSatellite 클래스 [SWS_SM_81010]의 순수 가상 콜백 메서드 EnterSuspendMode은(는) 위성 인스턴스에 서스펜드 모드로 진입하도록 요청합니다 [SWS_SM_00711]. 이 호출은 S2R Hub이(가) RequestToEnterSuspendMode을(를) 통해 활성 등록된 모든 위성에 서스펜드 상태로 전환하도록 지시할 때 시작됩니다 [SWS_SM_00701]. 이 호출을 수신하기 위한 전제 조건은 위성 인스턴스가 이전에 Offer을(를) 통해 허브에 성공적으로 등록되었어야 한다는 점입니다 [SWS_SM_81010] [SWS_SM_00710].

반환값으로 ara::core::Future<void>이(가) 사용됩니다 [SWS_SM_81010]. 애플리케이션이 서스펜드 모드로 성공적으로 진입할 수 있으면 Future는 void(으)로 이행(fulfill)됩니다 [SWS_SM_81010]. 오류가 발생하면 Future는 오류 코드 SmErrc::kRejected(으)로 완료되어야 합니다 [SWS_SM_81010]. 하나 이상의 위성이 kRejected을(를) 보고하면 허브 요청은 전체 결과 kAtLeastOneRejected을(를) 반환합니다 [SWS_SM_00702]. 위성이 타임아웃 내에 제때 응답하지 않으면 통신은 오류 kCommunicationTimeout(으)로 중단됩니다 AUTOSAR_AP_SWS_StateManagement 36쪽.

동시성과 관련하여 이 인터페이스는 스레드 안전하지 않고(not-threadsafe) 예외 안전하지 않은 것(not exception safe)으로 정의되어 있습니다 [SWS_SM_81010]. 위성 객체가 소멸되기 전에 StopOffer을(를) 호출해야 합니다. 이 호출은 위성의 등록을 해제하고 실행 중인 콜백 실행이 완료될 때까지 블로킹합니다 [SWS_SM_00713]. 이 메서드는 순수 가상으로 선언되어 있으므로, Suspend-to-RAM 이전에 로컬 상태를 영구 저장하기 위해 파생된 애플리케이션 클래스에서 구체적인 구현이 이루어질 것으로 보입니다. 질문 Q-628b88828075652c (열림)

본 텍스트는 AUTOSAR R25-11 사양을 바탕으로 AI 시스템에 의해 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitnot exception safe
Thread-Sicherheitnot-threadsafe

Rückgabewert

TypBeschreibung
ara::core::Future< void >void in case the Suspend Mode is successfully entered; or the error kRejected if there is an issue to enter Suspend Mode.

Fehler

FehlercodeBeschreibung
SmErrc::kRejectedrollback_semantics There are issues to enter Suspend Mode.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81010
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81010@rel:R25-11#31f0bea6
Content hash
31f0bea6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81010
Status: valid/unmigrated Version: rel:R25-11#4ccf8b3e 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_81010@rel:R25-11#4ccf8b3e
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 LeaveSuspendMode [SWS_SM_81011] Upstream: RS_SM_00402

virtual ara::core::Future< void > LeaveSuspendMode ()=0;

LeaveSuspendMode is called to leave Suspend Mode. The handler invocation needs to be enabled before by a call of Offer().

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 4c7954c5f9b4 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

순수 가상 메서드 LeaveSuspendMode은(는) S2R 인식 애플리케이션(S2R-Aware applications)이 서스펜드 모드를 종료하고 정상 동작을 재개하는 데 사용됩니다 [SWS_SM_81011], SWS StateManagement §7.5.2 “S2R Satellite”. 애플리케이션별 재개 로직은 해석상 ara::sm::s2r::S2RSatellite에서 파생된 클래스에 구현될 것으로 보입니다. 질문 Q-c8e12bf51d76935c (열림)

사용법 및 호출 컨텍스트

호출은 비동기식으로 수행되며 위성(satellite)에서 Resume 트리거를 수신함으로써 유발됩니다 [SWS_SM_00711]. 이 트리거는 활성 등록된 모든 위성 인스턴스로 메시지를 전송하는 ara::sm::s2r::S2RHub::RequestToLeaveSuspendMode에서 발생합니다 [SWS_SM_00703]. 이 메서드는 매개변수를 받지 않으며 ara::core::Future<void>을 반환합니다 [SWS_SM_81011]. 성공 시, Suspend 모드를 성공적으로 종료하는 즉시 Future가 void(으)로 충족됩니다 [SWS_SM_81011].

오류 처리

웨이크업 중 문제가 발생하면 Future가 오류 코드 SmErrc::kRejected(으)로 실패합니다(롤백 시맨틱) [SWS_SM_81011]. 이로 인해 S2R 허브는 전체 결과로서 kAtLeastOneHadIssuesToLeave을(를) 출력하게 됩니다 [SWS_SM_00707]. 위성이 지정된 기한 내에 응답하지 않으면 허브는 kCommunicationTimeout(으)로 중단됩니다 [SWS_SM_00707].

동시성 및 사전 조건

  • 등록: 핸들러 활성화를 위해서는 사전에 Offer이(가) 호출되어 있어야 하며 [SWS_SM_81011], 이를 통해 위성이 활성 등록됩니다 [SWS_SM_00710].
  • 안전성: 해당 연산은 not-threadsafe 및 not exception safe(으)로 명시되어 있습니다 [SWS_SM_81011].
  • 수명 주기: 위성이 파괴되기 전에 StopOffer을(를) 호출해야 합니다. 이 호출은 실행 중인 콜백이 완료될 때까지 차단됩니다 [SWS_SM_00713].

이 사용 지침은 자동으로 생성되었으며 AUTOSAR Adaptive R25-11의 명세 데이터만을 기반으로 합니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitnot exception safe
Thread-Sicherheitnot-threadsafe

Rückgabewert

TypBeschreibung
ara::core::Future< void >void in case the Suspend Mode is left; or the error kRejected if the resume is not successful.

Fehler

FehlercodeBeschreibung
SmErrc::kRejectedrollback_semantics There are issues to leave Suspend Mode.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81011
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81011@rel:R25-11#7a7c8aa3
Content hash
7a7c8aa3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81011
Status: valid/unmigrated Version: rel:R25-11#121e27da 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_81011@rel:R25-11#121e27da
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 Offer [SWS_SM_81012] Upstream: RS_SM_00402

ara::core::Result< void > Offer () noexcept;

Enables potential invocations of handlers .

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 4698b0d80386 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

"동기 멤버 함수 ara::sm::s2r::S2RSatellite::Offer은(는) 세틀라이트 인스턴스를 중앙 S2R 허브에 등록합니다 [SWS_SM_00710]. 매개변수가 없는 이 호출은 알림 수신을 활성화하여 서스펜드 모드로의 전환 및 복귀를 위한 애플리케이션 측 콜백이 호출될 수 있도록 합니다 [SWS_SM_81012], [SWS_SM_81010], [SWS_SM_81011]. 이 메서드는 ara::core::Result<void>을(를) 반환하며 예외 안전(noexcept)(으)로 선언되어 있습니다 [SWS_SM_81012]."

"정상적으로 성공한 경우 반환된 Result은(는) 비어 있습니다 [SWS_SM_81012]. State Management 데몬과의 통신 장애로 인해 서비스를 제공할 수 없는 경우, 호출은 오류 코드 SmErrc::kOfferFailed(으)로 실패합니다 [SWS_SM_81012]. 또한 권한이 없는 인스턴스는 거부되므로 세틀라이트의 프로세스 컨텍스트는 등록된 애플리케이션에 대한 IAM 요구사항을 준수해야 합니다 [SWS_SM_00715]. 해석: 등록에 실패하면 인스턴스는 허브에 등록되지 않은 상태로 유지될 것으로 보입니다." 질문 Q-1b445bcf1aecef2d (열림)

"동시성 측면에서 Offer은(는) 스레드 안전하지 않은 것(not thread-safe)으로 명시되어 있습니다 [SWS_SM_81012]. 따라서 동일한 인스턴스에 대한 병렬 호출에는 외부 동기화가 필요합니다. 성공적으로 제공된 후 세틀라이트는 애플리케이션이 명시적으로 ara::sm::s2r::S2RSatellite::StopOffer을(를) 호출할 때까지 활성 등록 상태를 유지합니다 [SWS_SM_00710]. StopOffer을(를) 통한 등록 취소는 세틀라이트가 파괴되기 전에 수행되어야 하며 실행 중인 콜백이 완료될 때까지 차단됩니다 [SWS_SM_00713]."

"이 텍스트는 AI에 의해 생성되었으며 참고용으로 제공됩니다. 오직 AUTOSAR 사양만이 구속력을 갖습니다."

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >A Result, being either empty or containing any of the errors defined below.

Fehler

FehlercodeBeschreibung
SmErrc::kOfferFailedrollback_semantics Service could not be offered due to failure of communication with Sm daemon

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81012
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81012@rel:R25-11#37eaf61f
Content hash
37eaf61f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81012
Status: valid/unmigrated Version: rel:R25-11#a19ccbb6 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_81012@rel:R25-11#a19ccbb6
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 S2RSatellite [SWS_SM_81003] Upstream: RS_SM_00402

explicit S2RSatellite (const ara::core::InstanceSpecifier &instance) noexcept;

Creation of an S2RSatellite.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: {portInterfaceTypeName} referenced by a {mappingType Name}. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process. 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.

Parameter (in)

ParameterBeschreibung
instanceinstance specifier to the PPortPrototype of a SuspendToRamSatelliteInterface

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81003
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81003@rel:R25-11#0a2532b6
Content hash
0a2532b6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81003
Status: valid/unmigrated Version: rel:R25-11#00c86d21 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_81003@rel:R25-11#00c86d21
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 S2RSatellite [SWS_SM_81004] Upstream: RS_SM_00402

S2RSatellite ()=delete;

Default constructor for S2RSatellite shall not be used.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81004
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81004@rel:R25-11#779806e0
Content hash
779806e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81004
Status: valid/unmigrated Version: rel:R25-11#5d3b2368 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_81004@rel:R25-11#5d3b2368
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 S2RSatellite [SWS_SM_81006] Upstream: RS_SM_00402

S2RSatellite (S2RSatellite &&ra) noexcept;

Move constructor for S2RSatellite.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
raThe S2RSatellite object to be moved.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81006
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81006@rel:R25-11#239c702b
Content hash
239c702b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81006
Status: valid/unmigrated Version: rel:R25-11#00250293 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_81006@rel:R25-11#00250293
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 S2RSatellite [SWS_SM_81007] Upstream: RS_SM_00402

S2RSatellite (const S2RSatellite &)=delete;

The copy constructor for S2RSatellite shall not be used.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81007
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81007@rel:R25-11#930082af
Content hash
930082af
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81007
Status: valid/unmigrated Version: rel:R25-11#c1967e7f 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_81007@rel:R25-11#c1967e7f
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 StopOffer [SWS_SM_81013] Upstream: RS_SM_00402

void StopOffer () noexcept;

Disables invocations of handlers.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: f065eb564bf8 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용법 및 의미론

"StopOffer() 메서드는 S2R Hub에서 ara::sm::s2r::S2RSatellite의 인스턴스 등록을 취소하고 향후 콜백 호출을 비활성화합니다([SWS_SM_81013], [SWS_SM_00710]). 호출은 동기식으로 수행되며 현재 활성 상태인 모든 콜백 실행이 완전히 완료될 때까지 차단됩니다([SWS_SM_00713]). 이 함수는 매개변수를 받지 않으며 반환값이 없습니다."

"수명 주기 및 오류 처리"

"인터페이스는 noexcept(으)로 선언되어 예외를 발생시키지 않으며, 특정 오류 코드는 존재하지 않습니다([SWS_SM_81013]). 사양에 따르면 StopOffer()은(는) 스레드 안전하지 않습니다(not thread-safe). 애플리케이션은 StopOffer()이(가) S2RSatellite 객체가 파괴되기 전에 명시적으로 호출되거나, 해석상 아마도 이를 캡슐화하는 사용자 클래스의 소멸자 내에서 실행되도록 보장해야 합니다(SWS StateManagement §7.5.2 “Deregistration of S2R Satellites at S2R Hub”)." 질문 Q-79aa369fb23871ed (열림)

"Suspend-to-RAM 흐름에서의 상호작용"

"S2R Hub이(가) RequestToEnterSuspendMode 또는 RequestToLeaveSuspendMode을(를) 실행 중인 경우 지정된 모든 세틀라이트를 기다립니다. 이 단계에서 세틀라이트가 StopOffer()을(를) 통해 등록을 취소하면 허브는 이를 긍정적인 응답으로 간주하여 상태 전환의 실패를 방지합니다([SWS_SM_00702], [SWS_SM_00707])."

이 사용 참고사항은 AUTOSAR 사양 R25-11을 바탕으로 자동 작성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81013
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81013@rel:R25-11#e57bb08d
Content hash
e57bb08d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81013
Status: valid/unmigrated Version: rel:R25-11#b565557d 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_81013@rel:R25-11#b565557d
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_SM_81008] Upstream: RS_SM_00402

S2RSatellite & operator= (S2RSatellite &&ra) noexcept;

Move assignment operator for S2RSatellite.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
raThe S2RSatellite object to be moved.

Rückgabewert

TypBeschreibung
S2RSatellite &The moved S2RSatellite object.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81008
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81008@rel:R25-11#273e76e8
Content hash
273e76e8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81008
Status: valid/unmigrated Version: rel:R25-11#b5e55d29 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_81008@rel:R25-11#b5e55d29
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 operator= [SWS_SM_81009] Upstream: RS_SM_00402

S2RSatellite & operator= (const S2RSatellite &)=delete;

The copy assignment operator for S2RSatellite shall not be used.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81009
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81009@rel:R25-11#d98b19d5
Content hash
d98b19d5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81009
Status: valid/unmigrated Version: rel:R25-11#f0c4993d 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_81009@rel:R25-11#f0c4993d
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

함수 ~S2RSatellite [SWS_SM_81005] Upstream: RS_SM_00402

virtual ~S2RSatellite () noexcept;

Destructor for S2RSatellite.

Header-Datei#include "ara/sm/s2r/S2RSatellite.h"
Scopeclass ara::sm::s2r::S2RSatellite
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_SM_81005
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81005@rel:R25-11#24d6de13
Content hash
24d6de13
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81005
Status: valid/unmigrated Version: rel:R25-11#4b892348 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_81005@rel:R25-11#4b892348
Point-in-Time History:
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill