DEENESPTFRRUARHIKOZHNL

class ara::rds::IEEE1722DatagramNTSCF

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_90305] · Header ara/rds/raw_data_stream_IEEE1722.h

class IEEE1722DatagramNTSCF {...};

IEEE 1722 datagram representation: IEEE1722DatagramNTSCF.

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

User GuideAI-GENERATED

Encapsulates control data and header fields of IEEE 1722 NTSCF datagrams for processing in raw data streams.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 34ffc7c706f6 Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Encapsulates control data and header fields of IEEE 1722 NTSCF datagrams for processing in raw data streams.

The class ara::rds::IEEE1722DatagramNTSCF represents the data structure for IEEE 1722 NTSCF control datagrams within the Raw Data Stream module SWS RawDataStream “Specification of Raw Data Stream”. It encapsulates protocol-specific fields such as sequence number, address information, and unique identifiers in protected attributes available to specialized datagram classes. A safe lifecycle in polymorphic use is ensured via the virtual destructor [SWS_RDS_90310]. The most critical constraint is that destruction must strictly be non-throwing and optional fields must be checked for presence before access.

Context

Within the AUTOSAR Adaptive module rds (Raw Data Stream), the class ara::rds::IEEE1722DatagramNTSCF represents the structure of an IEEE 1722 datagram in NTSCF format (Non-Time-Synchronous Control Format) according to SWS RawDataStream “Specification of Raw Data Stream”. The class bundles protocol fields specified for the exchange of non-time-critical control and payload streams. The header file #include "ara/rds/raw_data_stream_IEEE1722.h" declares the class in namespace ara::rds. The specified components include the unique stream identifier unique_id [SWS_RDS_90309], the sequence number sequenceNum [SWS_RDS_90307], as well as the length and address information ntscf_data_length and mac_address [SWS_RDS_90306], [SWS_RDS_90308].

It is notable that all data elements have access protection protected. As an interpretation, it can be derived from this that the class serves as a fundamental base class for derived, protocol-specific datagram structures and is presumably not intended for direct instantiation by regular application logic. Question Q-10e9faa973973eda (open)

Lifecycle

The lifecycle of ara::rds::IEEE1722DatagramNTSCF is designed for safe operation in object-oriented inheritance hierarchies. The central element is the virtual destructor ~IEEE1722DatagramNTSCF() noexcept according to [SWS_RDS_90310]. Virtualness guarantees that upon destruction of a derived instance via a pointer to the base class, the destructor chain is executed completely and correctly.

The declaration with noexcept [SWS_RDS_90310] ensures that destruction of the object throws no exceptions under any circumstances. This conforms to the core requirements of modern C++ resource management and guarantees exception safety in the event of an error.

Public constructors are not listed in the scope of the specification. Object creation is therefore likely performed either by derived classes during their initialization or via internal creation mechanisms of the Raw Data Stream module. Question Q-4a0e75e3e565d2d5 (open) The class does not possess fixed states or an internal state machine; from creation to destruction, the object remains in a consistent state as an information carrier.

Usage Path

The class is typically used in the course of processing control data streams according to IEEE 1722. Derived classes or components of the raw data stream framework use the protected attributes to serialize or deserialize the transmitted packets. The attributes are defined as primitive integer types or as ara::core::Optional. The typical processing chain is divided into the following steps:

  • Stream identification: Based on unique_id [SWS_RDS_90309], it is checked to which logical data stream the datagram belongs.
  • Sequence check: Via the sequence number sequenceNum [SWS_RDS_90307], it can be determined whether packets arrived in the expected order or whether packet loss has occurred.
  • Length and address evaluation: Via fields ntscf_data_length and mac_address [SWS_RDS_90306], [SWS_RDS_90308], the size of the payload is determined and the destination or source address is evaluated.

After evaluation of the payload, the usage path ends with the release of the instance via the virtual destructor [SWS_RDS_90310].

Error Scenarios

