枚举 TsyncFvmErrc [SWS_TS_14202] Upstream: RS_TS_20072 原文尚未导入
enum class TsyncFvmErrc : ara::core::ErrorDomain::CodeType {...};
The enumeration class defines the error codes for the apext::tsync:: TsyncFvmErrorDomain.
| Header-Datei | #include "apext/tsync/fvm_error_domain.h" |
|---|---|
| Forwarding-Header | #include "apext/tsync/tsync_fwd.h" |
| Scope | namespace apext::tsync |
| Symbol | TsyncFvmErrc |
| Basistyp | ara::core::ErrorDomain::CodeType |
Werte
| Enumerator | Beschreibung |
|---|---|
| kFVNotAvailable | =1 Recoverable Error meaning the Freshness Value is not available. |
| kFVInitializeFailed | =2 Unrecoverable Error meaning the Freshness Value Manager could not be used. |
使用与错误语义
枚举 TsyncFvmErrc 根据 [SWS_TS_14202] 为错误域 apext::tsync::TsyncFvmErrorDomain 定义特定错误码。在域内部,该枚举还通过类型别名 apext::tsync::TsyncFvmErrorDomain::Errc 提供 [SWS_TS_14206]。该枚举区分 Freshness Value Manager (FVM) 的两种核心错误状态:
kFVNotAvailable(= 1):当所需的新鲜度值不可用时,指示可恢复错误(Recoverable Error)[SWS_TS_14202]。该错误码尤其在通过apext::tsync::FVM::GetTxFreshness查询发送新鲜度值时出现 [SWS_TS_14199]。kFVInitializeFailed(= 2):当 Freshness Value Manager 处于未就绪状态且发生故障时,指示不可恢复错误(Unrecoverable Error)[SWS_TS_14202]。它在初始化失败时由apext::tsync::FVM::Initialize发出信号 [SWS_TS_14200]。
交互与错误处理
为了进行错误处理,枚举项与厂商特定附加数据一起通过辅助函数 apext::tsync::MakeErrorCode 转换为 ara::core::ErrorCode 对象 [SWS_TS_14213]。FVM 的函数如 Initialize [SWS_TS_14200]、GetTxFreshness [SWS_TS_14199] 和 GetRxFreshness [SWS_TS_14198] 将结果或错误状态封装在 ara::core::Result 中。应用程序和 TimeSync 组件对该 Result 对象进行求值,以区分单个新鲜度值的可恢复故障与 FVM 的严重初始化错误。
该使用说明基于 AUTOSAR 有效负载 R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_TS_14202- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_TS_14202@rel:R25-11#6c63ae8c- Content hash
6c63ae8c- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14202
Status: valid/unmigrated
Version: rel:R25-11#b5e36b38
Versionshistorie & Revisions (1 transition, 3 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_TS_14202@rel:R25-11#b5e36b38
Recorded Revisions (3):
- R25-11
rel:R25-11#e69ca41d2026-09-30 - R24-11
rel:R24-11#5774fd892026-10-14 - R25-11
rel:R25-11#b5e36b382026-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 · 德文原文