함수 Offer [SWS_PHM_01143] Upstream: RS_HM_09159, RS_AP_00159
ara::core::Result< void > Offer () noexcept;
Enables potential invocations of RecoveryHandler.
매개변수가 없는 메서드 Offer은 ara::phm::RecoveryAction 클래스에 속하며 헤더 파일 ara/phm/recovery_action.h를 통해 포함됩니다 [SWS_PHM_01143]. 이 메서드의 목적은 향후 RecoveryHandler의 호출을 가능하게 하기 위해 Platform Health Management(PHM)에 서비스를 제공하는 것입니다 [SWS_PHM_01143]. 호출은 동기적으로 수행되며 매개변수를 받지 않습니다 [SWS_PHM_01143].
실행 결과는 ara::core::Result<void>으로 반환됩니다 [SWS_PHM_01143]. 오류가 없는 상태에서는 이 Result가 비어 있습니다. PHM 데몬과의 통신에 실패하는 경우 서비스를 제공할 수 없으며 함수는 롤백 시맨틱과 함께 오류 코드 PhmErrc::kOfferFailed을 반환합니다 [SWS_PHM_01143].
실행 안전성과 관련하여 이 메서드는 noexcept 및 예외 안전(exception safe)으로 명세되어 있습니다 [SWS_PHM_01143]. 그러나 명시적으로 스레드 안전하지 않음(not thread-safe)으로 정의되어 있습니다 [SWS_PHM_01143].
시스템 연계에서는 오류 처리와의 직접적인 결합이 존재합니다. ara::phm::RecoveryAction 클래스의 RecoveryHandler은 실행 오류(ara::exec::ExecutionErrorEvent) 및 모니터링 오류(TypeOfSupervision)에 대응하는 역할을 합니다 [SWS_PHM_01142]. PHM은 이전에 RecoveryAction::Offer를 통해 활성화가 명시적으로 승인된 후에만 이 핸들러를 호출할 수 있습니다 [SWS_PHM_01142].
이 사용 지침은 명세를 기반으로 자동 생성되었습니다.
| Header-Datei | #include "ara/phm/recovery_action.h" |
|---|---|
| Scope | class ara::phm::RecoveryAction |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< void > | A Result, being either empty or containing any of the errors defined below. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| PhmErrc::kOfferFailed | rollback_semantics Service could not be offered due to failure of communication with Phm daemon |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_PHM_01143- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_PHM_01143@rel:R25-11#8d4a243f- Content hash
8d4a243f- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01143
Status: valid/unmigrated
Version: rel:R25-11#d8dd83b4
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_PHM_01143@rel:R25-11#d8dd83b4
Recorded Revisions (8):
- R25-11
rel:R25-11#857c7b2e2026-09-30 - R19-11
rel:R19-11#ca5925372026-10-14 - R20-11
rel:R20-11#17739ebd2026-10-14 - R21-11
rel:R21-11#da1133fa2026-10-14 - R22-11
rel:R22-11#cf1368c72026-10-14 - R23-11
rel:R23-11#86ed8de42026-10-14 - R24-11
rel:R24-11#d8dd83b42026-10-14 - R25-11
rel:R25-11#d8dd83b42026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문