DEENESPTFRRUARHIKOZHNL

类 <SI-Namespace>::skeleton::<SI>Skeleton

[SWS_CM_00002] Upstream: RS_CM_00101, RS_AP_00114, RS_AP_00122

class <SI>Skeleton {...};

Service skeleton class

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Forwarding-Header#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton/<SiShortname>_skeleton_fwd.h"
Scopenamespace <SI-Namespace>::skeleton

用户指南人工智能生成

用于在服务器端提供服务并处理传入的方法调用。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 9f566e4418f7 来源 未决问题(1)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

用于在服务器端提供服务并处理传入的方法调用。

类 <SI-Namespace>::skeleton::<SI>Skeleton 用作在 AUTOSAR Adaptive Platform 中提供服务的服务器端基础,并将 Event、Field 和 Method 绑定到中间件。使用实例标识符进行实例化后,服务通过 OfferService() 对网络中的使用者可用,并可通过 StopOfferService() 重新撤回 [SWS_CM_00101],[SWS_CM_00111]。根据所配置的处理模式,传入的方法调用要么基于事件进行处理,要么必须由应用程序通过轮询主动触发。由于复制操作已删除,实例的所有权严格保留在创建服务的应用程序中。

上下文

模板类 <SI-Namespace>::skeleton::<SI>Skeleton 构成在 AUTOSAR Adaptive Platform 上提供 Service Interface 的服务器端端点。作为应用程序逻辑与通信层之间的纽带,Skeleton 封装了特定于中间件的绑定并提供类型化接口元素。为此,该类通过 events::<Event> [SWS_CM_99557] 为 Event、通过 fields::<Field> [SWS_CM_99558] 为 Field、通过 triggers::<Trigger> [SWS_CM_99559] 为 Trigger 以及通过 <MethodOutArgType> [SWS_CM_11550] 为方法输出参数声明成员变量。解释:为了提供实际的服务功能,服务应用程序通常从 <SI>Skeleton 派生具体类,以完整实现接口方法。 问题 Q-0cd48946e67c75b4 (未决)

生命周期

Skeleton 的实例化在指定实例映射和方法调用的处理模式(ara::com::MethodCallProcessingMode,默认为 kEvent)下进行。有效构造函数接受 ara::core::InstanceSpecifier [SWS_CM_00152]、单个 ara::com::InstanceIdentifier [SWS_CM_00130] 或通过 ara::com::InstanceIdentifierContainer [SWS_CM_00153] 接受一组标识符。由于服务端点的标识是唯一的,因此复制构造函数 [SWS_CM_00134] 和复制赋值运算符 [SWS_CM_11548] 已显式删除 (delete)。但可以通过移动构造函数 [SWS_CM_00135] 以及移动赋值运算符 [SWS_CM_11549] 转移资源。

构造之后,服务实例立即在本地创建,但在通信网络中尚不可见。只有通过调用 OfferService() [SWS_CM_00101]、EXP_ARAComAPI 第10页 才会对服务使用者进行发布。如果不再提供该服务,StopOfferService() 将撤回提供 [SWS_CM_00111]、EXP_ARAComAPI 第10页。之后可以重新提供 Skeleton 或通过虚析构函数 ~<SI>Skeleton() 将其销毁 [SWS_CM_11370]。

lifecycle Instanziiert Instanziiert Bereitgestellt Bereitgestellt Instanziiert->Bereitgestellt OfferService() Zerstoert Zerstoert Instanziiert->Zerstoert ~Skeleton() Gestoppt Gestoppt Bereitgestellt->Gestoppt StopOfferService() Bereitgestellt->Zerstoert ~Skeleton() Gestoppt->Bereitgestellt OfferService() Gestoppt->Zerstoert ~Skeleton()

状态图:服务 Skeleton 从实例化到释放的生命周期和状态转换。来源:[SWS_CM_00101]、[SWS_CM_00111]、[SWS_CM_11370]、EXP_ARAComAPI 第10页

使用路径

提供服务的常规流程分为以下步骤:

  1. 配置和注册 Handler:在提供服务之前,可以存储特定于应用程序的 Handler。通过 SetTransportFaultConditionHandler() 注册传输错误 Handler,可直接注册 [SWS_CM_00093] 或带有用于异步任务的专用执行器 [SWS_CM_00094];如有需要,可通过 UnsetTransportFaultConditionHandler() 将其移除 [SWS_CM_00095]。端到端错误处理可以通过虚方法 E2EErrorHandler() 覆盖 [SWS_CM_10470]。
  2. 提供服务:服务应用程序调用 OfferService() [SWS_CM_00101]。成功的调用返回一个空的 ara::core::Result<void> 并在网络上启用服务实例。
  3. 处理传入请求:如果 Skeleton 是在模式 MethodCallProcessingMode::kPoll 下实例化的,应用程序必须通过调用 ProcessNextMethodCall() 主动执行待处理的客户端调用 [SWS_CM_00199]。方法调用在该线程的上下文中执行;返回值指示是否还有更多调用待处理。
  4. 服务终止:在销毁实例之前,使用 StopOfferService() 终止提供 [SWS_CM_00111]。
服务骨架的使用流程应用SkeletonKommunikationsschicht使用 InstanceSpecifier/InstanceIdentifier 构造SetTransportFaultConditionHandler(handler)OfferService()在网络中注册服务提供Result<void> (Erfolg)optMethodCallProcessingMode::kPollProcessNextMethodCall()bool (weitere Anfragen vorhanden)StopOfferService()Dienstangebot deregistrieren

