DEENESPTFRRUARHIKOZHNL

class ara::rds::IEEE1722RawDataStreamConsumer

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

template<typename T> class IEEE1722RawDataStreamConsumer final {...};

Consumer for typed IEEE 1722 stream datagrams.

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

User GuideAI-GENERATED

Receives typed IEEE 1722 streaming datagrams via a configured communication endpoint.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: e1b5fefad19b Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Receives typed IEEE 1722 streaming datagrams via a configured communication endpoint.

The template class ara::rds::IEEE1722RawDataStreamConsumer is used for the typed reception of IEEE 1722 streaming datagrams in the AUTOSAR Adaptive Platform. Instances are created via the static method Create() with an InstanceSpecifier [SWS_RDS_90312] and subsequently connected to the data stream via Connect(). Incoming datagrams can be read out up to a specified maximum number via the method ReadData() [SWS_RDS_90321]. Copy operations are excluded, meaning the connection can be transferred exclusively by move operations, the execution of which is not thread-safe.

Context

The template class ara::rds::IEEE1722RawDataStreamConsumer acts as a typed receiver for IEEE 1722 streaming datagrams within the Raw Data Stream module (rds) of the AUTOSAR Adaptive Platform. The template parameter T specifies the concrete payload data type of the datagrams. The class encapsulates access to the data stream and binds the communication endpoints to the configured communication infrastructure via an identifier of type ara::core::InstanceSpecifier [SWS_RDS_90312]. Applications use this consumer to receive structured AVTP or IEEE 1722 payload streams directly and in a resource-efficient manner.

Lifecycle

Instantiation of a consumer is performed exclusively via the static factory method Create() [SWS_RDS_90312] by specifying the target instance. Direct constructor invocation is not intended for users. The class implements strict move-only semantics: Copying instances is explicitly prohibited, as both the copy constructor [SWS_RDS_90316] and the copy assignment operator [SWS_RDS_90317] are deleted. This ensures that the underlying connection and buffer resources always remain in unambiguous ownership.

To enable ownership transfers between contexts, the class provides a move constructor [SWS_RDS_90314] and a move assignment operator [SWS_RDS_90315]. Both move operations are declared as not thread-safe, which is why concurrent accesses to the same instance must be synchronized. When destroying the instance, the destructor ~IEEE1722RawDataStreamConsumer() automatically closes any connection that may still exist [SWS_RDS_90318]; the destructor is also specified as not thread-safe.

Usage Path

The typical sequence when using a IEEE1722RawDataStreamConsumer comprises four consecutive phases:

  1. Creation: The application creates the consumer instance via the factory method Create() with the desired ara::core::InstanceSpecifier [SWS_RDS_90312].
  2. Connection establishment: Before receiving payload data, the application connects the consumer to the configured data stream by calling Connect() [SWS_RDS_90319].
  3. Data reception: The application calls ReadData() repeatedly or cyclically [SWS_RDS_90321]. Here, the parameter maxNumberOfDatagrams specifies the maximum number of datagrams to be queried in the call. The result is returned as a vector of the template type T.
  4. Connection teardown: After data transmission is completed, the application terminates the connection explicitly via Shutdown() [SWS_RDS_90320] or leaves the cleanup to the destructor [SWS_RDS_90318].
Nutzungsablauf IEEE1722RawDataStreamConsumerApplicationIEEE1722RawDataStreamConsumerCreate(instance)Result<IEEE1722RawDataStreamConsumer<T>>Connect()Result<void>loopAs long as data is receivedReadData(maxNumberOfDatagrams)Result<std::vector<T>>Shutdown()Result<void>

Sequence diagram: Typical usage path for creation, connection, cyclic datagram polling, and termination of the consumer. Sources: [SWS_RDS_90312], [SWS_RDS_90319], [SWS_RDS_90321], [SWS_RDS_90320], [SWS_RDS_90318].

Error Scenarios

