DEENESPTFRRUARHIKOZHNL

klasse ara::diag::SovdSwUpdate

[SWS_DM_01874] Upstream: RS_Diag_04265

class SovdSwUpdate {...};

Class to implement the SovdSwUpdate interface.

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

User GuideAI-GEGENEREERD

Dient als interface voor de afhandeling van software-updates via het ASAM SOVD-protocol in de AUTOSAR-diagnoseserver.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 0456e379cc70 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Dient als interface voor de afhandeling van software-updates via het ASAM SOVD-protocol in de AUTOSAR-diagnoseserver.

De klasse biedt de applicatiezijdige interface voor de afhandeling van gestandaardiseerde software-updates via het SOVD-protocol conform ASAM SOVD [SWS_DM_01796]. Na instantiëring activeert de applicatie het doorsturen van diagnoseverzoeken naar de specifieke update-handlers via de methode Offer() [SWS_DM_01924]. Via asynchrone methoden worden pakketten geregistreerd, voorbereid, geautomatiseerd of handmatig geïnstalleerd en weer verwijderd. Alle datatransmissie- en levenscyclusrelevante processen worden daarbij niet-blokkerend via futures verwerkt.

Context

De klasse ara::diag::SovdSwUpdate definieert de interface voor de implementatie van gestandaardiseerde software-updates conform ASAM SOVD binnen het AUTOSAR Adaptive Platform [SWS_DM_01874]. Omdat de eigenlijke bedrijfslogica van software-actualisaties niet in het functionele cluster Diagnostic Management (DM) is ondergebracht, blijft de uitvoering bij de desbetreffende applicatie, terwijl ara::diag::SovdSwUpdate zich concentreert op de standaardconforme afhandeling van het onderliggende SOVD-protocol AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”. Voor het uploaden van updatebestanden worden hierbij overdrachtsstrategieën toegepast zoals gespecificeerd voor de UDS-dienst 0x38 (RequestFileTransfer) AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”, [SWS_DM_01923].

Bij de processen zijn drie essentiële componenten betrokken: de externe SOVD-client, de instantie van de Diagnostic Server (DM) voor protocol- en routebeheer, en de applicatiespecifieke handler-implementatie van ara::diag::SovdSwUpdate [SWS_DM_01796], [SWS_DM_01924].

SovdSwUpdateContext client SOVD-Client dm Diagnostic Server (DM) client->dm SOVD-Protokoll (ASAM SOVD) handler ara::diag::SovdSwUpdate (Anwendungs-Handler) dm->handler Methodenaufrufe (z. B. Prepare/Execute) handler->dm ara::core::Future

Contextdiagram: samenspel van SOVD-client, Diagnostic Server (DM) en ara::diag::SovdSwUpdate. Bronnen: [SWS_DM_01796], [SWS_DM_01924], AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”

Levenscyclus

De instantiatie van ara::diag::SovdSwUpdate vindt plaats via de constructor onder opgave van een ara::core::InstanceSpecifier, die verwijst naar een port-prototype van een gemodelleerde DiagnosticSovdUpdateInterface, evenals een concurrency-modus (ConcurrencyType: kConcurrent of kNotConcurrent) [SWS_DM_01910]. De constructor is thread-safe en uitzonderingsveilig gespecificeerd [SWS_DM_01910]. Als representant van een unieke interface-instantie zijn de copy-constructor en de copy-assignment-operator verwijderd (=delete) en beschermd [SWS_DM_01912], [SWS_DM_01914]. Move-constructie en move-assignment zijn beschermd beschikbaar, maar niet thread-safe [SWS_DM_01913], [SWS_DM_01915].

De vernietiging van het object wordt afgehandeld via de virtuele destructor ~SovdSwUpdate(), die als niet thread-safe geldt [SWS_DM_01911]. Of de virtuele callback-methoden van de klasse gelijktijdig moeten worden uitgevoerd, hangt direct af van de aan de constructor doorgegeven ConcurrencyType [SWS_DM_01910], [SWS_DM_01916].

Gebruikspad

Interpretatie: Aangezien de ter beschikking gestelde interfacemethoden puur virtueel (=0) zijn gedeclareerd, zal vermoedelijk een afgeleide applicatieklasse deze implementeren om de eigenlijke update-uitvoering te verrichten, terwijl de basisklasse de platformkoppeling regelt. Vraag Q-10500d9fc58503ea (open)

