DEENESPTFRRUARHIKOZHNL

命名空间 ara::phm

用户指南人工智能生成

实现软件实例的功能性运行时监控,并协调系统中的错误反应。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 15fb5e97ed21 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

实现软件实例的功能性运行时监控,并协调系统中的错误反应。

命名空间 ara::phm 在 Adaptive Platform 上提供了针对软件实体的生命迹象(Alive)、截止期限(Deadline)和控制流(Control Flow)进行运行时监控的机制 [SWS_PHM_01138]。检测到的异常经历从消抖(Debouncing)到系统停机的多级错误确认 [SWS_PHM_01137]。对于无法通过 State Management 解决的错误,该模块接管错误反应并控制系统看门狗 [SWS_PHM_01240]。

上下文

命名空间 ara::phm 代表 AUTOSAR Adaptive Platform 内 Platform Health Management(PHM)的 C++ 接口。其核心任务是对软件单元进行功能性监控,以确保系统完整性。主要实体包括代表受监控功能流程的 SupervisedEntity,以及可用于定义应用程序级恢复措施的抽象类 RecoveryAction。监控通过枚举 TypeOfSupervision [SWS_PHM_01138] 分为三种基本机制:周期性生命迹象检查(kAliveSupervision)、检查点之间时间限制的遵守(kDeadlineSupervision)以及正确执行顺序的验证(kLogicalSupervision)。

在整个系统中,ara::phm 不仅与应用程序进程交互,还与 PHM 守护进程和 State Management(SM)紧密通信。如果 State Management 无法执行必要的恢复,Platform Health Management 会直接向硬件或系统看门狗升级错误处理 [SWS_PHM_01240]。

diag_phm_context SupervisedEntity SupervisedEntity PHMDaemon ara::phm (Daemon) SupervisedEntity->PHMDaemon 监控数据 StateManagement State Management PHMDaemon->StateManagement Wiederherstellungsanforderung Watchdog Watchdog PHMDaemon->Watchdog 发生 SM 误判时触发 RecoveryAction RecoveryAction PHMDaemon->RecoveryAction Wiederherstellungsaktion

上下文图:SupervisedEntity、PHM 守护进程、State Management、RecoveryAction 与看门狗之间的交互。来源:[SWS_PHM_01138]、[SWS_PHM_01240]

生命周期

Platform Health Management 的生命周期和状态模型采用两级结构,区分为基本监控状态和全局监控状态。单个监控功能采用符合 ElementarySupervisionStatus [SWS_PHM_01358] 的状态:在非活动状态下保持为 kDeactivated,激活后无错误则为 kOK。若发生异常,只要错误仍在配置的容限或消抖时间(Debouncing)内,它首先转换为 kFailed。只有在消抖期满后,错误才被视为已确认,状态转换为 kExpired [SWS_PHM_01358]。

多个基本监控的总体评估聚合在 GlobalSupervisionStatus [SWS_PHM_01137] 中。如果所有关联的监控都处于非活动状态,则全局状态处于 kDeactivated。一旦至少有一个监控报告 kOK 且没有任何监控出错,则总体状态为 kOK。如果至少有一个监控处于 kFailed 且没有监控处于 kExpired,这会反映在全局状态 kFailed 中。如果某个监控达到已确认错误状态 kExpired,只要定义的容限时间尚未耗尽,全局状态就保持在 kExpired。在该容限期限到期后,系统转入最终状态 kStopped [SWS_PHM_01137]。

diag_global_supervision kDeactivated kDeactivated kOK kOK kDeactivated->kOK 无错误激活 kOK->kDeactivated 所有监控均处于非活动状态 kFailed kFailed kOK->kFailed Fehler erkannt (Entprellung) kExpired kExpired kOK->kExpired Fehler unentprellt qualifiziert kFailed->kDeactivated 所有监控均处于非活动状态 kFailed->kOK Fehler behoben kFailed->kExpired Fehler qualifiziert kExpired->kDeactivated 所有监控均处于非活动状态 kStopped kStopped kExpired->kStopped 超出容差时间 kStopped->kDeactivated 所有监控均处于非活动状态

状态图:依赖于错误检测和容限时间的全局监控状态转换。来源:[SWS_PHM_01137]、[SWS_PHM_01358]

使用路径

