DEENESPTFRRUARHIKOZHNL

클래스 ara::per::UniqueHandle

[SWS_PER_00359] Upstream: RS_PER_00002, RS_AP_00122, RS_AP_00140

template <typename T> class UniqueHandle final {...};

Handle to a ReadAccessor or ReadWriteAccessor. A UniqueHandle is returned by the functions OpenFileReadOnly(), OpenFileWriteOnly(), and OpenFileReadWrite().

Header-Datei#include "ara/per/unique_handle.h"
Forwarding-Header#include "ara/per/per_fwd.h"
Scopenamespace ara::per

사용자 가이드AI 생성

RAII 시맨틱을 사용하여 파일 접근자 객체에 대한 독점적이고 이동 가능한 접근을 관리합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 7be811cdf7d8 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

RAII 시맨틱을 사용하여 파일 접근자 객체에 대한 독점적이고 이동 가능한 접근을 관리합니다.

클래스 템플릿 ara::per::UniqueHandle은 엄격한 이동 전용(move-only) 시맨틱의 틀 내에서 AUTOSAR Persistency의 파일 접근자 객체에 대한 독점 소유권을 관리합니다. 파일 접근 함수를 통해 획득한 후에는 인스턴스를 사용하기 전에 operator bool()을 통해 유효성을 의무적으로 확인해야 합니다 [SWS_PER_00371]. 비어 있거나 이동된 핸들에서 다른 연산자를 호출하면 정의되지 않은 동작이 발생합니다 [SWS_PER_00399]. 모든 연산은 noexcept으로 선언되어 있으며, 읽기 접근은 스레드 안전하지만 수정 연산은 그렇지 않습니다.

컨텍스트

클래스 템플릿 ara::per::UniqueHandle은 AUTOSAR Adaptive Persistency의 리소스 객체, 즉 ReadAccessor 또는 ReadWriteAccessor에 대한 타입 안전 접근 핸들 역할을 합니다. 이 템플릿은 함수 OpenFileReadOnly(), OpenFileWriteOnly() 및 OpenFileReadWrite()의 반환값으로 제공되며 열린 파일 접근 인터페이스의 독점 소유권을 캡슐화합니다.

수명 주기

이 클래스는 엄격한 이동 전용 시맨틱(Unique Ownership)을 구현합니다. 접근 권한의 실수에 의한 복제나 공유 소유권을 방지하기 위해 복사 생성자 [SWS_PER_00373]와 복사 대입 연산자 [SWS_PER_00374]은 모두 삭제(delete)된 것으로 정의됩니다. 소유권은 이동을 통해서만 이전될 수 있습니다. 이동 생성자 [SWS_PER_00371] 또는 이동 대입 [SWS_PER_00372]을 호출할 때 전달된 소스 객체는 무효화되며 그 이후에는 더 이상 사용할 수 없습니다.

UniqueHandle은 항상 유효한 상태(매개변수화된 클래스의 유효한 객체를 나타냄)에 있거나, 이동 전달 이후와 같이 비어 있거나 무효화된 상태 [SWS_PER_00399]에 있습니다. 스코프가 종료되면 소멸자 [SWS_PER_00569]가 실행됩니다. 유효한 핸들의 소멸은 캡슐화된 접근 리소스를 자동으로 닫거나 정리할 것으로 추정됩니다. 질문 Q-e7f12aa0d7c5548d (열림)

UniqueHandleState start Gueltig 유효함 start->Gueltig OpenFileReadOnly / OpenFileWriteOnly / OpenFileReadWrite Leer 비어 있음 / 유효하지 않음 Gueltig->Leer Move-Konstruktor / Move-Zuweisung (Quelle) ende Gueltig->ende Destruktor Leer->Gueltig Move-Zuweisung (Ziel) Leer->ende Destruktor

상태 다이어그램: 유효한 상태와 빈 상태 사이의 UniqueHandle 수명 주기 및 상태 전이. 출처: [SWS_PER_00371], [SWS_PER_00372], [SWS_PER_00399], [SWS_PER_00569]

사용 경로

