方法与类型文档 class NetworkHandle final {...}; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050
Zugriffsobjekt für einen durch InstanceSpecifier referenzierten Netzwerk-Handle; vorgesehen für State Management.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 513dfc6318da
来源
未决问题(1)
本文字基于规范要求自动生成。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#6d0d1ac4
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_ANM_01000@rel:R25-11#6d0d1ac4
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#7f44cef22026-09-30 Inspect R23-11 rel:R23-11#92accf002026-10-14 Inspect R24-11 rel:R24-11#5516fb542026-10-14 Inspect R25-11 rel:R25-11#6d0d1ac42026-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
类型别名 NetworkStateChangeNotifier [SWS_ANM_01020] using NetworkStateChangeNotifier = std::function<void(const NetworkStateType&)>; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe
Funktionswrapper für Zustandsänderungsbenachrichtigungen.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 405a9a864d8a
来源
未决问题(1)
本使用说明是基于 AUTOSAR 规范自动生成的。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#6f175f8b
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_ANM_01020@rel:R25-11#6f175f8b
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#c6a936bc2026-09-30 Inspect R23-11 rel:R23-11#f1acd6f72026-10-14 Inspect R24-11 rel:R24-11#896a43ef2026-10-14 Inspect R25-11 rel:R25-11#6f175f8b2026-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
enum class NetworkStateType : std::uint32_t { kNoCom = 0, kFullCom = 1 }; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051
Elementarer Zustand: kNoCom, wenn nicht alle zugeordneten Netze FULL_COM sind; kFullCom, wenn alle es sind.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 04abda13a048
来源
枚举 NetworkStateType 表示 anm(Adaptive Network Management)模块中网络的状态 [SWS_ANM_01358] 。它区分了非活动状态 kNoCom = 0(只要并非所有关联网络都处于 FULL_COM 状态)和活动状态 kFullCom = 1(当所有关联网络都处于 FULL_COM 状态时)[SWS_ANM_01358] 。
该类型在 ara/nm/network_handle.h 的接口中得到广泛应用:
状态查询: 方法 GetNetworkState() 以同步且线程安全的方式将当前有效网络状态作为 ara::core::Result<NetworkStateType> 返回 [SWS_ANM_01007] 。同样,GetNetworkRequestedState() 以线程安全的方式读取针对 PNC、VLAN 或物理网络当前请求的状态 [SWS_ANM_01008] 。
状态请求: 通过 SetNetworkRequestedState(NetworkStateType networkState) 主动请求(kFullCom)或释放(kNoCom)PNC、VLAN 或物理网络的状态 [SWS_ANM_01009] 。该操作被规范为非线程安全 [SWS_ANM_01009] 。
事件通知: 该类型通过函数包装器 NetworkStateChangeNotifier(std::function<void(const NetworkStateType&)>)作为参数传递,以便向应用逻辑通知状态变更 [SWS_ANM_01020] 。
错误处理:通过上述方法查询或设置 NetworkStateType 时,若发生错误,可以在 ara::core::Result 中返回代码 NmErrc::kServiceNotAvailable [SWS_ANM_01007] [SWS_ANM_01008] [SWS_ANM_01009] 。
本文本由人工智能生成,完全基于 R25-11 版本的规范要求。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#060affbf
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_ANM_01358@rel:R25-11#060affbf
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#b24a7c302026-09-30 Inspect R23-11 rel:R23-11#5d1bc2242026-10-14 Inspect R24-11 rel:R24-11#05cccab52026-10-14 Inspect R25-11 rel:R25-11#060affbf2026-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
NetworkHandle(const NetworkHandle&) = delete; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050
Kopierkonstruktor ist nicht verwendbar.
Status: valid/unmigrated
Version: rel:R25-11#9d3d9e9b
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_ANM_01005@rel:R25-11#9d3d9e9b
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#522bb2ac2026-09-30 Inspect R23-11 rel:R23-11#e5cbcfd32026-10-14 Inspect R24-11 rel:R24-11#76a16e862026-10-14 Inspect R25-11 rel:R25-11#9d3d9e9b2026-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
NetworkHandle(NetworkHandle&& stbc) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050 Thread Safety implementation-defined
Verschiebekonstruktor für NetworkHandle.
Status: valid/unmigrated
Version: rel:R25-11#9f125ffd
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_ANM_01003@rel:R25-11#9f125ffd
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#9cf0a2742026-09-30 Inspect R23-11 rel:R23-11#976fb7f12026-10-14 Inspect R24-11 rel:R24-11#454ca8992026-10-14 Inspect R25-11 rel:R25-11#9f125ffd2026-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
NetworkHandle& operator=(const NetworkHandle&) = delete; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050
Kopierzuweisung ist nicht verwendbar.
Status: valid/unmigrated
Version: rel:R25-11#b8faaca1
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_ANM_01006@rel:R25-11#b8faaca1
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#a4ee0f532026-09-30 Inspect R23-11 rel:R23-11#59a2e4662026-10-14 Inspect R24-11 rel:R24-11#b8faaca12026-10-14 Inspect R25-11 rel:R25-11#b8faaca12026-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
NetworkHandle& operator=(NetworkHandle&& stbc) & noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050 Thread Safety not thread-safe Rückgabe NetworkHandle&
Verschiebezuweisung für NetworkHandle.
Status: valid/unmigrated
Version: rel:R25-11#1a51e2b6
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_ANM_01004@rel:R25-11#1a51e2b6
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#2d49a08e2026-09-30 Inspect R23-11 rel:R23-11#adae6b122026-10-14 Inspect R24-11 rel:R24-11#1a51e2b62026-10-14 Inspect R25-11 rel:R25-11#1a51e2b62026-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
~NetworkHandle() noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050 Thread Safety not thread-safe
Destruktor des NetworkHandle.
Status: valid/unmigrated
Version: rel:R25-11#8d739e41
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_ANM_01002@rel:R25-11#8d739e41
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#1af6a38a2026-09-30 Inspect R23-11 rel:R23-11#674b4ab92026-10-14 Inspect R24-11 rel:R24-11#8d739e412026-10-14 Inspect R25-11 rel:R25-11#8d739e412026-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 NetworkHandle(const ara::core::InstanceSpecifier& specifier) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050 Thread Safety thread-safe
Konstruiert einen Handle aus dem InstanceSpecifier eines NetworkManagementPortInterface-Port-Prototyps.
Status: valid/unmigrated
Version: rel:R25-11#cc3fea67
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_ANM_01001@rel:R25-11#cc3fea67
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#874975552026-09-30 Inspect R23-11 rel:R23-11#85ee9d1a2026-10-14 Inspect R24-11 rel:R24-11#cc3fea672026-10-14 Inspect R25-11 rel:R25-11#cc3fea672026-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<NetworkStateType> GetNetworkRequestedState() const noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050, RS_Nm_00051 Thread Safety thread-safe Rückgabe Result<NetworkStateType>; Fehler: NmErrc::kServiceNotAvailable
Liest den angeforderten Zustand für PNC, VLAN oder physisches Netz.
Status: valid/unmigrated
Version: rel:R25-11#83669625
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_ANM_01008@rel:R25-11#83669625
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#c18a4a082026-09-30 Inspect R23-11 rel:R23-11#babf61bf2026-10-14 Inspect R24-11 rel:R24-11#c7ab0a3c2026-10-14 Inspect R25-11 rel:R25-11#836696252026-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<NetworkStateType> GetNetworkState() const noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00050, RS_Nm_00051 Thread Safety thread-safe Rückgabe Result<NetworkStateType>; Fehler: NmErrc::kServiceNotAvailable
Liest den aktuellen effektiven Netzwerkzustand.
Status: valid/unmigrated
Version: rel:R25-11#64a0fb3d
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_ANM_01007@rel:R25-11#64a0fb3d
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#f98ba4522026-09-30 Inspect R23-11 rel:R23-11#35383bb42026-10-14 Inspect R24-11 rel:R24-11#eed9d07d2026-10-14 Inspect R25-11 rel:R25-11#64a0fb3d2026-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
函数 RegisterNetworkRequestedStateChangeNotifier [SWS_ANM_01012] ara::core::Result<void> RegisterNetworkRequestedStateChangeNotifier(NetworkStateChangeNotifier notifier) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe Rückgabe Result<void>; Fehler: NmErrc::kInvalidHandler
Registriert maximal einen Notifier für Änderungen des angeforderten Zustands.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: ba9bd9373adf
来源
未决问题(1)
使用
来自头文件 ara/nm/network_handle.h 的函数 RegisterNetworkRequestedStateChangeNotifier 注册一个回调函数,用于接收请求的网络状态变更的通知 [SWS_ANM_01012] 。它接受一个 NetworkStateChangeNotifier 作为参数。针对请求的状态变更,最多只能注册一个通知器 [SWS_ANM_01012] 。该函数声明为 noexcept 并返回一个 ara::core::Result<void>。
错误处理
如果在注册时发生错误,将通过 ara::core::Result 报告特定的错误代码 NmErrc::kInvalidHandler [SWS_ANM_01012] 。Interpretation:当传入的通知器无效或不可调用时,可能会触发此错误。 问题 Q-57a28e90a933e6de (未决)
并发性与限制
该函数被规范为非线程安全(not thread-safe )[SWS_ANM_01012] 。因此,调用方必须对来自多个线程的并发访问和注册尝试进行强制外部同步。
相互作用
作为直接执行的替代方案,函数 [SWS_ANM_01014] 存在一个模板重载,该重载额外接受一个 executor 参数。由此可以在显式提供的执行上下文中运行通知器;该重载同样不是线程安全的,并在出错时报告 NmErrc::kInvalidHandler [SWS_ANM_01014] 。
此文本由 AI 生成,用作参考指导。请以引用的规范条款为准。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#d2d8fd9e
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_ANM_01012@rel:R25-11#d2d8fd9e
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#93ed5ad42026-09-30 Inspect R23-11 rel:R23-11#94e395912026-10-14 Inspect R24-11 rel:R24-11#a359bbd62026-10-14 Inspect R25-11 rel:R25-11#d2d8fd9e2026-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
函数 RegisterNetworkRequestedStateChangeNotifier [SWS_ANM_01014] template <typename ExecutorT>
ara::core::Result<void> RegisterNetworkRequestedStateChangeNotifier(NetworkStateChangeNotifier notifier, ExecutorT&& executor) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe Rückgabe Result<void>; Fehler: NmErrc::kInvalidHandler
Registriert den Notifier und führt ihn in einem bereitgestellten Kontext aus.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5758c88880cb
来源
未决问题(1)
在头文件 ara/nm/network_handle.h 中声明的模板函数 RegisterNetworkRequestedStateChangeNotifier 注册一个类型为 NetworkStateChangeNotifier 的回调,以便接收请求的网络状态变更通知 [SWS_ANM_01014] 。通过类型为 ExecutorT&& 的附加参数 executor 指定所需的执行上下文,当状态发生变更时,该通知器应在其中执行。用于 Handler 注册的同步调用被声明为 noexcept,并向调用方返回一个 ara::core::Result<void>。
对于错误处理,该接口通过返回类型 ara::core::Result 指示问题。如果传入无效的 Handler,则操作失败,函数返回特定错误代码 NmErrc::kInvalidHandler [SWS_ANM_01014] 。
关于并发性和调用限制,该函数被明确规范为 not thread-safe [SWS_ANM_01014] 。这意味着调用方在并发访问同一句柄实例时必须确保外部同步,以避免数据冲突。
在系统交互中,该函数代表参数较少的变体 [SWS_ANM_01012] 的扩展,后者最多为请求的状态变更注册一个通知器。Interpretation:由于 [SWS_ANM_01012] 中的基本规范最多允许一个通知器,该调用大概也会占用同一个通知器槽位,并在重新注册时覆盖先前设置的 Handler。 问题 Q-5d8c1832558ac15b (未决)
本使用说明为自动生成,不能替代对 AUTOSAR 规范的学习研读。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#70f91f76
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_ANM_01014@rel:R25-11#70f91f76
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#d05e85c22026-09-30 Inspect R23-11 rel:R23-11#f46ca2712026-10-14 Inspect R24-11 rel:R24-11#7434d6392026-10-14 Inspect R25-11 rel:R25-11#70f91f762026-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
函数 RegisterNetworkStateChangeNotifier [SWS_ANM_01010] ara::core::Result<void> RegisterNetworkStateChangeNotifier(NetworkStateChangeNotifier notifier) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe Rückgabe Result<void>; Fehler: NmErrc::kInvalidHandler
Registriert maximal einen Notifier für den effektiven Netzwerkzustand.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 7ec2dcecd2e2
来源
未决问题(1)
基于 AUTOSAR Adaptive R25-11 的 AI 生成使用说明。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#4c12327f
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_ANM_01010@rel:R25-11#4c12327f
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#13840db32026-09-30 Inspect R23-11 rel:R23-11#39e184b12026-10-14 Inspect R24-11 rel:R24-11#2c9f3d2b2026-10-14 Inspect R25-11 rel:R25-11#4c12327f2026-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
函数 RegisterNetworkStateChangeNotifier [SWS_ANM_01015] template <typename ExecutorT>
ara::core::Result<void> RegisterNetworkStateChangeNotifier(NetworkStateChangeNotifier notifier, ExecutorT&& executor) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe Rückgabe Result<void>; Fehler: NmErrc::kInvalidHandler
Registriert den Zustandsnotifier mit vorgegebenem Ausführungskontext.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: be91dad8c065
来源
未决问题(1)
来自头文件 ara/nm/network_handle.h 的模板函数 RegisterNetworkStateChangeNotifier([SWS_ANM_01015] )注册一个回调函数,用于监视有效网络状态的变更。与参数较少的变体相比,该接口除了接受类型为 NetworkStateChangeNotifier 的 notifier 之外,还额外接受一个用户定义的执行上下文 executor(ExecutorT&&),通知将通过该上下文异步分派并处理。
错误处理与返回值
该函数被声明为 noexcept,并通过 ara::core::Result<void> 指示结果 [SWS_ANM_01015] 。如果在注册时发生错误——特别是当传入无效或不可调用的 Handler 时——操作失败并返回错误代码 NmErrc::kInvalidHandler。
并发性与交互
关于线程安全性,该接口被规范为 not thread-safe [SWS_ANM_01015] 。因此,注册调用不得在未受保护的情况下从多个线程并发作用于同一状态上下文。在系统组合中,该函数对基础接口 [SWS_ANM_01010] 进行了补充,后者在没有显式 Executor 的情况下最多注册一个通知器。作为 Interpretation,对 [SWS_ANM_01015] 而言大概也适用始终只有一个通知器处于活动状态,且重新调用会替换先前保存的 Handler。 问题 Q-e9a890e004a4f0ea (未决)
本使用说明由 AI 基于 AUTOSAR R25-11 规范生成。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#cd05b46e
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_ANM_01015@rel:R25-11#cd05b46e
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#e74114b72026-09-30 Inspect R23-11 rel:R23-11#ec875d992026-10-14 Inspect R24-11 rel:R24-11#3d9fa1b82026-10-14 Inspect R25-11 rel:R25-11#cd05b46e2026-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> SetNetworkRequestedState(NetworkStateType networkState) noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00045, RS_Nm_02513 Thread Safety not thread-safe Rückgabe Result<void>; Fehler: NmErrc::kServiceNotAvailable
Setzt eine Anforderung, um PNC, VLAN oder physisches Netz anzufordern oder freizugeben.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5af64be62538
来源
未决问题(1)
根据 [SWS_ANM_01009] ,函数 SetNetworkRequestedState 用于通过头文件 ara/nm/network_handle.h 请求或释放子网簇 (PNC)、VLAN 或物理网络。作为输入参数传递类型为 NetworkStateType 的期望目标状态 networkState。该调用可能同步执行,因为该接口直接返回一个 ara::core::Result<void> 而不是异步 Future 对象。 问题 Q-38a98cab4ea55704 (未决)
成功时,该方法返回一个空的 ara::core::Result<void> [SWS_ANM_01009] 。如果无法设置请求的状态或网络管理服务未就绪,函数将在结果对象 [SWS_ANM_01009] 中报告特定的错误代码 NmErrc::kServiceNotAvailable。调用软件组件必须显式评估此错误对象,以便对不可用的服务做出充分响应。
关于并发性,根据规范,该操作被明确归类为 not thread-safe [SWS_ANM_01009] 。因此,为了避免竞态条件,不得在没有应用程序端同步的情况下对同一句柄进行并发调用。通过带有 noexcept 的声明,还保证了没有 C++ 异常传播到外部 [SWS_ANM_01009] 。
本段文本由 AI 生成,用于技术指导。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#1705d9af
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_ANM_01009@rel:R25-11#1705d9af
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#ad27482f2026-09-30 Inspect R23-11 rel:R23-11#85e9478a2026-10-14 Inspect R24-11 rel:R24-11#0d813cdf2026-10-14 Inspect R25-11 rel:R25-11#1705d9af2026-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
函数 UnregisterNetworkRequestedStateChangeNotifier [SWS_ANM_01013] void UnregisterNetworkRequestedStateChangeNotifier() noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe
Hebt den Notifier für Änderungen des angeforderten Zustands auf.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 1f4bd72c03cc
来源
未决问题(1)
本使用说明基于 AUTOSAR R25-11 自动生成。
实现者指南即将推出(复杂度 I1)
Status: valid/unmigrated
Version: rel:R25-11#e1435ca9
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_ANM_01013@rel:R25-11#e1435ca9
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#aca25f662026-09-30 Inspect R23-11 rel:R23-11#081944002026-10-14 Inspect R24-11 rel:R24-11#e1435ca92026-10-14 Inspect R25-11 rel:R25-11#e1435ca92026-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
函数 UnregisterNetworkStateChangeNotifier [SWS_ANM_01011] void UnregisterNetworkStateChangeNotifier() noexcept; Header ara/nm/network_handle.hUpstream-Anforderung RS_Nm_00051 Thread Safety not thread-safe
Hebt den Notifier für Änderungen des effektiven Zustands auf.
Status: valid/unmigrated
Version: rel:R25-11#dc92485f
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_ANM_01011@rel:R25-11#dc92485f
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#43c23ebd2026-09-30 Inspect R23-11 rel:R23-11#41e5d1832026-10-14 Inspect R24-11 rel:R24-11#dc92485f2026-10-14 Inspect R25-11 rel:R25-11#dc92485f2026-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 · 德文原文