DEENESPTFRRUARHIKOZHNL

클래스 ara::core::Promise< void, E >

[SWS_CORE_06340] Upstream: RS_AP_00130

template <typename E> class Promise< void, E > final {...};

Specialization of class Promise for void values The implementation shall flag the condition E != *ara::core::ErrorCode as a compile error.

Header-Datei#include "ara/core/future.h"
Forwarding-Header#include "ara/core/core_fwd.h"
Scopenamespace ara::core

사용자 가이드AI 생성

연결된 Future 객체에 void 결과 또는 오류를 비동기적으로 제공할 수 있도록 합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 5c77833bef95 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

연결된 Future 객체에 void 결과 또는 오류를 비동기적으로 제공할 수 있도록 합니다.

특수화 ara::core::Promise< void, E >은 반환값이 없는 작업의 완료를 신호하거나 오류([SWS_CORE_06341])를 전송하기 위한 비동기 생산자 엔드포인트 역할을 합니다. 인스턴스화 후에는 get_future()를 통해 소비자를 위한 관련 Future을 정확히 한 번 가져옵니다([SWS_CORE_06344]). 제공은 set_value(), SetError() 또는 SetResult()을 통해 스레드 안전하게 수행되며, 이를 통해 공유 상태가 준비됨(ready)으로 표시됩니다. 클래스가 순수 이동 시맨틱을 가지므로, 여러 번 설정하거나 공유 상태가 누락되면 명시된 위반이 발생합니다.

컨텍스트

클래스 ara::core::Promise< void, E >은 페이로드 값이 없는 비동기 흐름(반환 타입 void)을 위한 템플릿 특수화를 나타냅니다. 이는 통신 채널의 생산자(Producer) 측을 형성하며 비동기 계산 또는 작업을 소비자(Consumer) 측과 동기화합니다. 공유된 내부 상태(Shared State)를 통해 작업의 성공적인 실행 또는 E 타입 오류의 발생을 신호할 수 있습니다. 상응하는 수신자 객체는 ara::core::Future< void, E >의 형태로 제공됩니다([SWS_CORE_06344]). AUTOSAR Adaptive Platform의 요구사항에 따라 구현 시 오류 타입 E이 ara::core::ErrorCode과 호환되어야 하며, 불일치가 있을 경우 컴파일 오류가 발생합니다.

수명 주기

인스턴스 생성은 매개변수가 없는 기본 생성자 [SWS_CORE_06341]을 통해 이루어지며, 이는 새로운 공유 상태를 생성하고 C++ 표준 함수 std::promise과 유사하게 동작합니다. 이 클래스는 독점 소유권을 모델링하고 엄격한 이동 시맨틱을 구현합니다. 복사 생성자([SWS_CORE_06350])와 복사 할당 연산자([SWS_CORE_06351])는 모두 삭제되었습니다(delete).

기존 상태는 이동 생성자([SWS_CORE_06342]) 또는 이동 할당 연산자([SWS_CORE_06343])를 통해 다른 인스턴스로 전송할 수 있습니다. 이동 할당 시에는 그때까지 유지되던 Shared State가 해제되고 Promise(std::move(other)).swap(*this)를 통한 것처럼 상태가 전송됩니다([SWS_CORE_06343]). 또한 함수 swap([SWS_CORE_06352])를 통해 두 상태를 직접 교환할 수 있습니다.

소멸자 [SWS_CORE_06349]은 아직 유지되고 있는 Shared State가 있다면 이를 해제합니다. 해석: 아직 충족되지 않은 Promise가 소멸될 때 Shared State를 조기에 포기하면 연결된 Future에서 고아 상태가 발생할 가능성이 높습니다. 질문 Q-e89b32fa3e5994e2 (열림) 동시성과 관련하여 기본 생성([SWS_CORE_06341]) 및 결과 설정([SWS_CORE_06345], [SWS_CORE_06353], [SWS_CORE_06354], [SWS_CORE_06355], [SWS_CORE_06356])은 스레드 안전합니다. 반면 이동 작업, swap, Future 가져오기([SWS_CORE_06344]) 및 소멸은 스레드 안전하지 않으므로 공유 접근 시 외부 조정이 필요합니다.

사용 경로

