DEENESPTFRRUARHIKOZHNL

class 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

User GuideAI-GENERATED

Encapsulates common header fields such as timestamps and sequence numbers for IEEE 1722 AVTPDU streams as optional values.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 912c0d92e417 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Encapsulates common header fields such as timestamps and sequence numbers for IEEE 1722 AVTPDU streams as optional values.

The class ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields serves in module rds as a protected base structure for encapsulating common stream header fields for IEEE 1722 AVTPDU datagrams SWS RawDataStream p. 1. It holds protocol-relevant attributes such as sequence numbers and timestamps in ara::core::Optional fields, which are typically instantiated and evaluated via derived datagram classes. Safe polymorphic teardown of instances is ensured via a virtual destructor declared as noexcept [SWS_RDS_90242]. Prior to read access to the attributes, presence of the respective optional value must always be checked.

Context

The class ara::rds::IEEE1722DatagramAVTPDUCommonStreamHeaderFields provides within the Raw Data Stream module (rds) of the AUTOSAR Adaptive Platform the common representation of stream header fields for IEEE 1722 AVTPDU datagrams SWS RawDataStream p. 1. It is included via the header #include "ara/rds/raw_data_stream_IEEE1722.h" and forms the standardized foundation for processing Audio/Video Transport Protocol Data Units (AVTPDU) via Ethernet-based data streams. All protocol variables defined in the specification are provided with the access modifier protected ([SWS_RDS_90235], [SWS_RDS_90236], [SWS_RDS_90237], [SWS_RDS_90238], [SWS_RDS_90239], [SWS_RDS_90240], [SWS_RDS_90241]). Interpretation: This suggests that the class is designed as an inheritance base for specialized datagram types and is unlikely to be intended for direct use as a standalone object in application code. Question Q-11a6ac64bcd3c7d8 (open)

The class bundles protocol attributes of the IEEE 1722 AVTP stream. These include sequence number sequenceNum [SWS_RDS_90240] for tracking packet order, timestamp avtp_timestamp of type ara::tsync::Timestamp [SWS_RDS_90237] for chronological categorization in the synchronized network, and the time uncertainty flag tu [SWS_RDS_90241]. Additional header fields such as MAC address, identifier, and flags complete the protocol frame ([SWS_RDS_90235], [SWS_RDS_90236], [SWS_RDS_90238], [SWS_RDS_90239]). The consistent encapsulation of each data field in an ara::core::Optional accounts for the fact that not all fields must always be populated, depending on the AVTPDU format variant.

Lifecycle

Instantiation and lifetime of the common header fields are tied directly to the respective derived datagram class. Because the members are declared protected, they are typically allocated in the constructor of a specialized subclass as soon as an AVTPDU stream is received or assembled for transmission SWS RawDataStream p. 1.

For proper destruction, the class declares a virtual destructor with the identifier ~IEEE1722DatagramAVTPDUCommonStreamHeaderFields() noexcept [SWS_RDS_90242]. Virtuality ensures that when a datagram is deleted via a base class pointer, complete destructor invocation of the derived instance occurs. The qualification as noexcept guarantees that no exceptions are thrown during destruction.

Regarding concurrency, the class provides no synchronization mechanisms. Interpretation: Thread-safe access to the protected members during parallel processing presumably must be ensured by higher-level mechanisms of the using layers. Question (open)

Usage Path

In practice, usage typically follows this sequence:

  • Creation and population: A derived datagram class instantiates the header structure. When sending, it populates the required ara::core::Optional fields, for example sequence number sequenceNum [SWS_RDS_90240] and AVTP timestamp avtp_timestamp [SWS_RDS_90237].
  • Processing in the receive path: Incoming raw data is deserialized and assigned to the attributes. The evaluation logic checks for the presence of optional values and, for example, processes timing via synchronization timestamp [SWS_RDS_90237] or discards duplicate packets based on sequenceNum [SWS_RDS_90240].
  • Release: After stream processing, the instance is cleaned up via the destructor [SWS_RDS_90242].

Error Scenarios

No specific error codes or exception types are defined for the class in the specification. Possible error states are limited to handling optional data fields and interface conditions:

Since all fields are encapsulated as ara::core::Optional ([SWS_RDS_90235], [SWS_RDS_90236], [SWS_RDS_90237], [SWS_RDS_90238], [SWS_RDS_90239], [SWS_RDS_90240], [SWS_RDS_90241]), it must be ensured before accessing their value that the field is validly populated. Unchecked direct access to an empty optional object leads to erroneous behavior.

The destructor is declared as noexcept [SWS_RDS_90242]. Any errors occurring during resource cleanup in derived structures must therefore not be propagated as exceptions, but must be handled internally.

This guide is based on the AUTOSAR Adaptive R25-11 specification.

Member map

Detail view

Select an entry in the outline.

Constructors and destructor

Virtual destructor of the IEEE 1722 datagram type.

~IEEE1722DatagramAVTPDUCommonStreamHeaderFields() noexcept;

Constants

Protected IEEE 1722 datagram field avtp_timestamp.

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

Protected IEEE 1722 datagram field mac_address.

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

Protected IEEE 1722 datagram field mr.

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

Protected IEEE 1722 datagram field sequenceNum.

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

Protected IEEE 1722 datagram field tu.

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

Protected IEEE 1722 datagram field tv.

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

Protected IEEE 1722 datagram field unique_id.

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

Documentation of methods and types

variable 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#2c7643d5
Content hash
2c7643d5
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

variable 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#ba54d018
Content hash
ba54d018
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

variable 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#c43942c3
Content hash
c43942c3
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

variable 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#cf85045b
Content hash
cf85045b
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

variable 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#b984c37d
Content hash
b984c37d
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

variable 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#af60d476
Content hash
af60d476
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

variable 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#a425cced
Content hash
a425cced
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

function ~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#76b10378
Content hash
76b10378
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