UniqueHandle의 전형적인 사용법은 정해진 일련의 단계를 따릅니다:

  1. 핸들 인수: 애플리케이션은 OpenFileReadOnly(), OpenFileWriteOnly() 또는 OpenFileReadWrite()와 같은 파일 접근 호출의 결과로 핸들을 수신합니다.
  2. 상태 확인: 추가 작업을 수행하기 전에 반드시 operator bool()을 사용하여 인스턴스 상태를 검증해야 합니다 [SWS_PER_00371], [SWS_PER_00372]. 이 연산자는 유효한 객체가 존재하는 경우 true을 반환하고, 핸들이 비어 있는 경우 false을 반환합니다 [SWS_PER_00399].
  3. 캡슐화된 객체에 접근: 유효한 상태에서는 화살표 연산자 operator->(비상수 [SWS_PER_00360] 또는 상수 [SWS_PER_00361]) 또는 operator*을 통한 역참조(비상수 [SWS_PER_00400] 또는 상수 [SWS_PER_00401])를 통해 대상의 메서드 및 데이터에 접근합니다.
  4. 소유권 이전 또는 소멸: 핸들은 필요한 경우 std::move을 통해 다른 컴포넌트로 전달될 수 있으며 [SWS_PER_00371], 수명 주기 종료 시 자동으로 소멸됩니다 [SWS_PER_00569].

오류 시나리오

핵심적인 오류 시나리오는 비어 있거나 이전된 핸들에 대한 접근입니다. 비어 있는 핸들에서 operator bool() 이외의 연산자를 사용하는 것은 사양에 따라 정의되지 않은 동작(Undefined Behavior)을 유발합니다 [SWS_PER_00399]. 따라서 모든 역참조 전에 확인이 필수로 규정되어 있습니다 [SWS_PER_00371], [SWS_PER_00372].

예외 안전성 및 동시성과 관련하여 다음과 같은 사양 세부사항이 적용됩니다:

이 가이드는 AUTOSAR 사양 R25-11을 기반으로 AI에 의해 생성되었습니다.

멤버 맵

클래스 다이어그램

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

G nara__per__UniqueHandle733 UniqueHandle + UniqueHandle() + operator=() + ~UniqueHandle() + operatorbool() + operator*() + operator->()

상세 보기

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

생성자 및 소멸자

UniqueHandle 함수 2

Move constructor for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

오버로드 UniqueHandle 2
UniqueHandle (UniqueHandle &&uh) noexcept; SWS_PER_00371
UniqueHandle (const UniqueHandle &)=delete; SWS_PER_00373

Destructor for UniqueHandle.

~UniqueHandle () noexcept;

연산자

operator* 함수 2

Non-constant dereference operator.

오버로드 * 2
T & operator* () noexcept; SWS_PER_00400
const T & operator* () const noexcept; SWS_PER_00401
operator-> 함수 2

Non-constant arrow operator.

오버로드 -> 2
T * operator-> () noexcept; SWS_PER_00360
const T * operator-> () const noexcept; SWS_PER_00361
operator= 함수 2

Move assignment operator for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

오버로드 = 2
UniqueHandle & operator= (UniqueHandle &&uh) & noexcept; SWS_PER_00372
UniqueHandle & operator= (const UniqueHandle &)=delete; SWS_PER_00374

Handle state. True if the handle represents a valid object of the templated class, False if the handle is empty (e.g. after a move operation). Using other operators than bool() of an empty handle will result in undefined behavior.

explicit operator bool () const noexcept;

메서드 문서

함수 UniqueHandle [SWS_PER_00371] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00121, RS_AP_00129, RS_AP_00135, RS_AP_00145, RS_AP_00159

UniqueHandle (UniqueHandle &&uh) noexcept;

Move constructor for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
uhThe UniqueHandle object to be moved.

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

Record
AUTOSAR/AP/record/SWS_PER_00371
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00371@rel:R25-11#aa65f2f4
Content hash
aa65f2f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00371
Status: valid/unmigrated Version: rel:R25-11#b7a796ed 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_PER_00371@rel:R25-11#b7a796ed
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2472caed2026-09-30
  • R19-11rel:R19-11#5b28d9822026-10-14
  • R20-11rel:R20-11#6556de6a2026-10-14
  • R21-11rel:R21-11#4fd62e1b2026-10-14
  • R22-11rel:R22-11#638b49b92026-10-14
  • R23-11rel:R23-11#4afea7132026-10-14
  • R24-11rel:R24-11#15ae42ea2026-10-14
  • R25-11rel:R25-11#b7a796ed2026-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