在典型的集成顺序中,应用程序通过 #include "ara/phm/supervised_entity.h" 或转发头文件 #include "ara/phm/phm_fwd.h" 包含该命名空间的类 [SWS_PHM_01358]。应用程序实例化并管理 SupervisedEntity 的一个对象,该对象映射了需要保障的功能执行。解释:在常规运行期间,应用程序通过该对象向 Platform Health Management 报告其生命迹象或控制流事件。 问题 (未决)

PHM 守护进程持续将报告的事件与 kAliveSupervision、kDeadlineSupervision 或 kLogicalSupervision 的参数化准则进行比对 [SWS_PHM_01138]。只要所有信号按期合规到达,评估就保持在状态 kOK [SWS_PHM_01358]。如果违反了限制值,监控将经历错误确认,并在达到 kExpired 或 kStopped [SWS_PHM_01137] 时启动配置的恢复。此处使用接口 RecoveryAction,大概是为了在升级到 State Management 之前以结构化方式执行特定于应用程序的对策。 问题 (未决)

错误场景

模块内的特定错误状态通过错误域 PhmErrorDomain 和枚举 PhmErrc 进行标准化 [SWS_PHM_01240]。该枚举定义了以下错误码:

  • PhmErrc::kOfferFailed(= 2):由于与 PHM 守护进程的通信失败,无法提供该服务 [SWS_PHM_01240]。
  • PhmErrc::kSMCanNotHandleRecovery(= 3):State Management 无法处理所要求的恢复;Platform Health Management 随后接管恢复并触发看门狗 [SWS_PHM_01240]。
  • PhmErrc::kServiceNotReady(= 4):无法执行请求,因为已有一个激活或停用请求(Enable/Disable)处于活动状态 [SWS_PHM_01240]。

为了生成匹配的错误对象,该命名空间提供了辅助函数 MakeErrorCode,该函数根据 PhmErrc 和特定于供应商的附加数据构建 ara::core::ErrorCode [SWS_PHM_01244]。对全局错误域的引用可以通过 GetPhmDomain 获取 [SWS_PHM_01251]。这两个函数均被声明为 constexpr 和 noexcept,保证了异常安全和线程安全 [SWS_PHM_01244]、[SWS_PHM_01251]。在同步错误情况下或模块内发生异常时,还会应用异常类型 PhmException。

本文由 AI 策展助手基于 Platform Health Management 的 AUTOSAR R25-11 规范生成。

主题图

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

类图

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::phm nara__phm__PhmErrorDomain PhmErrorDomain next_ara__core__ErrorDomain ara::core::ErrorDomain nara__phm__PhmErrorDomain->next_ara__core__ErrorDomain nara__phm__PhmException PhmException next_ara__core__Exception ara::core::Exception nara__phm__PhmException->next_ara__core__Exception nara__phm__RecoveryAction RecoveryAction nara__phm__SupervisedEntity SupervisedEntity

详细视图

请在大纲中选择一个条目。

Checkpointmeldung

SupervisedEntity Class.

Überwachungsstatus

Enumeration of elementary supervision status. Scoped Enumeration of uint32_t.

enum class ElementarySupervisionStatus : std::uint32_t {...};

Enumeration of global supervision status. Scoped Enumeration of uint32_t.

enum class GlobalSupervisionStatus : std::uint32_t {...};

Enumeration of type of supervision. Scoped Enumeration of uint32_t.

enum class TypeOfSupervision : std::uint32_t {...};

Wiederherstellung

RecoveryAction abstract class.

Fehlerbehandlung

Defines the error domain for Platform Health Management.

继承自 ara::core::ErrorDomain

Exception type thrown by Platform Health Management.

继承自 ara::core::Exception

Returns the global PhmErrorDomain object.

constexpr const ara::core::ErrorDomain & GetPhmDomain () noexcept;

Creates an error code.

