DEENESPTFRRUARHIKOZHNL

类 ara::idsm::ContextDataProvider

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/context_data_provider.h · Spezifikationselemente: 10

用户指南人工智能生成

用作为 IdsM 提供和修改特定于应用的上下文数据的接口。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f62ecfb74d6d 来源 未决问题(3)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

用作为 IdsM 提供和修改特定于应用的上下文数据的接口。

抽象类 ara::idsm::ContextDataProvider 用于为 Intrusion Detection System Manager [SWS_AIDSM_10500] 提供和修改特定于应用的上下文数据。应用程序从该类派生,实现回调 ModifyContextData,并通过方法 Offer 以及 StopOffer 控制对 IdsM 的发布 [SWS_AIDSM_10507]。该实例不可拷贝,并且由于核心方法非线程安全,并发访问可能需要外部同步(解释)。 问题 (未决)

上下文

类 ara::idsm::ContextDataProvider 用于为 Intrusion Detection System Manager (IdsM) 子系统提供和修改上下文数据 [SWS_AIDSM_10500]。在安全架构内,该类充当安全相关应用程序与 IdsM 服务之间的接口。由于成员函数 ModifyContextData 被指定为纯虚函数 [SWS_AIDSM_10509],因此 ContextDataProvider 构成抽象基类。应用程序派生出自己的实现,以便在发生安全相关事件时补充特定的上下文数据。与架构配置的绑定通过针对已建模 Provider 端口 [SWS_AIDSM_10501] 的 ara::core::InstanceSpecifier 进行。

生命周期

实例的创建通过构造函数显式进行,并指定端口标识符(ara::core::InstanceSpecifier)以及缓冲区参数 additionalBytes 和 originalContextDataOffset [SWS_AIDSM_10501]。该构造函数被声明为线程安全 [SWS_AIDSM_10501]。为了保证接口端点明确的所有权关系,拷贝构造函数 [SWS_AIDSM_10504] 和拷贝赋值运算符 [SWS_AIDSM_10506] 均已被删除。可以通过移动语义转移实例:移动构造函数是线程安全的 [SWS_AIDSM_10503],而带有右值引用的赋值运算符 operator= 被定义为非线程安全 [SWS_AIDSM_10505]。

创建后,实例处于非活动状态。只有通过显式调用 Offer(),注册才会被激活,并授权 IdsM 调用 ModifyContextData [SWS_AIDSM_10507]。可以通过 StopOffer() 随时再次撤回该授权 [SWS_AIDSM_10508]。按照惯例,在通过虚析构函数 [SWS_AIDSM_10502] 销毁对象之前,可能必须调用 StopOffer(),以便及时停止 IdsM 正在进行的回调(解释)。 问题 Q-ee65caee57919f00 (未决)虚析构函数被指定为非线程安全 [SWS_AIDSM_10502]。

使用路径

典型的应用场景始于定义一个继承自 ContextDataProvider 并实现方法 ModifyContextData 的应用特定类 [SWS_AIDSM_10509]。实例化后,应用程序调用 Offer(),以便为 IdsM 提供上下文数据 [SWS_AIDSM_10507]。一旦 IdsM 记录到应为其补充上下文数据的安全事件,子系统就会调用回调 ModifyContextData [SWS_AIDSM_10509]。该方法接收作为 ara::core::Span<std::uint8_t> 的数据区域以及标识符 EventIdType,更新缓冲区内容,并将实际字节数作为 ara::core::Result<std::size_t> 返回 [SWS_AIDSM_10509]。若要终止数据提供,应用程序调用 StopOffer() [SWS_AIDSM_10508]。

上下文数据提供流程应用ContextDataProviderIdsMOffer()Result<void>ModifyContextData(contextData, event)Result<std::size_t>StopOffer()

时序图:应用程序、ContextDataProvider 与 IdsM 之间的交互序列,从通过 Offer 激活、经过回调直到通过 StopOffer 停用。来源:[SWS_AIDSM_10507]、[SWS_AIDSM_10508]、[SWS_AIDSM_10509]