ara::core::Promise< void, E >의 일반적인 사용법에는 비동기 실행 준비, 수신 채널 전달 및 후속 결과 보고가 포함됩니다.

  1. 초기화: 생산자가 Promise 객체([SWS_CORE_06341])를 인스턴스화합니다.
  2. Future 가져오기: get_future()을 통해 연결된 ara::core::Future< void, E >이 정확히 한 번 생성되어([SWS_CORE_06344]) 소비자 측으로 전달됩니다.
  3. 결과 설정: 비동기 작업이 완료된 후 생산자는 공유 상태를 준비 상태(ready)로 전환합니다:
  4. 해소: 상태가 준비되면 소비자는 Future를 통해 결과를 소비할 수 있으며, Promise 객체는 해당 유효 범위의 끝에서 해제됩니다([SWS_CORE_06349]).
Promise<void, E>를 사용한 동기화의 일반적인 흐름ErzeugerPromiseKonsumentPromise()get_future()Future<void, E>Future 전달Use Case: Asynchrone VerarbeitungaltErfolgreicher Abschlussset_value()FehlerfallSetError(error) 또는 SetResult(res)공유 상태가 준비됨(ready)Future를 통해 상태 조회~Promise()

시퀀스 다이어그램: 생성부터 결과 제공까지의 비동기 동기화의 일반적인 흐름. 출처: [SWS_CORE_06341], [SWS_CORE_06344], [SWS_CORE_06345], [SWS_CORE_06349]

오류 시나리오

사전 조건 위반 시 정의된 오류 상황(Violations)이 발생합니다:

예외 안전성과 관련하여 메서드 SetError 및 SetResult은 조건부 예외 안전성(conditionally exception safe)을 가집니다: 즉, 타입 E이 nothrow-move 생성 가능 또는 nothrow-copy 생성 가능으로 분류된 경우에만 noexcept를 보장합니다([SWS_CORE_06353], [SWS_CORE_06354], [SWS_CORE_06355], [SWS_CORE_06356]).

이 클래스 가이드는 AUTOSAR Adaptive Platform R25-11 사양을 기반으로 하며 자동 생성되었습니다.

멤버 맵

생성자 및 소멸자

2

연산자

1

클래스 다이어그램

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

G nara__core__Promise__void__E__714 Promise< void, E > + Promise() + operator=() + ~Promise() + SetError() + SetResult() + get_future() + set_value() + swap()

상세 보기

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

생성자 및 소멸자

Promise 함수 3

Default constructor This function shall behave the same as the corresponding std::promise function. ≙ std::promise

오버로드 Promise 3
Promise () noexcept; SWS_CORE_06341
Promise (Promise &&other) noexcept; SWS_CORE_06342
Promise (const Promise &)=delete; SWS_CORE_06350
~Promise 함수

Destructor for Promise objects Abandons any shared state.

~Promise () noexcept;

메서드

get_future 함수

Return an associated Future with the same shared state as *this The returned Future is set as soon as this Promise receives the result, value, or an error. This fuction must only be called once as it is not allowed to have multiple Futures per Promise.

Future< void, E > get_future () noexcept;
set_value 함수

Set the shared state value and make the shared state ready.

void set_value () noexcept;
SetError 함수 2

Move an error into the shared state and make the shared state ready.

오버로드 SetError 2
void SetError (E &&error) noexcept(std::is_nothrow_move_constructible< E >::value); SWS_CORE_06353
void SetError (const E &error) noexcept(std::is_nothrow_copy_ constructible< E >::value); SWS_CORE_06354
SetResult 함수 2

Copy a Result into the shared state and make the shared state ready.

오버로드 SetResult 2
void SetResult (const Result< void, E > &result) noexcept(std::is_ nothrow_copy_constructible< E >::value); SWS_CORE_06355
void SetResult (Result< void, E > &&result) noexcept(std::is_nothrow_ move_constructible< E >::value); SWS_CORE_06356
swap 함수

Swap the contents of this instance with another one’s. This function shall behave the same as the corresponding std::promise function. ≙ std::promise

void swap (Promise &other) noexcept;

연산자

operator= 함수 2

Move assignment Abandons any shared state and then as if Promise(std::move(other)).swap(*this). ≙ std::move

오버로드 = 2
Promise & operator= (Promise &&other) noexcept; SWS_CORE_06343
Promise & operator= (const Promise &)=delete; SWS_CORE_06351

메서드 문서

함수 SetError [SWS_CORE_06353] Upstream: RS_AP_00130

void SetError (E &&error) noexcept(std::is_nothrow_move_constructible< E >::value);

Move an error into the shared state and make the shared state ready.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdFutureEr- If the shared state already has a stored value or error. rcPromiseAl- readySatisfiedVio- lation PromiseNoShared- If *this has no shared state. StateToSetViola- tion

Parameter (in)