Het reguliere verloop is onderverdeeld in de volgende fasen:

  • Beschikbaarstelling: Na het aanmaken van het object roept de applicatie Offer() aan om het Diagnostic Management in staat te stellen inkomende SOVD-berichten naar deze instantie door te sturen [SWS_DM_01924].
  • Informatie en registratie: Via GetAllUpdates() kunnen aanwezige updatepakketten worden opgevraagd [SWS_DM_01797], [SWS_DM_01916]. Als er een nieuw pakket moet worden overgedragen, vraagt de Diagnostic Server via RequestUpdatePackageRegistration() een registratie aan, die asynchroon een schrijfsessie (DataTransferWriteSession) samen met een updatepakket-ID ter beschikking stelt [SWS_DM_01923]. Details en status worden via GetUpdatePackageDetails() en GetUpdatePackageStatus() bepaald [SWS_DM_01802], [SWS_DM_01917], [SWS_DM_01921].
  • Installatie of verwijdering: De installatie kan hetzij geautomatiseerd via PutUpdatePackageAutomated() worden geïnitieerd [SWS_DM_01799], [SWS_DM_01918] of in twee stappen via PrepareUpdatePackage() [SWS_DM_01800], [SWS_DM_01919] gevolgd door ExecuteUpdatePackage() [SWS_DM_01801], [SWS_DM_01920] plaatsvinden. Niet meer benodigde pakketten worden via DeleteUpdatePackage() verwijderd [SWS_DM_01922].
  • Beëindiging: Voorafgaand aan het afsluiten deactiveert de applicatie het doorsturen van berichten door het aanroepen van StopOffer() [SWS_DM_01925].
Verloop van een software-update via SOVDSOVD-ClientDiagnostic ServerSovdSwUpdateUse Case: DienstfreigabeOffer()Result<void>Use Case: Registratie van het updatepakketSOVD: Register UpdateRequestUpdatePackageRegistration(metaInfo, expectedSize, cancellationHandler)Future<tuple<DataTransferWriteSession, updatePackageId>>SOVD Response (Session & Package-ID)Use Case: Voorbereiding en installatieSOVD: Prepare InstallationPrepareUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD ResponseSOVD: Execute InstallationExecuteUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD Response

Sequentiediagram: typisch verloop van een pakketregistratie en -installatie via SOVD. Bronnen: [SWS_DM_01799], [SWS_DM_01800], [SWS_DM_01801], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923], [SWS_DM_01924]

Foutscenario's

Bij het aanbieden van de services via Offer() kunnen specifieke fouten in het retourtype ara::core::Result<void> optreden: DiagOfferErrc::kAlreadyOffered, indien de instantie reeds wordt aangeboden, evenals DiagOfferErrc::kConfigurationMismatch, wanneer de configuratie niet overeenkomt met het diagnose-extract (DEXT) [SWS_DM_01924].

Als de constructor wordt aangeroepen met een foutieve modelstatus, worden architectuurschendingen gemeld, waaronder InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation of InstanceSpecifierAlreadyInUseViolation [SWS_DM_01910].

Alle functionele update-operaties retourneren een ara::core::Future, die bij fouten foutcodes conform ASAM SOVD 1.1 resp. ISO 17978-3 transporteert [SWS_DM_01917], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923]. Daarnaast ontvangen alle asynchrone methoden een CancellationHandler, waarmee een voortijdige afbreking van de lopende diagnoseverbinding wordt gesignaleerd [SWS_DM_01916], [SWS_DM_01919], [SWS_DM_01923].

Deze handleiding is gebaseerd op de specificatie AUTOSAR Adaptive R25-11 en is geautomatiseerd gegenereerd.

Ledenkaart

Klassendiagram

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

G nara__diag__SovdSwUpdate737 SovdSwUpdate + ~SovdSwUpdate() + SovdSwUpdate() + DeleteUpdatePackage() + ExecuteUpdatePackage() + GetAllUpdates() + GetUpdatePackageDetails() + GetUpdatePackageStatus() + Offer() + PrepareUpdatePackage() + PutUpdatePackageAutomated() + RequestUpdatePackageRegistration() + StopOffer() + operator=()

Detailweergave

Kies een item in de inhoudsopgave.

Constructors en destructor

SovdSwUpdate functie 3

Constructor for SovdSwUpdate.

