DEENESPTFRRUARHIKOZHNL

namespace ara::com

User GuideAI-GEGENEREERD

Biedt basistypes, foutdomeinen en interfaces voor de servicegeoriënteerde communicatie in AUTOSAR Adaptive.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 9676f1a12dfa Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Biedt basistypes, foutdomeinen en interfaces voor de servicegeoriënteerde communicatie in AUTOSAR Adaptive.

De namespace biedt de kernbouwstenen voor servicegeoriënteerde communicatie door serviceconsumenten via proxies en serviceproviders via skeletons te koppelen (ARAComAPI §7.6 “meta-model to Implementation”). De interactie omvat asynchrone servicedetectie, methode-aanroepen met teruggave via futures en gebeurtenisabonnementen via gedefinieerde toestanden ([SWS_CM_00310]). Tot de centrale verplichtingen behoren de correcte resolutie van instantie-identificaties en het naleven van geconfigureerde monsterquota en zendintervallen ([SWS_CM_10432]).

Context

De namespace ara::com biedt de centrale types en mechanismen voor servicegeoriënteerde communicatie (Communication Management) binnen het AUTOSAR Adaptive Platform. Het architectuurmodel scheidt strikt tussen serviceconsumenten en serviceproviders: aan de consumentenzijde (R-Port) ageren client-applicaties via gegenereerde proxy-instanties (ARAComAPI §7.6 “meta-model to Implementation”), terwijl serviceproviders aan de serverzijde hun functionaliteit via skeleton-implementaties beschikbaar stellen (ARAComAPI §6.2 “Definition of BatteryState”).

Tussen proxy en skeleton bemiddelt de technische middleware (binding). Voor de identificatie en het onderscheid van individuele service-instanties dient InstanceIdentifier, waarbij via InstanceIdentifierContainer verzamelingen van concrete instanties worden beheerd ([SWS_CM_00319]). Het platform ondersteunt multi-binding-scenario's waarin abstracte model-identifiers worden herleid naar een lijst van technische bindings en instanties (ARAComAPI §6.6 “InstanceIdentifier Resolution”).

client Client (ara::com Proxy) binding Communication Management (Binding / Middleware) client->binding Dienstsuche / Methodenaufruf / Event-Abonnement binding->client Future-vervulling / event-aflevering skeleton Server (ara::com Skeleton) binding->skeleton Dispatch / Methodenaufruf skeleton->binding Methodenantwort / Event-Bereitstellung

Contextdiagram: samenspel tussen proxy, middleware-binding en skeleton bij servicecommunicatie. Bronnen: ARAComAPI §7.6 “meta-model to Implementation”, ARAComAPI §6.6 “InstanceIdentifier Resolution”, [SWS_CM_10432].

Levenscyclus

Services en communicatieverbindingen zijn in ara::com onderworpen aan duidelijk gedefinieerde toestandsmodellen. De algemene servicebeschikbaarheid wordt gerepresenteerd via de enumeratie ServiceState met de waarden kAvailable en kNotAvailable ([SWS_CM_01071]). Toestandsveranderingen kunnen met behulp van geregistreerde ServiceStateHandler worden gemonitord ([SWS_CM_01072]).

Voor gebeurtenissen (events) en velden regelt SubscriptionState de levenscyclus van een abonnement met de toestanden kNotSubscribed, kSubscriptionPending en kSubscribed ([SWS_CM_00310]). Toestandsovergangen worden asynchroon gemeld aan een SubscriptionStateChangeHandler ([SWS_CM_00311]). De overgang van kNotSubscribed naar kSubscriptionPending vindt vermoedelijk direct plaats door het verzenden van het abonnementsverzoek naar de onderliggende transport-binding. Vraag Q-60f7ecdf5768217a (open)

Aan de kant van de service-implementatie regelt MethodCallProcessingMode de concurrency van inkomende methode-aanroepen: kPoll voor handmatig pollen, kEvent voor gelijktijdige, gebeurtenisgestuurde verwerking en kEventSingleThread voor sequentiële verwerking in een enkele thread ([SWS_CM_00301]). Het monsterbeheer (samples) gebruikt aan de zenderzijde SampleAllocateePtr voor de optimalisatie van allocaties (bijv. zero-copy-benaderingen via shared memory) ([SWS_CM_00308], ARAComAPI §6.18 “Event Allocate/Send sample Binding implementer hint”) en aan de ontvangerzijde SamplePtr ([SWS_CM_10432]).

Gebruikspad

Een typische procedure voor servicegebruik verloopt via de volgende stappen:

  1. Servicedetectie: De consument initieert de zoektocht naar compatibele service-instanties. Bij beschikbaarheid levert de middleware via FindServiceHandler een ServiceHandleContainer met gevonden handles en een FindServiceHandle waarmee lopende zoekacties kunnen worden beëindigd ([SWS_CM_00383], [SWS_CM_00304]).
  2. Proxy-instantiëring: Met een passende handle wordt de proxy-instantie lokaal in de client aangemaakt (ARAComAPI §6.3 “Handling of optional data elements on Skeleton side”).
  3. Methode-aanroep: De methode-aanroep overlaadt de haakjesoperator van de methode-wrapper-klasse. Inputparameters worden doorgegeven en de aanroep levert een ara::com::Future op dat de outputparameters inkapselt (ARAComAPI §6.10 “Adjust Method Class”, ARAComAPI §6.12 “Adjust Method Class”).
  4. Resultaatverwerking: De client haalt het resultaat synchroon of asynchroon op (bijv. via get()) en controleert optionele veldelementen voorafgaand aan de toegang op hun aanwezigheid (ARAComAPI §6.3 “Handling of optional data elements on Skeleton side”).
  5. Gebeurtenisontvangst: Binnenkomende gegevens voor geabonneerde events, velden of triggers worden verwerkt via geregistreerde callbacks zoals EventReceiveHandler ([SWS_CM_00309]), FieldReceiveHandler ([SWS_CM_11615]) of TriggerReceiveHandler ([SWS_CM_00351]).