ParameterBeschreibung
errorthe error to store

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_06353
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06353@rel:R25-11#07d55571
Content hash
07d55571
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06353
Status: valid/unmigrated Version: rel:R25-11#2f9d7e66 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_CORE_06353@rel:R25-11#2f9d7e66
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c1acd7052026-09-30
  • R19-11rel:R19-11#d02dc4682026-10-14
  • R20-11rel:R20-11#21198bb82026-10-14
  • R21-11rel:R21-11#e83c316a2026-10-14
  • R22-11rel:R22-11#5a5e04422026-10-14
  • R23-11rel:R23-11#918aad8b2026-10-14
  • R24-11rel:R24-11#db070e122026-10-14
  • R25-11rel:R25-11#2f9d7e662026-10-14 active
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

함수 SetError [SWS_CORE_06354] Upstream: RS_AP_00130

void SetError (const E &error) noexcept(std::is_nothrow_copy_ constructible< E >::value);

Copy an error into the shared state and make the shared state ready.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdFutureEr- If the shared state already has a stored value or error. rcPromiseAl- readySatisfiedVio- lation PromiseNoShared- If *this has no shared state. StateToSetViola- tion

Parameter (in)

ParameterBeschreibung
errorthe error to store

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_06354
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06354@rel:R25-11#8d5a3038
Content hash
8d5a3038
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06354
Status: valid/unmigrated Version: rel:R25-11#c5a41cff 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_CORE_06354@rel:R25-11#c5a41cff
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ba6c26152026-09-30
  • R19-11rel:R19-11#bb2f8ee32026-10-14
  • R20-11rel:R20-11#672901f42026-10-14
  • R21-11rel:R21-11#672901f42026-10-14
  • R22-11rel:R22-11#f2ccaa572026-10-14
  • R23-11rel:R23-11#0bce5bd22026-10-14
  • R24-11rel:R24-11#2de8cbc22026-10-14
  • R25-11rel:R25-11#c5a41cff2026-10-14 active
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

함수 SetResult [SWS_CORE_06355] Upstream: RS_AP_00130

void SetResult (const Result< void, E > &result) noexcept(std::is_ nothrow_copy_constructible< E >::value);

Copy a Result into the shared state and make the shared state ready.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdFutureEr- If the shared state already has a stored value or error. rcPromiseAl- readySatisfiedVio- lation PromiseNoShared- If *this has no shared state. StateToSetViola- tion

Parameter (in)

ParameterBeschreibung
resultthe result to store

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_06355
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06355@rel:R25-11#0a595ee4
Content hash
0a595ee4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06355
Status: valid/unmigrated Version: rel:R25-11#102c007d Versionshistorie & Revisions (1 transition, 7 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_CORE_06355@rel:R25-11#102c007d
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#037db7362026-09-30
  • R20-11rel:R20-11#cca3bc1b2026-10-14
  • R21-11rel:R21-11#cca3bc1b2026-10-14
  • R22-11rel:R22-11#bbc730c62026-10-14
  • R23-11rel:R23-11#43b78cdb2026-10-14
  • R24-11rel:R24-11#f822e3942026-10-14
  • R25-11rel:R25-11#102c007d2026-10-14 active
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

함수 SetResult [SWS_CORE_06356] Upstream: RS_AP_00130

void SetResult (Result< void, E > &&result) noexcept(std::is_nothrow_ move_constructible< E >::value);

Move a Result into the shared state and make the shared state ready.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitconditionally exception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdFutureEr- If the shared state already has a stored value or error. rcPromiseAl- readySatisfiedVio- lation PromiseNoShared- If *this has no shared state. StateToSetViola- tion

Parameter (in)

ParameterBeschreibung
resultthe result to store

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_06356
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06356@rel:R25-11#efe8291d
Content hash
efe8291d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06356
Status: valid/unmigrated Version: rel:R25-11#b774f257 Versionshistorie & Revisions (1 transition, 7 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_CORE_06356@rel:R25-11#b774f257
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7d9463062026-09-30
  • R20-11rel:R20-11#a78d4dc72026-10-14
  • R21-11rel:R21-11#58872cf02026-10-14
  • R22-11rel:R22-11#4ac215012026-10-14
  • R23-11rel:R23-11#6ee718ab2026-10-14
  • R24-11rel:R24-11#b39910a12026-10-14
  • R25-11rel:R25-11#b774f2572026-10-14 active
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_CORE_06343] Upstream: RS_AP_00130

Promise & operator= (Promise &&other) noexcept;

