DEENESPTFRRUARHIKOZHNL

类 ara::diag::DoIPActivationLine

[SWS_DM_00830] Upstream: RS_Diag_04242

class DoIPActivationLine {...};

DiagnosticDoIPActivationLineInterface.

Header-Datei#include "ara/diag/doip_activationline.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

用户指南人工智能生成

用于向 Diagnostic Manager 传输和管理 DoIP 激活线的状态。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f91d71d289e3 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

用于向 Diagnostic Manager 传输和管理 DoIP 激活线的状态。

类 ara::diag::DoIPActivationLine 允许应用程序提供 DoIP 激活线的状态并将变更传输给 Diagnostic Manager [SWS_DM_00830]。基于端口实例化后,通过 Offer() 激活服务,随后 DM 查询线路状态和网络 ID,并通过 UpdateActivationLineState() 接收状态变更 [SWS_DM_00834]。作为核心边界条件,模型中关联的网络接口必须配置为依赖激活线 [SWS_DM_00833]。

上下文

类 ara::diag::DoIPActivationLine 表示符合 [SWS_DM_00830] 的接口 DiagnosticDoIPActivationLineInterface。它允许 Adaptive Application(AA)向 Diagnostic Manager(DM)报告并提供 DoIP 激活线的物理或逻辑状态。通过此激活线,应用程序可间接控制 DoIP 车辆通告消息(Vehicle Announcement Messages)的发送(如 AUTOSAR_AP_SWS_Diagnostics, 第107页 中所规定),而无需自行显式触发发送。

交互主要涉及三个组件:实现该接口的 Adaptive Application、作为服务接口的 ara::diag::DoIPActivationLine 实例以及基础系统的 Diagnostic Manager。如果 DM 通过此接口检测到激活线的状态变更,它将通知相关网络接口并启动标准化 DoIP 流程 [SWS_DM_00816]。

aa Adaptive Application line ara::diag::DoIPActivationLine aa->line Instanziierung / Offer() / UpdateActivationLineState() dm Diagnostic Management (DM) line->dm Zustandsbereitstellung dm->line GetActivationLineState() / GetNetworkInterfaceId()

上下文图:应用程序与 Diagnostic Management 之间 DoIP 激活线的交互伙伴。来源:[SWS_DM_00830]、[SWS_DM_00816]、AUTOSAR_AP_SWS_Diagnostics, 第107页。

生命周期

ara::diag::DoIPActivationLine 的实例通过引用 PortPrototype 的 ara::core::InstanceSpecifier 来创建 [SWS_DM_00831]。该类建模了一个唯一实例:复制和移动构造函数以及复制和移动赋值运算符均被删除(=delete),从而排除了移动或复制([SWS_DM_01631]、[SWS_DM_01632]、[SWS_DM_01633]、[SWS_DM_01634])。

实例化后,对象处于“未提供”状态。通过调用 Offer() 激活提供,使 DM 能够侦听激活线的状态变更 [SWS_DM_00836]。通过 StopOffer() 再次停用此提供 [SWS_DM_00837]。虚析构函数声明为默认析构函数并释放资源 [SWS_DM_00832]。关于并发性,构造函数 [SWS_DM_00831] 以及纯读取查询 GetActivationLineState() [SWS_DM_00835] 和 GetNetworkInterfaceId() [SWS_DM_00833] 为线程安全执行,而 Offer() [SWS_DM_00836]、StopOffer() [SWS_DM_00837] 和 UpdateActivationLineState() [SWS_DM_00834] 不是线程安全的。

使用路径

常规流程包括派生和注册应用程序特定类以及持续的状态传输:

  1. 实例化:Adaptive Application 在指定适当的 InstanceSpecifier [SWS_DM_00831] 的情况下实例化派生类。
  2. 提供服务:应用程序调用 Offer() 以向 DM 发布接口 [SWS_DM_00836]。
  3. 网络与初始查询:DM 通过纯虚方法 GetNetworkInterfaceId() 确定关联的接口 ID [SWS_DM_00833],并使用 GetActivationLineState() 查询当前线路状态 [SWS_DM_00835]。这两个方法均返回一个 ara::core::Future。
  4. 状态更新:如果线路的物理状态发生变化(例如硬件线路上的电平变化),应用程序通过 UpdateActivationLineState() [SWS_DM_00834] 同步通知 DM。这将促使 DM 采取后续操作,例如向网络接口发送状态通知 [SWS_DM_00816]。
  5. 终止:在关闭之前或停用时,应用程序调用 StopOffer() [SWS_DM_00837]。