constexpr ara::core::ErrorCode MakeErrorCode (PhmErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;
PhmErrc 枚举

Defines an enumeration class for the Platform Health Management error codes.

enum class PhmErrc : ara::core::ErrorDomain::CodeType {...};

枚举

枚举 ElementarySupervisionStatus [SWS_PHM_01358] Upstream: RS_HM_09237

enum class ElementarySupervisionStatus :                std::uint32_t {...};

Enumeration of elementary supervision status. Scoped Enumeration of uint32_t.

Header-Datei#include "ara/phm/supervised_entity.h"
Forwarding-Header#include "ara/phm/phm_fwd.h"
Scopenamespace ara::phm
SymbolElementarySupervisionStatus
Basistypstd::uint32_t

Werte

EnumeratorBeschreibung
kOK=0 Supervision is active and no failure is present.
kFailed=1 A failure was detected but still within tolerance/debouncing.
kExpired=2 A failure was detected and qualified.
kDeactivated=4 Supervision is not active.
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 2763964ee434 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

命名空间 ara::phm 中的作用域枚举 ElementarySupervisionStatus 映射了 Platform Health Management 内部基础监控的当前状态 [SWS_PHM_01358]。它基于基础类型 std::uint32_t,并通过头文件 ara/phm/supervised_entity.h 或转发头文件 ara/phm/phm_fwd.h 提供 [SWS_PHM_01358]。

该规范为监控定义了四个不同的状态值 [SWS_PHM_01358]:

  • kOK(值 0):监控处于活动状态,且不存在错误。
  • kFailed(值 1):已检测到错误,但该错误仍处于容差窗口或消抖(debouncing)阶段。
  • kExpired(值 2):检测到错误并最终确认。
  • kDeactivated(值 4):基础监控当前处于未激活状态。

使用与交互:该状态用于区分瞬态异常与持久错误 [SWS_PHM_01358]。Interpretation:枚举值预计主要由 PHM 在被监控实体内进行评估,以内部聚合监控状态。 问题 Q-771d61213f3f8f5e (未决)值得注意的是,数值 3 被跳过了,这大概指示了基于位掩码的编码。

本文本由 AI 生成,并作为基于规范的定位参考。

实现者指南即将推出(复杂度 I1)

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

Record
AUTOSAR/AP/record/SWS_PHM_01358
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PHM_01358@rel:R25-11#66862708
Content hash
66862708
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01358
Status: valid/unmigrated Version: rel:R25-11#fdd45e29 Versionshistorie & Revisions (1 transition, 5 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_01358@rel:R25-11#fdd45e29
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#71f21b412026-09-30
  • R22-11rel:R22-11#920bc81b2026-10-14
  • R23-11rel:R23-11#256084a72026-10-14
  • R24-11rel:R24-11#256084a72026-10-14
  • R25-11rel:R25-11#fdd45e292026-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

枚举 GlobalSupervisionStatus [SWS_PHM_01137] Upstream: RS_HM_09237

enum class GlobalSupervisionStatus :               std::uint32_t {...};

Enumeration of global supervision status. Scoped Enumeration of uint32_t.

Header-Datei#include "ara/phm/supervised_entity.h"
Forwarding-Header#include "ara/phm/phm_fwd.h"
Scopenamespace ara::phm
SymbolGlobalSupervisionStatus
Basistypstd::uint32_t

Werte

EnumeratorBeschreibung
kOK=0 At least one Elementary Supervision corresponding to the Global Supervision is in status kOK and none in status kFailed or kExpired.
kFailed=1 At least one Elementary Supervision corresponding to the Global Supervision is in status kFailed but none in status kExpired.
kExpired=2 At least one Elementary Supervision corresponding to the Global Supervision is in status kExpired but the time elapsed since reaching kExpired has not exceeded the tolerance.
kStopped=3 At least one Elementary Supervision corresponding to the Global Supervision is in status kExpired and the time elapsed since reaching kExpired has exceeded the tolerance.
kDeactivated=4 All Elementary Supervisions corresponding to the Global Supervision are in status kDeactivated.
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: cbcb52a3be6e 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

作用域枚举 ara::phm::GlobalSupervisionStatus 定义了 Platform Health Management 中全局监控(Global Supervision)的聚合监控状态 [SWS_PHM_01137]。它基于基础整数类型 std::uint32_t,并通过命名空间 ara::phm 中的头文件 ara/phm/supervised_entity.h 或转发头文件 ara/phm/phm_fwd.h 提供 [SWS_PHM_01137]。

总体状态汇总了所有关联的基础监控(Elementary Supervisions)的状态 [SWS_PHM_01137]:

  • kOK(0):至少有一个关联的基础监控处于状态 kOK,且没有处于状态 kFailed 或 kExpired [SWS_PHM_01137]。
  • kFailed(1):至少有一个基础监控处于 kFailed,但没有处于 kExpired [SWS_PHM_01137]。
  • kExpired(2):至少有一个基础监控处于 kExpired,其中自达到 kExpired 以来所经过的时间尚未超过容限 [SWS_PHM_01137]。
  • kStopped(3):至少有一个基础监控处于 kExpired,且经过的时间跨度已超过容限 [SWS_PHM_01137]。
  • kDeactivated(4):所有关联的基础监控均处于状态 kDeactivated [SWS_PHM_01137]。

解释:枚举项的定义隐含了对故障状态的严格优先级划分,其中已过期的期限(kExpired 和 kStopped)优先于简单错误(kFailed)以及无故障状态(kOK)计入全局监控状态 [SWS_PHM_01137]。 问题 Q-95aa4e6e45dc6b29 (未决)

该文本由 AI 系统基于规范生成并管护。

实现者指南即将推出(复杂度 I1)

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

Record
AUTOSAR/AP/record/SWS_PHM_01137
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PHM_01137@rel:R25-11#538b3634
Content hash
538b3634
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01137
Status: valid/unmigrated Version: rel:R25-11#387cd1ce 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_01137@rel:R25-11#387cd1ce
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#697d69c62026-09-30
  • R19-11rel:R19-11#bafa90d12026-10-14
  • R20-11rel:R20-11#bc9f71c62026-10-14
  • R21-11rel:R21-11#f6ff2ea72026-10-14
  • R22-11rel:R22-11#3ec252852026-10-14
  • R23-11rel:R23-11#48fae5cf2026-10-14
  • R24-11rel:R24-11#576de5132026-10-14
  • R25-11rel:R25-11#387cd1ce2026-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

枚举 PhmErrc [SWS_PHM_01240] Upstream: RS_AP_00119

enum class PhmErrc :        ara::core::ErrorDomain::CodeType {...};

Defines an enumeration class for the Platform Health Management error codes.

Header-Datei#include "ara/phm/phm_error_domain.h"
Forwarding-Header#include "ara/phm/phm_fwd.h"
Scopenamespace ara::phm
SymbolPhmErrc
Basistypara::core::ErrorDomain::CodeType

Werte

EnumeratorBeschreibung
kOfferFailed=2 Service could not be offered due to failure of communication with Phm daemon
kSMCanNotHandleRecovery=3 State Management cannot handle the recovery and PlatformHealth Management will take over by firing the watchdog.
kServiceNotReady=4 There is already an ongoing Enable or Disable request.
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: aca34b973410 来源
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

枚举PhmErrc定义了命名空间ara::phm中 Platform Health Management 的标准化错误代码[SWS_PHM_01240]。它基于ara::core::ErrorDomain::CodeType,并在错误域内通过类型别名ara::phm::PhmErrorDomain::Errc进行引用[SWS_PHM_01245]。结合供应商特定的附加数据,可以通过辅助函数ara::phm::MakeErrorCode以线程安全的方式将实例转换为ara::core::ErrorCode对象[SWS_PHM_01244]。

各枚举项标识了监控和恢复过程中的特定错误原因:

  • kOfferFailed (=2):指示由于与 Phm 守护进程通信失败而无法提供服务[SWS_PHM_01240]。该错误作为错误状态通过ara::phm::RecoveryAction::Offer的返回类型ara::core::Result<void>同步返回[SWS_PHM_01143]。
  • kSMCanNotHandleRecovery (=3):指示 State Management 无法处理请求的错误恢复,并且 Platform Health Management 通过触发看门狗来接管升级处理[SWS_PHM_01240]。
  • kServiceNotReady (=4):提示已有激活或停用请求处于活动状态[SWS_PHM_01240]。当发生并发调用时,该代码通过函数SupervisedEntity::Enable [SWS_PHM_01130]或SupervisedEntity::Disable [SWS_PHM_01380]的ara::core::Future<void>异步报告。

在并发性方面需要注意,涉及的控制函数如Offer [SWS_PHM_01143]以及Enable [SWS_PHM_01130]和Disable [SWS_PHM_01380]均非线程安全。调用方必须确保按顺序更改监控状态并完成正在进行的异步操作,以避免kServiceNotReady。

本文由 AI 生成,仅供参考。唯一具有约束力的是 AUTOSAR 规范。

实现者指南即将推出(复杂度 I1)

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

Record
AUTOSAR/AP/record/SWS_PHM_01240
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PHM_01240@rel:R25-11#86746098
Content hash
86746098
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01240
Status: valid/unmigrated Version: rel:R25-11#2dae10e6 Versionshistorie & Revisions (1 transition, 6 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_01240@rel:R25-11#2dae10e6
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#b4d2655f2026-09-30
  • R21-11rel:R21-11#24e82b722026-10-14
  • R22-11rel:R22-11#1fa3befe2026-10-14
  • R23-11rel:R23-11#1ce915ee2026-10-14
  • R24-11rel:R24-11#76e0a3742026-10-14
  • R25-11rel:R25-11#2dae10e62026-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

枚举 TypeOfSupervision [SWS_PHM_01138] Upstream: RS_HM_09159

enum class TypeOfSupervision :            std::uint32_t {...};

Enumeration of type of supervision. Scoped Enumeration of uint32_t.

Header-Datei#include "ara/phm/recovery_action.h"
Forwarding-Header#include "ara/phm/phm_fwd.h"
Scopenamespace ara::phm
SymbolTypeOfSupervision
Basistypstd::uint32_t

Werte

EnumeratorBeschreibung
kAliveSupervision=0 Supervision is of type AliveSupervision.
kDeadlineSupervision=1 Supervision is of type DeadlineSupervision.
kLogicalSupervision=2 Supervision is of type LogicalSupervision.

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

Record
AUTOSAR/AP/record/SWS_PHM_01138
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PHM_01138@rel:R25-11#62baf283
Content hash
62baf283
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01138
Status: valid/unmigrated Version: rel:R25-11#973a4e45 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_01138@rel:R25-11#973a4e45
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3a8383d22026-09-30
  • R19-11rel:R19-11#4f810a632026-10-14
  • R20-11rel:R20-11#83e24c512026-10-14
  • R21-11rel:R21-11#6a9f60af2026-10-14
  • R22-11rel:R22-11#2759fb662026-10-14
  • R23-11rel:R23-11#23345cd32026-10-14
  • R24-11rel:R24-11#930fd9592026-10-14
  • R25-11rel:R25-11#973a4e452026-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

自由函数文档

函数 GetPhmDomain [SWS_PHM_01251] Upstream: RS_AP_00119, RS_AP_00159

constexpr const ara::core::ErrorDomain & GetPhmDomain () noexcept;

Returns the global PhmErrorDomain object.

Header-Datei#include "ara/phm/phm_error_domain.h"
Scopenamespace ara::phm
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
const ara::core::ErrorDomain &The global PhmErrorDomain object.

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

Record
AUTOSAR/AP/record/SWS_PHM_01251
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PHM_01251@rel:R25-11#b62897a0
Content hash
b62897a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01251
Status: valid/unmigrated Version: rel:R25-11#b6562eae Versionshistorie & Revisions (1 transition, 5 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_01251@rel:R25-11#b6562eae
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#e72777212026-09-30
  • R22-11rel:R22-11#90558f432026-10-14
  • R23-11rel:R23-11#550889412026-10-14
  • R24-11rel:R24-11#b6562eae2026-10-14
  • R25-11rel:R25-11#b6562eae2026-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

函数 MakeErrorCode [SWS_PHM_01244] Upstream: RS_AP_00119, RS_AP_00159

constexpr ara::core::ErrorCode MakeErrorCode (PhmErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Creates an error code.

Header-Datei#include "ara/phm/phm_error_domain.h"
Scopenamespace ara::phm
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
codeError code number.
dataVendor defined data associated with the error.

Rückgabewert

TypBeschreibung
ara::core::ErrorCodeAn ErrorCode object.

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

Record
AUTOSAR/AP/record/SWS_PHM_01244
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_PHM_01244@rel:R25-11#c3d805cc
Content hash
c3d805cc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_PlatformHealthManagement.pdf#nameddest=SWS_PHM_01244
Status: valid/unmigrated Version: rel:R25-11#d75e55f2 Versionshistorie & Revisions (1 transition, 5 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_01244@rel:R25-11#d75e55f2
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#fd2af9dd2026-09-30
  • R22-11rel:R22-11#2406d9bc2026-10-14
  • R23-11rel:R23-11#67d3df482026-10-14
  • R24-11rel:R24-11#d75e55f22026-10-14
  • R25-11rel:R25-11#d75e55f22026-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