Service-Interaktion von Dienstsuche bis ErgebnisabfrageAnwendung (Client)ProxySkeleton (Server)Use Case: Servicedetectie en instantiëringFindServiceHandler registrierenServiceHandleContainer liefernProxy(handle) erzeugenUse Case: Methode-aanroep en FutureMethodenaufruf()Service-Aufruf weiterleitenara::com::Future teruggevenErgebnis bereitstellenFuture::get() aufrufenErgebnisdaten liefern

Sequentiediagram: aanroepvolgorde van servicedetectie via de methode-aanroep met future tot het ophalen van het resultaat. Bronnen: [SWS_CM_00383], [SWS_CM_00304], ARAComAPI §6.3 “Handling of optional data elements on Skeleton side”, ARAComAPI §6.10 “Adjust Method Class”.

Foutscenario's

Foutcondities in het communicatiesubsysteem worden via ComErrorDomain en de foutcodes in ComErrc in kaart gebracht ([SWS_CM_10432]). Toegang tot het domein verloopt via GetComErrorDomain() ([SWS_CM_11334]), terwijl concrete fouten via MakeErrorCode() ([SWS_CM_11335]) worden geïnstantieerd. In uitzonderingsgevallen wordt ComException geworpen.

Tot de typische foutscenario's behoren:

  • Servicebeschikbaarheid: Aanroepen naar niet-beschikbaar gestelde services leiden tot ComErrc::kServiceNotOffered of ComErrc::kServiceNotAvailable ([SWS_CM_10432]).
  • Configuratie- en instantieresolutiefouten: Als een identifier niet kan worden toegewezen aan een InstanceIdentifier, meldt het systeem ComErrc::kInstanceIDNotResolvable ([SWS_CM_10432], ARAComAPI §6.6 “InstanceIdentifier Resolution”).
  • Resource- en abonnementslimieten: Houdt een applicatie meer SamplePtr-instanties vast dan bij Subscribe() is overeengekomen, dan treedt ComErrc::kMaxSamplesExceeded op ([SWS_CM_10432]). Wijkt het maximale aantal monsters bij het opnieuw abonneren af, dan resulteert dit in ComErrc::kMaxSampleCountNotRealizable ([SWS_CM_10432]).
  • Protocol- en timingcondities: Bij netwerkfouten of fouten in veilige communicatie wordt ComErrc::kCommunicationFailure gemeld. Worden zendintervallen onderschreden, dan mislukt de transmissie met ComErrc::kMinimumSendIntervalViolationError ([SWS_CM_10432]).
  • Veldbehandeling: Niet-geïnitialiseerde veldwaarden leiden tot ComErrc::kFieldValueNotInitialized, ontbrekende set-handlers tot ComErrc::kFieldSetHandlerNotSet ([SWS_CM_10432]).

Deze handleiding is gebaseerd op de specificaties van het AUTOSAR Adaptive Platform Release R25-11.

Themakaart

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

Klassendiagram

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::com nara__com__ComErrorDomain ComErrorDomain next_ara__core__ErrorDomain ara::core::ErrorDomain nara__com__ComErrorDomain->next_ara__core__ErrorDomain nara__com__ComException ComException next_ara__core__Exception ara::core::Exception nara__com__ComException->next_ara__core__Exception nara__com__FindServiceHandle «struct» FindServiceHandle nara__com__InstanceIdentifier InstanceIdentifier nara__com__SamplePtr SamplePtr nara__com__ServiceIdentifierType ServiceIdentifierType nara__com__ServiceVersionType ServiceVersionType

Detailweergave

Kies een item in de inhoudsopgave.

Fehlerbehandlung

Defines a class representing the Communication error domain.

erft van ara::core::ErrorDomain

Defines a class for exceptions to be thrown by the API.

erft van ara::core::Exception

Returns a reference to the ara::com::ComErrorDomain object

constexpr const ara::core::ErrorDomain & GetComErrorDomain () noexcept;

Creates an instance of ara::core::ErrorCode

ComErrc enumeratie

Defines the error codes for the ara::com::ComErrorDomain

enum class ComErrc : ara::core::ErrorDomain::CodeType {...};

Dienstidentität

Unique identifier of a specific AdaptivePlatformServiceInstance, to distinguish different instances of exactly the same service

Specifies a Service Identifier The exact type may be overridden by the Communication Management software provider

Specifies a Service Version

Holds a list of ara::com::InstanceIdentifiers. The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30] A ara::core::Vector ([SWS_CORE_01301]) for example fulfills these requirements.

using InstanceIdentifierContainer = ara::core::Vector<Instance Identifier>;

Dienstsuche

The exact definition of ara::com::FindServiceHandle is Communication Management implementation specific

Callback function invoked if service availability changes. It takes as input parameter a handle container containing handles for all matching service instances and a ara::com:: FindServiceHandle which can be used to invoke StopFindService() from within the ara::com::FindServiceHandler.

using FindServiceHandler = std::function<void(ServiceHandle Container<T>, FindServiceHandle)>;