Move assignment Abandons any shared state and then as if Promise(std::move(other)).swap(*this).

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
Promise &*this

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

Record
AUTOSAR/AP/record/SWS_CORE_06343
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06343@rel:R25-11#981e8a98
Content hash
981e8a98
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06343
Status: valid/unmigrated Version: rel:R25-11#5255319a 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_CORE_06343@rel:R25-11#5255319a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5cab39502026-09-30
  • R19-11rel:R19-11#1bf26ed12026-10-14
  • R20-11rel:R20-11#48b86cf42026-10-14
  • R21-11rel:R21-11#48b86cf42026-10-14
  • R22-11rel:R22-11#f3f4a3782026-10-14
  • R23-11rel:R23-11#f7c7a3162026-10-14
  • R24-11rel:R24-11#75f665232026-10-14
  • R25-11rel:R25-11#5255319a2026-10-14 active
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_CORE_06351] Upstream: RS_AP_00130

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

Copy assignment operator shall be disabled.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >

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

Record
AUTOSAR/AP/record/SWS_CORE_06351
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06351@rel:R25-11#be7d3f57
Content hash
be7d3f57
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06351
Status: valid/unmigrated Version: rel:R25-11#da528bfc 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_CORE_06351@rel:R25-11#da528bfc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a520155e2026-09-30
  • R19-11rel:R19-11#5368d78a2026-10-14
  • R20-11rel:R20-11#f52129842026-10-14
  • R21-11rel:R21-11#f52129842026-10-14
  • R22-11rel:R22-11#98fef6192026-10-14
  • R23-11rel:R23-11#42352c6e2026-10-14
  • R24-11rel:R24-11#da528bfc2026-10-14
  • R25-11rel:R25-11#da528bfc2026-10-14 active
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

함수 Promise [SWS_CORE_06341] Upstream: RS_AP_00130

Promise () noexcept;

Default constructor This function shall behave the same as the corresponding std::promise function.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

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

Record
AUTOSAR/AP/record/SWS_CORE_06341
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06341@rel:R25-11#730b6812
Content hash
730b6812
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06341
Status: valid/unmigrated Version: rel:R25-11#878bdc11 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_CORE_06341@rel:R25-11#878bdc11
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#84c0020a2026-09-30
  • R19-11rel:R19-11#f91d69792026-10-14
  • R20-11rel:R20-11#4be142f22026-10-14
  • R21-11rel:R21-11#4be142f22026-10-14
  • R22-11rel:R22-11#0bcdcb452026-10-14
  • R23-11rel:R23-11#ac0b53742026-10-14
  • R24-11rel:R24-11#49e7ea6a2026-10-14
  • R25-11rel:R25-11#878bdc112026-10-14 active
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

함수 Promise [SWS_CORE_06342] Upstream: RS_AP_00130

Promise (Promise &&other) noexcept;

Move constructor This function shall behave the same as the corresponding std::promise function.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
otherthe other instance

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

Record
AUTOSAR/AP/record/SWS_CORE_06342
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06342@rel:R25-11#cb238baa
Content hash
cb238baa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06342
Status: valid/unmigrated Version: rel:R25-11#20cd8f65 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_CORE_06342@rel:R25-11#20cd8f65
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1ed484852026-09-30
  • R19-11rel:R19-11#b97a94832026-10-14
  • R20-11rel:R20-11#0596cb3d2026-10-14
  • R21-11rel:R21-11#0596cb3d2026-10-14
  • R22-11rel:R22-11#a2237bb72026-10-14
  • R23-11rel:R23-11#c68724922026-10-14
  • R24-11rel:R24-11#7b610fd62026-10-14
  • R25-11rel:R25-11#20cd8f652026-10-14 active
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

함수 Promise [SWS_CORE_06350] Upstream: RS_AP_00130

Promise (const Promise &)=delete;

Copy constructor shall be disabled.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >

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

Record
AUTOSAR/AP/record/SWS_CORE_06350
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06350@rel:R25-11#e5d7620e
Content hash
e5d7620e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06350
Status: valid/unmigrated Version: rel:R25-11#7082329f 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_CORE_06350@rel:R25-11#7082329f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0d3116c52026-09-30
  • R19-11rel:R19-11#2fe4c5172026-10-14
  • R20-11rel:R20-11#7108e8d22026-10-14
  • R21-11rel:R21-11#19c7640a2026-10-14
  • R22-11rel:R22-11#c54e1c692026-10-14
  • R23-11rel:R23-11#0dcb8fcb2026-10-14
  • R24-11rel:R24-11#7082329f2026-10-14
  • R25-11rel:R25-11#7082329f2026-10-14 active
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