함수 UniqueHandle [SWS_PER_00373] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00145

UniqueHandle (const UniqueHandle &)=delete;

The copy constructor for UniqueHandle shall not be used.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle

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

Record
AUTOSAR/AP/record/SWS_PER_00373
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00373@rel:R25-11#7956e931
Content hash
7956e931
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00373
Status: valid/unmigrated Version: rel:R25-11#97a13cb3 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_PER_00373@rel:R25-11#97a13cb3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#22b7f4472026-09-30
  • R19-11rel:R19-11#5ad725022026-10-14
  • R20-11rel:R20-11#30834d982026-10-14
  • R21-11rel:R21-11#30834d982026-10-14
  • R22-11rel:R22-11#5a84219f2026-10-14
  • R23-11rel:R23-11#4fff0fda2026-10-14
  • R24-11rel:R24-11#97a13cb32026-10-14
  • R25-11rel:R25-11#97a13cb32026-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_PER_00400] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

T & operator* () noexcept;

Non-constant dereference operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T&A reference to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00400
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00400@rel:R25-11#3edf70b2
Content hash
3edf70b2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00400
Status: valid/unmigrated Version: rel:R25-11#03e17b34 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_PER_00400@rel:R25-11#03e17b34
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3c202d012026-09-30
  • R19-11rel:R19-11#669b25ad2026-10-14
  • R20-11rel:R20-11#221dd15a2026-10-14
  • R21-11rel:R21-11#94a9e6752026-10-14
  • R22-11rel:R22-11#59befd852026-10-14
  • R23-11rel:R23-11#cc5fb2d62026-10-14
  • R24-11rel:R24-11#03e17b342026-10-14
  • R25-11rel:R25-11#03e17b342026-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_PER_00401] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

const T & operator* () const noexcept;

Constant dereference operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const T &A constant reference to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00401
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00401@rel:R25-11#de82ced0
Content hash
de82ced0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00401
Status: valid/unmigrated Version: rel:R25-11#55c3ace7 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_PER_00401@rel:R25-11#55c3ace7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a493a1ed2026-09-30
  • R19-11rel:R19-11#38e407492026-10-14
  • R20-11rel:R20-11#8d59685c2026-10-14
  • R21-11rel:R21-11#32e0990d2026-10-14
  • R22-11rel:R22-11#96bb511e2026-10-14
  • R23-11rel:R23-11#6bb24b062026-10-14
  • R24-11rel:R24-11#55c3ace72026-10-14
  • R25-11rel:R25-11#55c3ace72026-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_PER_00360] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

T * operator-> () noexcept;

Non-constant arrow operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
T*A pointer to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00360
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00360@rel:R25-11#db7d4f0d
Content hash
db7d4f0d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00360
Status: valid/unmigrated Version: rel:R25-11#ef2a1027 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_PER_00360@rel:R25-11#ef2a1027
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#98df28e32026-09-30
  • R19-11rel:R19-11#f4d0effe2026-10-14
  • R20-11rel:R20-11#c27e978c2026-10-14
  • R21-11rel:R21-11#ab8f7d8e2026-10-14
  • R22-11rel:R22-11#c187af442026-10-14
  • R23-11rel:R23-11#24381aca2026-10-14
  • R24-11rel:R24-11#ef2a10272026-10-14
  • R25-11rel:R25-11#ef2a10272026-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_PER_00361] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

const T * operator-> () const noexcept;

Constant arrow operator.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const T *A constant pointer to the UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00361
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00361@rel:R25-11#a8bd4f18
Content hash
a8bd4f18
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00361
Status: valid/unmigrated Version: rel:R25-11#bfbbb900 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_PER_00361@rel:R25-11#bfbbb900
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#db461d5a2026-09-30
  • R19-11rel:R19-11#898a6e702026-10-14
  • R20-11rel:R20-11#5cd9c3f32026-10-14
  • R21-11rel:R21-11#5cd9c3f32026-10-14
  • R22-11rel:R22-11#aef959232026-10-14
  • R23-11rel:R23-11#39c079282026-10-14
  • R24-11rel:R24-11#bfbbb9002026-10-14
  • R25-11rel:R25-11#bfbbb9002026-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_PER_00372] Upstream: RS_PER_00002, RS_AP_00119, RS_AP_00120, RS_AP_00121, RS_AP_00135, RS_AP_00145, RS_AP_00153, RS_AP_00159