时序图:服务运行期间服务器应用程序、服务 Skeleton 与通信层之间的交互顺序。来源:[SWS_CM_00101]、[SWS_CM_00111]、[SWS_CM_00199]、[SWS_CM_00093]

错误场景

使用 Skeleton 类时,必须注意各种错误场景和前置条件:

  • 构造冲突:如果通过 Grant Enforcement 的授权失败,构造将中止并产生 InsufficientPermissionsViolation [SWS_CM_00130]、[SWS_CM_00152]、[SWS_CM_00153]。传入不允许的处理模式会导致 WrongMethodCallProcessingModeViolation。如果使用了 InstanceSpecifier,模型不一致或重复分配可能会引起错误 InstanceSpecifierMappingIntegrityViolation、PortInterfaceMappingViolation、ProcessMappingViolation 或 InstanceSpecifierAlreadyInUseViolation [SWS_CM_00152]。
  • 提供服务失败:如果 OfferService() 失败,将返回来自 ara::com::ComErrc 的错误码 [SWS_CM_00101]:ComErrc::kFieldValueNotInitialized(Field 事先未通过 Update() 初始化)、ComErrc::kFieldSetHandlerNotSet(缺少 Field 所需的 Set Handler)或 ComErrc::kCommunicationFailure(网络绑定的连接或安全错误)。
  • 处理模式冲突:如果 Skeleton 未配置为 kPoll,而是配置为 kEvent 或 kEventSingleThread,则调用 ProcessNextMethodCall() 会触发 WrongMethodCallProcessingModeViolation [SWS_CM_00199]。
  • 无效的错误 Handler:如果向 SetTransportFaultConditionHandler() 传递了不存在或空的 Callable,则会导致 InvalidHandlerViolation [SWS_CM_00093]、[SWS_CM_00094]。
  • E2E 错误和数据损坏:接收到损坏报文时,将带有相应 ComE2EErrc 调用 E2EErrorHandler() [SWS_CM_10470]。如果属于 CRC 错误,DataID 也可能损坏,因此应用程序不得将传入的标识符视为可靠。
  • 销毁错误:如果在销毁 Skeleton 时仍有未决的数据样本,析构函数将中止并产生 DanglingSamplesViolation [SWS_CM_11370]。

本指南完全基于 AUTOSAR Adaptive Platform R25-11 规范要求。

成员图

类图

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

G n_SI_Namespace___skeleton___SI_Skeleton453 <SI>Skeleton + <Event> + <Field> + <MethodOutArg> + <Trigger> + operator=() + Skeleton() + E2EErrorHandler() + SetTransportFaultConditionHandler() + UnsetTransportFaultConditionHandler() + OfferService() + StopOfferService() + ProcessNextMethodCall()

详细视图

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

方法

Implementation may be overridden by the actual ServiceSkeleton implementation and it is not required to be reentrant. If the E2E error is a CRC error then some parts of the received message are faulty. If this part is the DataID then the E2E error handler is called with a faulty DataID. Consequently, in case of CRC error the server application can not rely on the DataID received by its error handler.

virtual void E2EErrorHandler (ara::com::e2e::ComE2EErrc errorCode, ara::com::e2e::DataID dataID, ara::com::e2e::MessageCounter message Counter);

Method to offer a service

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

Allows the service to trigger the execution of the next service consumer method call at a specific point of time if the ara::com::MethodCallProcessingMode == kPoll The pending service method (see [SWS_CM_00191] or [SWS_CM_90434]) is executed in the context of the call to ProcessNextMethodCall().

bool ProcessNextMethodCall () noexcept;

Provides possibility to register a ara::com::e2e::TransportFaultConditionHandler for all methods in a given Skeleton.

重载 SetTransportFaultConditionHandler 2
void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler) noexcept; SWS_CM_00093
template <typename ExecutorT> void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler, ExecutorT &&executor) noexcept; SWS_CM_00094
Skeleton 函数 6

Construct a Skeleton from an ara::com::InstanceIdentifier

重载 Skeleton 6

Method to stop offering a service

void StopOfferService () noexcept;

Provides the possibility to unregister a previously set ara::com::e2e:: TransportFaultConditionHandler for all methods in a given Skeleton.

void UnsetTransportFaultConditionHandler () noexcept;

运算符

operator= 函数 2

Copy assignment constructor deletion

重载 = 2
<SI>Skeleton & operator= (const <SI>Skeleton &other)=delete; SWS_CM_11548
<SI>Skeleton & operator= ( <SI>Skeleton &&other) noexcept; SWS_CM_11549

常量

<Event> 变量

Event member, one for each VariableDataPrototype defined in the ServiceInterface in the role event.

events::<Event> <Event>;
<Field> 变量

Field member, one for each Field defined in the ServiceInterface in the role field.

fields::<Field> <Field>;

Member declaration representing an out argument in an Output.

<MethodOutArgType> <MethodOutArg>;
<Trigger> 变量

Trigger member, one for each Trigger defined in the ServiceInterface in the role trigger.

triggers::<Trigger> <Trigger>;

嵌套类型

方法文档

函数 E2EErrorHandler [SWS_CM_10470] Upstream: RS_CM_00401, RS_CM_00402

virtual void E2EErrorHandler (ara::com::e2e::ComE2EErrc errorCode, ara::com::e2e::DataID dataID, ara::com::e2e::MessageCounter message Counter);

Implementation may be overridden by the actual ServiceSkeleton implementation and it is not required to be reentrant. If the E2E error is a CRC error then some parts of the received message are faulty. If this part is the DataID then the E2E error handler is called with a faulty DataID. Consequently, in case of CRC error the server application can not rely on the DataID received by its error handler.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitnot exception safe

Parameter (in)

ParameterBeschreibung
errorCodeError code object of type ara::com::e2e::ComE2EErrc to be used
dataIDData ID of type ara::com::e2e::dataID to be used
messageCounterMessage counter of type ara::com::e2e::MessageCounter to be used

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_10470
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10470@rel:R25-11#75b8eb22
Content hash
75b8eb22
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10470
Status: valid/unmigrated Version: rel:R25-11#cf89a65e 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_CM_10470@rel:R25-11#cf89a65e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#edf436c42026-09-30
  • R19-11rel:R19-11#1527eb4c2026-10-14
  • R20-11rel:R20-11#20f092ec2026-10-14
  • R21-11rel:R21-11#20f092ec2026-10-14
  • R22-11rel:R22-11#20f092ec2026-10-14
  • R23-11rel:R23-11#20f092ec2026-10-14
  • R24-11rel:R24-11#6211e8922026-10-14
  • R25-11rel:R25-11#cf89a65e2026-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

函数 OfferService [SWS_CM_00101] Upstream: RS_CM_00101, RS_AP_00114, RS_AP_00120

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

Method to offer a service

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

方法 OfferService() 在 Skeleton 类的实例上调用,以在系统中提供已准备的服务,并使其可通过 Service Discovery 被使用者发现 [SWS_CM_00101]、ARAComAPI §6.5 “Service Discovery”。一旦服务实现完全实例化并置于可运行状态,调用即以无参数且同步的方式进行 AUTOSAR_AP_EXP_ARAComAPI §5.4.4 “Offering Service instance”。该函数声明为 noexcept 并返回一个 ara::core::Result<void> [SWS_CM_00101]。

提供服务是通过方法、事件、字段或触发器进行功能通信的必要前提条件 AUTOSAR_AP_EXP_ARAComAPI §4.2 “Means of Communication”。例如,如果尝试在未事先提供的情况下发送触发器,这将因 ComErrc::kServiceNotOffered 失败 [SWS_CM_00721]。关于并发性适用:一旦调用 OfferService(),传入的方法调用就已经可以传递给服务实例——即使 OfferService() 的调用尚未返回 AUTOSAR_AP_EXP_ARAComAPI §5.4.4 “Offering Service instance”。

如果提供失败,返回的 ara::core::Result 将包含来自 ComErrc 的相应错误代码 [SWS_CM_00101]、[SWS_CM_10432]:

  • ComErrc::kFieldValueNotInitialized:在提供之前,至少有一个配置的字段值尚未初始化 [SWS_CM_00101]。
  • ComErrc::kFieldSetHandlerNotSet:对于支持 Setter 的字段,尚未通过 RegisterSetHandler() 注册处理程序 [SWS_CM_00101]。
  • ComErrc::kCommunicationFailure:网络绑定报告可恢复的通信错误或安全通信失败 [SWS_CM_00101]。

如果要停止提供服务,必须调用 StopOfferService() AUTOSAR_AP_EXP_ARAComAPI §5.4.4 “Offering Service instance”。

此文本由 AI 生成,完全基于版本 R25-11 的规范数据。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >• If successful: an ara::core::Result containing a ara:: core::Result::value_type • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kFieldValueNotInitializedrollback_semantics Field value has yet not been initialized via Update() (see [SWS_CM_00128]
ComErrc::kFieldSetHandlerNotSetrollback_semantics Field SetHandler has not been registered via RegisterSet Handler()
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_00101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00101@rel:R25-11#8e52fa27
Content hash
8e52fa27
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00101
Status: valid/unmigrated Version: rel:R25-11#82f2d2a3 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_CM_00101@rel:R25-11#82f2d2a3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#df90013b2026-09-30
  • R19-11rel:R19-11#8c9baf922026-10-14
  • R20-11rel:R20-11#de85af0e2026-10-14
  • R21-11rel:R21-11#de85af0e2026-10-14
  • R22-11rel:R22-11#de85af0e2026-10-14
  • R23-11rel:R23-11#d0ce786a2026-10-14
  • R24-11rel:R24-11#aaea40752026-10-14
  • R25-11rel:R25-11#82f2d2a32026-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

函数 ProcessNextMethodCall [SWS_CM_00199] Upstream: RS_CM_00211, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138

bool ProcessNextMethodCall () noexcept;

Allows the service to trigger the execution of the next service consumer method call at a specific point of time if the ara::com::MethodCallProcessingMode == kPoll The pending service method (see [SWS_CM_00191] or [SWS_CM_90434]) is executed in the context of the call to ProcessNextMethodCall().

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

方法 ProcessNextMethodCall() 用于 Skeleton 中的服务提供者在轮询模式下确定性地处理传入的方法调用 [SWS_CM_00199]。仅当 Skeleton 实例配置了模式 ara::com::MethodCallProcessingMode::kPoll 时,才允许使用它 EXP ARAComAPI §2 “Polling”。

用法与语义

该函数不接受任何参数,并在调用者的线程上下文中同步执行待处理的方法调用请求 [SWS_CM_00199]、[SWS_CM_00191]。这尤其使实时应用程序能够在其分配的时间预算内处理服务请求,而无需不受控制的线程上下文切换 EXP ARAComAPI §5.4 “ProcessNextMethodCall”。返回值指示轮询的结果:

错误处理与边界条件

该函数被指定为 noexcept 且 exception safe [SWS_CM_00199]。在以 kEvent 或 kEventSingleThread 实例化的 Skeleton 上调用构成违规(WrongMethodCallProcessingModeViolation)[SWS_CM_00199]。解释:由于常规的 C++ 异常已被 noexcept 排除,此类违规可能在平台端被视为严重的运行时错误。 问题 Q-61661dbd6cc37bc7 (未决)

此文本自动生成。所有陈述均基于 AUTOSAR 规范。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe
Verletzungen (Violations)WrongMethodCall- The method is called in a Skeleton which was constructed with ProcessingModeVio- ara::com::MethodCallProcessingMode == kEvent or lation ara::com::MethodCallProcessingMode == kEventSingleThread.

Rückgabewert

TypBeschreibung
boolIf the bool type: • ==TRUE: there is at least one pending invocation • ==FALSE: there is no pending invocation

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

Record
AUTOSAR/AP/record/SWS_CM_00199
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00199@rel:R25-11#f1f6c421
Content hash
f1f6c421
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00199
Status: valid/unmigrated Version: rel:R25-11#af390703 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_CM_00199@rel:R25-11#af390703
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#aabbc0712026-09-30
  • R19-11rel:R19-11#46f835942026-10-14
  • R20-11rel:R20-11#dfe2ffac2026-10-14
  • R21-11rel:R21-11#c2b97ab92026-10-14
  • R22-11rel:R22-11#88ed5fcb2026-10-14
  • R23-11rel:R23-11#376d03912026-10-14
  • R24-11rel:R24-11#dad962382026-10-14
  • R25-11rel:R25-11#af3907032026-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

函数 SetTransportFaultConditionHandler [SWS_CM_00093] Upstream: RS_CM_00224, RS_E2E_08534

void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler) noexcept;

Provides possibility to register a ara::com::e2e::TransportFaultConditionHandler for all methods in a given Skeleton.

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

使用

函数 SetTransportFaultConditionHandler 用于在 Skeleton 类的命名空间(<SI-Namespace>::skeleton::<SI>)中注册类型为 ara::com::e2e::TransportFaultConditionHandler 的回调 [SWS_CM_00093]。通过此处理程序报告相应服务实例所有方法上的传输错误 AUTOSAR_AP_SWS_CommunicationManagement §7.4.1 “End-to-end communication protection for SOMEIP”。该函数接收可调用对象 handler 且没有返回值(void)[SWS_CM_00093]。

错误处理

该操作被声明为 noexcept 且为异常安全(exception safe)[SWS_CM_00093]。如果传入的可调用单元不存在或为 null,则会引发 InvalidHandlerViolation [SWS_CM_00093]。在发生错误时,当请求由于传输层中的资源不足或损坏而被丢弃时,配置的处理程序会报告已发生的传输故障(如 TransportFaultCondition::kSampleRejected)AUTOSAR_AP_SWS_CommunicationManagement §7.4.2.3 “Methods”。

并发性与限制

解释:由于此基础接口不接收执行上下文,因此该回调大概率从 Communication Management 的内部线程同步调用。 问题 Q-e4007fa72de6aa12 (未决)如果处理程序应在定义的线程池或工作线程中执行,则应使用带有 ExecutorT&& executor 的重载 [SWS_CM_00094]。

相互作用

该注册将错误处理集中绑定到 Skeleton 实例的所有方法 [SWS_CM_00093]。它融入了 ara::com 的上层错误处理中:

  • 虽然 Skeleton 方法通过此处理程序报告传输错误,但客户端方法通过其生成的带有 ComErrc::kCommunicationFailure 的 ara::core::Future 异步指示传输故障 [SWS_CM_00090]。
  • 对于 Skeleton 级别的字段操作(Get/Set),存在单独的接口 [SWS_CM_00096]。
  • 在 Proxy 级别,为事件 [SWS_CM_00099]、触发器 [SWS_CM_00106] 以及通知器 [SWS_CM_00109] 提供了类似的注册函数。

本使用说明是自动创建的。它仅基于 AUTOSAR Adaptive Release R25-11 规范的规定。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerHandler of type ara::com::e2e:: TransportFaultConditionHandler to be set

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00093
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00093@rel:R25-11#1096f27b
Content hash
1096f27b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00093
Status: valid/unmigrated Version: rel:R25-11#1b94284c Versionshistorie & Revisions (1 transition, 3 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_CM_00093@rel:R25-11#1b94284c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#9c34ba032026-09-30
  • R24-11rel:R24-11#3b6cb46d2026-10-14
  • R25-11rel:R25-11#1b94284c2026-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

函数 SetTransportFaultConditionHandler [SWS_CM_00094] Upstream: RS_CM_00224, RS_E2E_08534

template <typename ExecutorT> void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler, ExecutorT &&executor) noexcept;

Execution Context overload for SetTransportFaultConditionHandler for all methods in a given Skeleton.

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

Skeleton 类命名空间中的模板函数 SetTransportFaultConditionHandler 用于为服务实例的所有方法的传输错误注册错误处理程序 [SWS_CM_00094]。它为无参基础函数 [SWS_CM_00093] 扩展了一个执行上下文:

  • 调用与参数:传递类型为 ara::com::e2e::TransportFaultConditionHandler 的可调用对象 handler 以及通用引用 executor [SWS_CM_00094]。任何异步计算和回调执行都必须在该 Executor 对象中启动。该函数没有返回值。
  • 错误处理:该接口被声明为 noexcept 并指定为异常安全 [SWS_CM_00094]。如果传入的可调用对象不存在或为空,则存在 InvalidHandlerViolation [SWS_CM_00094]。
  • 交互:作用域包括 Skeleton 的所有方法 [SWS_CM_00094],而对于 Field 的 Get 和 Set 操作提供了单独的注册函数([SWS_CM_00096]、[SWS_CM_00097])。在 DDS 网络绑定中,配置的处理程序会报告传输错误,例如 TransportFaultCondition::kSampleRejected [SWS_CM_00216];相反,在客户端,此类错误会在结果 Future 中通过 ComErrc::kCommunicationFailure 指示 [SWS_CM_00090]。
  • 并发性:解释:传递 Executor 将错误处理与通信层的内部上下文解耦;推测注册应该在 Skeleton 初始化时在第一个方法调用到达之前尽早完成。 问题 Q-e56b2a1928cf32ad (未决)

此使用说明基于 AUTOSAR 规范自动生成。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerHandler of type ara::com::e2e:: TransportFaultConditionHandler to be set
executorExecutor object in which any asynchronous computation spawn shall be invoked

Rückgabewert

TypBeschreibung
None
Siehe auch: [SWS_CM_00093]

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

Record
AUTOSAR/AP/record/SWS_CM_00094
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00094@rel:R25-11#3937947f
Content hash
3937947f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00094
Status: valid/unmigrated Version: rel:R25-11#efb02540 Versionshistorie & Revisions (1 transition, 3 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_CM_00094@rel:R25-11#efb02540
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#77158f6e2026-09-30
  • R24-11rel:R24-11#107b41b22026-10-14
  • R25-11rel:R25-11#efb025402026-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

函数 Skeleton [SWS_CM_00130] Upstream: RS_CM_00101, RS_AP_00114, RS_AP_00121

<SI>Skeleton (ara::com::InstanceIdentifier instanceID, ara::com::MethodCallProcessingMode mode=ara::com::Method CallProcessingMode::kEvent) noexcept;

Construct a Skeleton from an ara::com::InstanceIdentifier

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

构造函数 [SWS_CM_00130] 基于具体的 ara::com::InstanceIdentifier 实例化一个服务 Skeleton。Skeleton 将应用侧的服务实现连接到 Communication Management 的传输层,以便分布式服务使用者可以对其进行访问(ARAComAPI §5.1 “Proxy Skeleton Pattern”)。

通过参数 mode 确定如何处理传入的方法调用。基于事件的模式 ara::com::MethodCallProcessingMode::kEvent 被指定为默认值 [SWS_CM_00130]。如果改为选择基于轮询的模式,则待处理的方法调用将在 ProcessNextMethodCall() [SWS_CM_00199] 的调用上下文中同步执行。

错误处理与边界条件

构造函数被声明为 noexcept 且不抛出 C++ 异常 [SWS_CM_00130]。可能的违规行为通过运行时系统发出信号:如果由于授权强制执行(Grant-Enforcement)拒绝创建,则存在 InsufficientPermissionsViolation;在传递无效的处理模式时,会导致 WrongMethodCallProcessingModeViolation [SWS_CM_00130]。解释:处理模式的验证大概率直接在构造函数执行期间进行。 问题 Q-80e02c0079757082 (未决)

复制操作对于 Skeleton 已被显式删除 [SWS_CM_00134],而移动构造受到支持 [SWS_CM_00135]。为了使服务在网络中可被发现,必须在实例化后调用 OfferService() [SWS_CM_00101](ARAComAPI §6.5 “Service Discovery”)。在销毁实例 [SWS_CM_11370] 之前,可以通过 StopOfferService() [SWS_CM_00111] 再次终止提供。

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation WrongMethodCall- Wrong processing mode passed to constructor ProcessingModeVio- lation

Parameter (in)

ParameterBeschreibung
instanceIDThe identifier of a specific instance of a service.
modeMode (as per [SWS_CM_00301]) for processing incoming service method invocations. Default argument is kEvent.

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

Record
AUTOSAR/AP/record/SWS_CM_00130
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00130@rel:R25-11#ced858be
Content hash
ced858be
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00130
Status: valid/unmigrated Version: rel:R25-11#0cc3a8d7 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_CM_00130@rel:R25-11#0cc3a8d7
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4db60ae22026-09-30
  • R19-11rel:R19-11#69907d9d2026-10-14
  • R20-11rel:R20-11#94616ad92026-10-14
  • R21-11rel:R21-11#94616ad92026-10-14
  • R22-11rel:R22-11#8f0738ea2026-10-14
  • R23-11rel:R23-11#8f0738ea2026-10-14
  • R24-11rel:R24-11#8d04a04b2026-10-14
  • R25-11rel:R25-11#0cc3a8d72026-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

函数 Skeleton [SWS_CM_00134] Upstream: RS_CM_00101, RS_AP_00114

<SI>Skeleton (const <SI>Skeleton &other)=delete;

Copy constructor deletion

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton

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

Record
AUTOSAR/AP/record/SWS_CM_00134
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00134@rel:R25-11#e175273e
Content hash
e175273e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00134
Status: valid/unmigrated Version: rel:R25-11#b2190bb1 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_CM_00134@rel:R25-11#b2190bb1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e28fcf112026-09-30
  • R19-11rel:R19-11#9d109fc42026-10-14
  • R20-11rel:R20-11#f5df9c1f2026-10-14
  • R21-11rel:R21-11#f5df9c1f2026-10-14
  • R22-11rel:R22-11#f29ebe442026-10-14
  • R23-11rel:R23-11#f29ebe442026-10-14
  • R24-11rel:R24-11#072f3e8e2026-10-14
  • R25-11rel:R25-11#b2190bb12026-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

函数 Skeleton [SWS_CM_00135] Upstream: RS_CM_00101, RS_AP_00114

<SI>Skeleton (<SI>Skeleton &&other);

Move constructor

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitnot exception safe

Parameter (in)

ParameterBeschreibung
otherOther object to move

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

Record
AUTOSAR/AP/record/SWS_CM_00135
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00135@rel:R25-11#559ceb1b
Content hash
559ceb1b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00135
Status: valid/unmigrated Version: rel:R25-11#1b0c0103 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_CM_00135@rel:R25-11#1b0c0103
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#24a477092026-09-30
  • R19-11rel:R19-11#0f66a96e2026-10-14
  • R20-11rel:R20-11#1b325dd12026-10-14
  • R21-11rel:R21-11#1b325dd12026-10-14
  • R22-11rel:R22-11#a2ddf3e82026-10-14
  • R23-11rel:R23-11#a2ddf3e82026-10-14
  • R24-11rel:R24-11#58b211bf2026-10-14
  • R25-11rel:R25-11#1b0c01032026-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

函数 Skeleton [SWS_CM_00152] Upstream: RS_CM_00101, RS_AP_00114, RS_AP_00115, RS_AP_00121, RS_AP_00127, RS_AP_00137

<SI>Skeleton (ara::core::InstanceSpecifier instanceSpec, ara::com::MethodCallProcessingMode mode=ara::com::Method CallProcessingMode::kEvent) noexcept;

Construct a Skeleton from an ara::core::InstanceSpecifier

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

该构造函数根据实例说明符[SWS_CM_00152]实例化服务骨架。它用于将具体服务实现连接到 Communication Management 的传输层。作为参数传递一个ara::core::InstanceSpecifier以及可选的处理模式ara::com::MethodCallProcessingMode,后者默认预设为kEvent[SWS_CM_00152]。

关于错误处理和异常行为,构造函数被声明为noexcept且异常安全(exception safe)[SWS_CM_00152]。在配置错误或建模偏差的情况下,指定了以下违规(Violations):

  • InstanceSpecifierMappingIntegrityViolation,如果说明符在执行上下文中无法解析,或者未引用 PortPrototype[SWS_CM_00152]。
  • PortInterfaceMappingViolation和ProcessMappingViolation,当映射类型与接口类型不匹配时[SWS_CM_00152]。
  • InstanceSpecifierAlreadyInUseViolation,如果 InstanceSpecifier 已被使用[SWS_CM_00152]。
  • WrongMethodCallProcessingModeViolation以及权限不足时的InsufficientPermissionsViolation[SWS_CM_00152]。

解释:由于构造函数被声明为noexcept,指定的违规可能不会在运行时作为抛出的 C++ 异常进行传播,而是通过平台侧检查或授权强制执行(Grant Enforcement)被拦截。 问题 Q-f1a1a0baeb56e482 (未决)

关于生命周期和并发性,复制构造函数被删除[SWS_CM_00134],而移动构造函数可用[SWS_CM_00135]。释放通过虚析构函数完成[SWS_CM_11370]。构造成功后,服务通常通过[SWS_CM_00101](OfferService)在网络上提供。如果选择了kPoll作为处理模式,则应用程序必须通过[SWS_CM_00199](ProcessNextMethodCall)显式处理传入的服务方法调用[SWS_CM_00191]。

本使用说明是根据 R25-11 的 AUTOSAR 规范自动生成的。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion WrongMethodCall- Wrong processing mode passed to constructor ProcessingModeVio- lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
instanceSpecThe specifier of a specific instance of a service.
modeMode (as per [SWS_CM_00301]) for processing incoming service method invocations. Default argument is kEvent.

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

Record
AUTOSAR/AP/record/SWS_CM_00152
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00152@rel:R25-11#4e68d495
Content hash
4e68d495
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00152
Status: valid/unmigrated Version: rel:R25-11#8d725188 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_CM_00152@rel:R25-11#8d725188
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4fcb71f92026-09-30
  • R19-11rel:R19-11#5705b7cf2026-10-14
  • R20-11rel:R20-11#438b14172026-10-14
  • R21-11rel:R21-11#438b14172026-10-14
  • R22-11rel:R22-11#08a6d31a2026-10-14
  • R23-11rel:R23-11#08a6d31a2026-10-14
  • R24-11rel:R24-11#80faf50e2026-10-14
  • R25-11rel:R25-11#8d7251882026-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

函数 Skeleton [SWS_CM_00153] Upstream: RS_CM_00101, RS_AP_00114, RS_AP_00115, RS_AP_00121

<SI>Skeleton (ara::com::InstanceIdentifier Container instanceIDs, ara::com::MethodCallProcessingMode mode=ara::com::MethodCallProcessingMode::kEvent) noexcept;

Construct a Skeleton from an ara::com::InstanceIdentifierContainer

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

使用

构造函数基于实例标识符容器(instanceIDs)实例化服务骨架,并在服务器端将服务实现与 Communication Management 的传输层连接 [SWS_CM_00153]、ARAComAPI §5.1 “Proxy Skeleton Pattern”。通过参数 mode 指定如何处理传入的方法调用;默认情况下,通过 kEvent 进行事件驱动的处理 [SWS_CM_00153]。或者,可使用针对单个实例标识符 [SWS_CM_00130] 或实例说明符 [SWS_CM_00152] 的构造函数。

错误处理与并发

该函数声明为 noexcept,并被规范为异常安全(exception safe)[SWS_CM_00153]。创建时可能出现的违规包括:传递无效处理模式时的 WrongMethodCallProcessingModeViolation,以及授权检查(Grant Enforcement)失败时的 InsufficientPermissionsViolation [SWS_CM_00153]。

如果为 mode 配置了轮询模型(kPoll),则服务器应用程序必须通过调用 ProcessNextMethodCall() 在其自身的线程上下文中同步处理挂起的方法调用 [SWS_CM_00199]。骨架类的拷贝构造函数已被删除(delete)[SWS_CM_00134];而移动构造函数则支持移动操作 [SWS_CM_00135]。

相互作用

成功实例化后,该服务通过 OfferService() 提供给远程或本地使用者 [SWS_CM_00101]、ARAComAPI §6.5 “Service Discovery”。在使用析构函数 [SWS_CM_11370] 销毁骨架之前,应通过 StopOfferService() 终止提供 [SWS_CM_00111]。传入的方法调用在服务器端各返回一个 ara::core::Future [SWS_CM_00191]。

本使用说明基于 AUTOSAR R25-11 规范自动创建。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation WrongMethodCall- Wrong processing mode passed to constructor ProcessingModeVio- lation

Parameter (in)

ParameterBeschreibung
instanceIDsA container of instance identifiers of a service.
modeMode (as per [SWS_CM_00301]) for processing incoming service method invocations. Default argument is kEvent.

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

Record
AUTOSAR/AP/record/SWS_CM_00153
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00153@rel:R25-11#0ad54d3d
Content hash
0ad54d3d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00153
Status: valid/unmigrated Version: rel:R25-11#a3a8cc7c 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_CM_00153@rel:R25-11#a3a8cc7c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8812e5792026-09-30
  • R19-11rel:R19-11#c616d2e02026-10-14
  • R20-11rel:R20-11#f0d1f63c2026-10-14
  • R21-11rel:R21-11#f0d1f63c2026-10-14
  • R22-11rel:R22-11#b47ec5a32026-10-14
  • R23-11rel:R23-11#b47ec5a32026-10-14
  • R24-11rel:R24-11#1a54f63a2026-10-14
  • R25-11rel:R25-11#a3a8cc7c2026-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

函数 Skeleton [SWS_CM_11370] Upstream: RS_AP_00145

virtual ~<SI>Skeleton ();

Destruction of a Skeleton

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

虚析构函数~<SI>Skeleton()[SWS_CM_11370]结束服务骨架实例的生命周期。作为生成构件,服务骨架将具体服务实现与 Communication Management 的传输层相连接,使服务使用者能够访问所提供的方法和功能(ARAComAPI §5.1 “Proxy Skeleton Pattern”)。

销毁在派生实现类析构时同步进行。该方法不接收任何参数,也不声明任何返回值。与骨架的构造函数(如[SWS_CM_00130]或[SWS_CM_00152])不同,析构函数在规范中被明确归类为 not exception safe[SWS_CM_11370]。

关于错误处理和约束条件,规范规定在违反前置条件时可能发生DanglingSamplesViolation[SWS_CM_11370]。如果先前已通过OfferService()[SWS_CM_00101]对外提供了该服务(ARAComAPI §6.5 “Service Discovery”),则在调用析构函数之前推测可能必须调用方法StopOfferService()[SWS_CM_00111],以便彻底结束正在进行的通信关系。 问题 Q-c430a7f0fc838eba (未决)

对于骨架,复制构造函数已被删除[SWS_CM_00134],但支持移动操作[SWS_CM_00135]。正在进行的处理过程——例如通过ProcessNextMethodCall()[SWS_CM_00199]处理待处理的调用——应在开始销毁之前完成。

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

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitnot exception safe
Verletzungen (Violations)DanglingSamplesVi- Precondition [SWS_CM_00086] has been violated. olation

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

Record
AUTOSAR/AP/record/SWS_CM_11370
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11370@rel:R25-11#8c7dfe53
Content hash
8c7dfe53
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11370
Status: valid/unmigrated Version: rel:R25-11#ea52f3e4 Versionshistorie & Revisions (1 transition, 6 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_CM_11370@rel:R25-11#ea52f3e4
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#53b057642026-09-30
  • R21-11rel:R21-11#15f07f172026-10-14
  • R22-11rel:R22-11#15f07f172026-10-14
  • R23-11rel:R23-11#15f07f172026-10-14
  • R24-11rel:R24-11#b818407a2026-10-14
  • R25-11rel:R25-11#ea52f3e42026-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

函数 StopOfferService [SWS_CM_00111] Upstream: RS_CM_00105, RS_AP_00114, RS_AP_00120

void StopOfferService () noexcept;

Method to stop offering a service

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

方法 [SWS_CM_00111] 终止 ara::com 中服务提供者应用程序对服务实例的提供。该调用在命名空间 <SI-Namespace>::skeleton::<SI> 中的具体 Skeleton 实例上无参数执行,并且不返回值(EXP_ARAComAPI §5.4.1 “Skeleton Class API’s”)。

以下条件适用于使用和运行时行为:

该函数被声明为 noexcept,并被视为异常安全([SWS_CM_00111])。它既不通过异常,也不通过错误消息或返回代码来指示错误。

本使用说明由 AI 整理。

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

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00111
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00111@rel:R25-11#f55c1e72
Content hash
f55c1e72
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00111
Status: valid/unmigrated Version: rel:R25-11#93c10d06 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_CM_00111@rel:R25-11#93c10d06
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8e969bc32026-09-30
  • R19-11rel:R19-11#b1c7be652026-10-14
  • R20-11rel:R20-11#3ccb476f2026-10-14
  • R21-11rel:R21-11#3ccb476f2026-10-14
  • R22-11rel:R22-11#227d30362026-10-14
  • R23-11rel:R23-11#3ccb476f2026-10-14
  • R24-11rel:R24-11#1113343b2026-10-14
  • R25-11rel:R25-11#93c10d062026-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

