DEENESPTFRRUARHIKOZHNL

클래스 ara::sm::s2r::S2RHub

[SWS_SM_81102] Upstream: RS_SM_00402

class S2RHub {...};

S2RHub class.

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

사용자 가이드AI 생성

위성을 위한 Suspend-to-RAM 알림을 조정하고 운영체제의 절전 상태 진입을 개시합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: c63fb68c31f7 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

위성을 위한 Suspend-to-RAM 알림을 조정하고 운영체제의 절전 상태 진입을 개시합니다.

ara::sm::s2r::S2RHub 클래스는 State Management에서 등록된 위성 애플리케이션(AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”)의 Suspend-to-RAM 상태 진입 및 종료를 조정합니다. 이 클래스는 제어 애플리케이션이 운영체제를 절전 상태로 전환하기 전에 위성의 준비를 요청하고, 웨이크업 후 이들을 다시 정상 운영 상태로 전환할 수 있도록 합니다([SWS_SM_00701], [SWS_SM_81112]). C++ API 사용은 내부 StateMachine 접근 방식을 엄격히 배제하며 검증된 IAM 권한을 요구합니다([SWS_SM_00684], [SWS_SM_00706]).

컨텍스트

ara::sm::s2r::S2RHub 클래스는 Adaptive Platform에서 Suspend-to-RAM 전환을 조정하기 위한 State Management의 중앙 인터페이스를 형성합니다(AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”). 머신의 종료 및 시작 시간을 최적화하기 위해 전체 시스템 재부팅 대신 Suspend-to-RAM을 사용할 수 있습니다(AUTOSAR_AP_SWS_StateManagement §7.5 “Interaction with Suspend-to-RAM Functionality”). 허브의 주요 작업은 운영체제를 Suspend 상태로 전환하기 전에 체계적인 준비를 시작하고 웨이크업 후 작업 재개를 조정하기 위해 활성 등록된 모든 위성 인스턴스(ara::sm::s2r::S2RSatellite)를 호출하는 것입니다([SWS_SM_00701], [SWS_SM_00703]).

S2RHub 클래스의 사용은 SMControlApplication과 같은 전용 제어 애플리케이션에만 허용되며 일반 Adaptive Applications를 위한 것이 아닙니다(AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4 “Interfaces for Suspend-to-Ram Notifications”). 허브 기능에 대한 접근은 C++ API 또는 내부 StateMachine 접근 방식을 통해 수행될 수 있으며, 경쟁 상태 및 상태 불일치를 방지하기 위해 두 방식은 상호 엄격히 배제됩니다(AUTOSAR_AP_SWS_StateManagement §7.5.1 “S2R Hub”, AUTOSAR_AP_SWS_StateManagement §7.7.15 “Mutual exclusivity of StateMachine approach and S2RHub API usage”, [SWS_SM_00684]). 이때 프로세스 및 위성과의 상호작용은 Identity and Access Management(IAM)를 통해 보호됩니다([SWS_SM_00706], [SWS_SM_00714], [SWS_SM_00715]).

S2RHubKontext SMControlApp SMControlApplication (또는 SM Controller) Hub ara::sm::s2r::S2RHub SMControlApp->Hub RequestToEnterSuspendMode() RequestToLeaveSuspendMode() SMControlApp->Hub EnterSuspendToRamOs() Satellites ara::sm::s2r::S2RSatellite (Adaptive Applications) Hub->Satellites EnterSuspendMode LeaveSuspendMode OS Betriebssystem (OS) Hub->OS Suspend to RAM Trigger Satellites->Hub Offer / StopOffer Antworten

컨텍스트 다이어그램: 제어 애플리케이션, 위성 및 운영체제 간의 S2RHub 임베딩. 출처: AUTOSAR_AP_EXP_SWArchitecture §9.2.2.1.4, AUTOSAR_AP_SWS_StateManagement §7.5.1, [SWS_SM_81112].

수명 주기