UniqueHandle & operator= (UniqueHandle &&uh) & noexcept;

Move assignment operator for UniqueHandle. The source handle object is invalidated and cannot be used anymore. The operator bool() shall be used to check the state of a handle object before using any other operators of the handle object.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
uhThe UniqueHandle object to be moved.

Rückgabewert

TypBeschreibung
UniqueHandle &The moved UniqueHandle object.

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

Record
AUTOSAR/AP/record/SWS_PER_00372
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00372@rel:R25-11#d2036e2a
Content hash
d2036e2a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00372
Status: valid/unmigrated Version: rel:R25-11#fa5f6ac4 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_PER_00372@rel:R25-11#fa5f6ac4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#414bd1522026-09-30
  • R19-11rel:R19-11#bc1017fc2026-10-14
  • R20-11rel:R20-11#b45b4d662026-10-14
  • R21-11rel:R21-11#b45b4d662026-10-14
  • R22-11rel:R22-11#eaac664b2026-10-14
  • R23-11rel:R23-11#a9b2fe9d2026-10-14
  • R24-11rel:R24-11#fa5f6ac42026-10-14
  • R25-11rel:R25-11#fa5f6ac42026-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_PER_00374] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00145

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

The copy assignment operator for UniqueHandle shall not be used.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle

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

Record
AUTOSAR/AP/record/SWS_PER_00374
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00374@rel:R25-11#fc0a0956
Content hash
fc0a0956
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00374
Status: valid/unmigrated Version: rel:R25-11#473a1718 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_PER_00374@rel:R25-11#473a1718
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#24ed94c02026-09-30
  • R19-11rel:R19-11#7eb83f182026-10-14
  • R20-11rel:R20-11#3556e4cd2026-10-14
  • R21-11rel:R21-11#728358a52026-10-14
  • R22-11rel:R22-11#503812912026-10-14
  • R23-11rel:R23-11#fb958c822026-10-14
  • R24-11rel:R24-11#f5750b432026-10-14
  • R25-11rel:R25-11#473a17182026-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

함수 operatorbool [SWS_PER_00399] Upstream: RS_PER_00001, RS_PER_00002, RS_PER_00003, RS_AP_00119, RS_AP_00129, RS_AP_00159

explicit operator bool () const noexcept;

Handle state. True if the handle represents a valid object of the templated class, False if the handle is empty (e.g. after a move operation). Using other operators than bool() of an empty handle will result in undefined behavior.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
boolFalse if the handle is empty, otherwise true.

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

Record
AUTOSAR/AP/record/SWS_PER_00399
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00399@rel:R25-11#a53007b4
Content hash
a53007b4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00399
Status: valid/unmigrated Version: rel:R25-11#8ef94211 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_PER_00399@rel:R25-11#8ef94211
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f0c1c0c02026-09-30
  • R19-11rel:R19-11#8839778e2026-10-14
  • R20-11rel:R20-11#312f50912026-10-14
  • R21-11rel:R21-11#dc10458b2026-10-14
  • R22-11rel:R22-11#aba123462026-10-14
  • R23-11rel:R23-11#dccc30862026-10-14
  • R24-11rel:R24-11#979f05a72026-10-14
  • R25-11rel:R25-11#8ef942112026-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

함수 ~UniqueHandle [SWS_PER_00569] Upstream: RS_PER_00002, RS_AP_00120, RS_AP_00129, RS_AP_00134, RS_AP_00145, RS_AP_00159

~UniqueHandle () noexcept;

Destructor for UniqueHandle.

Header-Datei#include "ara/per/unique_handle.h"
Scopeclass ara::per::UniqueHandle
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_PER_00569
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PER_00569@rel:R25-11#429933a6
Content hash
429933a6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Persistency.pdf#nameddest=SWS_PER_00569
Status: valid/unmigrated Version: rel:R25-11#185fb928 Versionshistorie & Revisions (1 transition, 4 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_PER_00569@rel:R25-11#185fb928
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e4cc15fc2026-09-30
  • R23-11rel:R23-11#1d1adf602026-10-14
  • R24-11rel:R24-11#185fb9282026-10-14
  • R25-11rel:R25-11#185fb9282026-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