Holds a list of service handles and is used as a return value of any of the FindService() methods) • [SWS_CM_00122] • [SWS_CM_00622] . The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30]. A ara::core::Vector ([SWS_CORE_ 01301]) for example fulfills these requirements.

using ServiceHandleContainer = ara::core::Vector<T>;

Datenempfang

SamplePtr klasse

Emulates a std::unique_ptr to an event sample. The ara::com::SamplePtr behaves as a std::unique_ptr as long as the event/ field is subscrib ≙ std::unique_ptr

The subscription state of an event.

enum class SubscriptionState : std::uint8_t {...};

Callback function invoked if new event data arrives for an event. The event receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory. ≙ std::function

using EventReceiveHandler = std::function<void()>;

Callback function invoked if a new notification arrives for a field. The field receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory. ≙ std::function

using FieldReceiveHandler = std::function<void()>;

Pointer to an allocated (by Communication Management) data sample. The implementation is allowed to be changed by the Communication Management software provider.

using SampleAllocateePtr = std::unique_ptr<T>;

Callback function invoked if ara::com::SubscriptionState of an event has changed.

using SubscriptionStateChangeHandler = std::function<void(Subscription State)>;

A function wrapper for the handler function that gets called in case a new trigger arrives for an event. The trigger receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory. ≙ std::function

using TriggerReceiveHandler = std::function<void()>;

Dienstzustand

Processing modes for the service implementation.

enum class MethodCallProcessingMode : std::uint8_t {...};
ServiceState enumeratie

The state of the service from GetServiceState()

enum class ServiceState : std::uint8_t {...};

Functor used as input arguments for any of the SetServiceStateChangeHandler() methods: • [SWS_CM_01074] • [SWS_CM_01076]

using ServiceStateHandler = std::function<void(ServiceState)>;

Enumeraties

enumeratie ComErrc [SWS_CM_10432] Upstream: RS_AP_00130, RS_AP_00122, RS_AP_00127

enum class ComErrc :         ara::core::ErrorDomain::CodeType {...};

Defines the error codes for the ara::com::ComErrorDomain

Header-Datei#include "ara/com/com_error_domain.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolComErrc
Basistypara::core::ErrorDomain::CodeType

Werte

