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.
template<typename T> class IEEE1722RawDataStreamProducer final {...};
Producer for typed IEEE 1722 stream datagrams.
Header-Datei
#include "ara/rds/raw_data_stream_IEEE1722.h"
Scope
namespace ara::rds
User GuideAI-GENERATED
Enables the typed transmission of IEEE 1722 data stream datagrams via a configured connection.
AI-GENERATEDunreviewedModel: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4f4ec9f5aa38ProvenanceOpen questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original
Enables the typed transmission of IEEE 1722 data stream datagrams via a configured connection.
The template class ara::rds::IEEE1722RawDataStreamProducer serves in the AUTOSAR Adaptive Platform to send typed data stream datagrams according to the IEEE 1722 standard (AUTOSAR_AP_SWS_RawDataStream, p. 1). Following static creation using Create, the connection is established via Connect, whereupon payload data is transmitted as a vector via WriteData[SWS_RDS_90332]. The class features strict move-only semantics and is not thread-safe for move operations or in the destructor. An explicit invocation of Shutdown or the destruction of the object terminates the connection properly.
Context
The template class ara::rds::IEEE1722RawDataStreamProducer provides the interface for sending typed data stream datagrams according to the IEEE 1722 standard (AUTOSAR_AP_SWS_RawDataStream, p. 1) within the module rds (Raw Data Stream) of the AUTOSAR Adaptive Platform. As a producer component, it encapsulates channel- and protocol-specific connection establishment as well as the transport of payload data across the underlying network.
Addressing and software-side binding to a configured stream instance are performed by passing an ara::core::InstanceSpecifier to the creation method [SWS_RDS_90323]. Primary interaction partners are the using software, which generates data elements of the template type T, and the IEEE 1722 network stack, which physically transports the datagrams. The class definition is included via header #include "ara/rds/raw_data_stream_IEEE1722.h"[SWS_RDS_90323].
Lifecycle
Instantiation of ara::rds::IEEE1722RawDataStreamProducer occurs exclusively via the static factory method Create[SWS_RDS_90323]. The class is subject to strict move-only semantics: The copy constructor [SWS_RDS_90327] and the copy assignment operator [SWS_RDS_90328] are deleted (=delete), thereby preventing resource duplication.
Transferring the instance to other owners is possible via the move constructor [SWS_RDS_90324] and the move assignment operator [SWS_RDS_90326]. Regarding concurrency, move operations and the destructor are declared as not thread-safe [SWS_RDS_90324], [SWS_RDS_90326], [SWS_RDS_90329]; concurrent access from different threads requires external synchronization.
After creation, the producer is initially in the disconnected state. The connection is established via Connect[SWS_RDS_90330]. Termination of the connection occurs either explicitly via Shutdown[SWS_RDS_90331] or automatically upon destruction of the instance: The destructor ~IEEE1722RawDataStreamProducer() ensures that an open connection is shut down [SWS_RDS_90329].
The regular sequence for transmitting IEEE 1722 data streams is divided into the following phases:
Creation: The application instantiates the producer via Create, specifying the instance identifier [SWS_RDS_90323], and takes ownership of the returned instance.
Connection establishment: Before transmitting data, the application calls Connect[SWS_RDS_90330] to open the communication channel.
Data transmission: Datagrams are then passed to the network as a vector of type T using WriteData(std::vector<T> data)[SWS_RDS_90332]. This step can be repeated cyclically or in an event-driven manner.
Connection teardown: After transmissions are complete, Shutdown terminates the connection explicitly [SWS_RDS_90331]. Alternatively, the destructor closes the connection when leaving scope [SWS_RDS_90329].
The operations of the class are specified as noexcept and utilize the error model ara::core::Result:
Create returns an ara::core::Result<IEEE1722RawDataStreamProducer<T>>[SWS_RDS_90323]. In case of faulty configuration or lack of resources, the result contains a corresponding error code instead of an instance.
Connect reports a connection establishment failure via ara::core::Result<void>[SWS_RDS_90330].
WriteData returns an ara::core::Result<void>[SWS_RDS_90332]. Interpretation: An invocation presumably requires prior successful connection establishment using Connect; if a connection is missing or internal transmission errors occur, an error is reported. Question Q-ee438b8710c58062 (open)
Shutdown signals any errors during connection closure likewise via an ara::core::Result<void>[SWS_RDS_90331].
Interpretation: Concrete ara::core::ErrorCode values are not specified in the interface extract and must be checked application-specifically via the returned Result. Question Q-472e6d4a603c883d (open)
This guide is based exclusively on the AUTOSAR Adaptive R25-11 interface specification and was automatically generated.
gemini-3.8-flash-low· 2026-10-13 · German original