All regular interface functions of the class—Create() [SWS_RDS_90312], Connect() [SWS_RDS_90319], ReadData() [SWS_RDS_90321], and Shutdown() [SWS_RDS_90320]—are qualified with noexcept and signal error states not via C++ exceptions, but via the return type ara::core::Result. Applications must therefore check whether the respective result contains a value or an error before accessing data values or before subsequent operations.

Possible error constellations include failure of instance creation if the configuration of the InstanceSpecifier is faulty, as well as connection drops or network access errors during Connect() or ReadData(). Interpretation: A call to ReadData() presumably requires that a successful connection establishment via Connect() has been completed beforehand. Question Q-ea5241fe8b3e95a8 (open) Concrete causes of error are presumably conveyed idiomatically as error codes in the returned ara::core::Result.

This guide was generated by an AI system based on the AUTOSAR Adaptive Platform Release R25-11 specification.

Member map

Detail view

Select an entry in the outline.

Constructors and destructor

Copy constructor is not allowed.

Overloads IEEE1722RawDataStreamConsumer 2
IEEE1722RawDataStreamConsumer(const IEEE1722RawDataStreamConsumer &)=delete; SWS_RDS_90316
IEEE1722RawDataStreamConsumer(IEEE1722RawDataStreamConsumer &&other) noexcept; SWS_RDS_90314

Destructor; an open connection is shut down.

~IEEE1722RawDataStreamConsumer() noexcept;

Methods

Connect function

Connects the IEEE 1722 stream consumer.

ara::core::Result<void> Connect() noexcept;
Create function

Creates an IEEE 1722 consumer.

static ara::core::Result<IEEE1722RawDataStreamConsumer<T>> Create(const ara::core::InstanceSpecifier &instance) noexcept;
ReadData function

Reads IEEE 1722 datagrams.

ara::core::Result<std::vector<T>> ReadData(std::size_t maxNumberOfDatagrams) noexcept;
Shutdown function

Shuts down the consumer connection.

ara::core::Result<void> Shutdown() noexcept;

Operators

operator= function 2

Copy assignment operator is not allowed.

Overloads = 2
IEEE1722RawDataStreamConsumer &operator=(const IEEE1722RawDataStreamConsumer &)=delete; SWS_RDS_90317
IEEE1722RawDataStreamConsumer &operator=(IEEE1722RawDataStreamConsumer &&other) & noexcept; SWS_RDS_90315

Documentation of methods and types

function IEEE1722RawDataStreamConsumer [SWS_RDS_90316]

IEEE1722RawDataStreamConsumer(const IEEE1722RawDataStreamConsumer &)=delete;

Copy constructor is not allowed.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90316
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90316@rel:R25-11#5597a7ce
Content hash
5597a7ce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90316
Status: valid/unmigrated Version: rel:R25-11#009f2d59 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_90316@rel:R25-11#009f2d59
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#5597a7ce2026-09-30
  • R24-11rel:R24-11#009f2d592026-10-14
  • R25-11rel:R25-11#009f2d592026-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 IEEE1722RawDataStreamConsumer [SWS_RDS_90314]

IEEE1722RawDataStreamConsumer(IEEE1722RawDataStreamConsumer &&other) noexcept;

Move constructor.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722RawDataStreamConsumer
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_RDS_90314
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90314@rel:R25-11#3c97c8b9
Content hash
3c97c8b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90314
Status: valid/unmigrated Version: rel:R25-11#aa17951c 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_90314@rel:R25-11#aa17951c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#3c97c8b92026-09-30
  • R24-11rel:R24-11#aa17951c2026-10-14
  • R25-11rel:R25-11#aa17951c2026-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 operator= [SWS_RDS_90317]

IEEE1722RawDataStreamConsumer &operator=(const IEEE1722RawDataStreamConsumer &)=delete;

