类 ara::idsm::ContextDataProviderDiese 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/context_data_provider.h · Spezifikationselemente: 10
用户指南人工智能生成 用作为 IdsM 提供和修改特定于应用的上下文数据的接口。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f62ecfb74d6d
来源
未决问题(3)
摘要 详细
用作为 IdsM 提供和修改特定于应用的上下文数据的接口。
抽象类 ara::idsm::ContextDataProvider 用于为 Intrusion Detection System Manager [SWS_AIDSM_10500] 提供和修改特定于应用的上下文数据。应用程序从该类派生,实现回调 ModifyContextData,并通过方法 Offer 以及 StopOffer 控制对 IdsM 的发布 [SWS_AIDSM_10507] 。该实例不可拷贝,并且由于核心方法非线程安全,并发访问可能需要外部同步(解释)。 问题 (未决)
更多 ›
本指南由 AI 基于 AUTOSAR 规范 R25-11 生成。
概要 class ContextDataProvider {...}; 分组依据 类别 历史
此版本没有元素数据
声明 class ContextDataProvider {...};
构造函数和析构函数 重载 ContextDataProvider 3 ContextDataProvider(const ContextDataProvider&) noexcept = delete; SWS_AIDSM_10504 explicit ContextDataProvider(const ara::core::InstanceSpecifier& instance, std::size_t additionalBytes, std::size_t originalContextDataOffset) noexcept; SWS_AIDSM_10501 virtual ~ContextDataProvider() noexcept;
方法 virtual ara::core::Result<std::size_t> ModifyContextData(ara::core::Span<std::uint8_t> contextData, EventIdType event) noexcept = 0;
ara::core::Result<void> Offer() noexcept;
void StopOffer() noexcept;
运算符 重载 = 2 ContextDataProvider& operator=(const ContextDataProvider&) noexcept = delete; SWS_AIDSM_10506 ContextDataProvider& operator=(ContextDataProvider&& ra) noexcept; SWS_AIDSM_10505
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
方法与类型文档 class ContextDataProvider {...}; Header ara/idsm/context_data_provider.h
Klasse zum Bereitstellen von Kontextdaten für IdsM.
Status: valid/unmigrated
Version: rel:R25-11#99bacbf7
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_AIDSM_10500@rel:R25-11#99bacbf7
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#be52b4b12026-09-30 Inspect R23-11 rel:R23-11#18cd8d552026-10-14 Inspect R24-11 rel:R24-11#ec975c292026-10-14 Inspect R25-11 rel:R25-11#99bacbf72026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ContextDataProvider(ContextDataProvider&& ra) noexcept; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety thread-safe
Verschiebekonstruktor.
Status: valid/unmigrated
Version: rel:R25-11#7a327a2d
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_AIDSM_10503@rel:R25-11#7a327a2d
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#b6f5a52b2026-09-30 Inspect R23-11 rel:R23-11#ba5a4f1d2026-10-14 Inspect R24-11 rel:R24-11#2e23de432026-10-14 Inspect R25-11 rel:R25-11#7a327a2d2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ContextDataProvider(const ContextDataProvider&) noexcept = delete; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200
Kopierkonstruktor ist gelöscht.
Status: valid/unmigrated
Version: rel:R25-11#a0fddec0
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_AIDSM_10504@rel:R25-11#a0fddec0
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#bb5011252026-09-30 Inspect R23-11 rel:R23-11#2d05c2962026-10-14 Inspect R24-11 rel:R24-11#a0fddec02026-10-14 Inspect R25-11 rel:R25-11#a0fddec02026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ContextDataProvider& operator=(const ContextDataProvider&) noexcept = delete; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200
Kopierzuweisung ist gelöscht.
Status: valid/unmigrated
Version: rel:R25-11#631f28ec
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_AIDSM_10506@rel:R25-11#631f28ec
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#f3a5203b2026-09-30 Inspect R23-11 rel:R23-11#8b204f842026-10-14 Inspect R24-11 rel:R24-11#631f28ec2026-10-14 Inspect R25-11 rel:R25-11#631f28ec2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ContextDataProvider& operator=(ContextDataProvider&& ra) noexcept; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety not thread-safe Rückgabe ContextDataProvider&
Verschiebezuweisung.
Status: valid/unmigrated
Version: rel:R25-11#a1175356
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_AIDSM_10505@rel:R25-11#a1175356
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#dba15f002026-09-30 Inspect R23-11 rel:R23-11#9d5922752026-10-14 Inspect R24-11 rel:R24-11#a11753562026-10-14 Inspect R25-11 rel:R25-11#a11753562026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ~ContextDataProvider() noexcept; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety not thread-safe
Virtueller Destruktor.
Status: valid/unmigrated
Version: rel:R25-11#823bf5fa
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_AIDSM_10502@rel:R25-11#823bf5fa
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#4cafc98b2026-09-30 Inspect R23-11 rel:R23-11#983117c72026-10-14 Inspect R24-11 rel:R24-11#823bf5fa2026-10-14 Inspect R25-11 rel:R25-11#823bf5fa2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
explicit ContextDataProvider(const ara::core::InstanceSpecifier& instance, std::size_t additionalBytes, std::size_t originalContextDataOffset) noexcept; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety thread-safe
Erzeugt einen ContextDataProvider für den modellierten Provider-Port.
Status: valid/unmigrated
Version: rel:R25-11#938e7bec
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_AIDSM_10501@rel:R25-11#938e7bec
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#640b6adf2026-09-30 Inspect R23-11 rel:R23-11#9a13a11b2026-10-14 Inspect R24-11 rel:R24-11#f431ef902026-10-14 Inspect R25-11 rel:R25-11#938e7bec2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result<std::size_t> ModifyContextData(ara::core::Span<std::uint8_t> contextData, EventIdType event) noexcept = 0; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety not thread-safe Rückgabe Result<std::size_t>
Von IdsM aufgerufene abstrakte Funktion zum Ändern der Kontextdaten.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 7746f9098d23
来源
未决问题(1)
用法与语义
来自头文件 ara/idsm/context_data_provider.h 的纯虚函数 ModifyContextData 由 Intrusion Detection System Manager(IdsM)调用,以提供或更改安全事件的上下文数据 [SWS_AIDSM_10509] 。该函数接收类型为 ara::core::Span<std::uint8_t> 的可写内存区域 contextData 以及类型为 EventIdType 的事件标识符 event。同步返回值采用 ara::core::Result<std::size_t>。其中包含的数值推测表示实际写入缓冲区的字节数。 问题 Q-cec3aee149140a4b (未决)
交互和生命周期
IdsM 的调用受 Context Data Provider 的生命周期控制:
错误处理与并发
该函数使用 noexcept 声明,且不得抛出异常 [SWS_AIDSM_10509] 。如果在修改数据时发生错误,则应通过 ara::core::Result 的错误对象报告该错误。由于该接口被归类为 not thread-safe [SWS_AIDSM_10509] ,因此在并发访问缓冲区或内部状态时,具体实现必须确保适当的同步。
本使用说明基于规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#25fa3f6d
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_AIDSM_10509@rel:R25-11#25fa3f6d
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#9ded85782026-09-30 Inspect R23-11 rel:R23-11#ea652bc12026-10-14 Inspect R24-11 rel:R24-11#a6261e1e2026-10-14 Inspect R25-11 rel:R25-11#25fa3f6d2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result<void> Offer() noexcept; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety not thread-safe Rückgabe Result<void>
Ermöglicht IdsM-Aufrufe von ModifyContextData.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 75af0d519faa
来源
未决问题(1)
使用
无参数方法 Offer() 通过头文件 ara/idsm/context_data_provider.h 提供,并返回一个 ara::core::Result<void> [SWS_AIDSM_10507] 。通过使用 noexcept 进行声明,排除了调用方的异常 [SWS_AIDSM_10507] 。成功调用后,提供者在 Intrusion Detection System Manager (IdsM) 处完成注册,从而才使后续 IdsM 对接口 ModifyContextData 的调用成为可能 [SWS_AIDSM_10507] 。
并发性与限制
关于线程处理,该函数被明确规范为 not thread-safe [SWS_AIDSM_10507] 。因此,调用方必须确保执行过程串行化进行,且不发生并发访问。Interpretation:该调用通常应在系统初始化阶段、IdsM 访问上下文数据之前进行。 问题 Q-fe72f4c02eb0e5ba (未决)
相互作用
该提供遵循模块 aidsm 中的标准化 Offer 模式。类似的接口可激活其他 IdsM 功能:
ara/idsm/timestamp_provider.h 中的 Offer() 允许 IdsM 调用 GetTimestamp [SWS_AIDSM_10408] 。
ara/idsm/qualified_events_receiver.h 中的 Offer() 允许 IdsM 通过 OnEventQualification 进行转发 [SWS_AIDSM_10808] 。
此文本由 AI 系统生成,基于 AUTOSAR Adaptive R25-11 规范。
Status: valid/unmigrated
Version: rel:R25-11#2bfc261e
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_AIDSM_10507@rel:R25-11#2bfc261e
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#b3dfd7e72026-09-30 Inspect R23-11 rel:R23-11#348ed0ee2026-10-14 Inspect R24-11 rel:R24-11#426815cc2026-10-14 Inspect R25-11 rel:R25-11#2bfc261e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
void StopOffer() noexcept; Header ara/idsm/context_data_provider.hUpstream-Anforderung RS_Ids_00200 Thread Safety not thread-safe
Unterbindet IdsM-Aufrufe von ModifyContextData.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: ca8d922661ce
来源
未决问题(1)
使用
来自头文件 ara/idsm/context_data_provider.h 的函数 StopOffer 具有签名 void StopOffer() noexcept; [SWS_AIDSM_10508] 。它不接受任何参数,不返回值,并且根据 noexcept 不抛出异常。其主要目的是阻止 IdsM 今后调用 ModifyContextData [SWS_AIDSM_10508] 。
并发性与限制
根据规范,StopOffer 被归类为 not thread-safe [SWS_AIDSM_10508] 。因此,该调用不得与针对同一实例的其他操作并发进行;调用方必须在外部同步访问。由于未规范返回值或特定的错误处理机制,撤回 Offer 应当是同步且立即生效的。 问题 Q-6c3920758ace96be (未决)
相互作用
在模块 aidsm 内部,StopOffer 模式存在于类似的提供者和接收者接口中。例如,头文件 ara/idsm/timestamp_provider.h 中的 StopOffer 会阻止 IdsM 今后调用 GetTimestamp [SWS_AIDSM_10409] ,而头文件 ara/idsm/qualified_events_receiver.h 中同名的方法则会停止对 OnEventQualification 的调用 [SWS_AIDSM_10809] 。这两个相关函数具有相同的签名,并且同样不是线程安全的。
此文本由 AI 基于 AUTOSAR Adaptive R25-11 创建。
Status: valid/unmigrated
Version: rel:R25-11#42c6d570
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_AIDSM_10508@rel:R25-11#42c6d570
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#f23158592026-09-30 Inspect R23-11 rel:R23-11#2e5dbd3e2026-10-14 Inspect R24-11 rel:R24-11#42c6d5702026-10-14 Inspect R25-11 rel:R25-11#42c6d5702026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically 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 · 德文原文