DEENESPTFRRUARHIKOZHNL

class ara::shwa::Accessor

Diese 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] Wortlaut noch nicht übernommen 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"
Scopenamespace ara::shwa

User GuideKI-GENERIERT

Ermöglicht den typisierten, kontrollierten Lese- und Schreibzugriff auf Speicherbereiche eines Puffers.
KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: d5d168d169f4 Herkunft Offene Fragen (2)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Ermöglicht den typisierten, kontrollierten Lese- und Schreibzugriff auf Speicherbereiche eines Puffers.

Die Template-Klasse ermöglicht den typisierten und kontrollierten Zugriff auf den allokierten Speicher eines zugrundeliegenden Datenpuffers. Die Instanziierung erfolgt dabei ausschließlich über statische Factory-Methoden, welche die Instanz als eindeutigen Zeiger zurückliefern ([AP_SWS_SHWA_00007]). Zur Laufzeit können Daten über typsichere Lese- und Schreiboperationen oder über Indexoperatoren verarbeitet werden ([AP_SWS_SHWA_00011]). Sämtliche Kopier- und Verschiebeoperationen sind unterbunden, während einzelne Datenoperationen spezifischen Anforderungen an Threadsicherheit und Fehlerbehandlung unterliegen.

Kontext

Die Template-Klasse ara::shwa::Accessor bildet die zentrale Zugriffsschnittstelle für den typisierten Speicherzugriff auf Shared-Memory-Puffer in AUTOSAR Adaptive Platform. Sie kapselt die Adressierungs- und Zugriffslogik auf einen zugrundeliegenden ara::shwa::Buffer und parametrisiert diesen statisch über den Datentyp (DataT), die Dimensionalität (Dimensions), den Zugriffsmodus (AccessModeType), das Zielgerät (AccessTargetType) sowie den verwendeten Speicherallokator (AllocatorT). In fortgeschrittenen Szenarien bindet die Klasse einen TaskHandler ein, der vermutlich Verarbeitungsaufgaben im Pufferumfeld steuert. Frage Q-552022fbf949a1f0 (offen)

Innerhalb des Moduls agiert die Klasse im Zusammenspiel mit drei zentralen Interaktionspartnern:

  • Anwendung / Aufrufer: Fordert Instanzen über die Factory-Schnittstelle an und führt über Methoden oder Operatoren Lese- bzw. Schreiboperationen aus.
  • ara::shwa::Buffer: Stellt den allokierten Speicherbereich bereit und wird dem Accessor bei dessen Erzeugung als Referenz übergeben ([AP_SWS_SHWA_00007]).
  • TaskHandler: Wird bei Bedarf während der Erzeugung registriert, um Aufgaben bei der Pufferbehandlung zu koordinieren ([AP_SWS_SHWA_00008]).
diag_kontext Anwendung Anwendung ara::shwa::Accessor ara::shwa::Accessor Anwendung->ara::shwa::Accessor nutzt ara::shwa::Buffer ara::shwa::Buffer ara::shwa::Accessor->ara::shwa::Buffer referenziert TaskHandler TaskHandler ara::shwa::Accessor->TaskHandler koordiniert mit

Kontextdiagramm: Interaktionspartner von ara::shwa::Accessor. Quellen: [AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008]

Lebenszyklus

Der Lebenszyklus von ara::shwa::Accessor unterliegt strengen semantischen Einschränkungen, die ein unkontrolliertes Duplizieren oder Verschieben von Zugriffsinstanzen verhindern. Der Standardkonstruktor ist explizit gelöscht ([AP_SWS_SHWA_00002]). Ebenso sind sowohl der Kopierkonstruktor ([AP_SWS_SHWA_00003]) als auch der Move-Konstruktor ([AP_SWS_SHWA_00005]) sowie sämtliche Kopier- und Move-Zuweisungsoperatoren als gelöscht deklariert ([AP_SWS_SHWA_00004], [AP_SWS_SHWA_00006]). Eine direkte Instanziierung auf dem Stack oder eine Wertsemantik ist somit ausgeschlossen.

Die Erzeugung neuer Instanzen erfolgt ausschließlich über die statische Factory-Methode Create ([AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008]). Sie gibt ein ara::core::Result<std::unique_ptr<Accessor>> zurück, wodurch das Eigentum exklusiv an den Aufrufer übertragen wird. Das Objekt wird automatisch zerstört, sobald der besitzende std::unique_ptr seinen Gültigkeitsbereich verlässt. Die Erzeugungsmethoden sind threadsicher (thread-safe) und ausnahmesicher (exception safe) spezifiziert ([AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008]).

