DEENESPTFRRUARHIKOZHNL

clase 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

Guía del usuarioGENERADO POR IA

Sirve como interfaz para la tramitación de actualizaciones de software a través del protocolo ASAM SOVD en el servidor de diagnóstico de AUTOSAR.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 0456e379cc70 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Sirve como interfaz para la tramitación de actualizaciones de software a través del protocolo ASAM SOVD en el servidor de diagnóstico de AUTOSAR.

La clase proporciona la interfaz del lado de la aplicación para tramitar actualizaciones de software estandarizadas a través del protocolo SOVD de conformidad con ASAM SOVD [SWS_DM_01796]. Tras la instanciación, la aplicación activa el reenvío de solicitudes de diagnóstico a los manejadores de actualización específicos mediante el método Offer() [SWS_DM_01924]. A través de métodos asíncronos, los paquetes se registran, preparan, instalan de forma automatizada o manual y se vuelven a eliminar. Todos los procedimientos relevantes para la transferencia de datos y el ciclo de vida se procesan sin bloqueo mediante futuros.

Contexto

La clase ara::diag::SovdSwUpdate define la interfaz para la implementación de actualizaciones de software estandarizadas según ASAM SOVD dentro de la AUTOSAR Adaptive Platform [SWS_DM_01874]. Dado que la lógica de negocio propiamente dicha de las actualizaciones de software no se sitúa en el clúster funcional Diagnostic Management (DM), la ejecución permanece en la aplicación respectiva, mientras que ara::diag::SovdSwUpdate se centra en la tramitación conforme al estándar del protocolo SOVD subyacente AUTOSAR_AP_SWS_Diagnostics §7.4 «SOVD Software Update API - concept». Para la carga de archivos de actualización se emplean estrategias de transferencia tales como las especificadas para el servicio UDS 0x38 (RequestFileTransfer) AUTOSAR_AP_SWS_Diagnostics §7.4 «SOVD Software Update API - concept», [SWS_DM_01923].

En los flujos intervienen tres componentes esenciales: el cliente SOVD externo, la instancia del Diagnostic Server (DM) para la gestión de protocolos y rutas, así como la implementación del manejador específica de la aplicación de 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

Diagrama de contexto: interacción entre el cliente SOVD, el Diagnostic Server (DM) y ara::diag::SovdSwUpdate. Fuentes: [SWS_DM_01796], [SWS_DM_01924], AUTOSAR_AP_SWS_Diagnostics §7.4 «SOVD Software Update API - concept»

Ciclo de vida

La instanciación de ara::diag::SovdSwUpdate se realiza a través del constructor indicando un ara::core::InstanceSpecifier, que hace referencia a un prototipo de puerto de un DiagnosticSovdUpdateInterface modelado, así como un modo de concurrencia (ConcurrencyType: kConcurrent o kNotConcurrent) [SWS_DM_01910]. El constructor está especificado como seguro para subprocesos y seguro frente a excepciones [SWS_DM_01910]. Como representante de una instancia de interfaz única, el constructor de copia y el operador de asignación por copia están eliminados (=delete) y protegidos [SWS_DM_01912], [SWS_DM_01914]. La construcción por movimiento y la asignación por movimiento están disponibles como protegidas, pero no son seguras para subprocesos [SWS_DM_01913], [SWS_DM_01915].

La destrucción del objeto se gestiona a través del destructor virtual ~SovdSwUpdate(), el cual se considera no seguro para subprocesos [SWS_DM_01911]. El hecho de si los métodos virtuales de retrollamada de la clase deben ejecutarse de forma concurrente depende directamente del ConcurrencyType pasado al constructor [SWS_DM_01910], [SWS_DM_01916].

Ruta de uso

Interpretación: dado que los métodos de interfaz proporcionados están declarados como puramente virtuales (=0), es de suponer que una clase de aplicación derivada implemente estos para llevar a cabo la ejecución real de la actualización, mientras que la clase base regula la vinculación con la plataforma. Pregunta Q-10500d9fc58503ea (abierta)