Nutzungsablauf DoIPActivationLineAppDoIPActivationLineDiagnosticManagerUse Case: 初始化与注册DoIPActivationLine(specifier)Offer()Result<void>Use Case: Abfrage durch DMGetNetworkInterfaceId()Future<uint8_t>GetActivationLineState()Future<bool>Use Case: 基于事件的更新UpdateActivationLineState(true)指示状态变更Use Case: DeaktivierungStopOffer()

时序图:激活线注册、查询和更新的典型流程。来源:[SWS_DM_00831]、[SWS_DM_00833]、[SWS_DM_00834]、[SWS_DM_00835]、[SWS_DM_00836]、[SWS_DM_00837]。

错误场景

使用 ara::diag::DoIPActivationLine 时可能会出现功能和配置方面的错误:

  • 创建时的模型与端口违规:构造函数检查 InstanceSpecifier [SWS_DM_00831] 的有效性。如果解析失败,将触发标准化的违规通知:InstanceSpecifierMappingIntegrityViolation(无效的模型元素)、PortInterfaceMappingViolation(端口未按 DiagnosticDoIPActivationLineInterface 定型)、ProcessMappingViolation(缺少进程引用)或 InstanceSpecifierAlreadyInUseViolation(Specifier 在进程内已被分配)。
  • 重复提供:如果在已提供服务的情况下调用 Offer(),则操作失败并返回错误码 DiagOfferErrc::kAlreadyOffered [SWS_DM_00836]。
  • 网络接口配置不一致:如果应用程序通过 GetNetworkInterfaceId() 报告了一个其关联的 DoIpNetworkConfiguration 具有属性 isActivationLineDependent = 'FALSE' 的接口 ID,根据规范这明确属于严重配置错误 [SWS_DM_00833]。
  • 异常安全性:虽然构造函数、Getter、Offer()、StopOffer() 和析构函数均指定为异常安全(exception safe),但 UpdateActivationLineState() 被明确指出为非异常安全(not exception safe)[SWS_DM_00834]。因此,调用该接口的应用程序必须仔细处理此调用内的错误。

本指南仅基于 AUTOSAR AP Release R25-11 的规范要求。

成员图

类图

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__DoIPActivationLine856 DoIPActivationLine + DoIPActivationLine() + operator=() + ~DoIPActivationLine() + GetActivationLineState() + GetNetworkInterfaceId() + Offer() + StopOffer() + UpdateActivationLineState()

详细视图

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

构造函数和析构函数

Constructor of DoIPActivationLine.

重载 DoIPActivationLine 3
explicit DoIPActivationLine (const ara::core::InstanceSpecifier &specifier) noexcept; SWS_DM_00831
DoIPActivationLine (DoIPActivationLine &)=delete; SWS_DM_01633
DoIPActivationLine (DoIPActivationLine &&) noexcept=delete; SWS_DM_01634

Destructor of DoIPActivationLine.

virtual ~DoIPActivationLine () noexcept=default;

方法

Called to get the current activation line state.

virtual ara::core::Future< bool > GetActivationLineState () noexcept=0;

Called to get the network interface Id (see DoIpNetworkConfiguration. networkInterfaceId) for which this DoIPActivationLine instance is responsible.

virtual ara::core::Future< std::uint8_t > GetNetworkInterfaceId () noexcept=0;
Offer 函数

This Offer will enable the DM to listen to activation line state changes.

ara::core::Result< void > Offer () noexcept;
StopOffer 函数

This StopOffer will disable the provision of activation line state to DM.

void StopOffer () noexcept;

Called to update current activation line state.

void UpdateActivationLineState (bool activation_line_state);

运算符

operator= 函数 2

DoIPActivationLine shall be a single not assignable instance.

重载 = 2

方法文档

函数 DoIPActivationLine [SWS_DM_00831] Upstream: RS_Diag_04242, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit DoIPActivationLine (const ara::core::InstanceSpecifier &specifier) noexcept;

Constructor of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitthread-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 DiagnosticDoIpActivationLinePortMapping needs to be typed by a DiagnosticDoIPActivationLineInterface. 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)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype of a DiagnosticDoIPActivationLineInterface

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