Bezüglich der Nebenläufigkeit im laufenden Betrieb sind die expliziten Zugriffsmethoden Get ([AP_SWS_SHWA_00012]) und Set ([AP_SWS_SHWA_00011]) als threadsicher eingestuft. Im Gegensatz dazu sind Indexzugriffe über operator[] ([AP_SWS_SHWA_00009], [AP_SWS_SHWA_00010]) sowie Eigenschaftsabfragen über HasProperty ([AP_SWS_SHWA_00015]) und GetProperty ([AP_SWS_SHWA_00016]) nicht threadsicher und bedürfen anwendungsseitiger Synchronisation.

Nutzungspfad

Ein regulärer Nutzungsablauf gliedert sich in die Objekterzeugung, die optionale Eigenschaftsprüfung und die nachfolgenden Lese- bzw. Schreiboperationen auf den Puffer:

  1. Instanziierung via Factory: Die Anwendung ruft Accessor::Create auf und übergibt die Referenz auf einen ara::shwa::Buffer sowie optional Konfigurationseigenschaften und einen TaskHandler ([AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008]). Nach Prüfung des ara::core::Result übernimmt die Anwendung den std::unique_ptr<Accessor>.
  2. Eigenschaften evaluieren: Über die Template-Methode HasProperty<PropertyT>() lässt sich abfragen, ob ein spezifisches Merkmal vorhanden ist ([AP_SWS_SHWA_00015]). Vorhandene Merkmale werden anschließend mit GetProperty<PropertyT>() ausgelesen ([AP_SWS_SHWA_00016]).
  3. Datenzugriff ausführen: Für den eigentlichen Datenaustausch stehen zwei Schnittstellenpfade bereit:
    • Methodenbasierter Zugriff: Schreibvorgänge erfolgen über Set(index, value) ([AP_SWS_SHWA_00011]), Lesevorgänge über Get(index) ([AP_SWS_SHWA_00012]), jeweils adressiert über einen dimensionalen Identifikator (Id<Dimensions>).
    • Operatorbasierter Zugriff: Der Indexoperator operator[] erlaubt die direkte Adressierung über Id<Dimensions> ([AP_SWS_SHWA_00009]) oder einen linearen Offset vom Typ std::size_t ([AP_SWS_SHWA_00010]). Der Rückgabetyp ReferenceT löst sich bei Lesezugriff zu const DataT& und bei Schreibzugriff zu DataT& auf ([AP_SWS_SHWA_00014]).
Typischer Nutzungspfad eines AccessorsAnwendungara::shwa::Accessorara::shwa::BufferCreate(bufferRef, propList)Prüfe SpeicherintegritätSpeicher bereitResult<std::unique_ptr<Accessor>>Use Case: EigenschaftsprüfungHasProperty<PropertyT>()boolUse Case: DatenzugriffSet(index, value)Schreibe DatumBestaetigungResult<void>Get(index)Lese DatumWert DataTResult<DataT>

Sequenzdiagramm: Typische Aufrufabfolge zur Pufferinteraktion via Accessor. Quellen: [AP_SWS_SHWA_00007], [AP_SWS_SHWA_00011], [AP_SWS_SHWA_00012], [AP_SWS_SHWA_00015]

Fehlerszenarien

Fehlerhafte Operationen werden über das ara::core::Result mittels Fehlercodes aus ShwaErrorCode abgebildet:

  • ShwaErrorCode::kAccessorFailure: Tritt während Create auf, wenn die Konstruktionsbedingungen oder Parameter ungültig sind ([AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008]).
  • ShwaErrorCode::kIntegrityCorrupted: Signalisiert eine verletzte Speicherintegrität des Puffers. Dies kann bei der Instanziierung ([AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008]) sowie beim Schreiben über Set auftreten ([AP_SWS_SHWA_00011]).
  • ShwaErrorCode::kInvalidIndex: Wird bei Get ([AP_SWS_SHWA_00012]) und Set ([AP_SWS_SHWA_00011]) gemeldet, wenn kein gültiger Initialwert vorliegt oder der Index außerhalb der Grenzen liegt.
  • ShwaErrorCode::kInvalidAccessMode: Tritt bei Set auf, wenn die Kombination der Zugriffsmodi ungültig ist ([AP_SWS_SHWA_00011]); dies dürfte der Fall sein, wenn ein Schreibaufruf auf einer für AccessMode::kRead instanziierten Klasse erfolgt. Frage Q-170e82f3dec16e75 (offen)
  • ShwaErrorCode::kResourceBusy: Zeigt bei Get ([AP_SWS_SHWA_00012]) und Set ([AP_SWS_SHWA_00011]) an, dass die Ressource aktuell belegt ist. Für diesen Fehler ist eine Rollback-Semantik garantiert, wodurch der vorherige Zustand erhalten bleibt.
  • ShwaErrorCode::kFeatureNotSupported: Wird zurückgegeben, wenn eine über GetProperty angeforderte Eigenschaft nicht unterstützt wird ([AP_SWS_SHWA_00016]).

