함수 AddMetaInfo [SWS_DM_00302] Upstream: RS_Diag_04147, RS_Diag_04170
virtual void AddMetaInfo (MetaInfoMap metaInfo) noexcept;
add new metaInfo to this message.
apext::diag::uds_transport::UdsMessage 클래스의 가상 멤버 함수 AddMetaInfo은(는) 진단 메시지에 새 메타데이터를 할당하는 역할을 합니다 [SWS_DM_00302]. 일반적으로 전송 프로토콜 플러그인에 의해 호출되어 DoIP용 사전 정의된 메타데이터 키와 같은 채널별 추가 정보를 해당 진단 요청에 첨부합니다 AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”.
인터페이스 사용에는 다음 기본 조건이 적용됩니다 [SWS_DM_00302]:
- 호출 컨텍스트 및 헤더: 선언은 헤더 파일
apext/diag/uds_transport/uds_message.h을(를) 통해 제공되며UdsMessage의 인스턴스에서 직접 실행됩니다 AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”. - 전달 매개변수:
MetaInfoMap타입의 입력 매개변수metaInfo은(는) 요청에 추가할 메타 정보를 전달합니다 [SWS_DM_00302]. - 반환값: 이 동기식 함수는 반환값을 제공하지 않습니다(
void) [SWS_DM_00302]. - 오류 처리: 연산에는
noexcept식별자가 지정되어 있으며 예외 안전(exception safe)으로 명세되어 있습니다. 특정 오류 코드는 존재하지 않습니다 [SWS_DM_00302].
동시성과 관련하여 이 메서드는 스레드 안전하지 않음(thread safety: unsafe)으로 선언되어 있습니다 [SWS_DM_00302]. 해석: 따라서 명세에서 내부 동기화를 제공하지 않으므로 호출자는 외부 메커니즘을 통해 UdsMessage의 동일 인스턴스에 대한 경합 접근을 보호할 책임이 있을 것으로 추정됩니다 AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 “AddMetaInfo”. 질문 Q-c2de8aa28c94aed8 (열림)
이 텍스트는 AUTOSAR R25-11 사양을 바탕으로 AI에 의해 생성되었습니다.
구현자 가이드 준비 중 (복잡도 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#5ed79292- Content hash
5ed79292- 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 · 독일어 원문