ara::sm::s2r::S2RHub의 인스턴스는 ara::core::InstanceSpecifier을 통해 명시적으로 생성됩니다([SWS_SM_81103]). 생성 과정에서 호출 프로세스 컨텍스트가 모델 매핑(SuspendToRamHubMapping.process)에 대해 유효성 검증을 거치는 필수 IAM 권한 검사가 수행됩니다([SWS_SM_00706], [SWS_SM_00714]). 복사 연산은 이 클래스에 대해 완전히 금지됩니다([SWS_SM_81107], [SWS_SM_81109]). 그러나 이 클래스는 이동 생성자 및 이동 할당 연산자를 통한 이동 시맨틱을 지원합니다([SWS_SM_81106], [SWS_SM_81108]).

동시성과 관련하여 매개변수화된 생성자 및 이동 연산은 스레드 안전한 것으로 명세되어 있습니다([SWS_SM_81103], [SWS_SM_81106], [SWS_SM_81108]). 반면 가상 소멸자 ~S2RHub() 및 Suspend 조정을 위한 작동 메서드는 스레드 안전하지 않습니다([SWS_SM_81105], [SWS_SM_81110], [SWS_SM_81111], [SWS_SM_81112]). 따라서 호출자는 소멸 및 전환 실행이 경쟁 호출 없이 순차적으로 발생하도록 보장해야 합니다.

사용 경로

Suspend-to-RAM의 개시 및 종료를 위한 일반적인 절차는 세 가지 연속적인 단계로 나뉩니다:

  1. Suspend 상태 준비: 운영체제를 일시 중단하기 전에 미지원 프로세스가 있는 기능 그룹을 종료해야 합니다(AUTOSAR_AP_SWS_StateManagement §7.5). 그런 다음 제어 애플리케이션은 허브에서 RequestToEnterSuspendMode()을 호출합니다([SWS_SM_81110]). 허브는 Offer을 통해 등록된 모든 위성에 EnterSuspendMode를 통해 알림을 보냅니다([SWS_SM_00701], [SWS_SM_00710], [SWS_SM_00711]). 이 메서드는 지정된 모든 위성이 응답했거나, 등록을 취소했거나, 타임아웃이 발생한 경우에만 완료되는 ara::core::Future<void>을 반환합니다([SWS_SM_00702], [SWS_SM_81110]).
  2. 시스템 Suspend 트리거: 모든 위성으로부터 성공적인 응답을 수신한 후, 호출자는 동기 함수 EnterSuspendToRamOs()을 통해 머신을 Suspend-to-RAM 모드로 전환하도록 운영체제를 트리거합니다([SWS_SM_81112]).
  3. Wake-up 후 재개: 운영체제가 다시 깨어나자마자 제어 애플리케이션은 RequestToLeaveSuspendMode()을 통해 정규 작업의 재개를 시작합니다([SWS_SM_81111]). 허브는 콜백 함수를 통해 모든 활성 위성에 Suspend 모드를 종료하도록 요청합니다([SWS_SM_00703], [SWS_SM_00711]). 반환된 Future는 모든 위성이 긍정적으로 승인하거나 StopOffer를 통해 등록 해제할 때 성공적으로 완료됩니다([SWS_SM_00707], [SWS_SM_81111]).
S2RHub를 통한 Suspend-to-RAM 조정 절차SMControlAppS2RHubS2RSatelliteOSUse Case: 1. Vorbereitung Suspend-to-RAMRequestToEnterSuspendMode(timeout)EnterSuspendMode()Quittierung (Erfolg / kRejected)Future<void> 완료됨Use Case: 2. 시스템 일시 중단(Suspend) 트리거EnterSuspendToRamOs()Trigger OS Suspend시스템이 웨이크업될 때까지 Suspend-to-RAM 상태에 머무름Use Case: 3. 웨이크업 후 재개RequestToLeaveSuspendMode(timeout)LeaveSuspendMode()Quittierung (Erfolg / kRejected)Future<void> 완료됨

시퀀스 다이어그램: Suspend 준비, OS Suspend 실행 및 후속 재활성화를 위한 전형적인 호출 순서. 출처: [SWS_SM_00701], [SWS_SM_00702], [SWS_SM_00703], [SWS_SM_00707], [SWS_SM_81110], [SWS_SM_81111], [SWS_SM_81112].

오류 시나리오

