함수 Disable [SWS_PHM_01380] Upstream: RS_PHM_00101, RS_AP_00159
ara::core::Future< void > Disable () noexcept;
Disable supervision until Enable() is called.
사용
ara::phm::SupervisedEntity 클래스의 Disable() 함수는 Enable()를 통해 다시 활성화될 때까지 엔터티의 모니터링을 비활성화하는 데 사용됩니다 [SWS_PHM_01380]. 이 메서드는 매개변수 없이 호출되며 예외 안전(noexcept)으로 선언되어 있습니다 [SWS_PHM_01380]. 반환값으로는 비동기 비활성화 결과를 질의할 수 있는 ara::core::Future<void>을 반환합니다 [SWS_PHM_01380].
오류 처리
성공 시 Future은 void 값을 반환합니다. 비활성화 도중 오류가 발생하면 Future에는 오류 도메인 PhmErrc [SWS_PHM_01380], [SWS_PHM_01240]의 오류 코드가 포함됩니다. 특히 아직 완료되지 않은 Enable() 또는 Disable() 요청이 이미 존재하는 경우 오류 PhmErrc::kServiceNotReady가 반환됩니다 [SWS_PHM_01380], [SWS_PHM_01240]. 이 오류 사례에 대해 롤백 시맨틱이 명세되어 있습니다 [SWS_PHM_01380].
동시성 및 상호 작용
이 메서드는 스레드 안전하지 않음(not-threadsafe)으로 분류되어 있습니다 [SWS_PHM_01380]. 따라서 SupervisedEntity의 동일한 인스턴스에 대한 병렬 호출은 동기화되어야 합니다. 해석: 진행 중인 요청은 반환된 Future가 준비된 후에야 종료된 것으로 간주될 수 있으므로, PhmErrc::kServiceNotReady을 방지하기 위해 그때까지 후속 호출을 피해야 할 것으로 보입니다. 질문 Q-ffc7fc693d7ddbe9 (열림) 비활성화에 성공한 후에는 현재 함수 그룹 상태에서 허용되는 경우 Enable()를 통해 모니터링이 다시 시작될 때까지 모니터링은 비활성 상태로 유지됩니다 [SWS_PHM_01130].
이 텍스트는 사양을 기반으로 AI 시스템에 의해 생성되었습니다.
| Header-Datei | #include "ara/phm/supervised_entity.h" |
|---|---|
| Scope | class ara::phm::SupervisedEntity |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not-threadsafe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Future< void > | void if successful, otherwise an error |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| PhmErrc::kServiceNotReady | rollback_semantics There is already an ongoing Enable or Disable request. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_PHM_01380- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_PHM_01380@rel:R25-11#99781386- Content hash
99781386- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01380
Status: valid/unmigrated
Version: rel:R25-11#45d48541
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_PHM_01380@rel:R25-11#45d48541
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 · 독일어 원문