함수 get_future [SWS_CORE_06344] Upstream: RS_AP_00130

Future< void, E > get_future () noexcept;

Return an associated Future with the same shared state as *this The returned Future is set as soon as this Promise receives the result, value, or an error. This fuction must only be called once as it is not allowed to have multiple Futures per Promise.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Verletzungen (Violations)IsoStdFutureErrc- If the function is called more than once on the same shared FutureAlreadyRe- state. trievedViolation IsoStdFutureErrc- If *this has no shared state. NoStateViolation

Rückgabewert

TypBeschreibung
Future< void, E >a Future with the same shared state as *this

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_CORE_06344
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06344@rel:R25-11#9359bd64
Content hash
9359bd64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06344
Status: valid/unmigrated Version: rel:R25-11#93e02dbc 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_CORE_06344@rel:R25-11#93e02dbc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5bce60962026-09-30
  • R19-11rel:R19-11#912235632026-10-14
  • R20-11rel:R20-11#da5539322026-10-14
  • R21-11rel:R21-11#da5539322026-10-14
  • R22-11rel:R22-11#7b23ef9e2026-10-14
  • R23-11rel:R23-11#735996a12026-10-14
  • R24-11rel:R24-11#4b281ba02026-10-14
  • R25-11rel:R25-11#93e02dbc2026-10-14 active
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

함수 set_value [SWS_CORE_06345] Upstream: RS_AP_00130

void set_value () noexcept;

Set the shared state value and make the shared state ready.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)IsoStdFutureEr- If the shared state already has a stored value or error. rcPromiseAl- readySatisfiedVio- lation PromiseNoShared- If *this has no shared state. StateToSetViola- tion

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_06345
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06345@rel:R25-11#5878f411
Content hash
5878f411
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06345
Status: valid/unmigrated Version: rel:R25-11#3b3c5766 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_CORE_06345@rel:R25-11#3b3c5766
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#134575262026-09-30
  • R19-11rel:R19-11#af0eb6242026-10-14
  • R20-11rel:R20-11#44ec71e02026-10-14
  • R21-11rel:R21-11#44ec71e02026-10-14
  • R22-11rel:R22-11#dee86f272026-10-14
  • R23-11rel:R23-11#f7220ae52026-10-14
  • R24-11rel:R24-11#8ea561a92026-10-14
  • R25-11rel:R25-11#3b3c57662026-10-14 active
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

함수 swap [SWS_CORE_06352] Upstream: RS_AP_00130

void swap (Promise &other) noexcept;

Swap the contents of this instance with another one’s. This function shall behave the same as the corresponding std::promise function.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in/out)

ParameterBeschreibung
otherthe other instance

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CORE_06352
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06352@rel:R25-11#3f4d5dd8
Content hash
3f4d5dd8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06352
Status: valid/unmigrated Version: rel:R25-11#41dc8796 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_CORE_06352@rel:R25-11#41dc8796
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b6b9b8d62026-09-30
  • R19-11rel:R19-11#4b8965fa2026-10-14
  • R20-11rel:R20-11#a9c4f5f72026-10-14
  • R21-11rel:R21-11#009b8cf12026-10-14
  • R22-11rel:R22-11#c398209e2026-10-14
  • R23-11rel:R23-11#102574fc2026-10-14
  • R24-11rel:R24-11#7f8dd43a2026-10-14
  • R25-11rel:R25-11#41dc87962026-10-14 active
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

함수 ~Promise [SWS_CORE_06349] Upstream: RS_AP_00130

~Promise () noexcept;

Destructor for Promise objects Abandons any shared state.

Header-Datei#include "ara/core/future.h"
Scopeclass ara::core::Promise< void, E >
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_CORE_06349
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CORE_06349@rel:R25-11#111f8184
Content hash
111f8184
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06349
Status: valid/unmigrated Version: rel:R25-11#4c093b4e 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_CORE_06349@rel:R25-11#4c093b4e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e1659fee2026-09-30
  • R19-11rel:R19-11#b5cebea92026-10-14
  • R20-11rel:R20-11#ccc655c02026-10-14
  • R21-11rel:R21-11#ccc655c02026-10-14
  • R22-11rel:R22-11#5aed9c9a2026-10-14
  • R23-11rel:R23-11#346a26f62026-10-14
  • R24-11rel:R24-11#5ed103312026-10-14
  • R25-11rel:R25-11#4c093b4e2026-10-14 active
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