Record
AUTOSAR/AP/record/SWS_DM_00831
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00831@rel:R25-11#fb75e4f0
Content hash
fb75e4f0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00831
Status: valid/unmigrated Version: rel:R25-11#02e59d5a 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_00831@rel:R25-11#02e59d5a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0d3576422026-09-30
  • R19-11rel:R19-11#1fa409022026-10-14
  • R20-11rel:R20-11#69e772552026-10-14
  • R21-11rel:R21-11#a475004c2026-10-14
  • R22-11rel:R22-11#c63185452026-10-14
  • R23-11rel:R23-11#2968f9562026-10-14
  • R24-11rel:R24-11#9847f0762026-10-14
  • R25-11rel:R25-11#02e59d5a2026-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

函数 DoIPActivationLine [SWS_DM_01633] Upstream: RS_AP_00147

DoIPActivationLine (DoIPActivationLine &)=delete;

DoIPActivationLine shall be a single not copy-able instance.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

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

Record
AUTOSAR/AP/record/SWS_DM_01633
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01633@rel:R25-11#fcff9448
Content hash
fcff9448
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01633
Status: valid/unmigrated Version: rel:R25-11#af888c8e 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_01633@rel:R25-11#af888c8e
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#2af8a7bb2026-09-30
  • R23-11rel:R23-11#4c32a80e2026-10-14
  • R24-11rel:R24-11#af888c8e2026-10-14
  • R25-11rel:R25-11#af888c8e2026-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

函数 DoIPActivationLine [SWS_DM_01634] Upstream: RS_AP_00147

DoIPActivationLine (DoIPActivationLine &&) noexcept=delete;

Move constructor of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

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

Record
AUTOSAR/AP/record/SWS_DM_01634
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01634@rel:R25-11#a3f0bb8b
Content hash
a3f0bb8b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01634
Status: valid/unmigrated Version: rel:R25-11#1802a1ef 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_01634@rel:R25-11#1802a1ef
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#73cbce7c2026-09-30
  • R23-11rel:R23-11#2946af112026-10-14
  • R24-11rel:R24-11#1802a1ef2026-10-14
  • R25-11rel:R25-11#1802a1ef2026-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

函数 GetActivationLineState [SWS_DM_00835] Upstream: RS_Diag_04242

virtual ara::core::Future< bool > GetActivationLineState () noexcept=0;

Called to get the current activation line state.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Future< bool >TRUE in case the activation line is active, else FALSE.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_00835
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00835@rel:R25-11#72839279
Content hash
72839279
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00835
Status: valid/unmigrated Version: rel:R25-11#cf922a21 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_00835@rel:R25-11#cf922a21
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#aa66ee3b2026-09-30
  • R19-11rel:R19-11#2d47c0942026-10-14
  • R20-11rel:R20-11#e6d4e1fb2026-10-14
  • R21-11rel:R21-11#e6d4e1fb2026-10-14
  • R22-11rel:R22-11#6873386f2026-10-14
  • R23-11rel:R23-11#d58b1d652026-10-14
  • R24-11rel:R24-11#dc8ab3bf2026-10-14
  • R25-11rel:R25-11#cf922a212026-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

函数 GetNetworkInterfaceId [SWS_DM_00833] Upstream: RS_Diag_04242

virtual ara::core::Future< std::uint8_t > GetNetworkInterfaceId () noexcept=0;

Called to get the network interface Id (see DoIpNetworkConfiguration. networkInterfaceId) for which this DoIPActivationLine instance is responsible.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Future<std::uint8_t >network interface id for which this activation line is responsible.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.
Hinweise: If the reported DoIpNetworkConfiguration.networkInterfaceId belongs to a DoIpNetworkConfiguration with property isActivationLineDependent = ’FALSE’, this is an error!

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

Record
AUTOSAR/AP/record/SWS_DM_00833
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00833@rel:R25-11#a786b854
Content hash
a786b854
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00833
Status: valid/unmigrated Version: rel:R25-11#43f7d605 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_00833@rel:R25-11#43f7d605
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4310a8ab2026-09-30
  • R19-11rel:R19-11#4310f8222026-10-14
  • R20-11rel:R20-11#545ef8b52026-10-14
  • R21-11rel:R21-11#545ef8b52026-10-14
  • R22-11rel:R22-11#6888adac2026-10-14
  • R23-11rel:R23-11#415a29a22026-10-14
  • R24-11rel:R24-11#a298c0c42026-10-14
  • R25-11rel:R25-11#43f7d6052026-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_DM_00836] Upstream: RS_Diag_04242, RS_AP_00119