EnumeratorBeschreibung
kServiceNotAvailable=1 Service is not available after being previously offered via Offer
Service()
kMaxSamplesExceeded=2 Application holds more ara::com::SamplePtrs than commited in Subscribe() Samples were possibly skipped.
kCommunicationFailure=3 The network binding reported a recoverable communications error or a secure communication failure
kFieldValueNotInitialized=6 Field value has yet not been initialized via Update() (see [SWS_CM_00128]
kFieldSetHandlerNotSet=7 Field SetHandler has not been registered via RegisterSet Handler()
kServiceNotOffered= 11 Service has not yet been offered via OfferService()
kInstanceIDNotResolvable= 15 The ara::core::InstanceSpecifier is valid but could not be resolved/mapped to an existing ara::com:: InstanceIdentifier
kMaxSampleCountNotRealizable= 16 Provided maxSampleCount for event re-subscription does not match the maxSampleCount for the current subscription
kUnknownApplicationError= 22 A remote service returned an unconfigured application error.
kMinimumSendIntervalViolationError= 23 Minimum Send Interval violation, because a transmission request for a service instance element (event, field or method call) was issued faster than allowed, i.e., the configured minimum send interval ServiceInterfaceDeploymentElement. minimumSendInterval for the service instance element has not yet expired.
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 67f5508c5e1b Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De enumeratie ComErrc definieert volgens [SWS_CM_10432] de gestandaardiseerde foutcodes van ara::com::ComErrorDomain voor herstelbare fouten (Recoverable Errors) conform EXP ARAComAPI §2 “Recoverable Errors”. Deze wordt in retourtypes zoals ara::core::Result of ara::core::Future door synchrone en asynchrone API's van Communication Management getransporteerd om functionele foutoorzaken in de client- of servercontext nauwkeurig te signaleren.

De enumerators dekken specifieke foutgevallen af langs de levenscyclus van diensten en de gegevensoverdracht:

  • Levenscyclus van diensten en binding: kServiceNotOffered geeft aan dat een dienst nog niet via OfferService() beschikbaar is gesteld ([SWS_CM_00101]), terwijl kServiceNotAvailable het tussentijdse verlies signaleert. kInstanceIDNotResolvable treedt op wanneer een InstanceSpecifier niet kan worden opgelost ([SWS_CM_00118]).
  • Event- en sample-abonnementen: kMaxSamplesExceeded waarschuwt voor het overschrijden van toegezegde SamplePtr-quota, en kMaxSampleCountNotRealizable meldt niet-passende waarden bij het opnieuw aanmelden via [SWS_CM_00141].
  • Velden en overdracht: kFieldValueNotInitialized wijst op een ontbrekende initialisatie vóór Update() ([SWS_CM_00119]), kFieldSetHandlerNotSet op een ontbrekende setter-handler. Lokale netwerkproblemen, bijvoorbeeld bij het verzenden van triggers via [SWS_CM_00721], leiden tot kCommunicationFailure ([SWS_CM_10517]). Bovendien bestraffen kMinimumSendIntervalViolationError schendingen van de kloksnelheid en kUnknownApplicationError onverwachte serverfouten ([SWS_CM_10432]).

Als puur opsommingstype heeft ComErrc geen eigen toestand; lees- en vergelijkingsbewerkingen op foutwaarden zijn daarom vermoedelijk thread-safe in de aanroepende thread. Vraag Q-013822ee5711df2b (open) De daadwerkelijke foutcontrole is de verantwoordelijkheid van de applicatie na evaluatie van het desbetreffende resultaatobject.

Deze tekst is opgesteld en gecureerd door een AI.

Implementer's Guide volgt (complexiteit I3)

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

Record
AUTOSAR/AP/record/SWS_CM_10432
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10432@rel:R25-11#a69dead8
Content hash
a69dead8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10432
Status: valid/unmigrated Version: rel:R25-11#a1bb25ac 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_10432@rel:R25-11#a1bb25ac
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0540727f2026-09-30
  • R19-11rel:R19-11#e85687322026-10-14
  • R20-11rel:R20-11#d76a076f2026-10-14
  • R21-11rel:R21-11#bba466f32026-10-14
  • R22-11rel:R22-11#defb05652026-10-14
  • R23-11rel:R23-11#6109561d2026-10-14
  • R24-11rel:R24-11#75455b1d2026-10-14
  • R25-11rel:R25-11#a1bb25ac2026-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

enumeratie MethodCallProcessingMode [SWS_CM_00301] Upstream: RS_CM_00211

enum class MethodCallProcessingMode :               std::uint8_t {...};

Processing modes for the service implementation.

Header-Datei#include "ara/com/types.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolMethodCallProcessingMode
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kPollPolling mode
kEventEvent driven and concurrent mode
kEventSingleThreadEvent driven, sequential mode
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: ef6d7e9a36c3 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De enumeratie ara::com::MethodCallProcessingMode definieert de verwerkingsmodi voor inkomende methodeaanroepen op een service-instantie [SWS_CM_00301]. Deze wordt als parameter doorgegeven aan de constructoren van de skeleton-klassen, waarbij de standaardwaarde ara::com::MethodCallProcessingMode::kEvent is voorgeschreven [SWS_CM_00130], [SWS_CM_00152], [SWS_CM_00153].

De enumerators besturen de concurrency en de uitvoeringscontext van de service-methoden [SWS_CM_00301]:

  • kPoll: Polling-modus. Inkomende aanroepen van service-consumenten worden niet automatisch uitgevoerd. De service-implementatie bestuurt de uitvoering ervan actief via de aanroep van ProcessNextMethodCall() [SWS_CM_00199]. De openstaande methode wordt synchroon in de context van deze aanroep afgehandeld. Dit waarborgt de volledige controle over thread- en contextwissels aan servicezijde ARAComAPI §6.3.3 “Event Buffering Approaches”.
  • kEvent: Gebeurtenisgestuurde en concurrente modus voor de parallelle verwerking van inkomende aanroepen.
  • kEventSingleThread: Gebeurtenisgestuurde, sequentiële modus voor de individuele uitvoering van methodeaanroepen.

Foutafhandeling en beperkingen:

  • Wordt er een ontoelaatbare modus doorgegeven aan een skeleton-constructor, dan treedt de schending WrongMethodCallProcessingModeViolation op [SWS_CM_00130], [SWS_CM_00153].
  • De aanroep van ProcessNextMethodCall() op een skeleton die met kEvent is geconstrueerd, leidt eveneens tot een WrongMethodCallProcessingModeViolation [SWS_CM_00199] (interpretatie: dit geldt vermoedelijk eveneens voor kEventSingleThread, aangezien de methode alleen voor kPoll is voorzien). Vraag Q-bcd9f07119db44fb (open)

Deze gebruiksinstructie is geautomatiseerd gegenereerd op basis van de AUTOSAR-specificaties.

Implementer's Guide volgt (complexiteit I2)

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

Record
AUTOSAR/AP/record/SWS_CM_00301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00301@rel:R25-11#c0e315a0
Content hash
c0e315a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00301
Status: valid/unmigrated Version: rel:R25-11#80be2356 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_00301@rel:R25-11#80be2356
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0d3dccbc2026-09-30
  • R19-11rel:R19-11#25b194492026-10-14
  • R20-11rel:R20-11#25b194492026-10-14
  • R21-11rel:R21-11#0ad7b7102026-10-14
  • R22-11rel:R22-11#0ad7b7102026-10-14
  • R23-11rel:R23-11#6f47e07b2026-10-14
  • R24-11rel:R24-11#80be23562026-10-14
  • R25-11rel:R25-11#80be23562026-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

enumeratie ServiceState [SWS_CM_01071]

enum class ServiceState :            std::uint8_t {...};

The state of the service from GetServiceState()

Header-Datei#include "ara/com/types.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolServiceState
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kNotAvailable=0 Service is not available
kAvailable=1 Service is available

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

Record
AUTOSAR/AP/record/SWS_CM_01071
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01071@rel:R25-11#3e5c4b17
Content hash
3e5c4b17
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01071
Status: valid/unmigrated Version: rel:R25-11#b7ec2dcd Versionshistorie & Revisions (1 transition, 5 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_01071@rel:R25-11#b7ec2dcd
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#8a4f13912026-09-30
  • R22-11rel:R22-11#e2b5988f2026-10-14
  • R23-11rel:R23-11#e2b5988f2026-10-14
  • R24-11rel:R24-11#e3fd192b2026-10-14
  • R25-11rel:R25-11#b7ec2dcd2026-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

enumeratie SubscriptionState [SWS_CM_00310] Upstream: RS_CM_00103, RS_CM_00104, RS_CM_00106

enum class SubscriptionState :              std::uint8_t {...};

The subscription state of an event.

Header-Datei#include "ara/com/types.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com
SymbolSubscriptionState
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kSubscribedSubscription is active
kNotSubscribedSubscription is not active
kSubscriptionPendingSubscription is pending
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: c356f26fdfb2 Herkomst
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De enumeratie SubscriptionState [SWS_CM_00310] vertegenwoordigt in de namespace ara::com op basis van het type std::uint8_t de actuele toestand van een abonnement. Deze definieert drie afzonderlijke toestanden:

  • kNotSubscribed: Het abonnement is inactief.
  • kSubscriptionPending: Het abonnement is nog in behandeling of de verbinding wordt hersteld na een uitval.
  • kSubscribed: Het abonnement is actief.

Voor synchroon opvragen dient de methode GetSubscriptionState(), die beschikbaar wordt gesteld op proxy-events [SWS_CM_00316], proxy-fields [SWS_CM_11604] en triggers [SWS_CM_01105] alsook skeleton-triggers [SWS_CM_01109]. Al deze opvraagfuncties zijn gedeclareerd als noexcept en waarborgen volledige uitzonderingsveiligheid.

Voor asynchrone reacties op statuswijzigingen kunnen applicaties via SetSubscriptionStateChangeHandler() een callback van het type SubscriptionStateChangeHandler registreren [SWS_CM_00311] [SWS_CM_00333]. Indien een ongeldige of lege handler wordt doorgegeven, treedt de schending InvalidHandlerViolation op [SWS_CM_00333]. Het deregistreren vindt plaats via UnsetSubscriptionStateChangeHandler() [SWS_CM_00334]. Via een template-overload met ExecutorT kan bovendien de uitvoeringscontext voor de callback worden vastgelegd [SWS_CM_11354].

In de levenscyclus van een proxy-instantie is SubscriptionState nauw verweven met de automatische actualisering: valt een service-instantie uit, dan mislukken methodeaanroepen en levert GetSubscriptionState() voor eerder geabonneerde events kSubscriptionPending ARAComAPI §6.1 “Auto Updating of Proxy Instance”. Zodra de service-instantie via de Service Discovery weer bereikbaar is, actualiseert het communicatiebeheer de verbinding transparant; GetSubscriptionState() levert daarop automatisch weer kSubscribed AUTOSAR_AP_EXP_ARAComAPI §5.3.5.2. Het handmatig opnieuw aanmaken van de proxy of opnieuw abonneren is daarbij niet vereist.

Deze tekst is gegenereerd door een AI en dient ter oriënterende aanvulling op de AUTOSAR-specificatie.

Implementer's Guide volgt (complexiteit I3)

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

Record
AUTOSAR/AP/record/SWS_CM_00310
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00310@rel:R25-11#866a4cc4
Content hash
866a4cc4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00310
Status: valid/unmigrated Version: rel:R25-11#7680ddc8 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_00310@rel:R25-11#7680ddc8
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#316fa4842026-09-30
  • R19-11rel:R19-11#783a62a12026-10-14
  • R20-11rel:R20-11#783a62a12026-10-14
  • R21-11rel:R21-11#149257f62026-10-14
  • R22-11rel:R22-11#149257f62026-10-14
  • R23-11rel:R23-11#27673e7a2026-10-14
  • R24-11rel:R24-11#7680ddc82026-10-14
  • R25-11rel:R25-11#7680ddc82026-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

Typealiassen

typealias EventReceiveHandler [SWS_CM_00309] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120

using EventReceiveHandler = std::function<void()>;

Callback function invoked if new event data arrives for an event. The event receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolEventReceiveHandler

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

Record
AUTOSAR/AP/record/SWS_CM_00309
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00309@rel:R25-11#b6898388
Content hash
b6898388
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00309
Status: valid/unmigrated Version: rel:R25-11#223e8e61 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_00309@rel:R25-11#223e8e61
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7b6d05552026-09-30
  • R19-11rel:R19-11#395af5f02026-10-14
  • R20-11rel:R20-11#395af5f02026-10-14
  • R21-11rel:R21-11#db7e05e52026-10-14
  • R22-11rel:R22-11#395af5f02026-10-14
  • R23-11rel:R23-11#2779dae62026-10-14
  • R24-11rel:R24-11#dcc5017d2026-10-14
  • R25-11rel:R25-11#223e8e612026-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

typealias FieldReceiveHandler [SWS_CM_11615] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120

using FieldReceiveHandler = std::function<void()>;

Callback function invoked if a new notification arrives for a field. The field receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolFieldReceiveHandler

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

Record
AUTOSAR/AP/record/SWS_CM_11615
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11615@rel:R25-11#76d4a332
Content hash
76d4a332
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11615
Status: valid/unmigrated Version: rel:R25-11#799baa76 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_11615@rel:R25-11#799baa76
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cfafcfd52026-09-30
  • R24-11rel:R24-11#fae206d62026-10-14
  • R25-11rel:R25-11#799baa762026-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

typealias FindServiceHandler [SWS_CM_00383] Upstream: RS_CM_00102

using FindServiceHandler = std::function<void(ServiceHandle Container<T>, FindServiceHandle)>;

Callback function invoked if service availability changes. It takes as input parameter a handle container containing handles for all matching service instances and a ara::com:: FindServiceHandle which can be used to invoke StopFindService() from within the ara::com::FindServiceHandler.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolFindServiceHandler

Template-Parameter

ParameterBeschreibung
TData type of data sample
Siehe auch: [SWS_CM_00125]

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

Record
AUTOSAR/AP/record/SWS_CM_00383
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00383@rel:R25-11#a5c14ee0
Content hash
a5c14ee0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00383
Status: valid/unmigrated Version: rel:R25-11#4bb13392 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_00383@rel:R25-11#4bb13392
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5bc754b22026-09-30
  • R19-11rel:R19-11#e9374da52026-10-14
  • R20-11rel:R20-11#e9374da52026-10-14
  • R21-11rel:R21-11#e9374da52026-10-14
  • R22-11rel:R22-11#10a374092026-10-14
  • R23-11rel:R23-11#40b111b32026-10-14
  • R24-11rel:R24-11#29b459892026-10-14
  • R25-11rel:R25-11#4bb133922026-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

typealias InstanceIdentifierContainer [SWS_CM_00319] Upstream: RS_CM_00101, RS_CM_00102, RS_AP_00114, RS_AP_00122

using InstanceIdentifierContainer = ara::core::Vector<Instance Identifier>;

Holds a list of ara::com::InstanceIdentifiers. The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30] A ara::core::Vector ([SWS_CORE_01301]) for example fulfills these requirements.

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolInstanceIdentifierContainer

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

