DEENESPTFRRUARHIKOZHNL

类 ara::idsm::EventReporter

Diese Seite wurde vollständig KI-generiert auf Basis von SWS IntrusionDetectionSystemManager (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.

Header: ara/idsm/event_reporter.h · Spezifikationselemente: 8

用户指南人工智能生成

使应用程序能够以线程安全的方式向 IdsM 报告带有可选上下文数据的 Security Events。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f75b726662c3 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使应用程序能够以线程安全的方式向 IdsM 报告带有可选上下文数据的 Security Events。

在 AUTOSAR Adaptive 中,类 ara::idsm::EventReporter 用作向 Intrusion Detection System Manager [SWS_AIDSM_10101] 报告安全事件的核心编程接口。在通过针对建模端口的 ara::core::InstanceSpecifier 完成实例化后,应用程序可灵活地通过计数器、时间戳或(带版本的)上下文数据 [SWS_AIDSM_10301] 来传输事件。所有方法均明确指定为线程安全,并允许从多个应用程序线程进行并发使用。由于所有接口均带有 noexcept,因此传输错误不会通过 C++ 异常报告给调用方。

上下文

在 AUTOSAR Adaptive Platform 中,类 ara::idsm::EventReporter 用作功能应用程序的主要编程接口,以向 Intrusion Detection System Management (IdsM) 报告安全相关事件 (Security Events) [SWS_AIDSM_10101]。在平台架构内部,该类在应用特定的检测逻辑与平台范围的安全服务之间承担中介角色。直接交互方包括用于识别异常或安全关键事件的功能软件组件、中介实例 EventReporter 以及负责安全事件的捕获、过滤和进一步处理的 Adaptive Platform 的 IdsM 服务。

Context App Adaptive Anwendung Reporter ara::idsm::EventReporter App->Reporter ReportEvent() IdsM Intrusion Detection System Manager Reporter->IdsM Security Event

上下文图:EventReporter 在报告应用程序与 IdsM 之间的集成。来源:[SWS_AIDSM_10101]、[SWS_AIDSM_10301]

生命周期

EventReporter 对象的创建通过其构造函数并在传入类型为 ara::core::InstanceSpecifier 的标识符 [SWS_AIDSM_10301] 的情况下进行。这会将实例绑定到清单中建模的类型为 SecurityEventReportInterface 的端口 [SWS_AIDSM_10301]。所有权归属于使用该对象的应用程序;在组件的整个运行周期内进行长期保留通常是适宜的,以避免对端口进行重复绑定。 问题 Q-b3ef27a8829cb437 (未决)对于并发性,规范保证了完全的线程安全性:构造以及用于报告事件的所有方法均设计为线程安全 [SWS_AIDSM_10301]、[SWS_AIDSM_10302]。因此,多个应用程序线程可以并行使用同一个 Reporter 实例,而无需外部同步措施。

使用路径

常规流程包括 Reporter 的实例化以及随后通过方法 ReportEvent 报告事件。在使用匹配的 ara::core::InstanceSpecifier [SWS_AIDSM_10301] 完成初始化后,应用程序会根据事件类型以及可用上下文信息的详细程度选择所提供的重载之一:

  • 无上下文报告:对于不带附加数据的简单事件,使用基础重载,该重载可选择性地传输事件计数(count,默认值为 1)[SWS_AIDSM_10302]。
  • 带时间戳报告:若要为事件提供显式的捕获时间点,则提供了一个带有 TimestampType 的变体 [SWS_AIDSM_10303]。
  • 带上下文数据报告:为了传递诊断数据或事件详情,可以使用类型为 ContextDataType 的参数调用 ReportEvent,可任选带或不带显式时间戳 [SWS_AIDSM_10304]、[SWS_AIDSM_10305]。
  • 带版本化上下文数据报告:只要通信格式被定义为结构化或依赖于版本,带有 VersionedContextDataType 的重载——同样带或不带时间戳——就会提供相应的接口 [SWS_AIDSM_10306]、[SWS_AIDSM_10307]。

一旦调用 ReportEvent,Reporter 就会将数据转发给 IdsM 子系统并立即返回应用程序。

Security Event 报告流程应用EventReporterIdsM-SubsystemEventReporter(instanceSpecifier)Instanz erzeugtReportEvent(contextData, count)转发事件返回 (void)

时序图:从 Reporter 创建到事件报告的典型交互序列。来源:[SWS_AIDSM_10301]、[SWS_AIDSM_10304]

错误场景

发送报告的基本前提条件是成功构造 EventReporter 并传入平台模型中配置的有效端口标识符 [SWS_AIDSM_10301]。在错误处理和异常安全性方面,该类的所有接口都表现出一个特殊特性:构造函数以及绝无例外的所有 ReportEvent 重载均声明为 noexcept [SWS_AIDSM_10301]、[SWS_AIDSM_10302]、[SWS_AIDSM_10303]、[SWS_AIDSM_10304]、[SWS_AIDSM_10305]、[SWS_AIDSM_10306]、[SWS_AIDSM_10307]。既不会引发 C++ 异常,也不会返回诸如 ara::core::Result 之类的错误对象。如果在向 IdsM 传输期间发生诸如缓冲区瓶颈或服务中断等基础设施问题,这些问题大概会在平台服务内部进行处理、丢弃或记录,以免阻塞报告应用程序。 问题 (未决)

本指南基于 AUTOSAR Adaptive R25-11 规范自动生成。

概要

class EventReporter {...};

时序图

Meldung und Verarbeitung eines Security EventsSensor / AnwendungEventReporterIdsMContextDataProviderSEM (konzeptionell) /IdsRReportEvent(...)Security Event meldenModifyContextData(...)[optional]modifizierteKontextdatenqualifizieren, filtern undReporting Mode anwendenQSEv speichern oder weiterleitenSEM ist laut EXP_PlatformDesign für einespätere Standardisierung angekündigt; hier:lokale Persistenz / IdsR.

Kontextdiagramm auf Basis von Kapitel 7 und Kapitel 8. SWS IdsM §7.1; [SWS_AIDSM_00103].

成员图

构造函数和析构函数

1

详细视图

请在大纲中选择一个条目。

声明

class EventReporter {...};

构造函数和析构函数

EventReporter(const ara::core::InstanceSpecifier& instanceSpecifier) noexcept;

方法

ReportEvent 函数 6
重载 ReportEvent 6
void ReportEvent(ContextDataType contextData, const CountType count = 1) noexcept; SWS_AIDSM_10304
void ReportEvent(ContextDataType contextData, const TimestampType timestamp, const CountType count = 1) noexcept; SWS_AIDSM_10305
void ReportEvent(VersionedContextDataType contextData, const CountType count = 1) noexcept; SWS_AIDSM_10306
void ReportEvent(VersionedContextDataType contextData, const TimestampType timestamp, const CountType count = 1) noexcept; SWS_AIDSM_10307
void ReportEvent(const CountType count = 1) noexcept; SWS_AIDSM_10302
void ReportEvent(const TimestampType timestamp, const CountType count = 1) noexcept; SWS_AIDSM_10303

方法与类型文档

类 EventReporter [SWS_AIDSM_10101]

class EventReporter {...};
Headerara/idsm/event_reporter.h

Klasse zum Melden von Security Events an IdsM.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 341eac5eb3f5 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

类 EventReporter 在头文件 ara/idsm/event_reporter.h 中定义,在 Adaptive Platform 中用于向 Intrusion Detection System Manager(IdsM)报告安全相关事件(Security Events)[SWS_AIDSM_10101]。

使用与实例化

要使用该类,必须通过接收类型为 const ara::core::InstanceSpecifier& 的标识符的有参构造函数来创建实例 [SWS_AIDSM_10301]。该构造函数会为系统模型中配置的类型为 SecurityEventReportInterface 的端口初始化报告器 [SWS_AIDSM_10301]。Interpretation:与建模端口的绑定推测需要传入的 InstanceSpecifier 在 ARXML 清单中有一致的定义,并且在运行时可解析。 问题 Q-ed2f606f7446b4ba (未决)

错误处理与并发

关于异常行为,构造被指定为带有 noexcept [SWS_AIDSM_10301];因此该构造函数不抛出 C++ 异常。关于并发性,构造函数被显式声明为线程安全 [SWS_AIDSM_10301]。Interpretation:因此,多个线程推测可以为它们各自的端口并行实例化报告器实例,而无需外部同步机制。 问题 Q-ddff9884a7b7cad8 (未决)

相互作用

与 IdsM 的交互基于实例与相应建模端口的关联:通过指定为 SecurityEventReportInterface [SWS_AIDSM_10301] 的 EventReporter,该类构成了自适应应用程序向 IdsM 架构传输安全事件的接口 [SWS_AIDSM_10101]。

本文由 AI 基于 AUTOSAR 规范 R25-11 生成。

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10101@rel:R25-11#964b14a6
Content hash
964b14a6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10101
Status: valid/unmigrated Version: rel:R25-11#1429dc49 Versionshistorie & Revisions (1 transition, 7 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_AIDSM_10101@rel:R25-11#1429dc49
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#b5f192262026-09-30
  • R20-11rel:R20-11#043512ed2026-10-14
  • R21-11rel:R21-11#043512ed2026-10-14
  • R22-11rel:R22-11#97d4883f2026-10-14
  • R23-11rel:R23-11#6e3edbe82026-10-14
  • R24-11rel:R24-11#6e3edbe82026-10-14
  • R25-11rel:R25-11#1429dc492026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 EventReporter [SWS_AIDSM_10301]

EventReporter(const ara::core::InstanceSpecifier& instanceSpecifier) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Konstruiert einen Reporter für den modellierten SecurityEventReportInterface-Port.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10301@rel:R25-11#edbb91b7
Content hash
edbb91b7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10301
Status: valid/unmigrated Version: rel:R25-11#570d213d Versionshistorie & Revisions (1 transition, 7 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_AIDSM_10301@rel:R25-11#570d213d
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#00022b3d2026-09-30
  • R20-11rel:R20-11#926baf912026-10-14
  • R21-11rel:R21-11#eddb8d552026-10-14
  • R22-11rel:R22-11#4f9a3b122026-10-14
  • R23-11rel:R23-11#60a9a1442026-10-14
  • R24-11rel:R24-11#815c28422026-10-14
  • R25-11rel:R25-11#570d213d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ReportEvent [SWS_AIDSM_10304]

void ReportEvent(ContextDataType contextData, const CountType count = 1) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Meldet ein Security Event mit Kontextdaten.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 4b61a3fac314 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使用

来自头文件 ara/idsm/event_reporter.h 的函数 ReportEvent 用于报告带有上下文数据的安全事件 [SWS_AIDSM_10304]。在调用时会传递类型为 ContextDataType 的实参 contextData。此外,还可以通过 count(类型 CountType)可选指定事件数量,其默认值设定为 1 [SWS_AIDSM_10304]。该函数不提供返回值(void),且作为 noexcept 声明不抛出异常。

并发性与限制

该接口被明确定义为 thread-safe [SWS_AIDSM_10304],可以在没有额外同步措施的情况下从多个线程并行调用。由于签名未提供时间戳参数,因此报告时间的记录推测大概率在内部接收事件时进行。 问题 Q-ab652343cc8009e9 (未决)

与相关接口的交互

该规范为不同的信息范围定义了 ReportEvent 的多个相关重载:

本使用说明基于 R25-11 版本中自适应模块 aidsm 的规范。

实现者指南即将推出(复杂度 I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10304
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10304@rel:R25-11#99b2ab5c
Content hash
99b2ab5c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10304
Status: valid/unmigrated Version: rel:R25-11#2586e280 Versionshistorie & Revisions (1 transition, 7 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_AIDSM_10304@rel:R25-11#2586e280
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#15a30f652026-09-30
  • R20-11rel:R20-11#0b7575da2026-10-14
  • R21-11rel:R21-11#b8baf1ff2026-10-14
  • R22-11rel:R22-11#129bee982026-10-14
  • R23-11rel:R23-11#cbf755a92026-10-14
  • R24-11rel:R24-11#993fb8302026-10-14
  • R25-11rel:R25-11#2586e2802026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ReportEvent [SWS_AIDSM_10305]

void ReportEvent(ContextDataType contextData, const TimestampType timestamp, const CountType count = 1) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Meldet ein Security Event mit Kontextdaten und Zeitstempel.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: a15825b91622 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使用

函数 [SWS_AIDSM_10305] 传输带有应用特定上下文数据以及显式时间戳的安全事件。通过类型为 ContextDataType 的实参 contextData 传递与事件相关的有效负载数据,而 timestamp(类型 const TimestampType)记录精确的捕获时间点。可选参数 count(类型 const CountType)的默认值为 1,允许报告多个累积发生的情况。该函数不提供返回值(void)。

并发与错误处理

声明位于头文件 ara/idsm/event_reporter.h 中,并明确指定为线程安全(thread-safe)[SWS_AIDSM_10305]。因此,可以从并行线程进行调用而无需额外的同步。通过带有 noexcept 标记,在 API 级别不会传播异常;因此在转发或缓冲时的任何错误都推测由 Intrusion Detection System Manager 在内部进行处理。 问题 Q-3b45e18c9a106a0f (未决)

交互与替代方案

该接口属于一组重载的报告函数。如果不需要上下文数据或时间戳,可以使用更轻量的变体,例如 [SWS_AIDSM_10302](仅计数器)、[SWS_AIDSM_10303](带时间戳)以及 [SWS_AIDSM_10304](仅带上下文数据)。如果需要结构化或版本化的数据格式,则应改用符合 [SWS_AIDSM_10306] 和 [SWS_AIDSM_10307] 的带有 VersionedContextDataType 的重载。

本文本由 AI 系统生成,不替代规范性规范。

实现者指南即将推出(复杂度 I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10305
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10305@rel:R25-11#42778412
Content hash
42778412
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10305
Status: valid/unmigrated Version: rel:R25-11#cef74cf2 Versionshistorie & Revisions (1 transition, 7 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_AIDSM_10305@rel:R25-11#cef74cf2
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#80f59cf32026-09-30
  • R20-11rel:R20-11#26fdff7b2026-10-14
  • R21-11rel:R21-11#26fdff7b2026-10-14
  • R22-11rel:R22-11#95413c722026-10-14
  • R23-11rel:R23-11#a97cbda12026-10-14
  • R24-11rel:R24-11#dba3fd382026-10-14
  • R25-11rel:R25-11#cef74cf22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ReportEvent [SWS_AIDSM_10306]

void ReportEvent(VersionedContextDataType contextData, const CountType count = 1) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Meldet ein Security Event mit versionierten Kontextdaten.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: de8a25cae4a6 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

函数 ReportEvent 在模块 aidsm 中提供了一个用于报告附带版本化上下文数据的安全事件的接口 [SWS_AIDSM_10306]。它在头文件 ara/idsm/event_reporter.h 中定义,且不提供返回值(void)。

调用时处理以下参数:

  • contextData(类型 VersionedContextDataType):传递所发生安全事件的版本化上下文信息 [SWS_AIDSM_10306]。
  • count(类型 const CountType,默认值 1):可选地确定该事件累积发生的次数 [SWS_AIDSM_10306]。

关于并发性,该函数被指定为线程安全(thread-safe)[SWS_AIDSM_10306]。通过使用 noexcept 声明,确保了执行不会抛出 C++ 异常。

在与其他报告函数的交互中,该重载涵盖了一个特定的用例:

本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。

实现者指南即将推出(复杂度 I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10306
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10306@rel:R25-11#aa48fc38
Content hash
aa48fc38
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10306
Status: valid/unmigrated Version: rel:R25-11#5cd69a92 Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10306@rel:R25-11#5cd69a92
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#60f33c782026-09-30
  • R24-11rel:R24-11#aecea3182026-10-14
  • R25-11rel:R25-11#5cd69a922026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ReportEvent [SWS_AIDSM_10307]

void ReportEvent(VersionedContextDataType contextData, const TimestampType timestamp, const CountType count = 1) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Meldet ein Security Event mit versionierten Kontextdaten und Zeitstempel.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0396bd6093be 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

用法与调用上下文

来自头文件 ara/idsm/event_reporter.h 的函数 ReportEvent 用于报告带有显式版本化上下文数据以及时间戳的安全事件 [SWS_AIDSM_10307]。它接收类型为 VersionedContextDataType 的版本化数据 contextData、类型为 TimestampType 的时间戳 timestamp 以及可选的类型为 CountType 的事件计数 count,该事件计数默认预设为值 1 [SWS_AIDSM_10307]。

并发与错误处理

该函数被明确指定为 thread-safe [SWS_AIDSM_10307],因此可以安全地从多个线程并行调用。由于签名未规定返回值(void)且声明为 noexcept [SWS_AIDSM_10307],因此错误既不会通过 C++ 异常也不会通过状态码来指示;解释:事件传输中的错误情况大概率由模块 aidsm 在内部处理或记录。 问题 Q-002c5fbc3202bcc2 (未决)

重载之间的交互

该函数代表针对同时产生时间戳和版本化附加数据的事件的专用变体 [SWS_AIDSM_10307]。它补充了报告器中 ReportEvent 的其他重载:

本使用说明基于 AUTOSAR 规范 R25-11 自动生成。

实现者指南即将推出(复杂度 I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10307
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10307@rel:R25-11#397bbe79
Content hash
397bbe79
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10307
Status: valid/unmigrated Version: rel:R25-11#a327023d Versionshistorie & Revisions (1 transition, 3 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_AIDSM_10307@rel:R25-11#a327023d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d0d22c132026-09-30
  • R24-11rel:R24-11#3b558f0b2026-10-14
  • R25-11rel:R25-11#a327023d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ReportEvent [SWS_AIDSM_10302]

void ReportEvent(const CountType count = 1) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Meldet ein Security Event ohne Kontextdaten und Zeitstempel.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: ebebef3896bf 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使用

函数 ReportEvent 通过头文件 ara/idsm/event_reporter.h 提供,用于报告不带上下文数据和时间戳的安全事件 [SWS_AIDSM_10302]。它接受类型为 CountType 的事件计数 count 作为参数,该参数默认预设为值 1 [SWS_AIDSM_10302]。该函数没有返回值(void),并通过标记 noexcept 保证不抛出异常 [SWS_AIDSM_10302]。关于执行语义,由于未指定同步状态或异步 Future 返回类型,内部处理大概率以非阻塞方式进行。 问题 Q-6e240ebde61d8a83 (未决)

并发与错误处理

根据规范,该调用被归类为 thread-safe,因此可以从并发线程安全调用 [SWS_AIDSM_10302]。由于签名被固定为 void 和 noexcept,因此不存在特定的错误码 [SWS_AIDSM_10302]。

交互与替代方案

该函数代表了用于事件报告的最简单重载。如果需要传输扩展信息,可以使用相关的重载:

本文由 AI 基于 AUTOSAR 规范 R25-11 生成。

实现者指南即将推出(复杂度 I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10302
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10302@rel:R25-11#976d8d2b
Content hash
976d8d2b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10302
Status: valid/unmigrated Version: rel:R25-11#782cf88f Versionshistorie & Revisions (1 transition, 7 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_AIDSM_10302@rel:R25-11#782cf88f
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#24d9a73c2026-09-30
  • R20-11rel:R20-11#313d91ce2026-10-14
  • R21-11rel:R21-11#313d91ce2026-10-14
  • R22-11rel:R22-11#10ded2da2026-10-14
  • R23-11rel:R23-11#884f5d4d2026-10-14
  • R24-11rel:R24-11#782cf88f2026-10-14
  • R25-11rel:R25-11#782cf88f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

函数 ReportEvent [SWS_AIDSM_10303]

void ReportEvent(const TimestampType timestamp, const CountType count = 1) noexcept;
Headerara/idsm/event_reporter.h
Thread Safetythread-safe

Meldet ein Security Event mit Zeitstempel.

AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 940337e9da83 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

函数 ReportEvent 用于在显式指定时间戳的情况下报告安全事件 [SWS_AIDSM_10303]。它在头文件 ara/idsm/event_reporter.h 中声明 [SWS_AIDSM_10303]。

使用

该调用使用类型为 TimestampType 的必选参数 timestamp 以及类型为 CountType 的可选计数器 count 进行,该计数器预设了默认值 1 [SWS_AIDSM_10303]。该函数没有返回值(void)[SWS_AIDSM_10303]。

错误处理与并发

该函数被声明为 noexcept,因此不会出现 C++ 异常 [SWS_AIDSM_10303]。由于返回类型为 void,因此不会传输错误码;发生的错误大概率在内部被丢弃或进行异步记录 [SWS_AIDSM_10303]。 问题 Q-2d3cd862f6867ba9 (未决)在并发性方面,该函数被归类为 thread-safe,可以安全地从并行线程调用 [SWS_AIDSM_10303]。

相互作用

该函数是 aidsm 模块中重载的 ReportEvent 接口族的一部分:

  • 不带时间戳且不带上下文数据时,可以使用基础函数 [SWS_AIDSM_10302]。
  • 带有类型为 ContextDataType 的常规上下文数据时,存在不带时间戳的重载 [SWS_AIDSM_10304] 以及带有时间戳的重载 [SWS_AIDSM_10305]。
  • 带有类型为 VersionedContextDataType 的版本化上下文数据时,提供了对应的不带时间戳签名 [SWS_AIDSM_10306] 和带有时间戳签名 [SWS_AIDSM_10307]。

本文由 AI 基于 AUTOSAR 规范 R25-11 生成。

实现者指南即将推出(复杂度 I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10303
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10303@rel:R25-11#4e5c9b6a
Content hash
4e5c9b6a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10303
Status: valid/unmigrated Version: rel:R25-11#207af9af Versionshistorie & Revisions (1 transition, 7 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_AIDSM_10303@rel:R25-11#207af9af
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#282a543c2026-09-30
  • R20-11rel:R20-11#0b9570212026-10-14
  • R21-11rel:R21-11#0b9570212026-10-14
  • R22-11rel:R22-11#e5fd146e2026-10-14
  • R23-11rel:R23-11#7e0667b82026-10-14
  • R24-11rel:R24-11#207af9af2026-10-14
  • R25-11rel:R25-11#207af9af2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill