DEENESPTFRRUARHIKOZHNL

类 ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields

Diese Seite wurde vollständig KI-generiert auf Basis von SWS Raw Data Stream (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.

[SWS_RDS_90234] · Header ara/rds/raw_data_stream_IEEE1722.h

class IEEE1722DatagramAVTPDUCommonStreamHeaderFields {...};

IEEE 1722 datagram representation: IEEE1722DatagramAVTPDUCommonStreamHeaderFields.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopenamespace ara::rds

用户指南人工智能生成

将用于 IEEE 1722 AVTPDU 流的常见头字段(如时间戳和序列号)封装为可选值。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 912c0d92e417 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

将用于 IEEE 1722 AVTPDU 流的常见头字段(如时间戳和序列号)封装为可选值。

类 ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields 在模块 rds 中用作受保护的基础结构,以封装用于 IEEE 1722 AVTPDU 数据报的公共流头字段 SWS RawDataStream 第1页。它在 ara::core::Optional 字段中保存与协议相关的属性(如序列号和时间戳),这些字段通常通过派生的数据报类进行实例化和求值。通过声明为 noexcept 的虚析构函数来确保实例的安全多态销毁 [SWS_RDS_90242]。在读取访问这些属性之前,必须始终检查相应 Optional 值的有效性。

上下文

类 ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields 在 AUTOSAR Adaptive Platform 的 Raw Data Stream 模块 (rds) 内提供针对 IEEE 1722 AVTPDU 数据报的流头字段的公共表示 SWS RawDataStream 第1页。它通过头文件 #include "ara/rds/raw_data_stream_IEEE1722.h" 包含,并构成通过基于以太网的数据流处理音频/视频传输协议数据单元 (AVTPDU) 的标准化基础。规范中定义的所有协议变量均带有访问修饰符 protected([SWS_RDS_90235]、[SWS_RDS_90236]、[SWS_RDS_90237]、[SWS_RDS_90238]、[SWS_RDS_90239]、[SWS_RDS_90240]、[SWS_RDS_90241])。Interpretation: 这表明该类被设计为专用数据报类型的继承基类,可能并不适合在应用程序代码中作为独立对象直接使用。 问题 Q-11a6ac64bcd3c7d8 (未决)

该类汇集了 IEEE 1722 AVTP 流的协议属性。其中包括用于跟踪数据包顺序的序列号 sequenceNum [SWS_RDS_90240]、用于同步网络中时间归类的类型为 ara::tsync::Timestamp 的时间戳 avtp_timestamp [SWS_RDS_90237],以及时间不确定性标志 tu [SWS_RDS_90241]。诸如 MAC 地址、标识符和标志等附加头字段完善了协议帧([SWS_RDS_90235]、[SWS_RDS_90236]、[SWS_RDS_90238]、[SWS_RDS_90239])。将每个数据字段一致封装到 ara::core::Optional 中,考虑到了根据 AVTPDU 格式变体的不同并非所有字段都必须被占用的情况。

生命周期

公共头字段的实例化和生命周期与相应的派生数据报类直接绑定。由于成员声明为 protected,因此一旦接收到 AVTPDU 流或将其组装以供发送,它们通常就会在专用子类的构造函数中创建 SWS RawDataStream 第1页。

为了正确进行销毁,该类声明了一个带有标识符 ~IEEE1722DatagramAVTPDUCommonStreamHeaderFields() noexcept 的虚析构函数 [SWS_RDS_90242]。通过虚机制可确保通过基类指针删除数据报时,会执行派生类实例的完整析构函数调用。标记为 noexcept 保证了在销毁过程中不会抛出任何异常。

关于并发性,该类未提供同步机制。Interpretation: 在并行处理时对受保护成员的线程安全访问,大概必须由使用层的上层机制来保证。 问题 (未决)

使用路径

在实践中,使用通常遵循以下流程:

  • 创建与填充:派生数据报类实例化头结构。发送时,它填充所需的 ara::core::Optional 字段,例如序列号 sequenceNum [SWS_RDS_90240] 和 AVTP 时间戳 avtp_timestamp [SWS_RDS_90237]。
  • 接收路径中的处理:传入的原始数据被反序列化并分配给属性。求值逻辑检查可选值的存在性,并例如通过同步时间戳 [SWS_RDS_90237] 处理时序,或根据 sequenceNum [SWS_RDS_90240] 丢弃重复的数据包。
  • 释放:处理流之后,通过析构函数清理实例 [SWS_RDS_90242]。

错误场景

规范中未为该类定义特定的错误代码或异常类型。可能的错误状态仅限于可选数据字段的处理和接口条件:

由于所有字段均封装为 ara::core::Optional([SWS_RDS_90235]、[SWS_RDS_90236]、[SWS_RDS_90237]、[SWS_RDS_90238]、[SWS_RDS_90239]、[SWS_RDS_90240]、[SWS_RDS_90241]),因此在访问其值之前必须确保该字段已有效填充。对空的 Optional 对象的未检查直接访问会导致错误行为。

析构函数声明为 noexcept [SWS_RDS_90242]。因此,在派生结构中进行资源清理时可能发生的任何错误都不得作为异常传递,而必须在内部进行处理。

本指南基于 AUTOSAR Adaptive R25-11 规范。

成员图

详细视图

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

构造函数和析构函数

Virtual destructor of the IEEE 1722 datagram type.

~IEEE1722DatagramAVTPDUCommonStreamHeaderFields() noexcept;

常量

Protected IEEE 1722 datagram field avtp_timestamp.

ara::core::Optional<ara::tsync::Timestamp> avtp_timestamp;

Protected IEEE 1722 datagram field mac_address.

ara::core::Optional<std::uint8_t> mr;
mr 变量

Protected IEEE 1722 datagram field mr.

ara::core::Optional<std::uint8_t> tv;

Protected IEEE 1722 datagram field sequenceNum.

ara::core::Optional<std::uint8_t> sequenceNum;
tu 变量

Protected IEEE 1722 datagram field tu.

ara::core::Optional<std::uint8_t> tu;
tv 变量

Protected IEEE 1722 datagram field tv.

ara::core::Optional<std::uint64_t> unique_id;
unique_id 变量

Protected IEEE 1722 datagram field unique_id.

ara::core::Optional<std::uint64_t> mac_address;

方法与类型文档

变量 avtp_timestamp [SWS_RDS_90237]

ara::core::Optional<ara::tsync::Timestamp> avtp_timestamp;

Protected IEEE 1722 datagram field avtp_timestamp.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90237
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90237@rel:R25-11#19b85ea5
Content hash
19b85ea5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90237
Status: valid/unmigrated Version: rel:R25-11#741a2ac0 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_RDS_90237@rel:R25-11#741a2ac0
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2c7643d52026-09-30
  • R24-11rel:R24-11#4765c1242026-10-14
  • R25-11rel:R25-11#741a2ac02026-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

变量 mac_address [SWS_RDS_90238]

ara::core::Optional<std::uint8_t> mr;

Protected IEEE 1722 datagram field mac_address.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90238
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90238@rel:R25-11#97befe1c
Content hash
97befe1c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90238
Status: valid/unmigrated Version: rel:R25-11#16f84e8c 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_RDS_90238@rel:R25-11#16f84e8c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ba54d0182026-09-30
  • R24-11rel:R24-11#16f84e8c2026-10-14
  • R25-11rel:R25-11#16f84e8c2026-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

变量 mr [SWS_RDS_90239]

ara::core::Optional<std::uint8_t> tv;

Protected IEEE 1722 datagram field mr.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90239
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90239@rel:R25-11#b884247d
Content hash
b884247d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90239
Status: valid/unmigrated Version: rel:R25-11#203db6c6 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_RDS_90239@rel:R25-11#203db6c6
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c43942c32026-09-30
  • R24-11rel:R24-11#203db6c62026-10-14
  • R25-11rel:R25-11#203db6c62026-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

变量 sequenceNum [SWS_RDS_90240]

ara::core::Optional<std::uint8_t> sequenceNum;

Protected IEEE 1722 datagram field sequenceNum.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90240
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90240@rel:R25-11#7f90258a
Content hash
7f90258a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90240
Status: valid/unmigrated Version: rel:R25-11#ed36f211 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_RDS_90240@rel:R25-11#ed36f211
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cf85045b2026-09-30
  • R24-11rel:R24-11#2ab79aee2026-10-14
  • R25-11rel:R25-11#ed36f2112026-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

变量 tu [SWS_RDS_90241]

ara::core::Optional<std::uint8_t> tu;

Protected IEEE 1722 datagram field tu.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90241
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90241@rel:R25-11#67b6718b
Content hash
67b6718b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90241
Status: valid/unmigrated Version: rel:R25-11#ed11f836 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_RDS_90241@rel:R25-11#ed11f836
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b984c37d2026-09-30
  • R24-11rel:R24-11#ed11f8362026-10-14
  • R25-11rel:R25-11#ed11f8362026-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

变量 tv [SWS_RDS_90236]

ara::core::Optional<std::uint64_t> unique_id;

Protected IEEE 1722 datagram field tv.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90236
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90236@rel:R25-11#1a9a75e3
Content hash
1a9a75e3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90236
Status: valid/unmigrated Version: rel:R25-11#b13b1a1a 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_RDS_90236@rel:R25-11#b13b1a1a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#af60d4762026-09-30
  • R24-11rel:R24-11#442cb2db2026-10-14
  • R25-11rel:R25-11#b13b1a1a2026-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

变量 unique_id [SWS_RDS_90235]

ara::core::Optional<std::uint64_t> mac_address;

Protected IEEE 1722 datagram field unique_id.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90235
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90235@rel:R25-11#429f7d0d
Content hash
429f7d0d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90235
Status: valid/unmigrated Version: rel:R25-11#d3308a83 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_RDS_90235@rel:R25-11#d3308a83
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#a425cced2026-09-30
  • R24-11rel:R24-11#d3308a832026-10-14
  • R25-11rel:R25-11#d3308a832026-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

函数 ~IEEE1722DatagramAVTPDUCommonStreamHeaderFields [SWS_RDS_90242]

~IEEE1722DatagramAVTPDUCommonStreamHeaderFields() noexcept;

Virtual destructor of the IEEE 1722 datagram type.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields

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

Record
AUTOSAR/AP/record/SWS_RDS_90242
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90242@rel:R25-11#d51563f1
Content hash
d51563f1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90242
Status: valid/unmigrated Version: rel:R25-11#11b61d25 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_RDS_90242@rel:R25-11#11b61d25
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#76b103782026-09-30
  • R24-11rel:R24-11#11b61d252026-10-14
  • R25-11rel:R25-11#11b61d252026-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