Record
AUTOSAR/AP/record/SWS_CM_00319
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00319@rel:R25-11#48f5ca33
Content hash
48f5ca33
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00319
Status: valid/unmigrated Version: rel:R25-11#fa8d6921 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_00319@rel:R25-11#fa8d6921
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ef7a629e2026-09-30
  • R19-11rel:R19-11#a868f3472026-10-14
  • R20-11rel:R20-11#92724e662026-10-14
  • R21-11rel:R21-11#431357ea2026-10-14
  • R22-11rel:R22-11#2ac28cb72026-10-14
  • R23-11rel:R23-11#bc0629c32026-10-14
  • R24-11rel:R24-11#e851c8ff2026-10-14
  • R25-11rel:R25-11#fa8d69212026-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

typealias SampleAllocateePtr [SWS_CM_00308] Upstream: RS_CM_00201

using SampleAllocateePtr = std::unique_ptr<T>;

Pointer to an allocated (by Communication Management) data sample. The implementation is allowed to be changed by the Communication Management software provider.

The precondition defined in [SWS_CM_00086] must be fulfilled. Otherwise it is considered a violation.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolSampleAllocateePtr

Template-Parameter

ParameterBeschreibung
TData type of data sample

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

Record
AUTOSAR/AP/record/SWS_CM_00308
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00308@rel:R25-11#0b2cdb9e
Content hash
0b2cdb9e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00308
Status: valid/unmigrated Version: rel:R25-11#039f8d79 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_00308@rel:R25-11#039f8d79
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#adf0f02d2026-09-30
  • R19-11rel:R19-11#5ad593f62026-10-14
  • R20-11rel:R20-11#5ad593f62026-10-14
  • R21-11rel:R21-11#5ad593f62026-10-14
  • R22-11rel:R22-11#5ad593f62026-10-14
  • R23-11rel:R23-11#2153a31d2026-10-14
  • R24-11rel:R24-11#039f8d792026-10-14
  • R25-11rel:R25-11#039f8d792026-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