Overloads SovdSwUpdate 3
SovdSwUpdate (ara::core::InstanceSpecifier const &instanceSpecifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_01910
SovdSwUpdate (SovdSwUpdate const &)=delete; SWS_DM_01912
SovdSwUpdate (SovdSwUpdate &&other) noexcept; SWS_DM_01913

Destructor of class SovdSwUpdate.

virtual ~SovdSwUpdate () noexcept;

Methoden

Called for SOVD method "Delete Update Package from an SOVD Server".

virtual ara::core::Future< void > DeleteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Execute Installation of an Update".

virtual ara::core::Future< void > ExecuteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Retrieve List of All Updates".

virtual ara::core::Future< ara::core::Vector< ara::core::String > > GetAllUpdates (ara::core::String targetVersion, ara::core::String origin, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

Called for SOVD method "Get Details of Update".

virtual ara::core::Future< UpdatePackageDetails > GetUpdatePackage Details (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Status of an Update".

virtual ara::core::Future< UpdatePackageStatus > GetUpdatePackage Status (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
Offer functie

This Offer will enable the DM to forward request messages to this handler.

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

Called for SOVD method "Prepare Installation of an Update".

virtual ara::core::Future< void > PrepareUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Automated Installation of an Update".

virtual ara::core::Future< void > PutUpdatePackageAutomated (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Register an Update at the SOVD Server".

virtual ara::core::Future< std::tuple< DataTransferWriteSession, ara::core::String > > RequestUpdatePackageRegistration (MetaInfo const &metaInfo, ara::core::Optional< uint64_t > expectedSize, Cancellation Handler cancellationHandler) noexcept=0;
StopOffer functie

This StopOffer will disable the forwarding of request messages from DM.

void StopOffer () const noexcept;

Operatoren

operator= functie 2

SovdSwUpdate shall be a single not assignable instance.

Overloads = 2
SovdSwUpdate & operator= (SovdSwUpdate const &)=delete; SWS_DM_01914
SovdSwUpdate & operator= (SovdSwUpdate &&other) & noexcept; SWS_DM_01915

Geneste typen

Documentatie van de methoden

functie DeleteUpdatePackage [SWS_DM_01922] Upstream: RS_Diag_04265

virtual ara::core::Future< void > DeleteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Delete Update Package from an SOVD Server".

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

De zuiver virtuele functie DeleteUpdatePackage van de klasse ara::diag::SovdSwUpdate wordt conform [SWS_DM_01803] door de instantie van de Diagnostic Server aangeroepen wanneer de SOVD-methode “Delete Update Package from an SOVD Server” moet worden uitgevoerd ([SWS_DM_01922]). Zij brengt het serverzijde verwijderen van een updatepakket op gang.

De aanroep vindt asynchroon plaats en retourneert een ara::core::Future<void>, die de succesvolle voltooiing aangeeft of een foutobject beschikbaar stelt [SWS_DM_01922]. De signatuur vereist de volgende invoerparameters:

  • updatePackageId: duidt als ara::core::String de unieke ID van het te wissen updatepakket aan.
  • metaInfo: draagt als MetaInfo const& aanvullende contextinformatie van het verzoek over.
  • cancellationHandler: verstuurt een object van het type CancellationHandler, dat erover informeert of de huidige conversatie is afgebroken.

Als tijdens de verwerking een fout optreedt, wordt de Future voorzien van een overeenkomstige SOVD-fout. De specificatie schrijft hiervoor het gebruik van passende foutcodes uit ASAM SOVD 1.1 of ISO 17978-3 voor [SWS_DM_01922].

Met betrekking tot gelijktijdigheid is de methode gedefinieerd als voorwaardelijk thread-safe: of de implementatie thread-safe of non-thread-safe moet worden uitgevoerd, wordt vastgelegd via de in de constructor overgedragen ConcurrencyType [SWS_DM_01922]. Bovendien is de functie gedeclareerd als noexcept en uitzonderingsveilig, waardoor er geen uitzonderingen mogen ontsnappen.

Deze gebruiksinstructie is gebaseerd op de specificatie AUTOSAR Adaptive R25-11 en is gegenereerd door een AI.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id to be deleted
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive results or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01922
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01922@rel:R25-11#56bf3178
Content hash
56bf3178
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01922
Status: valid/unmigrated Version: rel:R25-11#3e5d5362 Versionshistorie & Revisions (1 transition, 4 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_01922@rel:R25-11#3e5d5362
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6203bff42026-09-30
  • R23-11rel:R23-11#af1834882026-10-14
  • R24-11rel:R24-11#113a04fa2026-10-14
  • R25-11rel:R25-11#3e5d53622026-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 ExecuteUpdatePackage [SWS_DM_01920] Upstream: RS_Diag_04265

virtual ara::core::Future< void > ExecuteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Execute Installation of an Update".

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: df9b45c15e08 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De pure-virtual-methode ExecuteUpdatePackage van de interface ara::diag::SovdSwUpdate dient voor het uitvoeren van de SOVD-methode “Execute Installation of an Update” [SWS_DM_01920]. De declaratie bevindt zich in de header ara/diag/sovd_sw_update.h AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.2 “ExecuteUpdatePackage”. Als invoerparameters worden de identificator van het updatepakket (updatePackageId) evenals verzoekgegevens (metaInfo) overgedragen [SWS_DM_01920]. Bovendien informeert het object cancellationHandler erover indien de lopende conversatie is afgebroken [SWS_DM_01920]. De aanroep vindt asynchroon plaats en levert een ara::core::Future<void> op, die een positief resultaat beschikbaar stelt of een SOVD-fout meldt [SWS_DM_01920].

Foutafhandeling

De interface is gespecificeerd als noexcept en uitzonderingsveilig (“exception safe”) [SWS_DM_01920]. Fouten tijdens de uitvoering mogen bijgevolg niet via C++-exceptions worden geworpen, maar moeten asynchroon via de ara::core::Future met toepasselijke foutcodes uit ASAM SOVD 1.1 of ISO 17978-3 worden geretourneerd [SWS_DM_01920].

Gelijktijdigheid en randvoorwaarden

Wat betreft de thread-safety bestaat er een voorwaardelijke vereiste (“conditional”): of de functie thread-safe of niet-thread-safe moet worden geïmplementeerd, wordt bepaald via de parameter ConcurrencyType die aan de constructor is overgedragen [SWS_DM_01920]. De implementatie zou de cancellationHandler moeten evalueren om de pakketinstallatie bij een afbreking van de conversatie ordentelijk te beëindigen [SWS_DM_01920]. Vraag Q-8fe6950e8f5a168c (open)

Deze tekst is gegenereerd door een AI en dient als leidraad. Uitsluitend de officiële AUTOSAR-specificaties zijn bindend.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be executed
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive results or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01920
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01920@rel:R25-11#4e5ffabc
Content hash
4e5ffabc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01920
Status: valid/unmigrated Version: rel:R25-11#250ba828 Versionshistorie & Revisions (1 transition, 4 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_01920@rel:R25-11#250ba828
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#da8394102026-09-30
  • R23-11rel:R23-11#c3f2b7802026-10-14
  • R24-11rel:R24-11#f4456b492026-10-14
  • R25-11rel:R25-11#250ba8282026-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 GetAllUpdates [SWS_DM_01916] Upstream: RS_Diag_04265

virtual ara::core::Future< ara::core::Vector< ara::core::String > > GetAllUpdates (ara::core::String targetVersion, ara::core::String origin, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

Called for SOVD method "Retrieve List of All Updates".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
targetVersionOptional parameter to be used if the target-version query parameter is used in the request. If the parameter is not set the String shall be left empty. set in the request the String shall be left empty
originOptional parameter to be used if the origin query parameter is used in the request. If the parameter is not set the String shall be left empty
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<ara::core::Vector<ara::core::String > >A future with a span of all update package ids. The span shall not be modified until the releaseHandler is called.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_01916
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01916@rel:R25-11#f4e98f13
Content hash
f4e98f13
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01916
Status: valid/unmigrated Version: rel:R25-11#fa31eee5 Versionshistorie & Revisions (1 transition, 4 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_01916@rel:R25-11#fa31eee5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cfb37af32026-09-30
  • R23-11rel:R23-11#1313500b2026-10-14
  • R24-11rel:R24-11#2fff52ce2026-10-14
  • R25-11rel:R25-11#fa31eee52026-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 GetUpdatePackageDetails [SWS_DM_01917] Upstream: RS_Diag_04265

virtual ara::core::Future< UpdatePackageDetails > GetUpdatePackage Details (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Details of Update".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<UpdatePackageDetails >A future with the details of the requested update package or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01917
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01917@rel:R25-11#a148067d
Content hash
a148067d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01917
Status: valid/unmigrated Version: rel:R25-11#08879f75 Versionshistorie & Revisions (1 transition, 4 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_01917@rel:R25-11#08879f75
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5194b7fa2026-09-30
  • R23-11rel:R23-11#bed00f3c2026-10-14
  • R24-11rel:R24-11#71be4b722026-10-14
  • R25-11rel:R25-11#08879f752026-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 GetUpdatePackageStatus [SWS_DM_01921] Upstream: RS_Diag_04265

virtual ara::core::Future< UpdatePackageStatus > GetUpdatePackage Status (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Status of an Update".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of which the status shall be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<UpdatePackageStatus >A future with either the current UpdatePackageStatus or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01921
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01921@rel:R25-11#aa58989d
Content hash
aa58989d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01921
Status: valid/unmigrated Version: rel:R25-11#a8720fc8 Versionshistorie & Revisions (1 transition, 4 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_01921@rel:R25-11#a8720fc8
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6c5291e82026-09-30
  • R23-11rel:R23-11#6a27c4202026-10-14
  • R24-11rel:R24-11#f41bfa0b2026-10-14
  • R25-11rel:R25-11#a8720fc82026-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 Offer [SWS_DM_01924] Upstream: RS_Diag_04265

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

This Offer will enable the DM to forward request messages to this handler.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 5d09bdcb924c Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De elementfunctie ara::diag::SovdSwUpdate::Offer registreert de handler voor SOVD-software-updates bij Diagnostic Management (DM) om het doorsturen van binnenkomende verzoekberichten naar de handler mogelijk te maken [SWS_DM_01924]. De aanroep vindt synchroon en parameterloos plaats via de header ara/diag/sovd_sw_update.h en genereert conform noexcept geen C++-exceptions [SWS_DM_01924].

Het resultaat van de bewerking wordt geretourneerd als ara::core::Result<void> [SWS_DM_01924]. Als de beschikbaarstelling mislukt, levert de functie een fout op met rollback-semantiek [SWS_DM_01924]:

  • DiagOfferErrc::kAlreadyOffered: De service is voor deze handler al eerder met succes aangeboden [SWS_DM_01924].
  • DiagOfferErrc::kConfigurationMismatch: De monitorconfiguratie komt niet overeen met de DEXT-configuratie [SWS_DM_01924].

Wat betreft de concurrency is de methode gespecificeerd als exception safe, maar uitdrukkelijk als niet thread-safe (not thread-safe) [SWS_DM_01924]. Interpretatie: Bij toegang vanuit meerdere threads zal daarom vermoedelijk een externe, applicatiezijdige synchronisatie vereist zijn. Vraag Q-4636ad27701d59df (open) Het beschikbaarstellingsprincipe via Offer komt overeen met het algemene schema voor diagnose-handlers zoals [SWS_DM_00557] of [SWS_DM_00735], waarbij de DM verzoeken pas kan doorsturen zodra de betreffende interface actief wordt aangeboden [SWS_DM_01525].

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de specificatie AUTOSAR Adaptive R25-11.

Implementer's Guide volgt (complexiteit I1)

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

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kConfigurationMismatchrollback_semantics monitor configuration does not match DEXT
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

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

Record
AUTOSAR/AP/record/SWS_DM_01924
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01924@rel:R25-11#944ebcfa
Content hash
944ebcfa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01924
Status: valid/unmigrated Version: rel:R25-11#1b6fc58c Versionshistorie & Revisions (1 transition, 4 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_01924@rel:R25-11#1b6fc58c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#4434cb652026-09-30
  • R23-11rel:R23-11#032ce7bb2026-10-14
  • R24-11rel:R24-11#438685592026-10-14
  • R25-11rel:R25-11#1b6fc58c2026-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 PrepareUpdatePackage [SWS_DM_01919] Upstream: RS_Diag_04265

virtual ara::core::Future< void > PrepareUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Prepare Installation of an Update".

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 90a902e7c6d4 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De zuiver virtuele methode PrepareUpdatePackage van de interface ara::diag::SovdSwUpdate dient ter voorbereiding van de installatie van een software-updatepakket in het kader van de SOVD-methode “Prepare Installation of an Update” conform [SWS_DM_01919] (AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.7 “PrepareUpdatePackage”).

Aanroep en parameters

De functie wordt beschikbaar gesteld via de header ara/diag/sovd_sw_update.h en accepteert de volgende parameters:

  • updatePackageId: identificator (ara::core::String) van het voor te bereiden updatepakket.
  • metaInfo: metadata (MetaInfo const&) bij het inkomende SOVD-verzoek.
  • cancellationHandler: bewakingsobject (CancellationHandler) dat informeert over het afbreken van de huidige conversatie.

De aanroep is gespecificeerd als noexcept en gedraagt zich exception-safe. Het asynchrone resultaat wordt beschikbaar gesteld via een ara::core::Future<void>, die hetzij de succesvolle afronding signaleert hetzij een fout beschikbaar stelt [SWS_DM_01919].

Foutafhandeling en gelijktijdigheid

Als er tijdens de voorbereiding een fout optreedt, moet in de Future een passende foutcode conform ASAM SOVD 1.1 of ISO 17978-3 worden geretourneerd [SWS_DM_01919]. Met betrekking tot de thread-safety geldt een voorwaardelijke vereiste (conditional): of de functie thread-safe moet worden geïmplementeerd, wordt bepaald via de bij de instantiëring in de constructor opgegeven ConcurrencyType [SWS_DM_01919]. Via het object cancellationHandler zou de applicatie langdurige voorbereidingsstappen moeten kunnen afbreken als het verzoek voortijdig wordt beëindigd. Vraag Q-be4c53d9a0427ed5 (open)

Deze tekst is door een AI gegenereerd op basis van de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be prepared
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive result or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01919
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01919@rel:R25-11#70378e81
Content hash
70378e81
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01919
Status: valid/unmigrated Version: rel:R25-11#7bdc8dcb Versionshistorie & Revisions (1 transition, 4 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_01919@rel:R25-11#7bdc8dcb
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#d529788a2026-09-30
  • R23-11rel:R23-11#cb96813b2026-10-14
  • R24-11rel:R24-11#124b85892026-10-14
  • R25-11rel:R25-11#7bdc8dcb2026-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 PutUpdatePackageAutomated [SWS_DM_01918] Upstream: RS_Diag_04265

virtual ara::core::Future< void > PutUpdatePackageAutomated (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Automated Installation of an Update".

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

Gebruik

De zuiver virtuele methode PutUpdatePackageAutomated wordt aangeroepen in de context van de SOVD-methode “Automated Installation of an Update” [SWS_DM_01918]. Zij is in de header ara/diag/sovd_sw_update.h binnen de klasse ara::diag::SovdSwUpdate gedeclareerd AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 “PutUpdatePackageAutomated”. De functie dient ertoe om een door zijn identificator gespecificeerd updatepakket geautomatiseerd te installeren.

De interface verwacht de volgende invoerparameters:

  • updatePackageId (ara::core::String): identificator van het updatepakket dat aan de geautomatiseerde installatie moet worden overgedragen [SWS_DM_01918].
  • metaInfo (MetaInfo const &): meta-informatie van het inkomende serviceverzoek [SWS_DM_01918].
  • cancellationHandler (CancellationHandler): informeert de operatie erover of de lopende conversatie is afgebroken [SWS_DM_01918].

De aanroep heeft een asynchrone semantiek. Als retourwaarde dient een ara::core::Future<void>, die na voltooiing hetzij de succesvolle uitvoering aangeeft hetzij een fouttoestand bevat [SWS_DM_01918].

Foutafhandeling en gelijktijdigheid

In het geval van een fout moet via de future een toepasselijke foutcode uit ASAM SOVD 1.1 of ISO 17978-3 worden geretourneerd [SWS_DM_01918]. De methode is gespecificeerd als uitzonderingsveilig (exception safe) en gooit als noexcept-functie geen C++-uitzonderingen op AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 “PutUpdatePackageAutomated”.

De thread-safety van de methode is voorwaardelijk (conditional): of de implementatie thread-safe of non-thread-safe moet worden uitgevoerd, wordt vastgelegd via de bij de constructoraanroep overgedragen ConcurrencyType [SWS_DM_01918].

Deze gebruiksinstructie is geautomatiseerd opgesteld aan de hand van de AUTOSAR-specificatie voor Release R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
updatePackageIdupdate-package-id of the update to be put to automated
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive result or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01918
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01918@rel:R25-11#e1b7c46e
Content hash
e1b7c46e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01918
Status: valid/unmigrated Version: rel:R25-11#befb20e2 Versionshistorie & Revisions (1 transition, 4 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_01918@rel:R25-11#befb20e2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cde948f42026-09-30
  • R23-11rel:R23-11#97eae9312026-10-14
  • R24-11rel:R24-11#0f5da9f52026-10-14
  • R25-11rel:R25-11#befb20e22026-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 RequestUpdatePackageRegistration [SWS_DM_01923] Upstream: RS_Diag_04265

virtual ara::core::Future< std::tuple< DataTransferWriteSession, ara::core::String > > RequestUpdatePackageRegistration (MetaInfo const &metaInfo, ara::core::Optional< uint64_t > expectedSize, Cancellation Handler cancellationHandler) noexcept=0;

Called for SOVD method "Register an Update at the SOVD Server".

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: bf978796d20b Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De zuiver virtuele functie RequestUpdatePackageRegistration van de klasse ara::diag::SovdSwUpdate bedient de SOVD-methode “Register an Update at the SOVD Server” [SWS_DM_01923]. Zij leidt de registratie van een updatepakket op de server in en initieert de bijbehorende overdrachtsessie AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.9 “RequestUpdatePackageRegistration”.

De aanroep vindt asynchroon plaats en levert een ara::core::Future op, die bij succes een tuple bestaande uit een DataTransferWriteSession en een ara::core::String met de updatepakket-ID bevat [SWS_DM_01923]. Bij de aanroep worden de volgende parameters overgedragen:

  • metaInfo: meta-informatie van het inkomende verzoek.
  • expectedSize: optionele verwachte totale omvang van het pakket (ara::core::Optional<uint64_t>), voor zover in het verzoek gedeclareerd.
  • cancellationHandler: signaleert indien de huidige conversatie wordt afgebroken.

De methode is gedefinieerd als noexcept en uitzonderingsveilig [SWS_DM_01923]. Fouten worden bijgevolg niet via C++-exceptions gemeld, maar asynchroon via de future beschikbaar gesteld; hiervoor moeten de overeenkomstige foutcodes uit ASAM SOVD 1.1 respectievelijk ISO 17978-3 worden gebruikt [SWS_DM_01923].

De thread-safety is voorwaardelijk (“conditional”): Of de methode thread-safe moet worden geïmplementeerd, wordt bepaald via de in de constructor opgegeven ConcurrencyType [SWS_DM_01923]. De concrete implementatie zal daarom afhankelijk van de instantiëring vermoedelijk eigen synchronisatiemechanismen vereisen. Vraag Q-7e80e557bdd7627a (open)

Deze tekst is opgesteld door een AI en dient ter ondersteuning bij het gebruik van het API-element.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
metaInfoMetaInfo of the request.
expectedSizeSpecifies the expected size if available in the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple< DataTransferWriteSession, ara::core::String > >A future with either an instance of a "SOVD file writing session" with the corresponding update package id or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01923
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01923@rel:R25-11#a2a47df5
Content hash
a2a47df5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01923
Status: valid/unmigrated Version: rel:R25-11#b092f8d8 Versionshistorie & Revisions (1 transition, 4 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_01923@rel:R25-11#b092f8d8
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#0245e3c02026-09-30
  • R23-11rel:R23-11#c6f57bb12026-10-14
  • R24-11rel:R24-11#5e5e1b832026-10-14
  • R25-11rel:R25-11#b092f8d82026-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 SovdSwUpdate [SWS_DM_01910] Upstream: RS_Diag_04265, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

SovdSwUpdate (ara::core::InstanceSpecifier const &instanceSpecifier, ConcurrencyType concurrencyType) noexcept;

Constructor for SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticSovdUpdatePortMapping needs to be typed by a DiagnosticSovdUpdateInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
instanceSpecifierInstanceSpecifier to a PortPrototype of a DiagnosticSovdUpdateInterface service instance in the manifest.
concurrencyTypeSpecifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).

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

Record
AUTOSAR/AP/record/SWS_DM_01910
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01910@rel:R25-11#86026eb1
Content hash
86026eb1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01910
Status: valid/unmigrated Version: rel:R25-11#39b10a70 Versionshistorie & Revisions (1 transition, 4 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_01910@rel:R25-11#39b10a70
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5bc9aa6d2026-09-30
  • R23-11rel:R23-11#cb3f1d3a2026-10-14
  • R24-11rel:R24-11#71a1ee492026-10-14
  • R25-11rel:R25-11#39b10a702026-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 SovdSwUpdate [SWS_DM_01912] Upstream: RS_Diag_04265

SovdSwUpdate (SovdSwUpdate const &)=delete;

SovdSwUpdate shall be a single not copy-able instance.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01912
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01912@rel:R25-11#99a3de40
Content hash
99a3de40
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01912
Status: valid/unmigrated Version: rel:R25-11#a9b2eed0 Versionshistorie & Revisions (1 transition, 4 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_01912@rel:R25-11#a9b2eed0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#29457c012026-09-30
  • R23-11rel:R23-11#920c2b292026-10-14
  • R24-11rel:R24-11#a9b2eed02026-10-14
  • R25-11rel:R25-11#a9b2eed02026-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 SovdSwUpdate [SWS_DM_01913] Upstream: RS_Diag_04265

SovdSwUpdate (SovdSwUpdate &&other) noexcept;

Move constructs an instance of SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitunsafe
Sichtbarkeitprotected

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_01913
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01913@rel:R25-11#507aeea2
Content hash
507aeea2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01913
Status: valid/unmigrated Version: rel:R25-11#4c757859 Versionshistorie & Revisions (1 transition, 4 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_01913@rel:R25-11#4c757859
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#662a98ac2026-09-30
  • R23-11rel:R23-11#2175e3ea2026-10-14
  • R24-11rel:R24-11#4c7578592026-10-14
  • R25-11rel:R25-11#4c7578592026-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 StopOffer [SWS_DM_01925] Upstream: RS_Diag_04265

void StopOffer () const noexcept;

This StopOffer will disable the forwarding of request messages from DM.

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: dee04ad7b94a Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De methode ara::diag::SovdSwUpdate::StopOffer beëindigt het aanbieden van de service en deactiveert het doorsturen van binnenkomende verzoekberichten van Diagnostic Management (DM) naar de software-updatecomponent [SWS_DM_01925]. De aanroep vindt plaats via de interface uit ara/diag/sovd_sw_update.h, is parameterloos en levert geen retourwaarde op [SWS_DM_01925]. Het beëindigen van de servicebeschikbaarstelling geschiedt synchroon en komt overeen met de conceptuele deactivering van diagnosefunctionaliteiten in AUTOSAR Adaptive AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.

Foutafhandeling en gelijktijdigheid

De functie heeft de specificatie noexcept en is daarmee uitzonderingsveilig; fouttoestanden via exceptions of foutcodes zijn niet voorzien [SWS_DM_01925]. Voor de aanroepcontext geldt dat de functie gedefinieerd is als niet thread-safe (“not thread-safe”) [SWS_DM_01925]. Parallelle aanroepen op dezelfde instantie moeten applicatiezijdig worden gesynchroniseerd. Interpretatie: Een herhaalde aanroep van StopOffer in reeds inactieve toestand zal vermoedelijk zonder foutgevolgen blijven, aangezien er geen foutafhandeling bestaat. Vraag Q-efaccde5507eb444 (open)

Samenspel

In het totale systeem past de functie binnen het uniforme schema van de DM-servicelifecycle. Zij vormt de functionele tegenhanger van het aanbieden van de service en gedraagt zich analoog aan de deactiveringsbewerkingen van andere diagnoseservices zoals ara::diag::DownloadService [SWS_DM_00793], ara::diag::GenericUDSService [SWS_DM_00620] en ara::diag::EcuResetRequest [SWS_DM_01017].

Deze tekst is gegenereerd door een AI op basis van de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I2)

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_01925
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01925@rel:R25-11#dfe462eb
Content hash
dfe462eb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01925
Status: valid/unmigrated Version: rel:R25-11#b5890de5 Versionshistorie & Revisions (1 transition, 4 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_01925@rel:R25-11#b5890de5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#60438b2c2026-09-30
  • R23-11rel:R23-11#aac09bc62026-10-14
  • R24-11rel:R24-11#b5890de52026-10-14
  • R25-11rel:R25-11#b5890de52026-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_01914] Upstream: RS_Diag_04265

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

SovdSwUpdate shall be a single not assignable instance.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01914
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01914@rel:R25-11#5037a204
Content hash
5037a204
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01914
Status: valid/unmigrated Version: rel:R25-11#193efe55 Versionshistorie & Revisions (1 transition, 4 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_01914@rel:R25-11#193efe55
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f93349172026-09-30
  • R23-11rel:R23-11#bd4a8b212026-10-14
  • R24-11rel:R24-11#193efe552026-10-14
  • R25-11rel:R25-11#193efe552026-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_01915] Upstream: RS_Diag_04265

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

Move assigns an instance of SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
SovdSwUpdate &Reference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01915
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01915@rel:R25-11#97becda9
Content hash
97becda9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01915
Status: valid/unmigrated Version: rel:R25-11#1ed1cfe6 Versionshistorie & Revisions (1 transition, 4 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_01915@rel:R25-11#1ed1cfe6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#9f73c1222026-09-30
  • R23-11rel:R23-11#7eb86d6a2026-10-14
  • R24-11rel:R24-11#1ed1cfe62026-10-14
  • R25-11rel:R25-11#1ed1cfe62026-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 ~SovdSwUpdate [SWS_DM_01911] Upstream: RS_Diag_04265

virtual ~SovdSwUpdate () noexcept;

Destructor of class SovdSwUpdate.

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

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

Record
AUTOSAR/AP/record/SWS_DM_01911
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01911@rel:R25-11#716897b8
Content hash
716897b8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01911
Status: valid/unmigrated Version: rel:R25-11#2b411c6a Versionshistorie & Revisions (1 transition, 4 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_01911@rel:R25-11#2b411c6a
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#7b4f357a2026-09-30
  • R23-11rel:R23-11#0a7ddd152026-10-14
  • R24-11rel:R24-11#5ddc97882026-10-14
  • R25-11rel:R25-11#2b411c6a2026-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