DEENESPTFRRUARHIKOZHNL

klasse ara::diag::DataTransferReadByPullHandler

[SWS_DM_01506] Upstream: RS_Diag_04135

class DataTransferReadByPullHandler {...};

Handles data transfers initiated by RequestReadFile/-Directory with data pulled by AraDiag from the implementation.

Header-Datei#include "ara/diag/data_transfer.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

User GuideAI-GEGENEREERD

Stelt de diagnose-runtime-omgeving in staat om stapsgewijs bestands- en mapgegevens op te halen uit een applicatie.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: a81aee002281 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Stelt de diagnose-runtime-omgeving in staat om stapsgewijs bestands- en mapgegevens op te halen uit een applicatie.

De klasse ara::diag::DataTransferReadByPullHandler dient voor het beschikbaar stellen van bestands- of mapgegevens die door de diagnoselaag AraDiag in het kader van een UDS-leesoperatie actief worden opgehaald uit de applicatie ([SWS_DM_01506]). Het verloop omvat het stapsgewijs ophalen van gegevens via Read() tot de definitieve sessie-afsluiting via ExitRead(). Als strikte levenscyclusvoorwaarde mag een handler-instantie, die aan precies één afzonderlijke overdrachtssessie is toegewezen, in geen geval vóór de aanroep van ExitRead() worden vernietigd ([SWS_DM_01510]).

Context

De klasse ara::diag::DataTransferReadByPullHandler ([SWS_DM_01506], AUTOSAR_AP_SWS_Diagnostics §8.10.2 “Class: DataTransferReadByPullHandler”) handelt gegevensoverdrachten af die zijn geïnitieerd door diagnoseverzoeken voor het lezen van bestanden of mappen (zoals RequestReadFile of RequestReadDirectory). De architectuur is gebaseerd op een pull-methode, waarbij de diagnoselaag AraDiag de over te dragen gegevens actief opvraagt („pulled”) uit de implementatie.

Bij de interactie zijn drie componenten betrokken: de externe UDS-client (diagnosetester), het diagnosesubsysteem AraDiag en de applicatiespecifieke handler-implementatie. De externe client verzendt leesverzoeken, waarna AraDiag de methoden van de handler aanroept om stapsgewijs gegevenschunks beschikbaar te stellen en naar de UDS-client te verzenden ([SWS_DM_01513]).

Levenscyclus

De levenscyclus van een handler-instantie is exclusief gebonden aan een afzonderlijke bestandsoverdrachtssessie. De standaardconstructor is als protected gedeclareerd ([SWS_DM_01507]). Interpretatie: de concrete applicatie zal daarom vermoedelijk een afgeleide subklasse implementeren en instantiëren. Vraag Q-cb78bc4a1d40968b (open)

Kopieeroperaties zijn volledig gedeactiveerd: de kopieerconstructor ([SWS_DM_01509]) en de kopieertoekenningsoperator ([SWS_DM_01512]) zijn als verwijderd (=delete) gespecificeerd, aangezien handlers bedoeld zijn voor eenmalig gebruik binnen een sessie („only one way usage i.e. per single file transfer session”). Verplaatsingsoperaties (move-constructor en move-toekenning) zijn daarentegen gedefinieerd als standaardimplementatie en gedeclareerd als noexcept ([SWS_DM_01508], [SWS_DM_01511], AUTOSAR_AP_SWS_Diagnostics §8.10.2.1.1.1 “Move Constructor”).

Voor de vrijgave geldt een strikte preconditie: een instantie van de klasse mag in geen geval worden vernietigd voordat de methode ExitRead() is aangeroepen ([SWS_DM_01510], AUTOSAR_AP_SWS_Diagnostics §8.10.2.1.1.2 “Destructor”). Wat betreft gelijktijdigheid zijn de interfacemethoden Read() en ExitRead() gedefinieerd als niet-thread-safe („not thread-safe”), maar wel uitzonderingsveilig (noexcept) ([SWS_DM_01513], [SWS_DM_01514]).

Gebruikspad