Copy assignment operator is not allowed.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90317
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90317@rel:R25-11#ce79784a
Content hash
ce79784a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90317
Status: valid/unmigrated Version: rel:R25-11#b3ef9ada 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_90317@rel:R25-11#b3ef9ada
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ce79784a2026-09-30
  • R24-11rel:R24-11#b3ef9ada2026-10-14
  • R25-11rel:R25-11#b3ef9ada2026-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 operator= [SWS_RDS_90315]

IEEE1722RawDataStreamConsumer &operator=(IEEE1722RawDataStreamConsumer &&other) & noexcept;

Move assignment operator.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722RawDataStreamConsumer
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_RDS_90315
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90315@rel:R25-11#dbaf0193
Content hash
dbaf0193
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90315
Status: valid/unmigrated Version: rel:R25-11#0d283cb5 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_90315@rel:R25-11#0d283cb5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#dbaf01932026-09-30
  • R24-11rel:R24-11#0d283cb52026-10-14
  • R25-11rel:R25-11#0d283cb52026-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 ~IEEE1722RawDataStreamConsumer [SWS_RDS_90318]

~IEEE1722RawDataStreamConsumer() noexcept;

Destructor; an open connection is shut down.

Header-Datei#include "ara/rds/raw_data_stream_IEEE1722.h"
Scopeclass ara::rds::IEEE1722RawDataStreamConsumer
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_RDS_90318
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90318@rel:R25-11#0c378798
Content hash
0c378798
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90318
Status: valid/unmigrated Version: rel:R25-11#dc5de02f 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_90318@rel:R25-11#dc5de02f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0c3787982026-09-30
  • R24-11rel:R24-11#dc5de02f2026-10-14
  • R25-11rel:R25-11#dc5de02f2026-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 Connect [SWS_RDS_90319]

ara::core::Result<void> Connect() noexcept;

Connects the IEEE 1722 stream consumer.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90319
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90319@rel:R25-11#1d0f02a7
Content hash
1d0f02a7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90319
Status: valid/unmigrated Version: rel:R25-11#a4d312fc 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_90319@rel:R25-11#a4d312fc
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1d0f02a72026-09-30
  • R24-11rel:R24-11#0defd1712026-10-14
  • R25-11rel:R25-11#a4d312fc2026-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 ReadData [SWS_RDS_90321]

ara::core::Result<std::vector<T>> ReadData(std::size_t maxNumberOfDatagrams) noexcept;

Reads IEEE 1722 datagrams.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90321
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90321@rel:R25-11#595b6c6e
Content hash
595b6c6e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90321
Status: valid/unmigrated Version: rel:R25-11#ca000d62 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_90321@rel:R25-11#ca000d62
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#595b6c6e2026-09-30
  • R24-11rel:R24-11#ad0de5a62026-10-14
  • R25-11rel:R25-11#ca000d622026-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 Shutdown [SWS_RDS_90320]

ara::core::Result<void> Shutdown() noexcept;

Shuts down the consumer connection.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90320
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90320@rel:R25-11#97c9c702
Content hash
97c9c702
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90320
Status: valid/unmigrated Version: rel:R25-11#9025333d 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_90320@rel:R25-11#9025333d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#97c9c7022026-09-30
  • R24-11rel:R24-11#c61b95152026-10-14
  • R25-11rel:R25-11#9025333d2026-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 Create [SWS_RDS_90312]

static ara::core::Result<IEEE1722RawDataStreamConsumer<T>> Create(const ara::core::InstanceSpecifier &instance) noexcept;

Creates an IEEE 1722 consumer.

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

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

Record
AUTOSAR/AP/record/SWS_RDS_90312
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_90312@rel:R25-11#b2f20264
Content hash
b2f20264
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_90312
Status: valid/unmigrated Version: rel:R25-11#2ac1bb80 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_90312@rel:R25-11#2ac1bb80
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b2f202642026-09-30
  • R24-11rel:R24-11#5f959edc2026-10-14
  • R25-11rel:R25-11#2ac1bb802026-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