Bezüglich der Ausnahmesicherheit sind Create, HasProperty und GetProperty mit noexcept deklariert und als ausnahmesicher spezifiziert ([AP_SWS_SHWA_00007], [AP_SWS_SHWA_00008], [AP_SWS_SHWA_00015], [AP_SWS_SHWA_00016]). Dagegen gelten die Datenzugriffsoperationen Get, Set sowie operator[] als nicht ausnahmesicher (not exception safe) ([AP_SWS_SHWA_00009], [AP_SWS_SHWA_00010], [AP_SWS_SHWA_00011], [AP_SWS_SHWA_00012]).

Dieser Leitfaden basiert auf der Spezifikation von ara::shwa::Accessor für AUTOSAR Adaptive Platform R25-11 und wurde automatisiert erstellt.

Mitgliederkarte

Konstruktoren und Destruktor

1

Typaliase

1

Detailansicht

Wähle in der Gliederung einen Eintrag aus.

Konstruktoren und Destruktor

Accessor function 3

Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.

Überladungen Accessor 3
Accessor ()=delete; AP_SWS_SHWA_00002
Accessor (Accessor &&)=delete; AP_SWS_SHWA_00005
Accessor (Accessor const &)=delete; AP_SWS_SHWA_00003

Methoden

Create function 2

Erzeugt beziehungsweise liefert das in der Signatur beschriebene Objekt oder Ergebnis über den angegebenen Factory-Pfad.

Überladungen 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
Get function

Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.

ara::core::Result< DataT > Get (Id< Dimensions > index);
GetProperty function

Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.

template <typename PropertyT> ara::core::Result< PropertyT > GetProperty () const noexcept;
HasProperty function

Prüft, ob die angeforderte Eigenschaft verfügbar ist.

template <typename PropertyT> bool HasProperty () const noexcept;
Set function

Schreibt den übergebenen Wert an die durch die Signatur bestimmte Stelle.

ara::core::Result< void > Set (Id< Dimensions > index, DataT value);

Operatoren

operator= function 2

Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.

Überladungen = 2
Accessor & operator= (const Accessor &)=delete; AP_SWS_SHWA_00004
Accessor & operator= (Accessor &&)=delete; AP_SWS_SHWA_00006
operator[] function 2

Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.

Überladungen [] 2
ReferenceT operator[] (Id< Dimensions > index) const; AP_SWS_SHWA_00009
ReferenceT operator[] (std::size_t index) const; AP_SWS_SHWA_00010

Typaliase

Reference T type alias

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&>;

Details

type alias Reference T [AP_SWS_SHWA_00014] Upstream: RS_SHWA_00017

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.

Scopeclass ara::shwa::Accessor

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00014
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00014@rel:R25-11#e5fa94c4
Content hash
e5fa94c4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00014
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:
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

function Accessor [AP_SWS_SHWA_00002] Upstream: RS_SHWA_00017

Accessor ()=delete;

Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.

Scopeclass ara::shwa::Accessor

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00002
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00002@rel:R25-11#87a70a59
Content hash
87a70a59
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00002
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:
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

function Accessor [AP_SWS_SHWA_00005] Upstream: RS_SHWA_00017

Accessor (Accessor &&)=delete;

Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.

Scopeclass ara::shwa::Accessor

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00005
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00005@rel:R25-11#74794dc6
Content hash
74794dc6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00005
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:
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

function operator= [AP_SWS_SHWA_00004] Upstream: RS_SHWA_00017

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

Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.

Scopeclass ara::shwa::Accessor

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00004
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00004@rel:R25-11#585a9b2c
Content hash
585a9b2c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00004
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:
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

function operator= [AP_SWS_SHWA_00006] Upstream: RS_SHWA_00017

Accessor & operator= (Accessor &&)=delete;

Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.

Scopeclass ara::shwa::Accessor

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00006
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00006@rel:R25-11#05e2d520
Content hash
05e2d520
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00006
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:
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

function Accessor [AP_SWS_SHWA_00003] Upstream: RS_SHWA_00017

Accessor (Accessor const &)=delete;

Die Spezifikation definiert diese Deklaration mit der in der Signatur ausgewiesenen Semantik.

