类 ara::diag::DoIPPowerMode
[SWS_DM_00731] Upstream: RS_Diag_00080
class DoIPPowerMode {...};
DiagnosticDoIPPowerModeInterface.
Header-Datei #include "ara/diag/doip_power_mode.h" Forwarding-Header #include "ara/diag/diag_fwd.h" Scope namespace ara::diag
用户指南人工智能生成 通过回调接口向诊断管理提供车辆当前的 DoIP 电源模式。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: afa4b2f1975c
来源
未决问题(1)
摘要 详细
通过回调接口向诊断管理提供车辆当前的 DoIP 电源模式。
本指南基于 Adaptive Platform 的 AUTOSAR 规范(Release R25-11)。所有信息和错误码均基于引用的 SWS 要求。
分组依据 类别 历史
成员图 类图 Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
G
nara__diag__DoIPPowerMode921
DoIPPowerMode
+ DoIPPowerMode()
+ operator=()
+ ~DoIPPowerMode()
+ GetDoIPPowerMode()
+ Offer()
+ StopOffer()
详细视图 此版本没有元素数据
构造函数和析构函数 Constructor of DoIPPowerMode.
重载 DoIPPowerMode 3 Destructor of DoIPPowerMode .
方法 Called to get the current Power Mode for the DoIP protocol.
This Offer will enable the DM to forward request messages to this handler.
This StopOffer will disable the forwarding of request messages from DM.
void StopOffer () noexcept;
运算符 DoIPPowerMode shall be a single not assignable instance.
重载 = 2
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
方法文档
explicit DoIPPowerMode (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept;
Constructor of DoIPPowerMode.
Header-Datei #include "ara/diag/doip_power_mode.h" Scope class ara::diag::DoIPPowerMode Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticDoIpPowerModePortMapping needs to be typed by a DiagnosticDoIPPowerModeInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.
Parameter (in)
Parameter Beschreibung specifier InstanceSpecifier to a PortPrototype of a DiagnosticDoIPPowerModeInterface concurrencyType Specifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent)..
Status: valid/unmigrated
Version: rel:R25-11#66edc734
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_00732@rel:R25-11#66edc734
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#1c6fa5dc2026-09-30 Inspect R19-11 rel:R19-11#0266e97a2026-10-14 Inspect R20-11 rel:R20-11#b1e408472026-10-14 Inspect R21-11 rel:R21-11#b1e408472026-10-14 Inspect R22-11 rel:R22-11#4bbeb2a32026-10-14 Inspect R23-11 rel:R23-11#2c24de892026-10-14 Inspect R24-11 rel:R24-11#ab9436fc2026-10-14 Inspect R25-11 rel:R25-11#66edc7342026-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
DoIPPowerMode (DoIPPowerMode &)=delete;
DoIPPowerMode shall be a single not copiable instance.
Status: valid/unmigrated
Version: rel:R25-11#09d2a56c
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_DM_01645@rel:R25-11#09d2a56c
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#ee19e7462026-09-30 Inspect R23-11 rel:R23-11#4040193c2026-10-14 Inspect R24-11 rel:R24-11#50f34d5e2026-10-14 Inspect R25-11 rel:R25-11#09d2a56c2026-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
DoIPPowerMode (DoIPPowerMode &&) noexcept=delete;
Move constructor of DoIPPowerMode.
Status: valid/unmigrated
Version: rel:R25-11#76066b36
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_DM_01646@rel:R25-11#76066b36
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#e05aa5132026-09-30 Inspect R23-11 rel:R23-11#b500ed442026-10-14 Inspect R24-11 rel:R24-11#76066b362026-10-14 Inspect R25-11 rel:R25-11#76066b362026-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::Future < PowerModeType > GetDoIPPowerMode () noexcept=0;
Called to get the current Power Mode for the DoIP protocol.
Header-Datei #include "ara/diag/doip_power_mode.h" Scope class ara::diag::DoIPPowerMode Exception-Sicherheit exception safe Thread-Sicherheit conditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#ef568061
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_00734@rel:R25-11#ef568061
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#506847ff2026-09-30 Inspect R19-11 rel:R19-11#0770e5c92026-10-14 Inspect R20-11 rel:R20-11#92f97dd82026-10-14 Inspect R21-11 rel:R21-11#92f97dd82026-10-14 Inspect R22-11 rel:R22-11#23fff4062026-10-14 Inspect R23-11 rel:R23-11#f520e5e72026-10-14 Inspect R24-11 rel:R24-11#dcf802902026-10-14 Inspect R25-11 rel:R25-11#ef5680612026-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;
This Offer will enable the DM to forward request messages to this handler.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5f8fb75036b6
来源
类 ara::diag::DoIPPowerMode 的同步方法 Offer 用于 Adaptive Application 在 Diagnostic Management (DM) 中注册并使能 DoIP 电源模式服务 [SWS_DM_00735] 。该调用使 DM 能够将收到的请求消息转发给该处理器 [SWS_DM_00735] 。该函数不需要传入参数,不抛出异常(noexcept),并返回 ara::core::Result<void> 作为返回值 [SWS_DM_00735] 。
只要提供服务的应用程序尚未调用 Offer,DM 就会根据 ISO 13400-2 以状态值 0(“Not ready”)回复客户端对 DoIP 电源模式信息的请求 [SWS_DM_01525] 。如果处理器已注册并且 DM 需要当前电源模式来回复 DoIP 消息,它将通过 ara::diag::DoIPPowerMode::GetDoIPPowerMode 进行查询 [SWS_DM_00814] 。
发生错误时,Result 对象包含相应的错误代码。如果之前已在相关实例上成功调用了该方法,则再次调用将失败并返回具有回滚语义的 DiagOfferErrc::kAlreadyOffered [SWS_DM_00735] 。
在并发性方面,该函数被指定为非线程安全(not thread-safe)[SWS_DM_00735] 。因此,同一实例上的并行调用必须由调用方进行同步。该函数提供完全的异常安全性(exception safe)[SWS_DM_00735] 。
本使用说明由 AI 创建,基于 AUTOSAR Release R25-11 规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/diag/doip_power_mode.h" Scope class ara::diag::DoIPPowerMode Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Rückgabewert
Fehler
Fehlercode Beschreibung DiagOfferErrc ::kAlreadyOfferedrollback_semantics The service is already offered.
Status: valid/unmigrated
Version: rel:R25-11#f58d667e
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_00735@rel:R25-11#f58d667e
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#26b4f3912026-09-30 Inspect R19-11 rel:R19-11#a5c3bf782026-10-14 Inspect R20-11 rel:R20-11#9dc27f822026-10-14 Inspect R21-11 rel:R21-11#0e36f8202026-10-14 Inspect R22-11 rel:R22-11#0336fa682026-10-14 Inspect R23-11 rel:R23-11#ebaf713f2026-10-14 Inspect R24-11 rel:R24-11#352d21d82026-10-14 Inspect R25-11 rel:R25-11#f58d667e2026-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;
This StopOffer will disable the forwarding of request messages from DM.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 2a0861404a22
来源
未决问题(1)
此使用说明基于 AUTOSAR 规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I2)
Header-Datei #include "ara/diag/doip_power_mode.h" Scope class ara::diag::DoIPPowerMode Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#0e61f7d7
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_00736@rel:R25-11#0e61f7d7
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#59b557212026-09-30 Inspect R19-11 rel:R19-11#c56b5aa32026-10-14 Inspect R20-11 rel:R20-11#2ab1127f2026-10-14 Inspect R21-11 rel:R21-11#0741cb0b2026-10-14 Inspect R22-11 rel:R22-11#7a2afa5d2026-10-14 Inspect R23-11 rel:R23-11#8c17316f2026-10-14 Inspect R24-11 rel:R24-11#cb0768a32026-10-14 Inspect R25-11 rel:R25-11#0e61f7d72026-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
DoIPPowerMode & operator= (DoIPPowerMode &)=delete;
DoIPPowerMode shall be a single not assignable instance.
Status: valid/unmigrated
Version: rel:R25-11#f2b0ce36
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_DM_01643@rel:R25-11#f2b0ce36
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#8a48c14e2026-09-30 Inspect R23-11 rel:R23-11#c9c88ac52026-10-14 Inspect R24-11 rel:R24-11#f2b0ce362026-10-14 Inspect R25-11 rel:R25-11#f2b0ce362026-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
DoIPPowerMode & operator= (DoIPPowerMode &&)=delete;
Move assignment operator of DoIPPowerMode.
Status: valid/unmigrated
Version: rel:R25-11#5e63251a
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_DM_01644@rel:R25-11#5e63251a
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#4b97c7962026-09-30 Inspect R23-11 rel:R23-11#630a0d5f2026-10-14 Inspect R24-11 rel:R24-11#5e63251a2026-10-14 Inspect R25-11 rel:R25-11#5e63251a2026-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 ~DoIPPowerMode () noexcept;
Destructor of DoIPPowerMode .
Header-Datei #include "ara/diag/doip_power_mode.h" Scope class ara::diag::DoIPPowerMode Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Status: valid/unmigrated
Version: rel:R25-11#d50e740b
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_00733@rel:R25-11#d50e740b
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#94245e0d2026-09-30 Inspect R19-11 rel:R19-11#a57124272026-10-14 Inspect R20-11 rel:R20-11#afa6eb5f2026-10-14 Inspect R21-11 rel:R21-11#322b72f72026-10-14 Inspect R22-11 rel:R22-11#169e0e6c2026-10-14 Inspect R23-11 rel:R23-11#b45f905b2026-10-14 Inspect R24-11 rel:R24-11#d50e740b2026-10-14 Inspect R25-11 rel:R25-11#d50e740b2026-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 · 德文原文