함수 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".
클래스 ara::diag::SovdSwUpdate의 순수 가상 함수 DeleteUpdatePackage은 SOVD 메서드 “Delete Update Package from an SOVD Server”를 실행해야 할 때 [SWS_DM_01803]에 따라 Diagnostic Server 인스턴스에 의해 호출됩니다([SWS_DM_01922]). 이 함수는 업데이트 패키지의 서버 측 제거를 시작합니다.
호출은 비동기적으로 수행되며 성공적인 완료를 나타내거나 오류 객체를 제공하는 ara::core::Future<void>을 반환합니다 [SWS_DM_01922]. 시그니처에는 다음과 같은 입력 매개변수가 필요합니다:
updatePackageId: 삭제할 업데이트 패키지의 고유 ID를ara::core::String로 지정합니다.metaInfo: 요청의 추가 컨텍스트 정보를MetaInfo const&로 전달합니다.cancellationHandler: 현재 대화가 중단되었는지 여부를 알리는CancellationHandler타입의 객체를 전달합니다.
처리 중 오류가 발생하면 Future에 해당 SOVD 오류가 채워집니다. 사양에서는 이를 위해 ASAM SOVD 1.1 또는 ISO 17978-3의 적절한 오류 코드를 사용하도록 규정합니다 [SWS_DM_01922].
동시성과 관련하여 이 메서드는 조건부 스레드 안전으로 정의됩니다: 구현을 thread-safe 또는 non-thread-safe로 실행해야 하는지 여부는 생성자에 전달된 ConcurrencyType을 통해 결정됩니다 [SWS_DM_01922]. 또한 함수가 noexcept 및 예외 안전으로 선언되어 있으므로 예외가 외부로 벗어나서는 안 됩니다.
이 사용 지침은 AUTOSAR Adaptive R25-11 사양을 기반으로 하며 AI에 의해 생성되었습니다.
구현자 가이드 준비 중 (복잡도 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#bccf9975- Content hash
bccf9975- 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 · 독일어 원문