오류 조건은 S2RHub에서 단계에 따라 아키텍처 위반(Violations)을 통해 전달되거나 ara::core::Future 내의 오류 코드를 통해 신호됩니다:

  • 생성 오류 및 Violations: 호출 프로세스의 권한 검사가 실패하면 위반 InsufficientPermissionsViolation 및 보안 이벤트 SEV_ACCESS_CONTROL_SM_IAM_ACCESS_DENIED이 트리거됩니다([SWS_SM_00706], [SWS_SM_81103]). 정의된 추가 위반 사항에는 InstanceSpecifierMappingIntegrityViolation(유효하지 않은 모델 식별자), PortInterfaceMappingViolation(호환되지 않는 인터페이스 유형), ProcessMappingViolation(누락된 프로세스 할당), InstanceSpecifierAlreadyInUseViolation(동일 프로세스 내 중복 사용) 및 AraNotInitializedViolation(Adaptive Platform의 초기화 누락)이 포함됩니다([SWS_SM_81103]).
  • Suspend 상태 진입 시 오류: 하위 계층에서 통신이 실패하면 RequestToEnterSuspendMode()의 Future가 SmErrc::kCommunicationFailed과 함께 실패합니다([SWS_SM_81110]). 구성 가능한 시간 창(기본값: 1000 ms) 내에 하나 이상의 위성이 응답하지 않으면 SmErrc::kCommunicationTimeout이 발생합니다([SWS_SM_81110]). 두 오류 모두 롤백 시맨틱을 가집니다. 하나 이상의 위성이 전환 거부를 보고하면 Future는 롤백 시맨틱 없이 오류 SmErrc::kAtLeastOneRejected를 반환합니다([SWS_SM_81110]).
  • Suspend 상태 종료 시 오류: 마찬가지로 RequestToLeaveSuspendMode()에서 통신 문제 또는 타임아웃이 발생하면 각각 SmErrc::kCommunicationFailed 또는 SmErrc::kCommunicationTimeout가 발생합니다([SWS_SM_00707], [SWS_SM_81111]). 위성이 kRejected로 응답하면 Future는 오류 코드 SmErrc::kAtLeastOneHadIssuesToLeave을 보고합니다([SWS_SM_00707], [SWS_SM_81111]).
  • 거부된 위성 등록: 프로세스 컨텍스트가 모델 구성과 일치하지 않는 경우 위성의 등록 시도가 허브에 의해 거부됩니다([SWS_SM_00715]).

이 가이드는 AUTOSAR Adaptive Platform Release R25-11의 사양을 기반으로 하며 S2RHub 클래스에 대한 요구사항을 요약합니다.

멤버 맵

클래스 다이어그램

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

G nara__sm__s2r__S2RHub106 S2RHub + S2RHub() + operator=() + ~S2RHub() + EnterSuspendToRamOs() + RequestToEnterSuspendMode() + RequestToLeaveSuspendMode()

상세 보기

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

생성자 및 소멸자

S2RHub 함수 3

Creation of an S2RHub.

오버로드 S2RHub 3
explicit S2RHub (const ara::core::InstanceSpecifier &instance) noexcept; SWS_SM_81103
S2RHub (S2RHub &&ra) noexcept; SWS_SM_81106
S2RHub (const S2RHub &)=delete; SWS_SM_81107
~S2RHub 함수

Destructor for S2RHub.

virtual ~S2RHub () noexcept;

메서드

Function to trigger OS to enter Suspend To RAM.

void EnterSuspendToRamOs () noexcept;

Function to Request all S2R Satellite to enter suspend state.

ara::core::Future< void > RequestToEnterSuspendMode (int timeout=1000) noexcept;

Function to request all registered S2R Satellite to leave suspend state.

ara::core::Future< void > RequestToLeaveSuspendMode (int timeout=1000) noexcept; DIRECTION NOT timeout -- DEFINED

연산자

operator= 함수 2

Move assignment operator for S2RHub.

오버로드 = 2
S2RHub & operator= (S2RHub &&ra) noexcept; SWS_SM_81108
S2RHub & operator= (const S2RHub &)=delete; SWS_SM_81109

메서드 문서

함수 EnterSuspendToRamOs [SWS_SM_81112] Upstream: RS_SM_00402

void EnterSuspendToRamOs () noexcept;

Function to trigger OS to enter Suspend To RAM.

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