typealias ServiceHandleContainer [SWS_CM_00304] Upstream: RS_CM_00102

using ServiceHandleContainer = ara::core::Vector<T>;

Holds a list of service handles and is used as a return value of any of the FindService() methods) • [SWS_CM_00122] • [SWS_CM_00622] . The assigned data type is allowed to be changed by the Communication Management software provider, but must adhere to [container.requirements.general] and [sequence.reqmts] requirements as per [30]. A ara::core::Vector ([SWS_CORE_ 01301]) for example fulfills these requirements.

Literaturverzeichnis SWS CommunicationManagement: [30] ISO/IEC 14882:2014, Information technology – Programming languages – C++ – www.iso.org

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolServiceHandleContainer

Template-Parameter

ParameterBeschreibung
Tservice handle

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

Record
AUTOSAR/AP/record/SWS_CM_00304
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00304@rel:R25-11#a143f0d7
Content hash
a143f0d7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00304
Status: valid/unmigrated Version: rel:R25-11#6d2b7cf6 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_00304@rel:R25-11#6d2b7cf6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7afe7d372026-09-30
  • R19-11rel:R19-11#5e4ae44f2026-10-14
  • R20-11rel:R20-11#f25f37592026-10-14
  • R21-11rel:R21-11#be1867dc2026-10-14
  • R22-11rel:R22-11#5d1adbf22026-10-14
  • R23-11rel:R23-11#156ff0142026-10-14
  • R24-11rel:R24-11#19b088802026-10-14
  • R25-11rel:R25-11#6d2b7cf62026-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

typealias ServiceStateHandler [SWS_CM_01072]

using ServiceStateHandler = std::function<void(ServiceState)>;

Functor used as input arguments for any of the SetServiceStateChangeHandler() methods: • [SWS_CM_01074] • [SWS_CM_01076]

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolServiceStateHandler

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

Record
AUTOSAR/AP/record/SWS_CM_01072
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01072@rel:R25-11#7d74aaee
Content hash
7d74aaee
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01072
Status: valid/unmigrated Version: rel:R25-11#6c72f419 Versionshistorie & Revisions (1 transition, 5 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_01072@rel:R25-11#6c72f419
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#c869ffc22026-09-30
  • R22-11rel:R22-11#152adeba2026-10-14
  • R23-11rel:R23-11#152adeba2026-10-14
  • R24-11rel:R24-11#720d0f2a2026-10-14
  • R25-11rel:R25-11#6c72f4192026-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