El flujo regular se divide en las siguientes fases:

  • Puesta a disposición: tras la creación del objeto, la aplicación llama a Offer() para permitir al Diagnostic Management reenviar los mensajes SOVD entrantes a esta instancia [SWS_DM_01924].
  • Consulta y registro: a través de GetAllUpdates() se pueden consultar los paquetes de actualización existentes [SWS_DM_01797], [SWS_DM_01916]. Si se debe transferir un paquete nuevo, el Diagnostic Server solicita un registro mediante RequestUpdatePackageRegistration(), el cual proporciona de forma asíncrona una sesión de escritura (DataTransferWriteSession) junto con un ID de paquete de actualización [SWS_DM_01923]. Los detalles y el estado se determinan mediante GetUpdatePackageDetails() y GetUpdatePackageStatus() [SWS_DM_01802], [SWS_DM_01917], [SWS_DM_01921].
  • Instalación o eliminación: la instalación puede iniciarse de forma automatizada mediante PutUpdatePackageAutomated() [SWS_DM_01799], [SWS_DM_01918] o bien llevarse a cabo en dos pasos a través de PrepareUpdatePackage() [SWS_DM_01800], [SWS_DM_01919] seguido de ExecuteUpdatePackage() [SWS_DM_01801], [SWS_DM_01920]. Los paquetes que ya no se necesitan se eliminan mediante DeleteUpdatePackage() [SWS_DM_01922].
  • Finalización: antes del apagado, la aplicación desactiva el reenvío de mensajes llamando a StopOffer() [SWS_DM_01925].
Flujo de una actualización de software mediante SOVDSOVD-ClientDiagnostic ServerSovdSwUpdateUse Case: DienstfreigabeOffer()Result<void>Use Case: Registro del paquete de actualizaciónSOVD: Register UpdateRequestUpdatePackageRegistration(metaInfo, expectedSize, cancellationHandler)Future<tuple<DataTransferWriteSession, updatePackageId>>SOVD Response (Session & Package-ID)Use Case: Preparación e instalaciónSOVD: Prepare InstallationPrepareUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD ResponseSOVD: Execute InstallationExecuteUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD Response

Diagrama de secuencia: flujo típico de registro e instalación de paquetes a través de SOVD. Fuentes: [SWS_DM_01799], [SWS_DM_01800], [SWS_DM_01801], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923], [SWS_DM_01924]

Escenarios de error

Al ofrecer los servicios mediante Offer() pueden producirse errores específicos en el tipo de retorno ara::core::Result<void>: DiagOfferErrc::kAlreadyOffered, en caso de que la instancia ya se esté ofreciendo, así como DiagOfferErrc::kConfigurationMismatch, si la configuración no coincide con el extracto de diagnóstico (DEXT) [SWS_DM_01924].

Si el constructor se invoca con un estado de modelo defectuoso, se notifican violaciones de arquitectura, entre ellas InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation o InstanceSpecifierAlreadyInUseViolation [SWS_DM_01910].

Todas las operaciones funcionales de actualización devuelven un ara::core::Future que, en caso de error, transporta códigos de error según ASAM SOVD 1.1 o ISO 17978-3 [SWS_DM_01917], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923]. Además, todos los métodos asíncronos reciben un CancellationHandler, a través del cual se señaliza una cancelación prematura de la conexión de diagnóstico en curso [SWS_DM_01916], [SWS_DM_01919], [SWS_DM_01923].

Esta guía se basa en la especificación AUTOSAR Adaptive R25-11 y ha sido generada automáticamente.

Mapa de miembros

Diagrama de clases

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=()

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

SovdSwUpdate función 3

Constructor for SovdSwUpdate.

Sobrecargas 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
~SovdSwUpdate función

Destructor of class SovdSwUpdate.

virtual ~SovdSwUpdate () noexcept;

Métodos

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;
GetAllUpdates función

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 función

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 función

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

void StopOffer () const noexcept;

Operadores

operator= función 2

SovdSwUpdate shall be a single not assignable instance.

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

Tipos anidados

Documentación de los métodos

función 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".

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 8b58fd563e10 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función virtual pura DeleteUpdatePackage de la clase ara::diag::SovdSwUpdate es llamada conforme a [SWS_DM_01803] por la instancia del Diagnostic Server cuando debe ejecutarse el método SOVD «Delete Update Package from an SOVD Server» ([SWS_DM_01922]). Esta inicia la eliminación de un paquete de actualización en el lado del servidor.