ara::sm::s2r::S2RHub 클래스의 멤버 함수 EnterSuspendToRamOs은(는) 운영체제에 Suspend-to-RAM(S2R) 상태를 시작하도록 지시하는 역할을 합니다([SWS_SM_81112]; AUTOSAR_AP_SWS_StateManagement §7.7 “ActionListItems”).

이 메서드는 시그니처 void EnterSuspendToRamOs() noexcept;을(를) 가지며, 파라미터를 받지 않고 반환값을 제공하지 않습니다([SWS_SM_81112]). 일반적으로 사용자 애플리케이션에서 직접 호출되지 않고, ActionList 내에서 해당 동작 요소 EnterSuspendToRamOs이(가) 트리거되는 즉시 State Management에 의해 실행됩니다([SWS_SM_00692]). 이를 위한 전제 조건은 사전에 생성된 ara::sm::s2r::S2RHub 인스턴스입니다([SWS_SM_00690]).

동시성 및 제약 조건과 관련하여 다음 사항이 적용됩니다:

  • 스레드 안전성: 이 함수는 스레드 안전하지 않음(not-threadsafe)(으)로 명시적으로 분류되어 있습니다([SWS_SM_81112]). 동일한 인스턴스에 대한 동시 호출은 피해야 합니다.
  • 오류 처리: 이 작업은 noexcept 및 exception safe(으)로 명시되어 있으며([SWS_SM_81112]), 오류 코드를 반환하거나 예외를 발생시키지 않습니다.
  • 순서 및 실행 컨텍스트: ActionLists 내에서 동작 요소는 구성된 순서에 따라 순차적으로 시작됩니다([SWS_SM_00609]). EnterSuspendToRamOs을(를) 통한 운영체제 중단 이전에 선행 동작(예: EnterSuspendToRam)이 S2R 지원 애플리케이션을 대기 모드로 전환합니다(AUTOSAR_AP_SWS_StateManagement §7.7 “Trigger EnterSuspendState”). 컨트롤러의 동일한 Suspend 상태 내에서 EnterSuspendToRamOs의 다중 발생은 예정되어 있지 않은데, 이는 반복이 기능적 이점을 제공하지 않고 충돌을 유발할 수 있기 때문입니다(AUTOSAR_AP_SWS_StateManagement §7.7 “Trigger EnterSuspendState”).

이 텍스트는 AI에 의해 작성되었으며 릴리스 R25-11의 사양만을 기반으로 합니다.

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

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_SM_81112
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81112@rel:R25-11#580f9e92
Content hash
580f9e92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81112
Status: valid/unmigrated Version: rel:R25-11#f5258b13 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_81112@rel:R25-11#f5258b13
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

함수 RequestToEnterSuspendMode [SWS_SM_81110] Upstream: RS_SM_00402

ara::core::Future< void > RequestToEnterSuspendMode (int timeout=1000) noexcept;

Function to Request all S2R Satellite to enter suspend state.

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

"ara::sm::s2r::S2RHub 클래스의 RequestToEnterSuspendMode 함수는 활성 등록된 모든 세틀라이트에게 서스펜드 모드로 전환하도록 요청합니다 [SWS_SM_81110]. State Management에서 실행은 일반적으로 EnterSuspendToRam ActionListItem에 의해 트리거되며, 이때 구성 maxActionItemDuration이(가) timeout 매개변수의 값으로 전달됩니다 [SWS_SM_00689]."

"사용법 및 시맨틱: 호출 후 허브는 등록된 모든 S2R Satellite 인스턴스에 메시지를 전송하여 해당 인스턴스의 콜백 ara::sm::s2r::S2RSatellite::EnterSuspendMode을(를) 트리거합니다 [SWS_SM_00701]. 함수는 밀리초 단위의 정수 매개변수 timeout(기본값: 1000 ms)을(를) 허용하고 ara::core::Future<void>을(를) 반환합니다 [SWS_SM_81110]. 작업은 지정된 모든 세틀라이트가 응답했거나 등록 취소되었거나 타임아웃이 발생하면 즉시 반환됩니다 [SWS_SM_00702]. StopOffer을(를) 통한 등록 취소는 성공적인 응답으로 간주됩니다 [SWS_SM_00702]."