typealias SubscriptionStateChangeHandler [SWS_CM_00311] Upstream: RS_CM_00103, RS_CM_00104, RS_CM_00106

using SubscriptionStateChangeHandler = std::function<void(Subscription State)>;

Callback function invoked if ara::com::SubscriptionState of an event has changed.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolSubscriptionStateChangeHandler
DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: e8a7f7be42ec Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De type-alias SubscriptionStateChangeHandler in de namespace ara::com is gedeclareerd als std::function<void(SubscriptionState)> in het headerbestand ara/com/types.h ([SWS_CM_00311]). Deze specificeert de functiesignatuur voor applicatie-eigen callbacks die worden getriggerd zodra de ara::com::SubscriptionState van een geabonneerd proxy-event verandert ([SWS_CM_00311], EXP_ARAComAPI §5.3 “Proxy Class API’s”). Bij de aanroep wordt de nieuwe abonnementstoestand direct als parameter meegegeven; een retourwaarde is niet voorzien ([SWS_CM_00311]).

De registratie van de handler verloopt via de methode SetSubscriptionStateChangeHandler() van de desbetreffende proxy-klasse (EXP_ARAComAPI §5.3.1 “Proxy Class API’s”, EXP_ARAComAPI §5.3 “Proxy Class API’s”). Deze bewerking retourneert een ara::core::Result<void> (EXP_ARAComAPI §5.3 “Proxy Class API’s”), waarmee applicatieontwikkelaars mogelijke fouten bij de registratie synchroon kunnen controleren. Het gericht verwijderen van de geregistreerde callback gebeurt via de aanroep van UnsetSubscriptionStateChangeHandler() conform [SWS_CM_00334] (EXP_ARAComAPI §1 “Introduction”, EXP_ARAComAPI §5.3.1 “Proxy Class API’s”).

Wat betreft het verloop en de gelijktijdigheid vindt de statusnotificatie asynchroon plaats. De aanroep van de handler zal vermoedelijk in de thread-context van de communicatie-infrastructuur plaatsvinden (interpretatie). Vraag Q-8dda0cd4de0070bf (open) Daarom moet de implementatie van de callback snel terugkeren en re-entrant resp. thread-safe zijn opgebouwd. Het samenspel van de handler sluit nauw aan op de levenscyclus van het event-abonnement, met name in combinatie met Subscribe(), Unsubscribe() en GetSubscriptionState() (EXP_ARAComAPI §5.3.1 “Proxy Class API’s”).

Deze tekst is opgesteld door een AI; deze vervangt niet het lezen van de specificatie.

Implementer's Guide volgt (complexiteit I2)

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

Record
AUTOSAR/AP/record/SWS_CM_00311
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00311@rel:R25-11#493a1756
Content hash
493a1756
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00311
Status: valid/unmigrated Version: rel:R25-11#21ac17ff 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_00311@rel:R25-11#21ac17ff
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ee97a2592026-09-30
  • R19-11rel:R19-11#e22ba4e32026-10-14
  • R20-11rel:R20-11#e22ba4e32026-10-14
  • R21-11rel:R21-11#e22ba4e32026-10-14
  • R22-11rel:R22-11#e22ba4e32026-10-14
  • R23-11rel:R23-11#5878c7452026-10-14
  • R24-11rel:R24-11#287ce5e32026-10-14
  • R25-11rel:R25-11#21ac17ff2026-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

typealias TriggerReceiveHandler [SWS_CM_00351] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120

using TriggerReceiveHandler = std::function<void()>;

A function wrapper for the handler function that gets called in case a new trigger arrives for an event. The trigger receiver must provide the function implementation which is not required to be re-entrant. Usage of std::function is recommended but not mandatory.

Header-Datei#include "ara/com/types.h"
Scopenamespace ara::com
SymbolTriggerReceiveHandler

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

Record
AUTOSAR/AP/record/SWS_CM_00351
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00351@rel:R25-11#45d9210a
Content hash
45d9210a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00351
Status: valid/unmigrated Version: rel:R25-11#fc6a9105 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_00351@rel:R25-11#fc6a9105
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#7e62cd342026-09-30
  • R21-11rel:R21-11#4d5accb82026-10-14
  • R22-11rel:R22-11#7e2a7c042026-10-14
  • R23-11rel:R23-11#9b69b1902026-10-14
  • R24-11rel:R24-11#f8c62c622026-10-14
  • R25-11rel:R25-11#fc6a91052026-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

Documentatie van de vrije functies

functie GetComErrorDomain [SWS_CM_11334] Upstream: RS_AP_00120, RS_AP_00130

constexpr const ara::core::ErrorDomain & GetComErrorDomain () noexcept;

Returns a reference to the ara::com::ComErrorDomain object

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 0c734de51692 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

Gebruik

De globale functie GetComErrorDomain in de namespace ara::com stelt een referentie naar het foutdomeinobject ara::com::ComErrorDomain beschikbaar [SWS_CM_11334]. De declaratie is via de header ara/com/com_error_domain.h ingebonden en vindt plaats als een synchrone, parameterloze aanroep SWS CommunicationManagement §8.12.3.1.1 “GetComErrorDomain”. Als retourwaarde levert de functie een constante referentie van het type const ara::core::ErrorDomain& op, die het communicatiefoutdomein in het systeem vertegenwoordigt.

Foutafhandeling en exception-veiligheid

De interface is expliciet gedeclareerd als noexcept en geldt als uitzonderingsveilig (exception safe) [SWS_CM_11334]. Aangezien de functieaanroep altijd slaagt, treden er geen runtime-fouten op. Aanroepers hoeven daarom geen foutafhandeling voor de functieaanroep zelf te voorzien. Specifieke foutcodes, terugmeldingskanalen of meldingen aan DET of DEM zijn voor dit opvragen niet gedefinieerd in de specificatie.

Gelijktijdigheid en wisselwerking

Dankzij de declaratie met constexpr en noexcept is de functie vermoedelijk toestandloos, vrij van neveneffecten alsook onbeperkt re-entrant en thread-safe; vermoedelijk kan deze ook tijdens compile-time worden uitgevoerd. Vraag Q-21aafe1fdcb5997b (open) Het beschikbaar gestelde foutdomein dient in het totale systeem als referentie-instantie om foutcodes uit operaties van het Communication Management aan de hand van hun domeinlidmaatschap te verifiëren en af te bakenen van andere foutbronnen [SWS_CM_11334].

Deze gebruiksinstructie is gegenereerd door een AI op basis van de specificatie AUTOSAR R25-11.

Implementer's Guide volgt (complexiteit I1)

Header-Datei#include "ara/com/com_error_domain.h"
Scopenamespace ara::com
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
const ara::core::ErrorDomain &Reference to the ara::com::ComErrorDomain object

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

Record
AUTOSAR/AP/record/SWS_CM_11334
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11334@rel:R25-11#fa2e59b9
Content hash
fa2e59b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11334
Status: valid/unmigrated Version: rel:R25-11#540ecd6a Versionshistorie & Revisions (1 transition, 7 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_11334@rel:R25-11#540ecd6a
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#84138e222026-09-30
  • R20-11rel:R20-11#6ab718532026-10-14
  • R21-11rel:R21-11#86c8bf622026-10-14
  • R22-11rel:R22-11#d0609f3d2026-10-14
  • R23-11rel:R23-11#93b5f2792026-10-14
  • R24-11rel:R24-11#8fd9abb62026-10-14
  • R25-11rel:R25-11#540ecd6a2026-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

functie MakeErrorCode [SWS_CM_11335] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00130

constexpr ara::core::ErrorCode MakeErrorCode (ara::com::ComErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Creates an instance of ara::core::ErrorCode

DOOR AI GEGENEREERD ongecontroleerd Model: gemini-3.8-flash-medium · Inspanning: medium · Temperatuur: niet regelbaar · Prompt: 43b1024d6785 Herkomst Open vragen (1)
vertaald uit de Duitse handleidinggemini-3.8-flash-low · 2026-10-13 · Duits origineel

De hulpfunctie ara::com::MakeErrorCode dient voor het creëren van een instantie van ara::core::ErrorCode ([SWS_CM_11335], SWS CommunicationManagement §8.12.3.1.2 “MakeErrorCode”). Deze wordt via het headerbestand #include "ara/com/com_error_domain.h" in de namespace ara::com gedeclareerd. Als invoerparameters accepteert deze het foutnummer code van het type ara::com::ComErrc evenals fabrikantspecifieke aanvullende gegevens data van het type ara::core::ErrorDomain::SupportDataType en retourneert het overeenkomstige foutobject synchroon.

Wat betreft de uitvoeringsveiligheid is de functie gespecificeerd als noexcept en uitdrukkelijk geclassificeerd als exceptieveilig („exception safe”) ([SWS_CM_11335]). Runtimemeldingen via DET of DEM zijn voor deze hulpfunctie niet voorzien, aangezien deze uitsluitend dient voor de constructie van foutobjecten. Op grond van de declaratie als constexpr en noexcept zal de functie vermoedelijk vrij van neveneffecten en re-entrant zijn, waardoor aanroepen ook tijdens compilatietijd en vanuit gelijktijdige contexten zijn toegestaan. Vraag Q-43f118920f402d86 (open)

Het architectuurpatroon volgt het platformbrede foutmodel van Adaptive AUTOSAR en wordt voor aangrenzende functionele domeinen analoog beschikbaar gesteld: voor de end-to-end-beveiliging bestaat de functie ara::com::e2e::MakeErrorCode ([SWS_CM_12511], SWS CommunicationManagement §8.15.2.1.2 “MakeErrorCode”), terwijl voor beveiligingsfuncties apext::com::secoc::MakeErrorCode ter beschikking staat ([SWS_CM_12522], SWS CommunicationManagement §C.2.2.1.2 “MakeErrorCode”).

Deze tekst is gegenereerd door een AI en dient als oriëntatiehulp.

Implementer's Guide volgt (complexiteit I2)

Header-Datei#include "ara/com/com_error_domain.h"
Scopenamespace ara::com
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
codeError code number.
dataVendor defined data associated with the error

Rückgabewert

TypBeschreibung
ara::core::ErrorCodeAn ara::core::ErrorCode object.

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

Record
AUTOSAR/AP/record/SWS_CM_11335
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11335@rel:R25-11#dba81310
Content hash
dba81310
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11335
Status: valid/unmigrated Version: rel:R25-11#ed0a7b5c Versionshistorie & Revisions (1 transition, 7 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_11335@rel:R25-11#ed0a7b5c
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#e57005e72026-09-30
  • R20-11rel:R20-11#3105d5f82026-10-14
  • R21-11rel:R21-11#14964c692026-10-14
  • R22-11rel:R22-11#d4a3decc2026-10-14
  • R23-11rel:R23-11#abab96942026-10-14
  • R24-11rel:R24-11#555364d52026-10-14
  • R25-11rel:R25-11#ed0a7b5c2026-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