Het reguliere verloop van het ophalen van gegevens is onderverdeeld in de volgende stappen:

  1. Initialisatie: de applicatie instantieert de afgeleide handler-klasse voor de aanstaande overdrachtssessie.
  2. Gegevens ophalen: voor het beschikbaar stellen van de gegevensblokken roept AraDiag de methode Read() aan ([SWS_DM_01513], AUTOSAR_AP_SWS_Diagnostics §8.10.2.1.3.2 “Read”). De applicatie ontvangt een geheugenweergave response_data (van het type ara::core::Span<const ara::core::Byte>) op een door AraDiag vooraf gealloceerde buffer, vult deze met de volgende bestandsinhoud en voltooit de ara::core::Future<std::uint32_t> met het geschreven aantal bytes. AraDiag voegt deze gegevens achter de bloksequenceteller (blockSequenceCounter) in als transferResponseParameterRecord in het positieve UDS-antwoord ([SWS_DM_01513]). Deze stap wordt herhaald voor volgende chunks.
  3. Sessie-afsluiting: voor het regulier beëindigen van de overdracht roept AraDiag ExitRead() aan ([SWS_DM_01514], AUTOSAR_AP_SWS_Diagnostics §8.10.2.1.3.1 “ExitRead”). Meegegeven worden de beëindigingsreden exit_type, fabrikantspecifieke parameters (transfer_request_parameter_record), meta_info en een cancellation_handler. De implementatie bevestigt dit via een ara::core::Future<ara::core::Vector<ara::core::Byte>>, waarvan de retourwaarden achter de SID in het positieve antwoord worden verzonden ([SWS_DM_01514]).
  4. Vrijgave: pas nadat de aanroep van ExitRead() heeft plaatsgevonden, mag het handler-object worden vernietigd ([SWS_DM_01510]).
Verloop van een datatransfer via pull-procedureUDS-ClientAraDiagHandlerLeseanforderung (RequestReadFile/-Directory)Read(response_data, meta_info, cancellation_handler)Datenblock in response_data schreibenFuture<uint32_t> (geschriebene Bytezahl)Positive UDS-Antwort (Datenblock)Abschlussanforderung (TransferExit)ExitRead(exit_type, transfer_request_parameter_record, ...)Future<Vector<Byte>> (bevestiging/aanvullende gegevens)Positive UDS-Antwort (TransferExit)

Sequentiediagram: typisch verloop van het ophalen van gegevens via de pull-methode via AraDiag. Bronnen: [SWS_DM_01513], [SWS_DM_01514]

Foutscenario's

Treden er bij de gegevensvoorbereiding of bij de afsluiting fouten op, dan meldt de applicatie dit via de geretourneerde Future door deze beschikbaar te stellen met een UDS-foutcode (DiagUdsNrcErrc conform ISO 14229-1) ([SWS_DM_01513], [SWS_DM_01514]). AraDiag genereert vervolgens het bijbehorende negatieve UDS-antwoord (NRC) aan de tester.

Voor voortijdig afbreken wordt aan beide methoden een CancellationHandler meegegeven ([SWS_DM_01513], [SWS_DM_01514]). De applicatie kan via cancellation_handler.IsCanceled() controleren of de conversatie is afgebroken, of via cancellation_handler.SetNotifier() een callback-functie registreren. De beschikbaar gestelde buffers (response_data en transfer_request_parameter_record) blijven geldig tot de vervulling van de promise respectievelijk tot het afbreken via de handler.

Wordt de instantie vóór de aanroep van ExitRead() vernietigd, dan is er sprake van een schending van het specificatievoorschrift ([SWS_DM_01510]), wat kan leiden tot onvolledige overdrachtssessies en ongedefinieerde systeemtoestanden.

Deze klassehandleiding is gebaseerd op de specificatie AUTOSAR Adaptive R25-11 en vat de vereisten voor de interface ara::diag::DataTransferReadByPullHandler samen.

Ledenkaart

Klassendiagram

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__DataTransferReadByPullHandler313 DataTransferReadByPullHandler + DataTransferReadByPullHandler() + ~DataTransferReadByPullHandler() + ExitRead() + Read() + operator=()

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

Constructs an instance of this class.

Overloads DataTransferReadByPullHandler 3
DataTransferReadByPullHandler () noexcept=default; SWS_DM_01507
DataTransferReadByPullHandler (DataTransferReadByPullHandler &&other) noexcept=default; SWS_DM_01508
DataTransferReadByPullHandler (DataTransferReadByPullHandler const &)=delete; SWS_DM_01509

Destructs an instance of this class. An instance of this class must not be destroyed before ExitRead() is called.

virtual ~DataTransferReadByPullHandler () noexcept=default;

Methoden

ExitRead functie

Exits an ongoing data transfer session.

virtual auto ExitRead (DataTransferExitType exit_type, ara::core::Span< const ara::core::Byte > transfer_request_parameter_ record, MetaInfo const &meta_info, CancellationHandler cancellation_ handler) noexcept -> ara::core::Future< ara::core::Vector< ara::core::Byte > >=0;
Read functie

Reads data chunk from the application. The first or subsequent file/directory info content chunk to be sent back to the UDS client will be composed by the application and copied into the provided by ara::diag Span with up to the requested Span size.

