结构体 ara::diag::EventStatusByte
[SWS_DM_00644] Upstream: RS_Diag_04151
struct EventStatusByte {...};
Current event status byte, bit-encoded.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Forwarding-Header | #include "ara/diag/diag_fwd.h" |
|---|
| Scope | namespace ara::diag |
|---|
用户指南人工智能生成
表示诊断事件的按位编码状态字节,并提供用于状态位的类型安全检查方法。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: c0a8a1df20de
来源
未决问题(2)
表示诊断事件的按位编码状态字节,并提供用于状态位的类型安全检查方法。
结构体 ara::diag::EventStatusByte 封装了 Adaptive Platform 内单个诊断事件的按位编码状态字节 [SWS_DM_00644]。它提供了用于类型安全地查询已置位或未置位状态位以及复合检查状态的方法 [SWS_DM_01755]。由于计算始终反映具体事件,因此不受上级 DTC 事件组合的影响。作为轻量级的值对象,所有读访问均具有异常安全性并支持并发读取,而修改性赋值则必须进行外部同步。
本指南基于 AUTOSAR Adaptive R25-11 规范,并根据文档 AUTOSAR_AP_SWS_Diagnostics 总结了该类的属性。
成员图
类图
Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
详细视图
此版本没有元素数据
构造函数和析构函数
Move constructor.
重载 EventStatusByte 3
template <typename... Args> constexpr EventStatusByte (Args... bits) noexcept; SWS_DM_01753方法
Retrieve the value of the bits kTestFailed and kTestFailedThisOperationCycle.
constexpr bool IsFailedAndTested () const noexcept;
Whether all EventStatusBits passed as parameter are not set.
template <typename... Args> constexpr bool IsNotSet (Args... bits) const noexcept;
Retrieve the value of the bits kTestFailed and kTestNotCompletedThisOperationCycle.
constexpr bool IsPassedAndTested () const noexcept;
Whether all EventStatusBits passed as parameter are set.
template <typename... Args> constexpr bool IsSet (Args... bits) const noexcept;
运算符
Move assignment operator.
重载 = 2
方法文档
constexpr EventStatusByte (EventStatusByte &&other) noexcept;
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| other | Object to move-construct from. |
Status: valid/unmigrated
Version: rel:R25-11#9fd850aa
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_DM_01751@rel:R25-11#9fd850aa
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#80ee6eef2026-09-30 - R23-11
rel:R23-11#f03839ca2026-10-14 - R24-11
rel:R24-11#83bfcbc82026-10-14 - R25-11
rel:R25-11#9fd850aa2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
constexpr EventStatusByte (const EventStatusByte &other) noexcept=default;
Parameter (in)
| Parameter | Beschreibung |
|---|
| other | Object to copy-construct from. |
Status: valid/unmigrated
Version: rel:R25-11#a5ed8b72
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_DM_01752@rel:R25-11#a5ed8b72
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#074496fc2026-09-30 - R23-11
rel:R23-11#cddbd9ff2026-10-14 - R24-11
rel:R24-11#03433e4b2026-10-14 - R25-11
rel:R25-11#a5ed8b722026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
template <typename... Args> constexpr EventStatusByte (Args... bits) noexcept;
Construct an EventStatusByte where all EventStatusBits passed as parameter are set.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| bits | The EventStatusBits that shall be set. |
Status: valid/unmigrated
Version: rel:R25-11#9c842ffa
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_DM_01753@rel:R25-11#9c842ffa
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#18617b5d2026-09-30 - R23-11
rel:R23-11#5403ab172026-10-14 - R24-11
rel:R24-11#c9fdf3532026-10-14 - R25-11
rel:R25-11#9c842ffa2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
constexpr bool IsFailedAndTested () const noexcept;
Retrieve the value of the bits kTestFailed and kTestFailedThisOperationCycle.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Rückgabewert
| Typ | Beschreibung |
|---|
| bool | TRUE: if bits kTestFailed AND kTestFailedThisOperationCycle are set, else FALSE |
Status: valid/unmigrated
Version: rel:R25-11#b6349a53
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_DM_01757@rel:R25-11#b6349a53
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#3228b78e2026-09-30 - R23-11
rel:R23-11#c4166a272026-10-14 - R24-11
rel:R24-11#b3548d412026-10-14 - R25-11
rel:R25-11#b6349a532026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
template <typename... Args> constexpr bool IsNotSet (Args... bits) const noexcept;
Whether all EventStatusBits passed as parameter are not set.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| bits | The EventStatusBits to check. |
Rückgabewert
| Typ | Beschreibung |
|---|
| bool | TRUE: if all EventStatusBits passed as parameter are NOT set, else FALSE. |
Status: valid/unmigrated
Version: rel:R25-11#47d87a6e
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_DM_01754@rel:R25-11#47d87a6e
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#2bbf9bb92026-09-30 - R23-11
rel:R23-11#953465af2026-10-14 - R24-11
rel:R24-11#6ca8eb662026-10-14 - R25-11
rel:R25-11#47d87a6e2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
constexpr bool IsPassedAndTested () const noexcept;
Retrieve the value of the bits kTestFailed and kTestNotCompletedThisOperationCycle.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Rückgabewert
| Typ | Beschreibung |
|---|
| bool | TRUE: if bits kTestFailed AND kTestNotCompletedThisOperationCycle are NOT set, else FALSE |
Status: valid/unmigrated
Version: rel:R25-11#83d466e9
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_DM_01756@rel:R25-11#83d466e9
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#31cb55a72026-09-30 - R23-11
rel:R23-11#a372be6d2026-10-14 - R24-11
rel:R24-11#737a4c7c2026-10-14 - R25-11
rel:R25-11#83d466e92026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
template <typename... Args> constexpr bool IsSet (Args... bits) const noexcept;
Whether all EventStatusBits passed as parameter are set.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| bits | The EventStatusBits to check. |
Rückgabewert
| Typ | Beschreibung |
|---|
| bool | TRUE: if all EventStatusBits passed as parameter are set, else FALSE. |
Status: valid/unmigrated
Version: rel:R25-11#c9475089
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_DM_01755@rel:R25-11#c9475089
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#78b4f55e2026-09-30 - R23-11
rel:R23-11#1445ccf82026-10-14 - R24-11
rel:R24-11#b0fe50ac2026-10-14 - R25-11
rel:R25-11#c94750892026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
constexpr EventStatusByte & operator= (EventStatusByte &&other) noexcept;
Move assignment operator.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | not thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| other | Object to move-assign from. |
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#69a39917
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_DM_01749@rel:R25-11#69a39917
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#8e539e8a2026-09-30 - R23-11
rel:R23-11#a8696e712026-10-14 - R24-11
rel:R24-11#bcd0e38b2026-10-14 - R25-11
rel:R25-11#69a399172026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 |
constexpr EventStatusByte & operator= (const EventStatusByte &other) noexcept;
Copy assignment operator.
| Header-Datei | #include "ara/diag/event_types.h" |
|---|
| Scope | struct ara::diag::EventStatusByte |
|---|
| Exception-Sicherheit | exception safe |
|---|
| Thread-Sicherheit | not thread-safe |
|---|
Parameter (in)
| Parameter | Beschreibung |
|---|
| other | Object to copy-assign from. |
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#f85fa63e
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_DM_01750@rel:R25-11#f85fa63e
Point-in-Time History:
Recorded Revisions (4):
- R25-11
rel:R25-11#674831a92026-09-30 - R23-11
rel:R23-11#b7108fbb2026-10-14 - R24-11
rel:R24-11#de77ff602026-10-14 - R25-11
rel:R25-11#f85fa63e2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
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 · 德文原文