DEENESPTFRRUARHIKOZHNL

类 ara::diag::SovdConfiguration

[SWS_DM_01860] Upstream: RS_Diag_04261

class SovdConfiguration {...};

Generic SOVD Configuration interface.

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

用户指南人工智能生成

用于在应用程序端提供和处理显式建模的 SOVD 配置资源。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 628609b2fb26 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

用于在应用程序端提供和处理显式建模的 SOVD 配置资源。

接口 ara::diag::SovdConfiguration 用作显式建模的 SOVD 配置的通用处理程序,Diagnostic Server 会将收到的读写访问转发给它 [SWS_DM_01860]、[SWS_DM_01787]。在完成基于端口的实例化后,应用程序通过 Offer 激活消息接收,并在需要时通过 StopOffer 终止接收 [SWS_DM_01872]、[SWS_DM_01930]。数据提供通过读会话或写会话异步进行,并根据 ISO 17978-3 或 ASAM SOVD 1.1 发出业务错误信号 [SWS_DM_01870]。

上下文

接口 ara::diag::SovdConfiguration 定义了 Adaptive AUTOSAR 诊断架构中显式建模的 SOVD 配置处理程序的通用接口 [SWS_DM_01860]。只要系统中配置了至少一个 SOVD 配置,Diagnostic Management (DM) 的 Diagnostic Server 实例就会按照 ASAM SOVD 向外提供标准化的 SOVD 方法 Retrieve List of All Configurations Provided by the Entity [SWS_DM_01429]。Diagnostic Server 会将针对此类显式配置的传入读写访问转发给 ara::diag::SovdConfiguration 的具体实现:当调用 SOVD 方法 Read Configuration 时,Diagnostic Server 会调用方法 RequestGetConfiguration [SWS_DM_01787];而当调用 Write Configuration 时,则会执行方法 RequestPutConfiguration [SWS_DM_01788]。

SovdConfigurationContext client SOVD客户端 dm Diagnostic Server (Diagnostic Management) client->dm Read/Write Configuration (ASAM SOVD) handler ara::diag::SovdConfiguration (Anwendungs-Handler) dm->handler RequestGetConfiguration() RequestPutConfiguration() handler->dm DataTransfer-Sessions (Future)

上下文图:ara::diag::SovdConfiguration 在外部 SOVD 客户端、Diagnostic Server (DM) 和应用程序特定 Handler 之间的嵌入。来源:[SWS_DM_01429]、[SWS_DM_01787]、[SWS_DM_01788]、[SWS_DM_01860]。

生命周期

ara::diag::SovdConfiguration 的实例化在应用程序端通过传入一个 ara::core::InstanceSpecifier 以及指定一个 ConcurrencyType(kConcurrent 或 kNotConcurrent)来完成 [SWS_DM_01864]。InstanceSpecifier 引用了进程上下文中 DiagnosticSovdConfigurationInterface 的端口原型 [SWS_DM_01864]。该类不可复制(拷贝构造函数和拷贝赋值运算符被声明为 delete)[SWS_DM_01866]、[SWS_DM_01868],但支持受保护的移动操作 [SWS_DM_01867]、[SWS_DM_01869]。为了接收来自 Diagnostic Server 的请求,应用程序必须显式调用 Offer [SWS_DM_01872]。通过调用 StopOffer,将再次停用请求的转发 [SWS_DM_01930]。当通过虚析构函数 [SWS_DM_01865] 销毁实例时,对象将被释放;该释放要求此前已正确注销处理程序。

SovdConfigurationState Uninitialized 未初始化 Instantiated Instanziiert (kNotOffered) Uninitialized->Instantiated SovdConfiguration() Instantiated->Uninitialized ~SovdConfiguration() Offered Aktiviert (kOffered) Instantiated->Offered Offer() Stopped Deaktiviert (kStopped) Offered->Stopped StopOffer() Stopped->Uninitialized ~SovdConfiguration() Stopped->Offered Offer()

状态图:SovdConfiguration 实例从初始化、Offer 状态到 StopOffer 的生命周期阶段。来源:[SWS_DM_01864]、[SWS_DM_01872]、[SWS_DM_01930]、[SWS_DM_01865]。

使用路径

派生处理程序类构建完成后,典型使用路径始于使用 Offer() 向 Diagnostic Management 注册 [SWS_DM_01872]。一旦外部客户端向实体发起 SOVD 配置请求,Diagnostic Server 就会转发该请求:遇到读取请求时,会调用 RequestGetConfiguration 并传入 configurationId、metaInfo 以及一个 CancellationHandler [SWS_DM_01870]。该方法返回一个 ara::core::Future,它异步提供由 DataTransferReadSession 和 SovdConfigurationMetaInfo 组成的元组 [SWS_DM_01870]。类似地,服务器通过 RequestPutConfiguration 转发写入请求,该方法返回包含 DataTransferWriteSession 和 SovdConfigurationMetaInfo 的 Future [SWS_DM_01871]。在关闭处理程序之前,应用程序会调用 StopOffer(),以不再接受更多请求 [SWS_DM_01930]。

SOVD Configuration LeseanforderungSOVD客户端Diagnostic ServerSovdConfigurationOffer()Result<void> (kSuccess)Use Case: 处理读取请求Read Configuration (SOVD)RequestGetConfiguration(configurationId, metaInfo, cancellationHandler)Future<tuple<DataTransferReadSession, SovdConfigurationMetaInfo>>Konfigurationsdaten (HTTP/SOVD Response)Use Case: DeregistrierungStopOffer()

时序图:初始化、处理 Read-Configuration 请求及后续注销的典型交互序列。来源:[SWS_DM_01872]、[SWS_DM_01787]、[SWS_DM_01870]、[SWS_DM_01930]。

错误场景

如果在模型中无法解析 InstanceSpecifier(InstanceSpecifierMappingIntegrityViolation)、所引用的端口原型未由 DiagnosticSovdConfigurationInterface 进行类型化(PortInterfaceMappingViolation)、不存在匹配的进程(ProcessMappingViolation)或标识符在当前进程中已被占用(InstanceSpecifierAlreadyInUseViolation),则在构造函数中进行实例化时就可能出现模型和映射违规 [SWS_DM_01864]。在调用 Offer() 时,该方法返回一个 ara::core::Result<void>;发生错误时,若配置与 DEXT 模型不匹配,则报告 DiagOfferErrc::kConfigurationMismatch;若服务已在提供中,则报告 DiagOfferErrc::kAlreadyOffered [SWS_DM_01872]。在异步处理程序方法 RequestGetConfiguration 和 RequestPutConfiguration 中,应用程序使用符合 ISO 17978-3 或 ASAM SOVD 1.1 的标准化 SOVD 错误代码通过 ara::core::Future 报告错误状态 [SWS_DM_01870]、[SWS_DM_01871]。此外,CancellationHandler 会指示正在进行的通信是否已被中止 [SWS_DM_01870]、[SWS_DM_01871]。

本指南仅基于 AUTOSAR Adaptive Platform Release R25-11 规范。

成员图

类图

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

G nara__diag__SovdConfiguration627 SovdConfiguration + ~SovdConfiguration() + SovdConfiguration() + Offer() + RequestGetConfiguration() + RequestPutConfiguration() + StopOffer() + operator=()

详细视图

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

构造函数和析构函数

Constructor for the SovdConfiguration Interface.

重载 SovdConfiguration 3
SovdConfiguration (ara::core::InstanceSpecifier const &instance Specifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_01864
SovdConfiguration (SovdConfiguration const &)=delete; SWS_DM_01866
SovdConfiguration (SovdConfiguration &&other) noexcept; SWS_DM_01867

Destructor of SovdConfiguration.

virtual ~SovdConfiguration () noexcept;

方法

Offer 函数

This Offer will enable the DM to forward request messages to this handler.

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

Called for SOVD method "Read Configuration".

virtual ara::core::Future< std::tuple< DataTransferReadSession, Sovd ConfigurationMetaInfo > > RequestGetConfiguration (ara::core::String configurationId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Write Configuration".

virtual ara::core::Future< std::tuple< DataTransferWriteSession, Sovd ConfigurationMetaInfo > > RequestPutConfiguration (ara::core::String configurationId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
StopOffer 函数

This StopOffer will disable the forwarding of request messages from DM.

void StopOffer () const noexcept;

运算符

operator= 函数 2

SovdConfiguration shall be a single not assignable instance.

重载 = 2
SovdConfiguration & operator= (SovdConfiguration const &)=delete; SWS_DM_01868
SovdConfiguration & operator= (SovdConfiguration &&other) & noexcept; SWS_DM_01869

嵌套类型

方法文档

函数 Offer [SWS_DM_01872] Upstream: RS_Diag_04261

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 · 温度: 不可控 · 提示词: dd8ff181c42d 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

使用

类 ara::diag::SovdConfiguration 的方法 Offer 用于启用 Diagnostic Management(DM)向已配置处理程序转发诊断请求 [SWS_DM_01872]。该调用同步发生,不接受任何参数,并通过 ara::core::Result<void> 返回结果 [SWS_DM_01872]。只要处理程序未通过 Offer 提供,DM 就不会转发任何传入请求,这符合诊断接口的基本提供模式(参见 [SWS_DM_01525],[SWS_DM_00809])。

错误处理

在发生错误时,将返回带有枚举 DiagOfferErrc 中错误码的 ara::core::Result,并适用回滚语义 [SWS_DM_01872]:

  • DiagOfferErrc::kAlreadyOffered:在服务此前已提供时报告 [SWS_DM_01872]。
  • DiagOfferErrc::kConfigurationMismatch:在配置与 DEXT 描述数据不匹配时发生 [SWS_DM_01872]。

并发性与限制

该操作被声明为 noexcept 且具有异常安全性(exception safe),但被指定为非线程安全(not thread-safe)[SWS_DM_01872]。调用方应用程序必须防止来自多个线程对同一实例的并发调用。推测在已经提供服务后再次调用可能会在不改变状态的情况下返回错误并确认。 问题 Q-f9b1a995dbb002ef (未决)

本使用说明由 AI 基于 AUTOSAR 规范 R25-11 编写。

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

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

Rückgabewert

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

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kConfigurationMismatchrollback_semantics monitor configuration does not match DEXT
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_01872
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01872@rel:R25-11#455bfe7e
Content hash
455bfe7e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01872
Status: valid/unmigrated Version: rel:R25-11#3482e5bc 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_01872@rel:R25-11#3482e5bc
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#017896392026-09-30
  • R23-11rel:R23-11#9fcae3412026-10-14
  • R24-11rel:R24-11#635634302026-10-14
  • R25-11rel:R25-11#3482e5bc2026-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

函数 RequestGetConfiguration [SWS_DM_01870] Upstream: RS_Diag_04261

virtual ara::core::Future< std::tuple< DataTransferReadSession, Sovd ConfigurationMetaInfo > > RequestGetConfiguration (ara::core::String configurationId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Read Configuration".

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

使用

当针对显式建模的 SOVD 配置执行 SOVD 方法“Read Configuration”时,Diagnostic Server Instance 会调用类 ara::diag::SovdConfiguration 的纯虚方法 RequestGetConfiguration([SWS_DM_01787],AUTOSAR_AP_SWS_Diagnostics §7.3.3.5.2.1 “Configuration – Explicit Configurations”)。传递的参数包括要读取实例的配置 ID(configurationId)、请求的元信息(metaInfo)以及一个通知当前会话可能已中止的 cancellationHandler([SWS_DM_01870])。

该函数以异步方式工作并返回一个 ara::core::Future,该对象提供由文件读取会话(DataTransferReadSession)和关联的配置元信息(SovdConfigurationMetaInfo)组成的元组([SWS_DM_01870])。该接口被声明为 noexcept,并被指定为具有异常安全性([SWS_DM_01870])。

错误处理与并发

如果处理过程中发生错误,不会抛出 C++ 错误,而是通过 Future 返回符合 ISO 17978-3 或 ASAM SOVD 1.1 的相应 SOVD 错误码([SWS_DM_01870])。

关于线程安全性,适用“conditional”规定:该函数的具体实现必须设计为线程安全还是非线程安全,由传递给构造函数的 ConcurrencyType 决定([SWS_DM_01870])。

本文由 AI 基于 AUTOSAR Adaptive R25-11 规范生成。

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

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
configurationIdconfiguration-id of the configuration instance to be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple< DataTransferReadSession, Sovd ConfigurationMetaInfo > >A Future with either an instance of a "SOVD file reading session" with corresponding SovdConfigurationMetaInfo or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use an applicable SOVD error code, as defined in ISO 17978-3 / ASAM SOVD 1.1.

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

Record
AUTOSAR/AP/record/SWS_DM_01870
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01870@rel:R25-11#161bdbd7
Content hash
161bdbd7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01870
Status: valid/unmigrated Version: rel:R25-11#ad0c98ef 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_01870@rel:R25-11#ad0c98ef
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#41fdb10a2026-09-30
  • R23-11rel:R23-11#1c3d71c12026-10-14
  • R24-11rel:R24-11#905faa5f2026-10-14
  • R25-11rel:R25-11#ad0c98ef2026-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

函数 RequestPutConfiguration [SWS_DM_01871] Upstream: RS_Diag_04261

virtual ara::core::Future< std::tuple< DataTransferWriteSession, Sovd ConfigurationMetaInfo > > RequestPutConfiguration (ara::core::String configurationId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Write Configuration".

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

当要通过 SOVD 接口为显式建模的配置执行“Write Configuration”方法时,Diagnostic Server 会调用 API 方法 ara::diag::SovdConfiguration::RequestPutConfiguration [SWS_DM_01788],[SWS_DM_01871]。

调用与参数

声明位于头文件 ara/diag/sovd_configuration.h 中。调用传递以下输入参数 [SWS_DM_01871]:

  • configurationId:要写入的配置实例的 ID,类型为 ara::core::String。
  • metaInfo:传入请求的元信息(MetaInfo const &)。
  • cancellationHandler:监视当前操作,并在通信中止时发出信号。

该方法具有异步语义,并返回一个 ara::core::Future,成功时该对象提供由写入会话(DataTransferWriteSession)以及相关元数据(SovdConfigurationMetaInfo)组成的元组 [SWS_DM_01871]。

错误处理与并发

在发生错误时,Future 将使用符合 ISO 17978-3 或 ASAM SOVD 1.1 的适当 SOVD 错误码进行解析 [SWS_DM_01871]。该函数被声明为 noexcept 并且具有异常安全性(exception safe)。线程安全性是有条件的(conditional):具体的实现是否必须设计为线程安全,由构造函数中指定的 ConcurrencyType 决定 [SWS_DM_01871]。

相互作用

该函数构成了 RequestGetConfiguration 的写入对应项,后者用于 SOVD 方法“Read Configuration” [SWS_DM_01787](AUTOSAR_AP_SWS_Diagnostics §7.3.3.5.2.1 “Configuration – Explicit Configurations”)。

本使用说明由 AI 基于 AUTOSAR 规范 R25-11 生成。

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

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
configurationIdconfiguration-id of the configuration instance to be written
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple< DataTransferWriteSession, Sovd ConfigurationMetaInfo > >A Future with either an instance of a "SOVD file writing session" with corresponding SovdConfigurationMetaInfo or an SOVD Error

Fehler

FehlercodeBeschreibung
Please use an applicable SOVD error code, as defined in ISO 17978-3 / ASAM SOVD 1.1.

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

Record
AUTOSAR/AP/record/SWS_DM_01871
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01871@rel:R25-11#a26e4106
Content hash
a26e4106
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01871
Status: valid/unmigrated Version: rel:R25-11#f511e418 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_01871@rel:R25-11#f511e418
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#ee88ccaa2026-09-30
  • R23-11rel:R23-11#72d50ac12026-10-14
  • R24-11rel:R24-11#af0350392026-10-14
  • R25-11rel:R25-11#f511e4182026-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

函数 SovdConfiguration [SWS_DM_01864] Upstream: RS_Diag_04261, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

SovdConfiguration (ara::core::InstanceSpecifier const &instance Specifier, ConcurrencyType concurrencyType) noexcept;

Constructor for the SovdConfiguration Interface.

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
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 DiagnosticSovdConfigurationPortMapping needs to be typed by a DiagnosticSovdConfigurationInterface. 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
instanceSpecifierInstanceSpecifier to a PortPrototype of a DiagnosticSovdConfigurationInterface
concurrencyTypeSpecifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).

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

Record
AUTOSAR/AP/record/SWS_DM_01864
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01864@rel:R25-11#16b45c6b
Content hash
16b45c6b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01864
Status: valid/unmigrated Version: rel:R25-11#a4704e22 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_01864@rel:R25-11#a4704e22
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cfdf16592026-09-30
  • R23-11rel:R23-11#f2502cf62026-10-14
  • R24-11rel:R24-11#3363eb612026-10-14
  • R25-11rel:R25-11#a4704e222026-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

函数 SovdConfiguration [SWS_DM_01866] Upstream: RS_Diag_04261

SovdConfiguration (SovdConfiguration const &)=delete;

SovdConfiguration shall be a single not copy-able instance.

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01866
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01866@rel:R25-11#18c2fbf6
Content hash
18c2fbf6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01866
Status: valid/unmigrated Version: rel:R25-11#27c2b178 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_01866@rel:R25-11#27c2b178
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#a37cf3bf2026-09-30
  • R23-11rel:R23-11#5569f98c2026-10-14
  • R24-11rel:R24-11#27c2b1782026-10-14
  • R25-11rel:R25-11#27c2b1782026-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

函数 SovdConfiguration [SWS_DM_01867] Upstream: RS_Diag_04261

SovdConfiguration (SovdConfiguration &&other) noexcept;

Move constructs an instance of SovdConfiguration.

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

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

Record
AUTOSAR/AP/record/SWS_DM_01867
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01867@rel:R25-11#ce9e93f4
Content hash
ce9e93f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01867
Status: valid/unmigrated Version: rel:R25-11#c853a16e 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_01867@rel:R25-11#c853a16e
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#e86545992026-09-30
  • R23-11rel:R23-11#78e8f1ce2026-10-14
  • R24-11rel:R24-11#c853a16e2026-10-14
  • R25-11rel:R25-11#c853a16e2026-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_01930] Upstream: RS_Diag_04261

void StopOffer () const noexcept;

This StopOffer will disable the forwarding of request messages from DM.

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

类 ara::diag::SovdConfiguration 的方法 StopOffer() 用于停用 Diagnostic Management 守护程序 (DM) 向服务实例转发请求(Request Messages) [SWS_DM_01930]。它构成了服务提供的对等部分,并遵循 AUTOSAR Adaptive 中诊断接口的统一生命周期模式 AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”。

用法与签名:该调用通过头文件 ara/diag/sovd_configuration.h 无参数且同步进行 [SWS_DM_01930]。由于该方法不返回任何值(void)且被声明为 noexcept,因此它被视为异常安全(exception safe) [SWS_DM_01930]。既不向调用方传递错误代码,也不抛出异常。

并发性与限制:该函数明确指定为非线程安全(not thread-safe) [SWS_DM_01930]。如果在多线程环境中使用 ara::diag::SovdConfiguration 的实例,则必须由 Adaptive Application 对并发访问或提供状态的切换进行同步。

交互关系:其行为与其他 DM 服务(如 ara::diag::CommunicationControl [SWS_DM_00810] 或 ara::diag::GenericRoutine [SWS_DM_00558])的停用语义一致。解释:在调用 StopOffer() 之后,从 DM 接收到的诊断请求大概会被丢弃或负面应答,直到通过相应的提供方法再次激活配置。 问题 Q-4c6212980015c119 (未决)

本文由 AI 生成;它不能替代阅读规范。

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

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
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_01930
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01930@rel:R25-11#04b1dda8
Content hash
04b1dda8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01930
Status: valid/unmigrated Version: rel:R25-11#254b10fb 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_01930@rel:R25-11#254b10fb
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#693a8a9b2026-09-30
  • R23-11rel:R23-11#c476eb662026-10-14
  • R24-11rel:R24-11#254b10fb2026-10-14
  • R25-11rel:R25-11#254b10fb2026-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_01868] Upstream: RS_Diag_04261

SovdConfiguration & operator= (SovdConfiguration const &)=delete;

SovdConfiguration shall be a single not assignable instance.

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01868
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01868@rel:R25-11#dd45b6ab
Content hash
dd45b6ab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01868
Status: valid/unmigrated Version: rel:R25-11#4026cfb2 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_01868@rel:R25-11#4026cfb2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#36273ac72026-09-30
  • R23-11rel:R23-11#46c8b5562026-10-14
  • R24-11rel:R24-11#4026cfb22026-10-14
  • R25-11rel:R25-11#4026cfb22026-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_01869] Upstream: RS_Diag_04261

SovdConfiguration & operator= (SovdConfiguration &&other) & noexcept;

Move assigns an instance of SovdConfiguration.

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopeclass ara::diag::SovdConfiguration
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
SovdConfiguration &Reference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01869
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01869@rel:R25-11#78617bec
Content hash
78617bec
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01869
Status: valid/unmigrated Version: rel:R25-11#d81af4c2 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_01869@rel:R25-11#d81af4c2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#24bd3eef2026-09-30
  • R23-11rel:R23-11#8af3df1a2026-10-14
  • R24-11rel:R24-11#d81af4c22026-10-14
  • R25-11rel:R25-11#d81af4c22026-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

函数 ~SovdConfiguration [SWS_DM_01865] Upstream: RS_Diag_04261

virtual ~SovdConfiguration () noexcept;

Destructor of SovdConfiguration.

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

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

Record
AUTOSAR/AP/record/SWS_DM_01865
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01865@rel:R25-11#8de25335
Content hash
8de25335
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01865
Status: valid/unmigrated Version: rel:R25-11#830f0a18 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_01865@rel:R25-11#830f0a18
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#b8a477af2026-09-30
  • R23-11rel:R23-11#d177c1732026-10-14
  • R24-11rel:R24-11#7b6b10d42026-10-14
  • R25-11rel:R25-11#830f0a182026-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