virtual auto Read (ara::core::Span< const ara::core::Byte > response_ data, MetaInfo const &meta_info, CancellationHandler cancellation_ handler) noexcept -> ara::core::Future< std::uint32_t >=0;

Operatoren

operator= functie 2

Move assigns an instance of this class.

Overloads = 2
auto operator= (DataTransferReadByPullHandler &&other) & noexcept -> DataTransferReadByPullHandler & =default; SWS_DM_01511
auto operator= (DataTransferReadByPullHandler const &) -> DataTransfer ReadByPullHandler &=delete; SWS_DM_01512

Documentatie van de methoden

functie DataTransferReadByPullHandler [SWS_DM_01507] Upstream: RS_Diag_04135

DataTransferReadByPullHandler () noexcept=default;

Constructs an instance of this class.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler
Exception-Sicherheitexception safe
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01507
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01507@rel:R25-11#3309abd2
Content hash
3309abd2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01507
Status: valid/unmigrated Version: rel:R25-11#60e90ec2 Versionshistorie & Revisions (1 transition, 5 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_DM_01507@rel:R25-11#60e90ec2
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#326df67e2026-09-30
  • R22-11rel:R22-11#5e0a297b2026-10-14
  • R23-11rel:R23-11#c1526a6f2026-10-14
  • R24-11rel:R24-11#c9a8ba842026-10-14
  • R25-11rel:R25-11#60e90ec22026-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

functie DataTransferReadByPullHandler [SWS_DM_01508] Upstream: RS_Diag_04135

DataTransferReadByPullHandler (DataTransferReadByPullHandler &&other) noexcept=default;

Move constructs an instance of this class.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler
Exception-Sicherheitexception safe

Parameter (out)

ParameterBeschreibung
otherThe other object

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

Record
AUTOSAR/AP/record/SWS_DM_01508
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01508@rel:R25-11#b58a4fb4
Content hash
b58a4fb4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01508
Status: valid/unmigrated Version: rel:R25-11#86fd98f3 Versionshistorie & Revisions (1 transition, 5 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_DM_01508@rel:R25-11#86fd98f3
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#017f4b222026-09-30
  • R22-11rel:R22-11#2ef417eb2026-10-14
  • R23-11rel:R23-11#11faa0bb2026-10-14
  • R24-11rel:R24-11#8d1119962026-10-14
  • R25-11rel:R25-11#86fd98f32026-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

functie DataTransferReadByPullHandler [SWS_DM_01509] Upstream: RS_Diag_04135

DataTransferReadByPullHandler (DataTransferReadByPullHandler const &)=delete;

Handlers shall not be copyable since only one way usage i.e. per single file transfer session.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01509
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01509@rel:R25-11#86f469ca
Content hash
86f469ca
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01509
Status: valid/unmigrated Version: rel:R25-11#23947b98 Versionshistorie & Revisions (1 transition, 5 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_DM_01509@rel:R25-11#23947b98
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#22037eeb2026-09-30
  • R22-11rel:R22-11#8ff68aa32026-10-14
  • R23-11rel:R23-11#f186fbd82026-10-14
  • R24-11rel:R24-11#3c2842b72026-10-14
  • R25-11rel:R25-11#23947b982026-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

functie ExitRead [SWS_DM_01514] Upstream: RS_Diag_04135

virtual auto ExitRead (DataTransferExitType exit_type, ara::core::Span< const ara::core::Byte > transfer_request_parameter_ record, MetaInfo const &meta_info, CancellationHandler cancellation_ handler) noexcept -> ara::core::Future< ara::core::Vector< ara::core::Byte > >=0;

Exits an ongoing data transfer session.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 7a822a7b2a3d Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De zuiver virtuele methode ExitRead beëindigt een lopende gegevensoverdrachtsessie in het kader van ara::diag::DataTransferReadByPullHandler [SWS_DM_01514] (AUTOSAR_AP_SWS_Diagnostics §8.10.2.1.3.1 “ExitRead”). Zij neemt als parameters de beëindigingsreden exit_type (type DataTransferExitType), voertuigfabrikantspecifieke parameters in transfer_request_parameter_record (als ara::core::Span<const ara::core::Byte>), de verzoekcontext meta_info evenals een cancellation_handler in ontvangst. De parameter transfer_request_parameter_record blijft geldig totdat de bijbehorende Promise is vervuld of de uitvoering via de CancellationHandler wordt afgebroken [SWS_DM_01514].