错误场景

接口的所有方法均使用 noexcept 声明;错误通过类型 ara::core::Result 返回。调用 Offer() 会返回一个 ara::core::Result<void> [SWS_AIDSM_10507],应用程序必须对其进行检查,以捕获服务提供期间可能出现的错误。如果提供程序无法在 ModifyContextData 中写入请求的上下文数据,则该实现可能会在 ara::core::Result<std::size_t> 中报告系统特定的错误(解释) [SWS_AIDSM_10509]。 问题 Q-585e19770d59309e (未决)

关于并发性,需要注意的是 Offer() [SWS_AIDSM_10507]、StopOffer() [SWS_AIDSM_10508]、ModifyContextData() [SWS_AIDSM_10509]、赋值运算符 [SWS_AIDSM_10505] 和析构函数 [SWS_AIDSM_10502] 均被指定为非线程安全。如果在没有外部同步的情况下从多个线程并行调用这些方法,可能会导致数据竞争和不可预测的行为(解释)。 问题 Q-80b83a52aba53d67 (未决)

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

概要

class ContextDataProvider {...};

成员图

详细视图

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

声明

class ContextDataProvider {...};

构造函数和析构函数

重载 ContextDataProvider 3
ContextDataProvider(ContextDataProvider&& ra) noexcept; SWS_AIDSM_10503
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;
Offer 函数
ara::core::Result<void> Offer() noexcept;
StopOffer 函数
void StopOffer() noexcept;

运算符

operator= 函数 2
重载 = 2
ContextDataProvider& operator=(const ContextDataProvider&) noexcept = delete; SWS_AIDSM_10506
ContextDataProvider& operator=(ContextDataProvider&& ra) noexcept; SWS_AIDSM_10505

方法与类型文档

类 ContextDataProvider [SWS_AIDSM_10500]

class ContextDataProvider {...};
Headerara/idsm/context_data_provider.h

Klasse zum Bereitstellen von Kontextdaten für IdsM.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10500
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10500@rel:R25-11#0c32c8a7
Content hash
0c32c8a7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10500
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#be52b4b12026-09-30
  • R23-11rel:R23-11#18cd8d552026-10-14
  • R24-11rel:R24-11#ec975c292026-10-14
  • R25-11rel:R25-11#99bacbf72026-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

函数 ContextDataProvider [SWS_AIDSM_10503]

ContextDataProvider(ContextDataProvider&& ra) noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetythread-safe

Verschiebekonstruktor.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10503
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10503@rel:R25-11#6d186526
Content hash
6d186526
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10503
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#b6f5a52b2026-09-30
  • R23-11rel:R23-11#ba5a4f1d2026-10-14
  • R24-11rel:R24-11#2e23de432026-10-14
  • R25-11rel:R25-11#7a327a2d2026-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

函数 ContextDataProvider [SWS_AIDSM_10504]

ContextDataProvider(const ContextDataProvider&) noexcept = delete;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200

Kopierkonstruktor ist gelöscht.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10504
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10504@rel:R25-11#c11969e8
Content hash
c11969e8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10504
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#bb5011252026-09-30
  • R23-11rel:R23-11#2d05c2962026-10-14
  • R24-11rel:R24-11#a0fddec02026-10-14
  • R25-11rel:R25-11#a0fddec02026-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

函数 operator= [SWS_AIDSM_10506]

ContextDataProvider& operator=(const ContextDataProvider&) noexcept = delete;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200

Kopierzuweisung ist gelöscht.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10506
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10506@rel:R25-11#a2a13f3a
Content hash
a2a13f3a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10506
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#f3a5203b2026-09-30
  • R23-11rel:R23-11#8b204f842026-10-14
  • R24-11rel:R24-11#631f28ec2026-10-14
  • R25-11rel:R25-11#631f28ec2026-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

函数 operator= [SWS_AIDSM_10505]

ContextDataProvider& operator=(ContextDataProvider&& ra) noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe
RückgabeContextDataProvider&