Due to the nature of ara::rds::IEEE1722DatagramNTSCF as a data structure and base class, errors do not occur in the form of method return codes, but concern preconditions during data access and destruction:

  • Unchecked access to optional fields: Attributes such as sequenceNum [SWS_RDS_90307] and unique_id [SWS_RDS_90309] are declared as ara::core::Optional. Access without prior checking using has_value() leads to runtime errors or undefined behavior in case of incomplete packets.
  • Violation of the noexcept guarantee in the destructor: Since the destructor is specified with noexcept [SWS_RDS_90310], any exception thrown during cleanup in derived classes and not handled locally leads to immediate program termination via std::terminate.
  • Inconsistent length specifications: If the value of ntscf_data_length [SWS_RDS_90306], [SWS_RDS_90308] does not match the actual buffer size of the network driver, buffer overflows or incomplete reading can occur during data processing.

This class guide is based on the AUTOSAR AP R25-11 specification of the Raw Data Stream (rds) module and was generated automatically.

Member map

Detail view

Select an entry in the outline.

Constructors and destructor

Virtual destructor of the IEEE 1722 datagram type.

~IEEE1722DatagramNTSCF() noexcept;

Constants

mac_address variable

Protected IEEE 1722 datagram field mac_address.

std::uint16_t ntscf_data_length; 118 of 185 Document ID 1098: AUTOSAR_AP_SWS_RawDataStream Specification of Raw Data Stream AUTOSAR AP R25-11

Protected IEEE 1722 datagram field ntscf_data_length.

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

Protected IEEE 1722 datagram field sequenceNum.

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

Protected IEEE 1722 datagram field unique_id.

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

Documentation of methods and types

variable mac_address [SWS_RDS_90306]

std::uint16_t ntscf_data_length; 118 of 185 Document ID 1098: AUTOSAR_AP_SWS_RawDataStream Specification of Raw Data Stream AUTOSAR AP R25-11

Protected IEEE 1722 datagram field mac_address.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90306
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90306@rel:R25-11#9b62e054
Content hash
9b62e054
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90306
Status: valid/unmigrated Version: rel:R25-11#6fadf38e 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_90306@rel:R25-11#6fadf38e
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#9b62e0542026-09-30
  • R24-11rel:R24-11#9ef2c4ec2026-10-14
  • R25-11rel:R25-11#6fadf38e2026-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 ntscf_data_length [SWS_RDS_90308]

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

Protected IEEE 1722 datagram field ntscf_data_length.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90308
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90308@rel:R25-11#1793f00b
Content hash
1793f00b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90308
Status: valid/unmigrated Version: rel:R25-11#02183327 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_90308@rel:R25-11#02183327
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1793f00b2026-09-30
  • R24-11rel:R24-11#f38cd6e32026-10-14
  • R25-11rel:R25-11#021833272026-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_90307]

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::IEEE1722DatagramNTSCF
Zugriffprotected

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

Record
AUTOSAR/AP/record/SWS_RDS_90307
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90307@rel:R25-11#45d3c674
Content hash
45d3c674
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90307
Status: valid/unmigrated Version: rel:R25-11#1112868a 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_90307@rel:R25-11#1112868a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#45d3c6742026-09-30
  • R24-11rel:R24-11#1112868a2026-10-14
  • R25-11rel:R25-11#1112868a2026-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_90309]

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

Protected IEEE 1722 datagram field unique_id.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90309
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90309@rel:R25-11#cf41f9d7
Content hash
cf41f9d7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90309
Status: valid/unmigrated Version: rel:R25-11#5a87de2a 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_90309@rel:R25-11#5a87de2a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cf41f9d72026-09-30
  • R24-11rel:R24-11#673c659b2026-10-14
  • R25-11rel:R25-11#5a87de2a2026-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 ~IEEE1722DatagramNTSCF [SWS_RDS_90310]

~IEEE1722DatagramNTSCF() noexcept;

Virtual destructor of the IEEE 1722 datagram type.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90310
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90310@rel:R25-11#5c83722f
Content hash
5c83722f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90310
Status: valid/unmigrated Version: rel:R25-11#95cca511 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_90310@rel:R25-11#95cca511
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5c83722f2026-09-30
  • R24-11rel:R24-11#95cca5112026-10-14
  • R25-11rel:R25-11#95cca5112026-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