类 ara::shwa::AccessorDiese Seite wurde vollständig KI-generiert auf Basis von SWS Safe Hardware Acceleration (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.
[AP_SWS_SHWA_00001] 原文尚未导入 Upstream: RS_SHWA_00017 , RS_SHWA_00009
template <typename DataT, int Dimensions = 1, AccessMode AccessMode Type = AccessMode::kRead, Target AccessTargetType = Target::kDevice, typename AllocatorT = BufferAllocator<std::remove_const_t<DataT>>> class Accessor final {...}; Die Spezifikation definiert diesen Klassentyp mit der gezeigten Schnittstelle.
Header-Datei #include "ara/shwa/accessor.h" Scope namespace ara::shwa
用户指南人工智能生成 实现对缓冲区内存区域的类型化、受控读写访问。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: d5d168d169f4
来源
未决问题(2)
摘要 详细
实现对缓冲区内存区域的类型化、受控读写访问。
本指南基于 AUTOSAR Adaptive Platform R25-11 的 ara::shwa::Accessor 规范,并通过自动化方式生成。
分组依据 类别 历史
此版本没有元素数据
构造函数和析构函数 Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
重载 Accessor 3 方法 Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.
重载 Create 2 static ara::core::Result< std::unique_ptr< Accessor > > Create (const std::unique_ptr< ara::shwa::Buffer< DataT, Dimensions, AllocatorT > > &bufferRef, TaskHandler &handler, const PropertyList &propList={}) noexcept; AP_SWS_SHWA_00008 static ara::core::Result< std::unique_ptr< Accessor > > Create (const std::unique_ptr< ara::shwa::Buffer< DataT, Dimensions, AllocatorT > > &bufferRef, const PropertyList &propList={}) noexcept; AP_SWS_SHWA_00007 Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.
ara::core::Result< DataT > Get (Id< Dimensions > index);
Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.
template <typename PropertyT> ara::core::Result< PropertyT > GetProperty () const noexcept;
Prüft, ob die angeforderte Eigenschaft verfügbar ist.
template <typename PropertyT> bool HasProperty () const noexcept;
Schreibt den übergebenen Wert an die durch die Signatur bestimmte Stelle.
ara::core::Result< void > Set (Id< Dimensions > index, DataT value);
运算符 Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
重载 = 2 Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
重载 [] 2 类型别名 Der Typ-Alias ordnet den in der Signatur angegebenen Namen dem dargestellten Typ zu.
using ReferenceT = std::conditional_t<AccessModeType == AccessMode::k Read, const DataT&, DataT&>;
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
详细信息 using ReferenceT = std::conditional_t<AccessModeType == AccessMode::k Read, const DataT&, DataT&>; Der Typ-Alias ordnet den in der Signatur angegebenen Namen dem dargestellten Typ zu.
Scope class ara::shwa::Accessor
Status: valid/unmigrated
Version: rel:R25-11#e5fa94c4
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00014@rel:R25-11#e5fa94c4
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
Accessor ()=delete; Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
Scope class ara::shwa::Accessor
Status: valid/unmigrated
Version: rel:R25-11#87a70a59
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00002@rel:R25-11#87a70a59
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
Accessor (Accessor &&)=delete; Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
Scope class ara::shwa::Accessor
Status: valid/unmigrated
Version: rel:R25-11#74794dc6
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00005@rel:R25-11#74794dc6
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
Accessor & operator= (const Accessor &)=delete; Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
Scope class ara::shwa::Accessor
Status: valid/unmigrated
Version: rel:R25-11#585a9b2c
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00004@rel:R25-11#585a9b2c
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
Accessor & operator= (Accessor &&)=delete; Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
Scope class ara::shwa::Accessor
Status: valid/unmigrated
Version: rel:R25-11#05e2d520
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00006@rel:R25-11#05e2d520
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
Accessor (Accessor const &)=delete; Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.
Scope class ara::shwa::Accessor
Status: valid/unmigrated
Version: rel:R25-11#65fd88e0
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00003@rel:R25-11#65fd88e0
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
static ara::core::Result< std::unique_ptr< Accessor > > Create (const std::unique_ptr< ara::shwa::Buffer< DataT, Dimensions, AllocatorT > > &bufferRef, TaskHandler &handler, const PropertyList &propList={}) noexcept; Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.
Scope class ara::shwa::Accessor Thread Safety thread-safe rollback_semantics ShwaErrorCode::k AccessorFailure Invalid use or construction of accessors no_rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k IntegrityCorrupted The structural integrity of the memory allocated by Buffer could not be established
Status: valid/unmigrated
Version: rel:R25-11#1b793702
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00008@rel:R25-11#1b793702
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
static ara::core::Result< std::unique_ptr< Accessor > > Create (const std::unique_ptr< ara::shwa::Buffer< DataT, Dimensions, AllocatorT > > &bufferRef, const PropertyList &propList={}) noexcept; Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.
Scope class ara::shwa::Accessor Thread Safety thread-safe rollback_semantics ShwaErrorCode::k AccessorFailure Invalid use or construction of accessors no_rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k IntegrityCorrupted The structural integrity of the memory allocated by Buffer could not be established
Status: valid/unmigrated
Version: rel:R25-11#08d6c117
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00007@rel:R25-11#08d6c117
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result< DataT > Get (Id< Dimensions > index); Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.
Scope class ara::shwa::Accessor Thread Safety thread-safe rollback_semantics ShwaErrorCode::kInvalid Index The operation could not be performed because no initial value is available rollback_semantics Exception Safety not exception safe Errors ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy.
Status: valid/unmigrated
Version: rel:R25-11#27b73e56
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00012@rel:R25-11#27b73e56
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
template <typename PropertyT> ara::core::Result< PropertyT > GetProperty () const noexcept; Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.
Scope class ara::shwa::Accessor Thread Safety not thread-safe rollback_semantics Exception Safety exception safe Errors ShwaErrorCode::k FeatureNotSupported Used when a requested feature isn’t supported
Status: valid/unmigrated
Version: rel:R25-11#7e50eb6e
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00016@rel:R25-11#7e50eb6e
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
template <typename PropertyT> bool HasProperty () const noexcept; Prüft, ob die angeforderte Eigenschaft verfügbar ist.
Scope class ara::shwa::Accessor Thread Safety not thread-safe Exception Safety exception safe
Status: valid/unmigrated
Version: rel:R25-11#c1f7c4c8
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00015@rel:R25-11#c1f7c4c8
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
ara::core::Result< void > Set (Id< Dimensions > index, DataT value); Schreibt den übergebenen Wert an die durch die Signatur bestimmte Stelle.
Scope class ara::shwa::Accessor Thread Safety thread-safe Exception Safety not exception safe Errors ShwaErrorCode::kInvalid Index no_rollback_semantics The operation could not be performed because no initial value is available no_rollback_semantics ShwaErrorCode::kInvalid AccessMode Opening a file failed because the requested combination of Open Modes is invalid no_rollback_semantics ShwaErrorCode::k IntegrityCorrupted The structural integrity of the memory allocated by Buffer could not be established rollback_semantics ShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy.
Status: valid/unmigrated
Version: rel:R25-11#9a134685
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00011@rel:R25-11#9a134685
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
ReferenceT operator[] (Id< Dimensions > index) const; Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
Scope class ara::shwa::Accessor Thread Safety not thread-safe Exception Safety not exception safe
Status: valid/unmigrated
Version: rel:R25-11#e25c660d
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00009@rel:R25-11#e25c660d
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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
ReferenceT operator[] (std::size_t index) const; Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.
Scope class ara::shwa::Accessor Thread Safety not thread-safe Exception Safety not exception safe
Status: valid/unmigrated
Version: rel:R25-11#a0626adf
Versionshistorie & Revisions (1 transition)
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/AP_SWS_SHWA_00010@rel:R25-11#a0626adf
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
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 · 德文原文