De aanroep geschiedt asynchroon en retourneert een ara::core::Future<ara::core::Vector<ara::core::Byte>> [SWS_DM_01514]:

  • In het geval van succes wordt de Future voor een positief antwoordbericht beschikbaar gesteld; de gegevens uit OperationOutput.response_data worden daarbij als transferResponseParameterRecord na de service-ID geplaatst.
  • In het geval van een fout wordt de Future vervuld met een UDS-foutcode (NRC) conform ISO 14229-1 uit DiagUdsNrcErrc voor een negatief antwoordbericht.

De functie is gedeclareerd als noexcept en uitzonderingsveilig (exception safe), echter niet thread-safe (not thread-safe) [SWS_DM_01514]. Via de cancellation_handler kan met behulp van cancellation_handler.IsCanceled() de annuleringsstatus worden opgevraagd of kan via cancellation_handler.SetNotifier() een notificatiefunctie voor het afbreken van de conversatie worden geregistreerd [SWS_DM_01514].

Wat betreft de volgorde mag een instantie van DataTransferReadByPullHandler in geen geval worden vernietigd voordat ExitRead() is aangeroepen [SWS_DM_01510]. Overeenkomstige beëindigingsfuncties en destructorvoorwaarden bestaan parallel voor ara::diag::DataTransferReadSharedDataHandler::ExitRead [SWS_DM_01505] ([SWS_DM_01499]) en ara::diag::DataTransferReadByPushHandler::ExitRead [SWS_DM_01523] ([SWS_DM_01519]).

Deze tekst is opgesteld door een AI; de specificatie is bindend.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
exit_typeSpecifies the exit reason
transfer_request_This parameter record contains parameter(s), which are required
parameter_recordby the server to support the transfer of data. Format and length of this parameter(s) are vehicle manufacturer specific. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
meta_infoMetaInfo of the request.
cancellation_handlerThis parameter is used to • Query the current cancellation status by calling cancellation_ handler.IsCanceled(). Returns true in case, the current conversation has been cancelled and false otherwise. • Register a notifier function by calling cancellation_handler.Set Notifier(). The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<ara::core::Vector<ara::core::Byte > >A Future, which either gets readied to OperationOutput (transfer ResponseParameterRecord for a positive response message) or readied with UDS ErrorCode from DiagUdsNrcErrc (for an negative response message). Data in OperationOutput.response_data will be placed after SID as transferResponseParameterRecord in the positive response.

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01514
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01514@rel:R25-11#3d2c8a93
Content hash
3d2c8a93
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01514
Status: valid/unmigrated Version: rel:R25-11#5862e917 Versionshistorie & Revisions (1 transition, 5 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_DM_01514@rel:R25-11#5862e917
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#b7df1d392026-09-30
  • R22-11rel:R22-11#a8dad66b2026-10-14
  • R23-11rel:R23-11#bb1c081f2026-10-14
  • R24-11rel:R24-11#8447e69b2026-10-14
  • R25-11rel:R25-11#5862e9172026-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

functie Read [SWS_DM_01513] Upstream: RS_Diag_04135

virtual auto Read (ara::core::Span< const ara::core::Byte > response_ data, MetaInfo const &meta_info, CancellationHandler cancellation_ handler) noexcept -> ara::core::Future< std::uint32_t >=0;

Reads data chunk from the application. The first or subsequent file/directory info content chunk to be sent back to the UDS client will be composed by the application and copied into the provided by ara::diag Span with up to the requested Span size.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 104f857aa59e Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik en aanroepsemantiek

De methode Read van de klasse ara::diag::DataTransferReadByPullHandler dient voor het uitlezen van datablokken door de applicatie in het kader van de UDS-datatransfer [SWS_DM_01513]. De applicatie stelt het eerste of volgende bestands- of directory-inhoudsblok samen en kopieert dit naar de door ara::diag overgedragen buffer response_data (type ara::core::Span<const ara::core::Byte>) tot maximaal de grootte van de span.

De aanroep vindt asynchroon plaats en geeft een ara::core::Future<std::uint32_t> terug [SWS_DM_01513]. In het geval van succes wordt het future voltooid met het daadwerkelijk geleverde aantal bytes; deze data worden in het positieve UDS-antwoord na het blockSequenceCounter als transferResponseParameterRecord geplaatst. Via de parameter cancellation_handler kan de applicatie middels IsCanceled() de annuleringsstatus opvragen of via SetNotifier() een meldingsfunctie voor een annulering registreren.

Foutafhandeling en randvoorwaarden

In het geval van een fout wordt het future afgesloten met een toepasselijke UDS-NRC uit DiagUdsNrcErrc conform ISO 14229-1 [SWS_DM_01513]. Als een interface niet of niet meer middels offer() beschikbaar is gesteld, antwoordt de DM met NRC 0x94 (ResourceTemporarilyNotAvailable) [SWS_DM_01257].

