function 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".
The pure virtual function DeleteUpdatePackage of class ara::diag::SovdSwUpdate is called according to [SWS_DM_01803] by the instance of the Diagnostic Server when the SOVD method "Delete Update Package from an SOVD Server" is to be executed ([SWS_DM_01922]). It initiates the server-side removal of an update package.
The call takes place asynchronously and returns a ara::core::Future<void>, which indicates successful completion or provides an error object [SWS_DM_01922]. The signature requires the following input parameters:
updatePackageId: Designates asara::core::Stringthe unique ID of the update package to be deleted.metaInfo: Passes additional context information of the request asMetaInfo const&.cancellationHandler: Transmits an object of typeCancellationHandlerthat informs whether the current conversation was cancelled.
If an error occurs during processing, the Future is populated with a corresponding SOVD error. The specification prescribes the use of appropriate error codes from ASAM SOVD 1.1 or ISO 17978-3 for this purpose [SWS_DM_01922].
Regarding concurrency, the method is defined as conditionally thread-safe: Whether the implementation must be executed thread-safe or non-thread-safe is determined via the ConcurrencyType passed in the constructor [SWS_DM_01922]. In addition, the function is declared as noexcept and exception-safe, which is why no exceptions may escape.
This usage note is based on the specification AUTOSAR Adaptive R25-11 and was generated by an AI.
Implementer's Guide to follow (complexity I1)
| Header-Datei | #include "ara/diag/sovd_sw_update.h" |
|---|---|
| Scope | class ara::diag::SovdSwUpdate |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | conditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| updatePackageId | update-package-id to be deleted |
| metaInfo | MetaInfo of the request. |
| cancellationHandler | Informs if the current conversation is cancelled |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Future< void > | A future with either a positive results or a SOVD Error |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| 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#6203bff4- Content hash
6203bff4- 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
Recorded Revisions (4):
- R25-11
rel:R25-11#6203bff42026-09-30 - R23-11
rel:R23-11#af1834882026-10-14 - R24-11
rel:R24-11#113a04fa2026-10-14 - R25-11
rel:R25-11#3e5d53622026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · German original