函数 UnsetTransportFaultConditionHandler [SWS_CM_00095] Upstream: RS_CM_00224, RS_E2E_08534

void UnsetTransportFaultConditionHandler () noexcept;

Provides the possibility to unregister a previously set ara::com::e2e:: TransportFaultConditionHandler for all methods in a given Skeleton.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00095
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00095@rel:R25-11#5b82ddb5
Content hash
5b82ddb5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00095
Status: valid/unmigrated Version: rel:R25-11#1934ee4c Versionshistorie & Revisions (1 transition, 3 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_CM_00095@rel:R25-11#1934ee4c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f9b113c42026-09-30
  • R24-11rel:R24-11#3f8eab832026-10-14
  • R25-11rel:R25-11#1934ee4c2026-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_CM_11548] Upstream: RS_CM_00101, RS_AP_00114

<SI>Skeleton & operator= (const <SI>Skeleton &other)=delete;

Copy assignment constructor deletion

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton

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

Record
AUTOSAR/AP/record/SWS_CM_11548
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11548@rel:R25-11#63acc455
Content hash
63acc455
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11548
Status: valid/unmigrated Version: rel:R25-11#bd7757d5 Versionshistorie & Revisions (1 transition, 3 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_CM_11548@rel:R25-11#bd7757d5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f3107ba82026-09-30
  • R24-11rel:R24-11#724d6e4f2026-10-14
  • R25-11rel:R25-11#bd7757d52026-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_CM_11549] Upstream: RS_CM_00101, RS_AP_00114

<SI>Skeleton & operator= ( <SI>Skeleton &&other) noexcept;

Move assignment constructor

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther object to move

Rückgabewert

TypBeschreibung
{<service-interface-name> }Skeleton &The moved skeleton object

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

Record
AUTOSAR/AP/record/SWS_CM_11549
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11549@rel:R25-11#47eba1c5
Content hash
47eba1c5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11549
Status: valid/unmigrated Version: rel:R25-11#baa24438 Versionshistorie & Revisions (1 transition, 3 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_CM_11549@rel:R25-11#baa24438
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0ae2bb922026-09-30
  • R24-11rel:R24-11#678eeed32026-10-14
  • R25-11rel:R25-11#baa244382026-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

常量 / 变量文档

变量 <Event> [SWS_CM_99557] Upstream: RS_CM_00201, RS_AP_00114

events::<Event> <Event>;

Event member, one for each VariableDataPrototype defined in the ServiceInterface in the role event.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Symbol<Event>
Typevents::<Event>

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

Record
AUTOSAR/AP/record/SWS_CM_99557
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99557@rel:R25-11#3bbc5abc
Content hash
3bbc5abc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99557
Status: valid/unmigrated Version: rel:R25-11#eeb59a91 Versionshistorie & Revisions (1 transition, 3 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_CM_99557@rel:R25-11#eeb59a91
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b493f0492026-09-30
  • R24-11rel:R24-11#d3cce5662026-10-14
  • R25-11rel:R25-11#eeb59a912026-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

变量 <Field> [SWS_CM_99558] Upstream: RS_CM_00216, RS_AP_00114

fields::<Field> <Field>;

Field member, one for each Field defined in the ServiceInterface in the role field.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Symbol<Field>
Typfields::<Field>

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

Record
AUTOSAR/AP/record/SWS_CM_99558
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99558@rel:R25-11#e3abd5a1
Content hash
e3abd5a1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99558
Status: valid/unmigrated Version: rel:R25-11#50fc1a41 Versionshistorie & Revisions (1 transition, 3 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_CM_99558@rel:R25-11#50fc1a41
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#dcf55b212026-09-30
  • R24-11rel:R24-11#a1c4a3522026-10-14
  • R25-11rel:R25-11#50fc1a412026-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

变量 <MethodOutArg> [SWS_CM_11550] Upstream: RS_CM_00211, RS_AP_00114, RS_AP_00127, RS_AP_00128, RS_AP_00138

<MethodOutArgType> <MethodOutArg>;

Member declaration representing an out argument in an Output.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Symbol<MethodOutArg>
Typ<MethodOutArgType>

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

Record
AUTOSAR/AP/record/SWS_CM_11550
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11550@rel:R25-11#9697ce92
Content hash
9697ce92
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11550
Status: valid/unmigrated Version: rel:R25-11#5aa45999 Versionshistorie & Revisions (1 transition, 3 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_CM_11550@rel:R25-11#5aa45999
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#612ca71c2026-09-30
  • R24-11rel:R24-11#a6b4a5fc2026-10-14
  • R25-11rel:R25-11#5aa459992026-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

变量 <Trigger> [SWS_CM_99559] Upstream: RS_CM_00201, RS_AP_00114

triggers::<Trigger> <Trigger>;

Trigger member, one for each Trigger defined in the ServiceInterface in the role trigger.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_skeleton.h"
Scopeclass <SI-Namespace>::skeleton::<SI>Skeleton
Symbol<Trigger>
Typtriggers::<Trigger>

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

Record
AUTOSAR/AP/record/SWS_CM_99559
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99559@rel:R25-11#572ca635
Content hash
572ca635
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99559
Status: valid/unmigrated Version: rel:R25-11#2398aa93 Versionshistorie & Revisions (1 transition, 3 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_CM_99559@rel:R25-11#2398aa93
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4299e6bb2026-09-30
  • R24-11rel:R24-11#534c5c962026-10-14
  • R25-11rel:R25-11#2398aa932026-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