Scopeclass ara::shwa::Accessor

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00003
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00003@rel:R25-11#65fd88e0
Content hash
65fd88e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00003
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:
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

function Create [AP_SWS_SHWA_00008] Upstream: RS_SHWA_00017, RS_SHWA_00007

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.

Scopeclass ara::shwa::Accessor
Thread Safetythread-safe rollback_semantics ShwaErrorCode::k AccessorFailure Invalid use or construction of accessors no_rollback_semantics
Exception Safetyexception safe
ErrorsShwaErrorCode::k IntegrityCorrupted The structural integrity of the memory allocated by Buffer could not be established

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00008
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00008@rel:R25-11#1b793702
Content hash
1b793702
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00008
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:
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

function Create [AP_SWS_SHWA_00007] Upstream: RS_SHWA_00017, RS_SHWA_00007

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.

Scopeclass ara::shwa::Accessor
Thread Safetythread-safe rollback_semantics ShwaErrorCode::k AccessorFailure Invalid use or construction of accessors no_rollback_semantics
Exception Safetyexception safe
ErrorsShwaErrorCode::k IntegrityCorrupted The structural integrity of the memory allocated by Buffer could not be established

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00007
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00007@rel:R25-11#08d6c117
Content hash
08d6c117
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00007
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:
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

function Get [AP_SWS_SHWA_00012] Upstream: RS_SHWA_00017, RS_SHWA_00007

ara::core::Result< DataT > Get (Id< Dimensions > index);

Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.

Scopeclass ara::shwa::Accessor
Thread Safetythread-safe rollback_semantics ShwaErrorCode::kInvalid Index The operation could not be performed because no initial value is available rollback_semantics
Exception Safetynot exception safe
ErrorsShwaErrorCode::k ResourceBusy The operation could not be performed because the resource is currently busy.

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00012
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00012@rel:R25-11#27b73e56
Content hash
27b73e56
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00012
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:
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

function GetProperty [AP_SWS_SHWA_00016] Upstream: RS_SHWA_00001, RS_SHWA_00007

template <typename PropertyT> ara::core::Result< PropertyT > GetProperty () const noexcept;

Liest die durch die Signatur bezeichnete Information oder Eigenschaft aus dem Objekt.

Scopeclass ara::shwa::Accessor
Thread Safetynot thread-safe rollback_semantics
Exception Safetyexception safe
ErrorsShwaErrorCode::k FeatureNotSupported Used when a requested feature isn’t supported

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00016
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00016@rel:R25-11#7e50eb6e
Content hash
7e50eb6e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00016
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:
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

function HasProperty [AP_SWS_SHWA_00015] Upstream: RS_SHWA_00001, RS_SHWA_00007

template <typename PropertyT> bool HasProperty () const noexcept;

Prüft, ob die angeforderte Eigenschaft verfügbar ist.

Scopeclass ara::shwa::Accessor
Thread Safetynot thread-safe
Exception Safetyexception safe

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00015
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00015@rel:R25-11#c1f7c4c8
Content hash
c1f7c4c8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00015
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:
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

function Set [AP_SWS_SHWA_00011] Upstream: RS_SHWA_00017, RS_SHWA_00007

ara::core::Result< void > Set (Id< Dimensions > index, DataT value);

Schreibt den übergebenen Wert an die durch die Signatur bestimmte Stelle.

Scopeclass ara::shwa::Accessor
Thread Safetythread-safe
Exception Safetynot exception safe
ErrorsShwaErrorCode::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.

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00011
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00011@rel:R25-11#9a134685
Content hash
9a134685
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00011
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:
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

function operator[] [AP_SWS_SHWA_00009] Upstream: RS_SHWA_00017

ReferenceT operator[] (Id< Dimensions > index) const;

Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.

Scopeclass ara::shwa::Accessor
Thread Safetynot thread-safe
Exception Safetynot exception safe

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00009
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00009@rel:R25-11#e25c660d
Content hash
e25c660d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00009
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:
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

function operator[] [AP_SWS_SHWA_00010] Upstream: RS_SHWA_00017

ReferenceT operator[] (std::size_t index) const;

Stellt die in der Signatur ausgewiesene Index- beziehungsweise Zuweisungsoperation bereit.

Scopeclass ara::shwa::Accessor
Thread Safetynot thread-safe
Exception Safetynot exception safe

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

Record
AUTOSAR/AP/record/AP_SWS_SHWA_00010
Status
valid/unmigrated
Version
AUTOSAR/AP/record/AP_SWS_SHWA_00010@rel:R25-11#a0626adf
Content hash
a0626adf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_SafeHardwareAcceleration.pdf#nameddest=AP_SWS_SHWA_00010
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:
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