function AddMetaInfo [SWS_DM_00302] Upstream: RS_Diag_04147, RS_Diag_04170
virtual void AddMetaInfo (MetaInfoMap metaInfo) noexcept;
add new metaInfo to this message.
The virtual member function AddMetaInfo of class apext::diag::uds_transport::UdsMessage serves to assign new metadata to a diagnostic message [SWS_DM_00302]. It is typically called by a transport protocol plugin to append channel-specific additional information—such as predefined metadata keys for DoIP—to the respective diagnostic request AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”.
The following boundary conditions apply to the use of the interface [SWS_DM_00302]:
- Call context and header: The declaration is provided via the header file
apext/diag/uds_transport/uds_message.hand executed directly on instances ofUdsMessageAUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”. - Parameters: The input parameter
metaInfoof typeMetaInfoMappasses the meta-information of the request to be added [SWS_DM_00302]. - Return value: The synchronous function returns no value (
void) [SWS_DM_00302]. - Error handling: The operation is provided with the specifier
noexceptand specified as exception-safe (exception safe); specific error codes do not exist [SWS_DM_00302].
Regarding concurrency, the method is declared as not thread-safe (thread safety: unsafe) [SWS_DM_00302]. Interpretation: Callers are likely responsible for protecting concurrent accesses to the same instance of UdsMessage via external mechanisms, since the specification provides no internal synchronization AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”. Question Q-c2de8aa28c94aed8 (open)
This text was generated by an AI based on the AUTOSAR R25-11 specification.
Implementer's Guide to follow (complexity I1)
| Header-Datei | #include "apext/diag/uds_transport/uds_message.h" |
|---|---|
| Scope | class apext::diag::uds_transport::UdsMessage |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | unsafe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| metaInfo | MetaInfo of the request. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| None |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_00302- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00302@rel:R25-11#5d66ee09- Content hash
5d66ee09- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00302
Status: valid/unmigrated
Version: rel:R25-11#675a6873
Versionshistorie & Revisions (1 transition, 8 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_00302@rel:R25-11#675a6873
Recorded Revisions (8):
- R25-11
rel:R25-11#5d66ee092026-09-30 - R19-11
rel:R19-11#59de85012026-10-14 - R20-11
rel:R20-11#fc0f4e762026-10-14 - R21-11
rel:R21-11#f7ca4f0c2026-10-14 - R22-11
rel:R22-11#fe9effec2026-10-14 - R23-11
rel:R23-11#ff73c0922026-10-14 - R24-11
rel:R24-11#f6433d2e2026-10-14 - R25-11
rel:R25-11#675a68732026-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