DEENESPTFRRUARHIKOZHNL

클래스 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

사용자 가이드AI 생성

구성된 통신 엔드포인트를 통해 형식화된 IEEE 1722 스트리밍 데이터그램을 수신합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: e1b5fefad19b 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

구성된 통신 엔드포인트를 통해 형식화된 IEEE 1722 스트리밍 데이터그램을 수신합니다.

템플릿 클래스 ara::rds::IEEE1722RawDataStreamConsumer은(는) AUTOSAR Adaptive Platform에서 형식화된 IEEE 1722 스트리밍 데이터그램을 수신하는 데 사용됩니다. 인스턴스는 InstanceSpecifier을(를) 사용하여 정적 메서드 Create()을(를) 통해 생성되고 [SWS_RDS_90312] 후속적으로 Connect()을(를) 통해 데이터 스트림에 연결됩니다. 메서드 ReadData()을(를) 통해 사전 정의된 최대 개수까지 수신 데이터그램을 읽어올 수 있습니다 [SWS_RDS_90321]. 복사 작업은 제외되므로 연결은 이동(Move) 작업을 통해서만 독점적으로 전달될 수 있으며, 해당 작업의 실행은 스레드 안전하지 않습니다.

컨텍스트

템플릿 클래스 ara::rds::IEEE1722RawDataStreamConsumer은(는) AUTOSAR Adaptive Platform의 원시 데이터 스트림 모듈(rds) 내에서 IEEE 1722 스트리밍 데이터그램을 위한 형식화된 수신자(Consumer) 역할을 합니다. 템플릿 매개변수 T을(를) 통해 데이터그램의 구체적인 페이로드 데이터 타입이 결정됩니다. 이 클래스는 데이터 스트림에 대한 액세스를 캡슐화하고 ara::core::InstanceSpecifier 타입의 식별자를 통해 통신 엔드포인트를 구성된 통신 인프라에 바인딩합니다 [SWS_RDS_90312]. 애플리케이션은 이 컨슈머를 사용하여 구조화된 AVTP 또는 IEEE 1722 페이로드 데이터 스트림을 직접적이고 리소스 효율적으로 수신합니다.

수명 주기

컨슈머의 인스턴스화는 대상 인스턴스를 지정하는 정적 팩토리 메서드 Create() [SWS_RDS_90312]을(를) 통해서만 독점적으로 수행됩니다. 사용자를 위한 직접적인 생성자 호출은 제공되지 않습니다. 이 클래스는 엄격한 이동 전용(Move-Only) 시맨틱을 구현합니다. 복사 생성자 [SWS_RDS_90316]와(과) 복사 할당 연산자 [SWS_RDS_90317]이 모두 삭제되었으므로 인스턴스 복사는 명시적으로 금지됩니다. 이를 통해 기본 연결과 버퍼 리소스가 항상 고유한 소유권 아래 유지되도록 보장합니다.

컨텍스트 간의 소유권 이전을 가능하게 하기 위해, 이 클래스는 이동 생성자 [SWS_RDS_90314] 및 이동 할당 연산자 [SWS_RDS_90315]을(를) 제공합니다. 두 이동 작업은 스레드 안전하지 않은 것으로 선언되었으므로 동일한 인스턴스에 대한 동시 액세스는 동기화되어야 합니다. 인스턴스 해제 시 소멸자 ~IEEE1722RawDataStreamConsumer()은(는) 혹시 아직 남아 있는 연결을 자동으로 닫습니다 [SWS_RDS_90318]. 소멸자 역시 스레드 안전하지 않은 것으로 명시되어 있습니다.

사용 경로