"오류 처리: 모든 세틀라이트가 동의하거나 등록을 취소하면 전체 결과는 성공적입니다 [SWS_SM_00702]. 하위 계층에서 통신이 실패하면 롤백 시맨틱과 함께 SmErrc::kCommunicationFailed 오류가 반환됩니다 [SWS_SM_00702] [SWS_SM_81110]. 최소 하나의 세틀라이트가 제때 응답하지 않으면 롤백 시맨틱과 함께 SmErrc::kCommunicationTimeout 오류가 발생합니다 [SWS_SM_00702] [SWS_SM_81110]. 세틀라이트가 kRejected(으)로 응답하면 함수는 롤백 시맨틱 없이 SmErrc::kAtLeastOneRejected을(를) 반환합니다 [SWS_SM_00702] [SWS_SM_81110]."

"동시성: 메서드는 noexcept(으)로 선언되어 있으며 예외 안전(exception safe)하지만, 스레드 안전하지는 않습니다(not-threadsafe) [SWS_SM_81110]."

이 사용 지침은 AUTOSAR R25-11 사양을 바탕으로 자동 생성되었습니다.

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

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

Parameter (in)

ParameterBeschreibung
timeoutTimeout value in ms until the S2R Satellite have to respond.

Rückgabewert

TypBeschreibung
ara::core::Future< void >HubResult if it is successful

Fehler

FehlercodeBeschreibung
SmErrc::kCommunicationFailedrollback_semantics Communication to satellites failed on lower layers.
SmErrc::kCommunicationTimeoutrollback_semantics Timeout of communication with satellites.
SmErrc::kAtLeastOneRejectedno_rollback_semantics Some S2RSatellites entered suspend state, but not all.

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

Record
AUTOSAR/AP/record/SWS_SM_81110
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81110@rel:R25-11#8e6447f7
Content hash
8e6447f7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81110
Status: valid/unmigrated Version: rel:R25-11#a95d412c 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_81110@rel:R25-11#a95d412c
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

함수 RequestToLeaveSuspendMode [SWS_SM_81111] Upstream: RS_SM_00402

ara::core::Future< void > RequestToLeaveSuspendMode (int timeout=1000) noexcept; DIRECTION NOT             timeout                        -- DEFINED

Function to request all registered S2R Satellite to leave suspend state.

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

ara::sm::s2r::S2RHub 클래스의 RequestToLeaveSuspendMode 메서드는 Suspend-to-RAM 상태 이후 애플리케이션의 웨이크업을 조정합니다. [SWS_SM_00703]에 따라 이 함수는 적극적으로 등록된 모든 S2R Satellite 인스턴스에 메시지를 전송하여 그곳에서 LeaveSuspendMode을(를) 호출하도록 합니다. State Management에서는 ActionListItem LeaveSuspendToRam이(가) 트리거될 때 이 호출이 자동으로 실행됩니다([SWS_SM_00691]).

파라미터 timeout(기본값 1000)을 통해 위성 응답에 대한 모니터링 지속 시간이 정의됩니다([SWS_SM_81111]). 이 함수는 주소 지정된 모든 위성이 응답했거나, 등록 해제되었거나, 타임아웃에 도달하는 즉시 준비되는 ara::core::Future<void>을(를) 반환합니다([SWS_SM_00707]). 모든 위성이 긍정적으로 확인하거나 StopOffer을(를) 통해 정상적으로 등록 해제되면 전체 결과는 성공한 것으로 간주됩니다.

오류 처리

실행 중 오류가 발생하는 경우 Future는 SmErrc의 해당 오류 코드를 제공합니다([SWS_SM_81111]):

  • SmErrc::kCommunicationTimeout: 하나 이상의 위성이 타임아웃 내에 제때 응답하지 않았습니다([SWS_SM_00707]).
  • SmErrc::kCommunicationFailed: 하위 통신 계층에서 내부 전송 오류가 발생했습니다([SWS_SM_00707]).
  • SmErrc::kAtLeastOneHadIssuesToLeave: 하나 이상의 위성이 kRejected(으)로 요청에 부정적인 응답을 반환했습니다([SWS_SM_00707]).

동시성 및 제약사항