ara::core::Result< void > Offer () noexcept;

This Offer will enable the DM to listen to activation line state changes.

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

类 ara::diag::DoIPActivationLine([SWS_DM_00836],头文件 #include "ara/diag/doip_activationline.h")的同步方法 Offer 使 Diagnostic Management(DM)能够检测激活线的状态变化。该操作不包含输入参数,并通过返回类型 ara::core::Result<void> 返回结果。

一旦通过 Offer 提供了该接口,DM 就会监视激活线。如果 DM 检测到向“active”状态的转换,它会触发在相关网络接口上根据 ISO 13400-2 发送车辆通告报文(Vehicle Announcement Messages)([SWS_DM_00816],AUTOSAR_AP_SWS_Diagnostics §[SWS_DM_00816] 第106页)。Interpretation:Offer 的调用通常可能在应用程序的初始化阶段进行,以便及早检测到状态变化。 问题 Q-254ced2fd3a1e3d2 (未决)

发生错误时,将在 Result 中返回相应的错误码。如果在服务已提供期间针对同一实例重复调用该方法,它将返回具有回滚语义的错误码 DiagOfferErrc::kAlreadyOffered([SWS_DM_00836])。

关于并发性,该方法被指定为非线程安全(not thread-safe)([SWS_DM_00836])。因此,针对同一实例的并发调用必须在应用端进行同步。通过声明为 noexcept,该函数是完全异常安全的([SWS_DM_00836])。

本使用说明基于 AUTOSAR Adaptive Platform 规范版本 R25-11。

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

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

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

Record
AUTOSAR/AP/record/SWS_DM_00836
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00836@rel:R25-11#d961d8f8
Content hash
d961d8f8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00836
Status: valid/unmigrated Version: rel:R25-11#8f2ee357 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_00836@rel:R25-11#8f2ee357
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#94952ae82026-09-30
  • R19-11rel:R19-11#debb2b0e2026-10-14
  • R20-11rel:R20-11#db6aa10a2026-10-14
  • R21-11rel:R21-11#7e662f9a2026-10-14
  • R22-11rel:R22-11#b0dd4c452026-10-14
  • R23-11rel:R23-11#e3ff8ae12026-10-14
  • R24-11rel:R24-11#0d9d89c12026-10-14
  • R25-11rel:R25-11#8f2ee3572026-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_DM_00837] Upstream: RS_Diag_04242

void StopOffer () noexcept;

This StopOffer will disable the provision of activation line state to DM.

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

方法 ara::diag::DoIPActivationLine::StopOffer 根据 [SWS_DM_00837] 终止向 Diagnostic Management (DM) 提供 DoIP 激活线(Activation Line)的状态。

该函数具有签名 void StopOffer() noexcept,并在 ara::diag::DoIPActivationLine 的实例上同步执行(AUTOSAR_AP_SWS_Diagnostics §5 “Overview”)。它不接受任何参数,也不提供返回值。通过该调用,将停用向 Diagnostic Manager 主动传输激活线状态变更的功能。

在错误处理方面,该方法被指定为 exception safe,并通过 noexcept 保证不抛出任何异常([SWS_DM_00837])。根据规范,由于该操作为 not thread-safe,因此不允许在同一实例上不受保护地跨多个线程并发调用;并行访问必须在应用程序端进行同步。

该设计模式遵循 Adaptive 平台中已确立的服务提供命名规则(AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”)。在相关的 DoIP 类(如 ara::diag::DoIPGroupIdentification ([SWS_DM_00726]) 或 ara::diag::DoIPPowerMode ([SWS_DM_00736]))中,StopOffer 用于停用传入 DM 请求的转发,而在此处,它专门停止向 DM 报告激活线状态。Interpretation:为了确保一致的操作流程,通常假定在调用 StopOffer 之前,已通过同一实例主动启动了提供。 问题 Q-c5d38151ef8198e7 (未决)

该使用提示由 AI 基于 AUTOSAR R25-11 规范生成。

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

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00837
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00837@rel:R25-11#c0dffcf6
Content hash
c0dffcf6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00837
Status: valid/unmigrated Version: rel:R25-11#244dc5c1 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_00837@rel:R25-11#244dc5c1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a103f7852026-09-30
  • R19-11rel:R19-11#b476ed0b2026-10-14
  • R20-11rel:R20-11#cfbb794a2026-10-14
  • R21-11rel:R21-11#aa427ca72026-10-14
  • R22-11rel:R22-11#03b79a162026-10-14
  • R23-11rel:R23-11#4e8a10d62026-10-14
  • R24-11rel:R24-11#9c2fce6a2026-10-14
  • R25-11rel:R25-11#244dc5c12026-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

函数 UpdateActivationLineState [SWS_DM_00834] Upstream: RS_Diag_04242

void UpdateActivationLineState (bool activation_line_state);

Called to update current activation line state.

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

类 ara::diag::DoIPActivationLine 的方法 UpdateActivationLineState 用于将 DoIP 激活线的当前状态传达给自适应诊断管理 [SWS_DM_00834](AUTOSAR_AP_SWS_Diagnostics §8.32.1.1.3.5)。该声明通过头文件 ara/diag/doip_activationline.h 提供。

用法与参数:

  • 参数:布尔型传入参数 activation_line_state 向系统指示激活线处于活动状态(TRUE)还是非活动状态(FALSE)[SWS_DM_00834]。
  • 返回值:该操作无返回值(void)且同步工作。

并发性与限制:

本文本由 AI 基于规范生成。

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

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitnot exception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
activation_line_stateTRUE in case the activation line is active, else FALSE

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00834
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00834@rel:R25-11#4876edcc
Content hash
4876edcc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00834
Status: valid/unmigrated Version: rel:R25-11#72b4970c 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_00834@rel:R25-11#72b4970c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#adb4aebc2026-09-30
  • R19-11rel:R19-11#8dc119ec2026-10-14
  • R20-11rel:R20-11#2253aea22026-10-14
  • R21-11rel:R21-11#271c0ee82026-10-14
  • R22-11rel:R22-11#d0fcfa8e2026-10-14
  • R23-11rel:R23-11#500f07a82026-10-14
  • R24-11rel:R24-11#6f6ff0f32026-10-14
  • R25-11rel:R25-11#72b4970c2026-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_DM_01631] Upstream: RS_AP_00147

DoIPActivationLine & operator= (DoIPActivationLine &)=delete;

DoIPActivationLine shall be a single not assignable instance.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

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

Record
AUTOSAR/AP/record/SWS_DM_01631
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01631@rel:R25-11#8e5947cb
Content hash
8e5947cb
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01631
Status: valid/unmigrated Version: rel:R25-11#901f299c 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_01631@rel:R25-11#901f299c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#02e44c262026-09-30
  • R23-11rel:R23-11#88f27ae82026-10-14
  • R24-11rel:R24-11#901f299c2026-10-14
  • R25-11rel:R25-11#901f299c2026-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_DM_01632] Upstream: RS_AP_00147

DoIPActivationLine & operator= (DoIPActivationLine &&)=delete;

Move assignment operator of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine

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

Record
AUTOSAR/AP/record/SWS_DM_01632
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01632@rel:R25-11#3e05ed64
Content hash
3e05ed64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01632
Status: valid/unmigrated Version: rel:R25-11#e7735ad6 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_01632@rel:R25-11#e7735ad6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f1dff05c2026-09-30
  • R23-11rel:R23-11#46070e9d2026-10-14
  • R24-11rel:R24-11#e7735ad62026-10-14
  • R25-11rel:R25-11#e7735ad62026-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

函数 ~DoIPActivationLine [SWS_DM_00832] Upstream: RS_Diag_04242, RS_AP_00134

virtual ~DoIPActivationLine () noexcept=default;

Destructor of DoIPActivationLine.

Header-Datei#include "ara/diag/doip_activationline.h"
Scopeclass ara::diag::DoIPActivationLine
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_DM_00832
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00832@rel:R25-11#ae08c500
Content hash
ae08c500
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00832
Status: valid/unmigrated Version: rel:R25-11#e7403097 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_00832@rel:R25-11#e7403097
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2b5a4fc62026-09-30
  • R19-11rel:R19-11#dcbc6e5f2026-10-14
  • R20-11rel:R20-11#46022f492026-10-14
  • R21-11rel:R21-11#46022f492026-10-14
  • R22-11rel:R22-11#ba7198cc2026-10-14
  • R23-11rel:R23-11#2458401d2026-10-14
  • R24-11rel:R24-11#d06b38812026-10-14
  • R25-11rel:R25-11#e74030972026-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