La llamada se realiza de forma asíncrona y devuelve un ara::core::Future<void>, el cual indica la finalización correcta o proporciona un objeto de error [SWS_DM_01922]. La signatura requiere los siguientes parámetros de entrada:

  • updatePackageId: designa como ara::core::String el ID unívoco del paquete de actualización a eliminar.
  • metaInfo: transfiere como MetaInfo const& información de contexto adicional de la solicitud.
  • cancellationHandler: transmite un objeto del tipo CancellationHandler que informa sobre si la conversación actual ha sido cancelada.

Si ocurre un error durante el procesamiento, el Future se rellena con un error de SOVD correspondiente. La especificación prescribe para ello el uso de códigos de error adecuados de ASAM SOVD 1.1 o ISO 17978-3 [SWS_DM_01922].

En relación con la concurrencia, el método está definido como condicionalmente seguro para subprocesos: si la implementación debe ser ejecutada como thread-safe o non-thread-safe se determina mediante el ConcurrencyType transferido en el constructor [SWS_DM_01922]. Además, la función está declarada como noexcept y segura frente a excepciones, por lo que no debe escapar ninguna excepción.

Esta nota de uso se basa en la especificación AUTOSAR Adaptive R25-11 y fue generada por una IA.

Guía del implementador pendiente (complejidad 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#6d782c00
Content hash
6d782c00
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

función 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".

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: df9b45c15e08 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método virtual puro ExecuteUpdatePackage de la interfaz ara::diag::SovdSwUpdate sirve para ejecutar el método SOVD «Execute Installation of an Update» [SWS_DM_01920]. La declaración se encuentra en la cabecera ara/diag/sovd_sw_update.h AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.2 «ExecuteUpdatePackage». Como parámetros de entrada se transfieren el identificador del paquete de actualización (updatePackageId), así como los datos de la solicitud (metaInfo) [SWS_DM_01920]. Adicionalmente, el objeto cancellationHandler informa si la conversación en curso ha sido cancelada [SWS_DM_01920]. La llamada se realiza de forma asíncrona y devuelve un ara::core::Future<void>, el cual suministra un resultado positivo o notifica un error de SOVD [SWS_DM_01920].

Manejo de errores

La interfaz está especificada como noexcept y segura frente a excepciones («exception safe») [SWS_DM_01920]. En consecuencia, los errores durante la ejecución no deben lanzarse mediante excepciones de C++, sino que deben devolverse de forma asíncrona a través del ara::core::Future con códigos de error aplicables de ASAM SOVD 1.1 o ISO 17978-3 [SWS_DM_01920].

Concurrencia y condiciones de contorno

En cuanto a la seguridad para subprocesos existe un requisito condicional («conditional»): si la función debe implementarse de manera segura o no segura para subprocesos se determina mediante el parámetro ConcurrencyType que fue transferido al constructor [SWS_DM_01920]. La implementación debería tener que evaluar el cancellationHandler para finalizar de forma ordenada la instalación del paquete ante una cancelación de la conversación [SWS_DM_01920]. Pregunta Q-8fe6950e8f5a168c (abierta)

Este texto fue generado por una IA y sirve como guía orientativa. Únicamente las especificaciones oficiales de AUTOSAR son vinculantes.

Guía del implementador pendiente (complejidad 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#d41b566a
Content hash
d41b566a
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

función 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#e6f0eaba
Content hash
e6f0eaba
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

función 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#22b210a3
Content hash
22b210a3
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

función 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#ac1b89ab
Content hash
ac1b89ab
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

función 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.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 5d09bdcb924c Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función miembro ara::diag::SovdSwUpdate::Offer registra el manejador para actualizaciones de software de SOVD en el Diagnostic Management (DM) a fin de permitirle el reenvío de mensajes de solicitud entrantes al manejador [SWS_DM_01924]. La llamada se realiza de forma síncrona y sin parámetros a través de la cabecera ara/diag/sovd_sw_update.h y, conforme a noexcept, no desencadena excepciones de C++ [SWS_DM_01924].

El resultado de la operación se devuelve como ara::core::Result<void> [SWS_DM_01924]. Si el ofrecimiento del servicio falla, la función proporciona un error con semántica de reversión (rollback) [SWS_DM_01924]:

  • DiagOfferErrc::kAlreadyOffered: el servicio ya se había ofrecido con éxito previamente para este manejador [SWS_DM_01924].
  • DiagOfferErrc::kConfigurationMismatch: la configuración del monitor no coincide con la configuración DEXT [SWS_DM_01924].

En cuanto a la concurrencia, el método está especificado como exception safe, pero expresamente como no seguro para subprocesos (not thread-safe) [SWS_DM_01924]. Interpretación: ante accesos desde múltiples subprocesos, podría requerirse por tanto una sincronización externa por parte de la aplicación. Pregunta Q-4636ad27701d59df (abierta) El principio de provisión mediante Offer se corresponde con el esquema general para manejadores de diagnóstico como [SWS_DM_00557] o [SWS_DM_00735], en los cuales el DM solo puede reenviar solicitudes una vez que la interfaz correspondiente se ofrece activamente [SWS_DM_01525].

Esta nota de uso se ha generado de forma automatizada sobre la base de la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad 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#cc9b4c27
Content hash
cc9b4c27
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

función 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".

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 90a902e7c6d4 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método virtual puro PrepareUpdatePackage de la interfaz ara::diag::SovdSwUpdate sirve para preparar la instalación de un paquete de actualización de software en el marco del método SOVD «Prepare Installation of an Update» según [SWS_DM_01919] (AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.7 «PrepareUpdatePackage»).

Invocación y parámetros

La función se proporciona a través de la cabecera ara/diag/sovd_sw_update.h y recibe los siguientes parámetros:

  • updatePackageId: identificador (ara::core::String) del paquete de actualización a preparar.
  • metaInfo: metadatos (MetaInfo const&) relativos a la solicitud SOVD entrante.
  • cancellationHandler: objeto de monitorización (CancellationHandler) que informa sobre la cancelación de la conversación actual.

La llamada está especificada como noexcept y se comporta de manera exception-safe. El resultado asíncrono se proporciona mediante un ara::core::Future<void>, el cual señaliza la finalización correcta o suministra un error [SWS_DM_01919].

Tratamiento de errores y concurrencia

Si se produce un error durante la preparación, debe devolverse en el Future un código de error adecuado conforme a ASAM SOVD 1.1 o ISO 17978-3 [SWS_DM_01919]. En cuanto a la seguridad para subprocesos, rige un requisito condicional (conditional): si la función debe implementarse de forma segura para subprocesos se determina mediante el ConcurrencyType especificado en el constructor durante la instanciación [SWS_DM_01919]. A través del objeto cancellationHandler, la aplicación debería poder cancelar pasos de preparación prolongados en caso de que la solicitud se finalice prematuramente. Pregunta Q-be4c53d9a0427ed5 (abierta)

Este texto fue creado por una IA a partir de la especificación AUTOSAR.

Guía del implementador pendiente (complejidad 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#45381dab
Content hash
45381dab
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

función 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".

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: a14ff9457ed9 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método puramente virtual PutUpdatePackageAutomated se llama en el contexto del método SOVD «Automated Installation of an Update» [SWS_DM_01918]. Está declarado en el encabezado ara/diag/sovd_sw_update.h dentro de la clase ara::diag::SovdSwUpdate AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 «PutUpdatePackageAutomated». La función sirve para instalar de manera automatizada un paquete de actualización especificado mediante su identificador.

La interfaz espera los siguientes parámetros de entrada:

  • updatePackageId (ara::core::String): identificador del paquete de actualización que se debe transferir a la instalación automatizada [SWS_DM_01918].
  • metaInfo (MetaInfo const &): metainformación de la solicitud de servicio entrante [SWS_DM_01918].
  • cancellationHandler (CancellationHandler): informa a la operación sobre si la conversación en curso ha sido cancelada [SWS_DM_01918].

La llamada posee una semántica asíncrona. Como valor de retorno sirve un ara::core::Future<void> que, tras finalizar, indica la ejecución correcta o contiene un estado de error [SWS_DM_01918].

Tratamiento de errores y concurrencia

En caso de error, debe devolverse a través del Future un código de error aplicable de ASAM SOVD 1.1 o ISO 17978-3 [SWS_DM_01918]. El método está especificado como seguro frente a excepciones (exception safe) y, al ser una función noexcept, no lanza excepciones de C++ AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 «PutUpdatePackageAutomated».

La seguridad para subprocesos del método es condicional (conditional): si la implementación debe ejecutarse de forma thread-safe o non-thread-safe se determina mediante el ConcurrencyType transferido en la llamada al constructor [SWS_DM_01918].

Esta nota de uso fue generada automáticamente a partir de la especificación AUTOSAR para el release R25-11.

Guía del implementador pendiente (complejidad 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#f23baa80
Content hash
f23baa80
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

función 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".

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: bf978796d20b Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función virtual pura RequestUpdatePackageRegistration de la clase ara::diag::SovdSwUpdate atiende el método SOVD «Register an Update at the SOVD Server» [SWS_DM_01923]. Inicia el registro de un paquete de actualización en el servidor e inicializa la correspondiente sesión de transferencia AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.9 «RequestUpdatePackageRegistration».

La llamada se realiza de forma asíncrona y devuelve un ara::core::Future que, en caso de éxito, contiene una tupla formada por un DataTransferWriteSession y un ara::core::String con el ID del paquete de actualización [SWS_DM_01923]. En la llamada se transfieren los siguientes parámetros:

  • metaInfo: metainformación de la solicitud entrante.
  • expectedSize: tamaño total esperado opcional del paquete (ara::core::Optional<uint64_t>), siempre que se haya declarado en la solicitud.
  • cancellationHandler: señaliza si la conversación actual se cancela.

El método está definido como noexcept y es seguro frente a excepciones [SWS_DM_01923]. En consecuencia, los errores no se notifican mediante excepciones de C++, sino que se proporcionan de forma asíncrona a través del Future; para ello deben emplearse los correspondientes códigos de error de ASAM SOVD 1.1 o ISO 17978-3 [SWS_DM_01923].

La seguridad para subprocesos es condicional («conditional»): si el método debe implementarse de forma segura para subprocesos se determina mediante el ConcurrencyType especificado en el constructor [SWS_DM_01923]. Por tanto, la implementación concreta podría requerir mecanismos de sincronización propios según la instanciación. Pregunta Q-7e80e557bdd7627a (abierta)

Este texto fue generado por una IA y sirve de ayuda para el uso del elemento de API.

Guía del implementador pendiente (complejidad 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#b245d454
Content hash
b245d454
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

función 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#d964bd0d
Content hash
d964bd0d
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

función 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#c62e2b7a
Content hash
c62e2b7a
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

función 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#245ad95c
Content hash
245ad95c
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

función StopOffer [SWS_DM_01925] Upstream: RS_Diag_04265

void StopOffer () const noexcept;

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

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: dee04ad7b94a Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método ara::diag::SovdSwUpdate::StopOffer finaliza el ofrecimiento del servicio y desactiva el reenvío de mensajes de solicitud entrantes desde el Diagnostic Management (DM) al componente de actualización de software [SWS_DM_01925]. La llamada se realiza a través de la interfaz de ara/diag/sovd_sw_update.h, carece de parámetros y no devuelve ningún valor [SWS_DM_01925]. La finalización de la provisión del servicio se realiza de forma síncrona y corresponde a la desactivación conceptual de funcionalidades de diagnóstico en AUTOSAR Adaptive AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 «Monitors».

Tratamiento de errores y concurrencia

La función cuenta con la especificación noexcept y, por tanto, es segura frente a excepciones; no están previstos estados de error mediante excepciones o códigos de error [SWS_DM_01925]. Para el contexto de llamada rige que la función está definida como no segura para subprocesos («not thread-safe») [SWS_DM_01925]. Las llamadas paralelas sobre la misma instancia deben sincronizarse por parte de la aplicación. Interpretación: una llamada repetida a StopOffer en estado ya inactivo no debería surtir efecto de error, ya que no existe tratamiento de errores. Pregunta Q-efaccde5507eb444 (abierta)

Interacción

En el sistema global, la función se integra en el esquema uniforme del ciclo de vida de los servicios del DM. Constituye el equivalente funcional al ofrecimiento del servicio y se comporta de forma análoga a las operaciones de desactivación de otros servicios de diagnóstico como ara::diag::DownloadService [SWS_DM_00793], ara::diag::GenericUDSService [SWS_DM_00620] y ara::diag::EcuResetRequest [SWS_DM_01017].

Este texto ha sido generado por una IA sobre la base de la especificación AUTOSAR R25-11.

Guía del implementador pendiente (complejidad 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#8e6c74ca
Content hash
8e6c74ca
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

función 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#b99b3136
Content hash
b99b3136
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

función 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#1b980357
Content hash
1b980357
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

función ~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#71efbf0e
Content hash
71efbf0e
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