IEEE1722RawDataStreamConsumer 사용 시의 일반적인 절차는 연속적인 네 가지 단계로 구성됩니다.

  1. 생성: 애플리케이션은 원하는 ara::core::InstanceSpecifier [SWS_RDS_90312]과(와) 함께 팩토리 메서드 Create()을(를) 통해 컨슈머 인스턴스를 생성합니다.
  2. 연결 수립: 페이로드 데이터를 수신하기 전에 애플리케이션은 Connect() [SWS_RDS_90319]을(를) 호출하여 컨슈머를 구성된 데이터 스트림에 연결합니다.
  3. 데이터 수신: 애플리케이션은 ReadData()을(를) 반복적 또는 주기적으로 호출합니다 [SWS_RDS_90321]. 이때 매개변수 maxNumberOfDatagrams은(는) 해당 호출에서 질의할 데이터그램의 최대 개수를 지정합니다. 결과는 템플릿 타입 T의 벡터로 반환됩니다.
  4. 연결 해제: 데이터 전송이 완료된 후 애플리케이션은 Shutdown() [SWS_RDS_90320]을(를) 통해 연결을 명시적으로 종료하거나 정리를 소멸자 [SWS_RDS_90318]에 맡깁니다.
Nutzungsablauf IEEE1722RawDataStreamConsumer애플리케이션IEEE1722RawDataStreamConsumerCreate(instance)Result<IEEE1722RawDataStreamConsumer<T>>Connect()Result<void>loop데이터가 수신되는 동안ReadData(maxNumberOfDatagrams)Result<std::vector<T>>Shutdown()Result<void>

시퀀스 다이어그램: 컨슈머의 생성, 연결, 주기적 데이터그램 질의 및 종료를 위한 일반적인 사용 경로. 출처: [SWS_RDS_90312], [SWS_RDS_90319], [SWS_RDS_90321], [SWS_RDS_90320], [SWS_RDS_90318].

오류 시나리오

클래스의 모든 일반 인터페이스 함수(Create() [SWS_RDS_90312], Connect() [SWS_RDS_90319], ReadData() [SWS_RDS_90321] 및 Shutdown() [SWS_RDS_90320])는 noexcept(으)로 한정되어 있으며 오류 상태를 C++ 예외가 아닌 반환 타입 ara::core::Result을(를) 통해 알립니다. 따라서 애플리케이션은 데이터 값에 접근하거나 후속 작업을 수행하기 전에 각 결과에 값 또는 오류가 포함되어 있는지 확인해야 합니다.

발생 가능한 오류 상황에는 InstanceSpecifier의 구성이 잘못된 경우의 인스턴스 생성 실패뿐만 아니라 Connect() 또는 ReadData() 도중의 연결 끊김이나 네트워크 액세스 오류가 포함됩니다. 해석: ReadData() 호출은 이전에 Connect()을(를) 통한 성공적인 연결 수립이 완료되었음을 전제할 것으로 추정됩니다. 질문 Q-ea5241fe8b3e95a8 (열림) 구체적인 오류 원인은 관용적으로 반환된 ara::core::Result 내의 오류 코드로 전달될 것으로 추정됩니다.

이 가이드는 AUTOSAR Adaptive Platform 릴리스 R25-11 사양을 기반으로 AI 시스템에 의해 생성되었습니다.

멤버 맵

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Copy constructor is not allowed.

오버로드 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;

메서드

Connect 함수

Connects the IEEE 1722 stream consumer.

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

Creates an IEEE 1722 consumer.

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

Reads IEEE 1722 datagrams.

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

Shuts down the consumer connection.

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

연산자

operator= 함수 2

Copy assignment operator is not allowed.

오버로드 = 2
IEEE1722RawDataStreamConsumer &operator=(const IEEE1722RawDataStreamConsumer &)=delete; SWS_RDS_90317
IEEE1722RawDataStreamConsumer &operator=(IEEE1722RawDataStreamConsumer &&other) & noexcept; SWS_RDS_90315

메서드와 타입 문서

함수 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#d6dde117
Content hash
d6dde117
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

함수 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#bae0425e
Content hash
bae0425e
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

함수 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#bc4b7c1c
Content hash
bc4b7c1c
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

함수 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#9f7ead83
Content hash
9f7ead83
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

함수 ~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#4f56e7b0
Content hash
4f56e7b0
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

함수 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#26c702be
Content hash
26c702be
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

함수 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#4ac4561e
Content hash
4ac4561e
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

함수 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#bfb966ff
Content hash
bfb966ff
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

함수 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#14e855ad
Content hash
14e855ad
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