Gelijktijdigheid en wisselwerking

De interface is gespecificeerd als niet-thread-safe (not thread-safe), maar uitzonderingsveilig (exception safe) [SWS_DM_01513]. Het geheugengebied van response_data blijft slechts geldig totdat het bijbehorende promise is voltooid of de bewerking wordt geannuleerd. Als alternatief voor het pull-patroon bestaan voor de datatransfer de push-methode via DataTransferReadByPushHandler::Read [SWS_DM_01522] en de overdracht met gedeeld eigendom via DataTransferReadSharedOwnershipHandler::Read [SWS_DM_01504].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatiedocumenten van AUTOSAR Adaptive.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
response_dataThe view over a pre-allocated by AraDiag memory to write in this data chunk. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
meta_infoMetaInfo of the request.
cancellation_handlerThis parameter is used to • Query the current cancellation status by calling cancellation_ handler.IsCanceled(). Returns true in case, the current conversation has been cancelled and false otherwise. • Register a notifier function by calling cancellation_handler.Set Notifier(). The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<std::uint32_t >A Future, which either gets readied to actual amount of data provided in the Span (for a positive response message) or readied with UDS ErrorCode from DiagUdsNrcErrc (for an negative response message). Data in response_data will be placed after blockSequenceCounter as transferResponseParameterRecord in the positive response.

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01513
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01513@rel:R25-11#d18007f6
Content hash
d18007f6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01513
Status: valid/unmigrated Version: rel:R25-11#63972da5 Versionshistorie & Revisions (1 transition, 5 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_DM_01513@rel:R25-11#63972da5
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#1d9ca4162026-09-30
  • R22-11rel:R22-11#75393c2a2026-10-14
  • R23-11rel:R23-11#ca5dc2382026-10-14
  • R24-11rel:R24-11#8cc6dd042026-10-14
  • R25-11rel:R25-11#63972da52026-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

functie operator= [SWS_DM_01511] Upstream: RS_Diag_04135

auto operator= (DataTransferReadByPullHandler &&other) & noexcept -> DataTransferReadByPullHandler & =default;

Move assigns an instance of this class.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler
Exception-Sicherheitexception safe

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
DataTransferReadByPullHandlerReference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01511
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01511@rel:R25-11#e0dcb41d
Content hash
e0dcb41d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01511
Status: valid/unmigrated Version: rel:R25-11#b782b337 Versionshistorie & Revisions (1 transition, 5 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_DM_01511@rel:R25-11#b782b337
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#c6a866242026-09-30
  • R22-11rel:R22-11#4b9d42d12026-10-14
  • R23-11rel:R23-11#44c930122026-10-14
  • R24-11rel:R24-11#5df4ff4d2026-10-14
  • R25-11rel:R25-11#b782b3372026-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

functie operator= [SWS_DM_01512] Upstream: RS_Diag_04135

auto operator= (DataTransferReadByPullHandler const &) -> DataTransfer ReadByPullHandler &=delete;

Handlers shall not be copy-able since only one way usage i.e. per single file transfer session.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01512
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01512@rel:R25-11#914cc9ff
Content hash
914cc9ff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01512
Status: valid/unmigrated Version: rel:R25-11#c19a0a89 Versionshistorie & Revisions (1 transition, 5 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_DM_01512@rel:R25-11#c19a0a89
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#9cf22d9e2026-09-30
  • R22-11rel:R22-11#8bde9da32026-10-14
  • R23-11rel:R23-11#e27d97752026-10-14
  • R24-11rel:R24-11#fef1656d2026-10-14
  • R25-11rel:R25-11#c19a0a892026-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

functie ~DataTransferReadByPullHandler [SWS_DM_01510] Upstream: RS_Diag_04135

virtual ~DataTransferReadByPullHandler () noexcept=default;

Destructs an instance of this class. An instance of this class must not be destroyed before ExitRead() is called.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferReadByPullHandler
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_DM_01510
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01510@rel:R25-11#86e08d73
Content hash
86e08d73
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01510
Status: valid/unmigrated Version: rel:R25-11#b0161e65 Versionshistorie & Revisions (1 transition, 5 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_DM_01510@rel:R25-11#b0161e65
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#aa3b8d842026-09-30
  • R22-11rel:R22-11#66de4fbf2026-10-14
  • R23-11rel:R23-11#ac8a6a602026-10-14
  • R24-11rel:R24-11#6759ad7c2026-10-14
  • R25-11rel:R25-11#b0161e652026-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