Verschiebezuweisung.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10505
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10505@rel:R25-11#0f2740e5
Content hash
0f2740e5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10505
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#dba15f002026-09-30
  • R23-11rel:R23-11#9d5922752026-10-14
  • R24-11rel:R24-11#a11753562026-10-14
  • R25-11rel:R25-11#a11753562026-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

函数 ~ContextDataProvider [SWS_AIDSM_10502]

virtual ~ContextDataProvider() noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe

Virtueller Destruktor.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10502
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10502@rel:R25-11#b6951810
Content hash
b6951810
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10502
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#4cafc98b2026-09-30
  • R23-11rel:R23-11#983117c72026-10-14
  • R24-11rel:R24-11#823bf5fa2026-10-14
  • R25-11rel:R25-11#823bf5fa2026-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

函数 ContextDataProvider [SWS_AIDSM_10501]

explicit ContextDataProvider(const ara::core::InstanceSpecifier& instance, std::size_t additionalBytes, std::size_t originalContextDataOffset) noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetythread-safe

Erzeugt einen ContextDataProvider für den modellierten Provider-Port.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10501
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10501@rel:R25-11#ae974172
Content hash
ae974172
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10501
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#640b6adf2026-09-30
  • R23-11rel:R23-11#9a13a11b2026-10-14
  • R24-11rel:R24-11#f431ef902026-10-14
  • R25-11rel:R25-11#938e7bec2026-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

函数 ModifyContextData [SWS_AIDSM_10509]

virtual ara::core::Result<std::size_t> ModifyContextData(ara::core::Span<std::uint8_t> contextData, EventIdType event) noexcept = 0;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe
RückgabeResult<std::size_t>

Von IdsM aufgerufene abstrakte Funktion zum Ändern der Kontextdaten.

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

用法与语义

来自头文件 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 的生命周期控制:

  • 启用:IdsM 对 ModifyContextData 的调用只有通过事先调用 Offer 才能实现 [SWS_AIDSM_10507]。
  • 终止:通过 StopOffer,再次阻止 IdsM 调用 ModifyContextData [SWS_AIDSM_10508]。

错误处理与并发

该函数使用 noexcept 声明,且不得抛出异常 [SWS_AIDSM_10509]。如果在修改数据时发生错误,则应通过 ara::core::Result 的错误对象报告该错误。由于该接口被归类为 not thread-safe [SWS_AIDSM_10509],因此在并发访问缓冲区或内部状态时,具体实现必须确保适当的同步。

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

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

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10509
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10509@rel:R25-11#fd8634f4
Content hash
fd8634f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10509
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#9ded85782026-09-30
  • R23-11rel:R23-11#ea652bc12026-10-14
  • R24-11rel:R24-11#a6261e1e2026-10-14
  • R25-11rel:R25-11#25fa3f6d2026-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

函数 Offer [SWS_AIDSM_10507]

ara::core::Result<void> Offer() noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe
RückgabeResult<void>

Ermöglicht IdsM-Aufrufe von ModifyContextData.

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

使用

无参数方法 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 规范。

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10507
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10507@rel:R25-11#a894cae7
Content hash
a894cae7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10507
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#b3dfd7e72026-09-30
  • R23-11rel:R23-11#348ed0ee2026-10-14
  • R24-11rel:R24-11#426815cc2026-10-14
  • R25-11rel:R25-11#2bfc261e2026-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

函数 StopOffer [SWS_AIDSM_10508]

void StopOffer() noexcept;
Headerara/idsm/context_data_provider.h
Upstream-AnforderungRS_Ids_00200
Thread Safetynot thread-safe

Unterbindet IdsM-Aufrufe von ModifyContextData.

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

使用

来自头文件 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 创建。

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10508
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10508@rel:R25-11#32aefbb2
Content hash
32aefbb2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10508
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:
Recorded Revisions (4):
  • R25-11rel:R25-11#f23158592026-09-30
  • R23-11rel:R23-11#2e5dbd3e2026-10-14
  • R24-11rel:R24-11#42c6d5702026-10-14
  • R25-11rel:R25-11#42c6d5702026-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