类 ara::exec::FunctionGroup
[SWS_EM_02263] Upstream: RS_EM_00101 , RS_AP_00154 , RS_AP_00150
class FunctionGroup final {...};
Class representing Function Group defined in meta-model (ARXML). An instance of this class will represent Function Group defined inside meta-model (ARXML). This class is intended to be an implementation specific representation, of information inside meta-model. Once created based on ARXML path, its internal value stays bounded to it for entire lifetime of a object.
Header-Datei #include "ara/exec/function_group.h" Forwarding-Header #include "ara/exec/exec_fwd.h" Scope namespace ara::exec
用户指南人工智能生成 表示 AUTOSAR 元模型中定义的 FunctionGroup,用于在运行时进行类型化标识。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: de9017db52cf
来源
未决问题(1)
摘要 详细
表示 AUTOSAR 元模型中定义的 FunctionGroup,用于在运行时进行类型化标识。
该类用作 AUTOSAR 元模型中定义的 FunctionGroup 的实现特定运行时表示。其实例化仅通过 FunctionGroup 端口的实例说明符 [SWS_EM_02586] 进行,在对象的整个生命周期中,它与该实例说明符的路径保持强绑定。为避免资源分配中的问题,该类不可复制,但支持异常安全的移动语义 [SWS_EM_02328] 。通过比较运算符可以确定两个实例是否映射相同的元模型元素。
更多 ›
上下文
类 ara::exec::FunctionGroup 在 Adaptive Platform 模块 exec(Execution Management)中用作 AUTOSAR 元模型(ARXML)中定义的 FunctionGroup 的表示。该类的实例提供元模型中存储信息的实现特定抽象。根据规范,对象在基于 ARXML 路径创建后,其内部值在整个生命周期内与此元模型元素保持强绑定。
作为主要交互伙伴出现的是应用软件组件(State Client)、实例说明符(ara::core::InstanceSpecifier)以及底层元模型。与系统配置的链接具体通过引用 StateClientInterface 的 RPortPrototype 的 InstanceSpecifier 进行 [SWS_EM_02586] 。因此,该类使进程和控制实例能够对 FunctionGroup 进行类型化引用并检查同一性,而无需直接处理非结构化路径或模型描述。
client
Anwendung (State Client)
instance
ara::core::InstanceSpecifier
client->instance
referenziert RPortPrototype
fg
ara::exec::FunctionGroup
instance->fg
initialisiert
arxml
AUTOSAR-Metamodell (ARXML)
fg->arxml
表示元素
上下文图:ara::exec::FunctionGroup 类在端口规范与元模型之间的集成。来源:[SWS_EM_02586] 。
生命周期
ara::exec::FunctionGroup 对象的创建和管理遵循关于资源管理与内存完整性的严格规则。无参默认构造函数已被显式删除(= delete)[SWS_EM_02321] 。取而代之的是,实例强制通过传递对 ara::core::InstanceSpecifier 的常量引用的常规构造函数进行实例化 [SWS_EM_02586] 。该构造函数被声明为异常安全(noexcept)且线程安全。
在所有权和复制过程方面,该类被设计为仅移动(Move-Only)数据类型。复制构造函数 [SWS_EM_02322] 和复制赋值运算符 [SWS_EM_02327] 均已删除,以便从一开始就排除复制过程中分配内部资源时的潜在冲突和运行时问题。实例的传递或重组仅可通过移动操作实现:移动构造函数 [SWS_EM_02328] 和移动赋值运算符 [SWS_EM_02329] 支持向新对象或现有对象高效转移所有权。解释:在移动操作中,目标对象应当无缝接管与元模型元素的绑定,而源实例则处于有效但未指定的状态。 问题 Q-99b40860db69ffe6 (未决)
销毁通过析构函数 [SWS_EM_02266] 确定性地进行,该析构函数同样被定义为异常安全(noexcept)。虽然通过 InstanceSpecifier 进行构造 [SWS_EM_02586] 是线程安全的,但移动操作 [SWS_EM_02328] 、[SWS_EM_02329] 以及析构函数 [SWS_EM_02266] 被指定为非线程安全(not thread-safe )。因此,如果多个执行线程并发访问同一实例,则需要应用程序端进行同步。
使用路径
ara::exec::FunctionGroup 的常规使用通常包含以下工作步骤序列:
提供端口标识符: 应用程序根据其模型路径以 ara::core::InstanceSpecifier 的形式标识所需的状态接口端口。
实例化: 通过参数化构造函数创建 FunctionGroup 实例,并与目标端口的元模型元素强绑定 [SWS_EM_02586] 。
同一性检查与比较: 在状态查询或验证的范围内,可以通过关系运算符 operator== [SWS_EM_02267] 或 operator!= [SWS_EM_02268] 比较两个实例。当且仅当两个实例在 ARXML 元模型中表示完全相同的元素时,比较才返回 true(对于相等运算符)。两个运算符都是线程安全且异常安全的。
移动或清理: 若要将对象传输到容器结构中或在模块之间传递,则通过移动语义 [SWS_EM_02328] 、[SWS_EM_02329] 进行。如果对象离开其作用域,析构函数 [SWS_EM_02266] 会释放所有关联的绑定。
错误场景
在错误场景领域,该接口以严格的防错设计为特征:
本指南由 AI 助手基于 AUTOSAR 规范 R25-11 整理。
分组依据 类别 历史
成员图 类图 Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
G
nara__exec__FunctionGroup511
FunctionGroup
+ FunctionGroup()
+ operator=()
+ ~FunctionGroup()
+ operator!=()
+ operator==()
详细视图 此版本没有元素数据
构造函数和析构函数 Default constructor.
重载 FunctionGroup 4 Destructor of the FunctionGroup instance.
运算符 uneq operator to compare with other FunctionGroup instance.
Copy assignment operator.
重载 = 2 eq operator to compare with other FunctionGroup instance.
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
方法文档
FunctionGroup ()=delete;
Hinweise: Default constructor is deleted in favour of regular constructor.
Status: valid/unmigrated
Version: rel:R25-11#41d41bad
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_EM_02321@rel:R25-11#41d41bad
Point-in-Time History:
Release:
R25-11 (Current / Active) R21-11 R22-11 R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (6):
R25-11 rel:R25-11#1cc50eb42026-09-30 Inspect R21-11 rel:R21-11#aa281d702026-10-14 Inspect R22-11 rel:R22-11#8efc98432026-10-14 Inspect R23-11 rel:R23-11#5c7b5f202026-10-14 Inspect R24-11 rel:R24-11#b10d45dc2026-10-14 Inspect R25-11 rel:R25-11#41d41bad2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
FunctionGroup (const FunctionGroup &other)=delete;
Hinweise: To prevent problems with resource allocations during copy operation, this class is non-copyable.
Status: valid/unmigrated
Version: rel:R25-11#17b7aa17
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_EM_02322@rel:R25-11#17b7aa17
Point-in-Time History:
Release:
R25-11 (Current / Active) R21-11 R22-11 R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (6):
R25-11 rel:R25-11#a978b4cf2026-09-30 Inspect R21-11 rel:R21-11#a46427932026-10-14 Inspect R22-11 rel:R22-11#71423ee22026-10-14 Inspect R23-11 rel:R23-11#be2ec2282026-10-14 Inspect R24-11 rel:R24-11#17b7aa172026-10-14 Inspect R25-11 rel:R25-11#17b7aa172026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
FunctionGroup (FunctionGroup &&other) noexcept;
Header-Datei #include "ara/exec/function_group.h" Scope class ara::exec::FunctionGroup Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Parameter (in)
Parameter Beschreibung other FunctionGroup instance to move to a newly constructed object.
Status: valid/unmigrated
Version: rel:R25-11#7682dd24
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_EM_02328@rel:R25-11#7682dd24
Point-in-Time History:
Release:
R25-11 (Current / Active) R21-11 R22-11 R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (6):
R25-11 rel:R25-11#027b455d2026-09-30 Inspect R21-11 rel:R21-11#318ef0832026-10-14 Inspect R22-11 rel:R22-11#a2262dc62026-10-14 Inspect R23-11 rel:R23-11#c89a8d442026-10-14 Inspect R24-11 rel:R24-11#4f17b10a2026-10-14 Inspect R25-11 rel:R25-11#7682dd242026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
FunctionGroup (const ara::core::InstanceSpecifier &instance) noexcept;
Creates an instance of FunctionGroup.
Header-Datei #include "ara/exec/function_group.h" Scope class ara::exec::FunctionGroup Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung instance instance specifier to the RPortPrototype of a StateClientInterface.
Status: valid/unmigrated
Version: rel:R25-11#97b02910
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_EM_02586@rel:R25-11#97b02910
Point-in-Time History:
Release:
R25-11 (Current / Active) R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (3):
R25-11 rel:R25-11#faaf8c002026-09-30 Inspect R24-11 rel:R24-11#ca2f3c4d2026-10-14 Inspect R25-11 rel:R25-11#97b029102026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
bool operator!= (const FunctionGroup &other) const noexcept;
uneq operator to compare with other FunctionGroup instance.
Header-Datei #include "ara/exec/function_group.h" Scope class ara::exec::FunctionGroup Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung other FunctionGroup instance to compare this one with.
Rückgabewert
Typ Beschreibung bool false in case both FunctionGroups are representing exactly the same meta-model element, true otherwise.
Status: valid/unmigrated
Version: rel:R25-11#24934f6a
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_EM_02268@rel:R25-11#24934f6a
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#d8dcfbf12026-09-30 Inspect R19-11 rel:R19-11#345f9e482026-10-14 Inspect R20-11 rel:R20-11#5e0f2a152026-10-14 Inspect R21-11 rel:R21-11#5e0f2a152026-10-14 Inspect R22-11 rel:R22-11#f4f2b7992026-10-14 Inspect R23-11 rel:R23-11#915539262026-10-14 Inspect R24-11 rel:R24-11#741b58872026-10-14 Inspect R25-11 rel:R25-11#24934f6a2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
FunctionGroup & operator= (const FunctionGroup &other)=delete;
Copy assignment operator.
Hinweise: To prevent problems with resource allocations during copy operation, this class is non-copyable.
Status: valid/unmigrated
Version: rel:R25-11#4453437a
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_EM_02327@rel:R25-11#4453437a
Point-in-Time History:
Release:
R25-11 (Current / Active) R21-11 R22-11 R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (6):
R25-11 rel:R25-11#3e41d0692026-09-30 Inspect R21-11 rel:R21-11#17c8767a2026-10-14 Inspect R22-11 rel:R22-11#586730b32026-10-14 Inspect R23-11 rel:R23-11#87fb23432026-10-14 Inspect R24-11 rel:R24-11#4453437a2026-10-14 Inspect R25-11 rel:R25-11#4453437a2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
FunctionGroup & operator= (FunctionGroup &&other) noexcept;
Move assignment operator.
Header-Datei #include "ara/exec/function_group.h" Scope class ara::exec::FunctionGroup Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Parameter (in)
Parameter Beschreibung other FunctionGroup instance to move to this object.
Rückgabewert
Typ Beschreibung FunctionGroup &reference to the object on which the move assignment operator was invoked
Status: valid/unmigrated
Version: rel:R25-11#d1d1f2b1
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_EM_02329@rel:R25-11#d1d1f2b1
Point-in-Time History:
Release:
R25-11 (Current / Active) R21-11 R22-11 R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (6):
R25-11 rel:R25-11#84794cfc2026-09-30 Inspect R21-11 rel:R21-11#24d49e7c2026-10-14 Inspect R22-11 rel:R22-11#82cc4b4c2026-10-14 Inspect R23-11 rel:R23-11#b723bc452026-10-14 Inspect R24-11 rel:R24-11#bfa67a9b2026-10-14 Inspect R25-11 rel:R25-11#d1d1f2b12026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
bool operator== (const FunctionGroup &other) const noexcept;
eq operator to compare with other FunctionGroup instance.
Header-Datei #include "ara/exec/function_group.h" Scope class ara::exec::FunctionGroup Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung other FunctionGroup instance to compare this one with.
Rückgabewert
Typ Beschreibung bool true in case both FunctionGroups are representing exactly the same meta-model element, false otherwise.
Status: valid/unmigrated
Version: rel:R25-11#ed2f8120
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_EM_02267@rel:R25-11#ed2f8120
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#600228b82026-09-30 Inspect R19-11 rel:R19-11#3ea88dbe2026-10-14 Inspect R20-11 rel:R20-11#89ca3cae2026-10-14 Inspect R21-11 rel:R21-11#89ca3cae2026-10-14 Inspect R22-11 rel:R22-11#3ae511362026-10-14 Inspect R23-11 rel:R23-11#adfdf9142026-10-14 Inspect R24-11 rel:R24-11#f249b8d52026-10-14 Inspect R25-11 rel:R25-11#ed2f81202026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
~FunctionGroup () noexcept;
Destructor of the FunctionGroup instance.
Header-Datei #include "ara/exec/function_group.h" Scope class ara::exec::FunctionGroup Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Status: valid/unmigrated
Version: rel:R25-11#82a432e3
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_EM_02266@rel:R25-11#82a432e3
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#8437ddfe2026-09-30 Inspect R19-11 rel:R19-11#e127ca3f2026-10-14 Inspect R20-11 rel:R20-11#940157c22026-10-14 Inspect R21-11 rel:R21-11#1e6a91cf2026-10-14 Inspect R22-11 rel:R22-11#5bbef4712026-10-14 Inspect R23-11 rel:R23-11#5d482a572026-10-14 Inspect R24-11 rel:R24-11#52d257df2026-10-14 Inspect R25-11 rel:R25-11#82a432e32026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
gemini-3.8-flash-low· 2026-10-13 · 德文原文