이 인터페이스는 noexcept(exception safe)로 명시되어 있으나 not-threadsafe(으)로 분류되어 있습니다([SWS_SM_81111]). 설계 제약 사항 [SWS_SM_CONSTR_00035]에 따라 트리거하는 ActionListItem LeaveSuspendToRam은(는) Suspend 상태에 할당되어서는 안 되며, Suspend-to-RAM 모드의 종료를 제어하는 컨트롤러 상태 전용으로 제공됩니다(SWS StateManagement §7.7 “ActionListItem”).

이 사용 지침은 AUTOSAR R25-11의 명세를 바탕으로 자동 생성되었습니다.

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

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

Rückgabewert

TypBeschreibung
ara::core::Future< void >HubResult if it is successful

Fehler

FehlercodeBeschreibung
SmErrc::kCommunicationFailedrollback_semantics Communication to satellites failed on lower layers.
SmErrc::kCommunicationTimeoutrollback_semantics Timeout of communication with satellites.
SmErrc::kAtLeastOneHadIssuesToLeaveno_rollback_semantics Some S2RSatellites left suspend state, but not all.

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

Record
AUTOSAR/AP/record/SWS_SM_81111
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81111@rel:R25-11#832123dc
Content hash
832123dc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81111
Status: valid/unmigrated Version: rel:R25-11#0fea1ae0 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_81111@rel:R25-11#0fea1ae0
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

함수 S2RHub [SWS_SM_81103] Upstream: RS_SM_00402

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

Creation of an S2RHub.

Header-Datei#include "ara/sm/s2r/S2RHub.h"
Scopeclass ara::sm::s2r::S2RHub
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InsufficientPer- Sent in case the caller had insufficient permissions for the missionsViolation requested operation. 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 SM...

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

Record
AUTOSAR/AP/record/SWS_SM_81103
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81103@rel:R25-11#1c12c1ff
Content hash
1c12c1ff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81103
Status: valid/unmigrated Version: rel:R25-11#580d6134 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_81103@rel:R25-11#580d6134
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

함수 S2RHub [SWS_SM_81106] Upstream: RS_SM_00402

S2RHub (S2RHub &&ra) noexcept;

Move constructor for S2RHub.

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

Parameter (in)

ParameterBeschreibung
raThe S2RHub object to be moved.

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

Record
AUTOSAR/AP/record/SWS_SM_81106
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81106@rel:R25-11#7b56d818
Content hash
7b56d818
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81106
Status: valid/unmigrated Version: rel:R25-11#b2e022fb 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_81106@rel:R25-11#b2e022fb
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

함수 S2RHub [SWS_SM_81107] Upstream: RS_SM_00402

S2RHub (const S2RHub &)=delete;

The copy constructor for S2RHub shall not be used.

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

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

Record
AUTOSAR/AP/record/SWS_SM_81107
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81107@rel:R25-11#6a183743
Content hash
6a183743
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81107
Status: valid/unmigrated Version: rel:R25-11#d61e32be 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_81107@rel:R25-11#d61e32be
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_81108] Upstream: RS_SM_00402

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

Move assignment operator for S2RHub.

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

Parameter (in)

ParameterBeschreibung
raThe S2RHub object to be moved.

Rückgabewert

TypBeschreibung
S2RHub &The moved S2RHub object.

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

Record
AUTOSAR/AP/record/SWS_SM_81108
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81108@rel:R25-11#87dfd524
Content hash
87dfd524
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81108
Status: valid/unmigrated Version: rel:R25-11#19a3143b 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_81108@rel:R25-11#19a3143b
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_81109] Upstream: RS_SM_00402

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

The copy assignment operator for S2RHub shall not be used.

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

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

Record
AUTOSAR/AP/record/SWS_SM_81109
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81109@rel:R25-11#7fe473b1
Content hash
7fe473b1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81109
Status: valid/unmigrated Version: rel:R25-11#31bf048d 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_81109@rel:R25-11#31bf048d
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

함수 ~S2RHub [SWS_SM_81105] Upstream: RS_SM_00402

virtual ~S2RHub () noexcept;

Destructor for S2RHub.

Header-Datei#include "ara/sm/s2r/S2RHub.h"
Scopeclass ara::sm::s2r::S2RHub
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_81105
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_81105@rel:R25-11#207ba419
Content hash
207ba419
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_81105
Status: valid/unmigrated Version: rel:R25-11#1cba2a19 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_81105@rel:R25-11#1cba2a19
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