functie AddMetaInfo [SWS_DM_00302] Upstream: RS_Diag_04147, RS_Diag_04170
virtual void AddMetaInfo (MetaInfoMap metaInfo) noexcept;
add new metaInfo to this message.
De virtuele memberfunctie AddMetaInfo van de klasse apext::diag::uds_transport::UdsMessage dient om nieuwe metadata aan een diagnosebericht toe te wijzen [SWS_DM_00302]. Ze wordt doorgaans aangeroepen door een transportprotocol-plug-in om kanaalspecifieke aanvullende informatie – zoals bijvoorbeeld vooraf gedefinieerde metadata-sleutels voor DoIP – aan het desbetreffende diagnoseverzoek toe te voegen AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”.
Voor het gebruik van de interface gelden de volgende randvoorwaarden [SWS_DM_00302]:
- Aanroepcontext en header: De declaratie wordt beschikbaar gesteld via het headerbestand
apext/diag/uds_transport/uds_message.hen direct op instanties vanUdsMessageuitgevoerd AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”. - Invoerparameters: De invoerparameter
metaInfovan het typeMetaInfoMapgeeft de toe te voegen meta-informatie van het verzoek door [SWS_DM_00302]. - Retourwaarde: De synchrone functie levert geen retourwaarde op (
void) [SWS_DM_00302]. - Foutafhandeling: De bewerking is voorzien van de identifier
noexcepten gespecificeerd als uitzonderingsveilig (exception safe); er bestaan geen specifieke foutcodes [SWS_DM_00302].
Met betrekking tot gelijktijdigheid is de methode gedeclareerd als niet thread-veilig (thread safety: unsafe) [SWS_DM_00302]. Interpretatie: Aanroepers zullen er derhalve verantwoordelijk voor zijn om concurrerende toegangen tot dezelfde instantie van UdsMessage met externe mechanismen te beveiligen, aangezien de specificatie niet voorziet in interne synchronisatie AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”. Vraag Q-c2de8aa28c94aed8 (open)
Deze tekst is gegenereerd door een AI op basis van de specificatie AUTOSAR R25-11.
Implementer's Guide volgt (complexiteit 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#3bd496aa- Content hash
3bd496aa- 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 · Duits origineel