DEENESPTFRRUARHIKOZHNL

clase <SI-Namespace>::proxy::fields::<Field>

[SWS_CM_00008] Upstream: RS_CM_00216, RS_AP_00114

class <Field> final {...};

Service proxy Field class, one for each Field defined in the ServiceInterface in the role field.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Forwarding-Header#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy/<SiShortname>_proxy_fwd.h"
Scopenamespace <SI-Namespace>::proxy::fields

Guía del usuarioGENERADO POR IA

Permite a las aplicaciones cliente consultar, modificar y supervisar mediante suscripción un campo de servicio de forma asíncrona.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 7495b8cd48c6 Procedencia Preguntas abiertas (2)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Permite a las aplicaciones cliente consultar, modificar y supervisar mediante suscripción un campo de servicio de forma asíncrona.

La clase actúa como interfaz del lado del cliente para acceder a un campo definido en ServiceInterface y agrupa funciones getter, setter y de notificación. Mediante [SWS_CM_00112] y [SWS_CM_00113] se pueden consultar y modificar valores de forma asíncrona, siempre que las operaciones correspondientes estén modeladas. Para las actualizaciones del campo se utiliza un mecanismo de caché basado en suscripción que almacena temporalmente las notificaciones y las reenvía a través de controladores de retrollamada. Una condición de contorno esencial es el respeto de los intervalos mínimos de envío, así como la ausencia de semántica de reversión en los accesos de escritura.

Contexto

En la gestión de comunicaciones de la AUTOSAR Adaptive Platform (ara::com), la clase <SI-Namespace>::proxy::fields::<Field> representa un campo (Field) individual modelado en la Service-Interface en el lado del cliente o proxy. La clase centraliza el acceso a valores de atributos y combina tres roles funcionales: la consulta del valor actual (Getter), la modificación del valor (Setter) y la recepción de cambios de valor asíncronos (Notifier) (AUTOSAR_AP_EXP_ARAComAPI p. 10). Actúa como interfaz entre la aplicación cliente y la capa de comunicación subyacente (Network Binding).

Las operaciones disponibles en la instancia vienen determinadas por la definición de la Service-Interface: el método Get() solo se genera si Field.hasGetter == TRUE está configurado [SWS_CM_00112]. El método Set() solo está disponible en caso de que se cumpla Field.hasSetter == TRUE [SWS_CM_00113]. El tipo de datos concreto del campo se mapea de forma tipificada mediante el alias de tipo proporcionado FieldType [SWS_CM_11403].

Ciclo de vida

Los objetos de campo se instancian como miembros de la clase proxy superior. Por consiguiente, se asume que su tiempo de vida está directamente ligado al ciclo de vida de la instancia de proxy correspondiente. Pregunta Q-22443af0e2e4cfab (abierta) Para el mecanismo Notifier basado en eventos, la instancia atraviesa un ciclo de vida de suscripción claramente regulado:

  • No suscrito: inicialmente, el campo se encuentra en el estado kNotSubscribed.
  • Suscripción solicitada: mediante la llamada síncrona a Subscribe(maxSampleCount) [SWS_CM_11601], se configura el búfer y se inicia el registro. El Notifier pasa a kSubscriptionPending o, tras la confirmación por parte de la capa de comunicación, a kSubscribed, realizándose previsiblemente esta transición de estado de manera asíncrona. Pregunta Q-67af35e88035c41c (abierta)
  • Suscripción finalizada: mediante Unsubscribe() [SWS_CM_11602] se detiene el flujo de notificaciones y el estado vuelve a cambiar a kNotSubscribed.

El estado actual se puede consultar de forma síncrona en cualquier momento con GetSubscriptionState() [SWS_CM_11604]. Para percibir cambios de estado de manera asíncrona, se puede registrar una retrollamada con SetSubscriptionStateChangeHandler() [SWS_CM_11607], opcionalmente con un contexto de ejecución dedicado [SWS_CM_11608]. Antes de destruir la instancia o en caso de desactivación, las retrollamadas registradas deben eliminarse explícitamente mediante UnsetReceiveHandler() [SWS_CM_11606], UnsetSubscriptionStateChangeHandler() [SWS_CM_11609] y UnsetTransportFaultConditionHandler() [SWS_CM_00126].

diag_field_lifecycle kNotSubscribed kNotSubscribed kSubscriptionPending kSubscriptionPending kNotSubscribed->kSubscriptionPending Subscribe() kSubscriptionPending->kNotSubscribed Unsubscribe() kSubscribed kSubscribed kSubscriptionPending->kSubscribed Suscripción confirmada kSubscribed->kNotSubscribed Unsubscribe() kSubscribed->kSubscribed Subscribe() [gleiches maxSampleCount]

Diagrama de estados: ciclo de vida de la suscripción al Notifier mediante ara::com::SubscriptionState. Fuentes: [SWS_CM_11601], [SWS_CM_11602], [SWS_CM_11604].

Ruta de uso

La ruta de uso típica abarca el registro de notificaciones, la recepción de nuevos datos, así como el acceso puntual de lectura y escritura:

  1. Configurar suscripción: la aplicación invoca Subscribe() con la capacidad de caché deseada [SWS_CM_11601] y registra una retrollamada de notificación sin parámetros mediante SetReceiveHandler() [SWS_CM_11605]. Para arquitecturas concurrentes, la ejecución se puede delegar a través de un ejecutor [SWS_CM_11611]. Además, se puede definir un controlador para errores de transporte en los eventos del Notifier [SWS_CM_00109], [SWS_CM_00110].
  2. Procesar muestras: en cuanto la gestión de comunicaciones recibe nuevos datos del campo, activa el controlador de recepción. El controlador determina las posiciones de búfer disponibles mediante GetFreeSampleCount() [SWS_CM_11603] y procesa los nuevos valores a través de GetNewSamples() [SWS_CM_11610]. El estado E2E de las notificaciones recibidas se puede verificar mediante GetE2EStateMachineStateNotifier() [SWS_CM_11612].
  3. Lectura explícita: la consulta del valor actual se realiza de forma asíncrona mediante Get() [SWS_CM_00112] y devuelve un ara::core::Future<FieldType> [SWS_CM_11403]. Tras la finalización, el estado de verificación E2E se puede comprobar con GetE2EStateMachineStateGetter() [SWS_CM_00145].
  4. Escritura explícita: la modificación del valor se realiza mediante Set(value) [SWS_CM_00113]. El ara::core::Future<FieldType> devuelto proporciona el resultado de la operación Set, cuyo estado E2E se puede leer mediante GetE2EStateMachineStateSetter() [SWS_CM_00146].
Ruta de uso típica de un Field de proxyClient<Field>Communication ManagementUse Case: Suscripción y registro de recepciónSubscribe(maxSampleCount)Abonnement anfordernSetReceiveHandler(handler)Use Case: Notificación y recuperación de datosFeld-Update eingetroffenhandler()GetNewSamples(f)Result<size_t>Use Case: Expliziter WertzugriffGet()Future<FieldType>Set(value)Future<FieldType>

Diagrama de secuencia: flujo típico de interacción con notificaciones, así como operaciones Get y Set. Fuentes: [SWS_CM_00112], [SWS_CM_00113], [SWS_CM_11601], [SWS_CM_11605], [SWS_CM_11610].

Escenarios de error

Al utilizar los métodos de campo, pueden producirse varios estados de error:

  • Fallo de comunicación: si falla la transmisión de red en Get() o Set(), se transmite el error ComErrc::kCommunicationFailure en el Future [SWS_CM_00112], [SWS_CM_00113]. En Get() se aplica semántica de reversión; en Set() rige no_rollback_semantics, de modo que ante un tiempo de espera agotado puede originarse un estado indeterminado en el servidor [SWS_CM_00113].
  • Infracción del intervalo de envío: si las solicitudes se envían con mayor rapidez de la configurada en el despliegue, esto da como resultado ComErrc::kMinimumSendIntervalViolationError [SWS_CM_00112], [SWS_CM_00113].
  • Límites de búfer: si no se puede asignar memoria en Subscribe(), el método devuelve ComErrc::kMaxSampleCountNotRealizable [SWS_CM_11601]. Si se consultan demasiadas muestras en GetNewSamples(), la llamada falla con ComErrc::kMaxSamplesExceeded [SWS_CM_11610].
  • Infracciones de acceso y controlador: la falta de permisos de ejecución genera un InsufficientPermissionsViolation en Get(), Set() o Subscribe() [SWS_CM_00112], [SWS_CM_00113], [SWS_CM_11601]. Pasar objetos invocables vacíos o no válidos a los registros de controladores desencadena un InvalidHandlerViolation [SWS_CM_11605], [SWS_CM_11607], [SWS_CM_00109].
  • Idempotencia: una invocación reiterada de Subscribe() con un valor de búfer idéntico en los estados kSubscribed o kSubscriptionPending no surte efecto [SWS_CM_11601]; asimismo, Unsubscribe() regresa sin efecto si no hay una suscripción activa [SWS_CM_11602].

Esta guía de clase fue generada por una IA sobre la base de la especificación AUTOSAR R25-11.

Mapa de miembros

Diagrama de clases

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

G n_SI_Namespace___proxy__fields___Field_138 <Field> + SetReceiveHandler() + SetTransportFaultConditionHandler() + UnsetTransportFaultConditionHandler() + GetE2EStateMachineStateGetter() + GetE2EStateMachineStateNotifier() + GetE2EStateMachineStateSetter() + Get() + GetFreeSampleCount() + GetNewSamples() + Set() + GetSubscriptionState() + SetSubscriptionStateChangeHandler() + Subscribe() + UnsetSubscriptionStateChangeHandler() + Unsubscribe() + UnsetReceiveHandler()

Vista de detalle

Selecciona una entrada en el índice.

Métodos

Get función

Get the current value of the Field. The method is present only if Field.hasGetter ==TRUE, otherwise it is not present (shall not be generated)

ara::core::Future< FieldType > Get () noexcept;

Returns the state of the specific field class, which was determined by the last run of E2E_Check() function invoked during the last call of Get()

ara::com::e2e::SMState GetE2EStateMachineStateGetter () const noexcept;

Returns the state of the specific field class, which was determined by the last run of E2E_Check() function invoked during the last call of GetNewSamples()

ara::com::e2e::SMState GetE2EStateMachineStateNotifier () const noexcept;

Returns the state of the specific field class, which was determined by the last run of E2E_Check() function invoked during the last call of Set()

ara::com::e2e::SMState GetE2EStateMachineStateSetter () const noexcept;

Query Free Sample Slots

std::size_t GetFreeSampleCount () const noexcept;
GetNewSamples función

Method to update the field notification cache.

template <typename F> ara::core::Result< std::size_t > GetNewSamples (F &&f, std::size_t max NumberOfSamples=std::numeric_limits< std::size_t >::max());

Query ara::com::SubscriptionState, as per [SWS_CM_00310].

ara::com::SubscriptionState GetSubscriptionState () const noexcept;
Set función

Set a new value of the Field. The method is present only if Field.hasSetter==TRUE, otherwise it is not present (shall not be generated). There is no need to have Get method itself return [Application Errors] errors when getting a field value (as there are no errors possible when getting a field value). The Set-Method may return [Application Errors], but does so via returning a value different from the one passed in the request parameter.

ara::core::Future< FieldType > Set (<PFieldDerivedType> value) noexcept;

Set/Register the Field notification receive handler

Sobrecargas SetReceiveHandler 2
void SetReceiveHandler (ara::com::FieldReceiveHandler handler) noexcept; SWS_CM_11605
template <typename ExecutorT> void SetReceiveHandler (ara::com::FieldReceiveHandler handler, ExecutorT &&executor) noexcept; SWS_CM_11611

Set ara::com::SubscriptionState change handler

Sobrecargas SetSubscriptionStateChangeHandler 2
void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler) noexcept; SWS_CM_11607
template <typename ExecutorT> void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler, ExecutorT &&executor) noexcept; SWS_CM_11608

Provides possibility to register a ara::com::e2e::TransportFaultConditionHandler for a given Proxy Field Notifier.

Sobrecargas SetTransportFaultConditionHandler 2
void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler) noexcept; SWS_CM_00109
template <typename ExecutorT> void SetTransportFaultConditionHandler (ara::com::e2e::TransportFault ConditionHandler handler, ExecutorT &&executor) noexcept; SWS_CM_00110
Subscribe función

Method to subscribe to a service field notification. If the Field is already in state kSubscribed or in state kSubscriptionPending at the time of the call, and the provided maxSample Count value is the same as for the current subscription, the method shall return without action.

ara::core::Result< void > Subscribe (std::size_t maxSampleCount) noexcept;

Disable service field notification trigger

void UnsetReceiveHandler () noexcept;

Unset ara::com::SubscriptionState change handler

void UnsetSubscriptionStateChangeHandler () noexcept;

Provides the possibility to unregister a previously set ara::com::e2e:: TransportFaultConditionHandler for a given Proxy Field Notifier.

void UnsetTransportFaultConditionHandler () noexcept;
Unsubscribe función

Method to unsubscribe from a service field notification. If the Field is not subscribed to at the time of the call, Unsubscribe() shall return without action.

void Unsubscribe () noexcept;

Alias de tipo

FieldType alias de tipo

As per [SWS_CM_11402]

using FieldType = <PFieldCppidt>;

Documentación de los métodos

función Get [SWS_CM_00112] Upstream: RS_CM_00218, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138

ara::core::Future< FieldType > Get () noexcept;

Get the current value of the Field. The method is present only if Field.hasGetter ==TRUE, otherwise it is not present (shall not be generated)

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 980f973fd449 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método Get sirve en el ámbito del proxy <SI-Namespace>::proxy::fields::<Field> para la recuperación asíncrona del valor actual del campo ([SWS_CM_00112]; véase también AUTOSAR_AP_EXP_ARAComAPI §6 «FieldGet»). La función se proporciona a través de la cabecera del proxy <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h y solo existe si para el campo está modelado Field.hasGetter == TRUE ([SWS_CM_00112]). No toma parámetros y devuelve un ara::core::Future<FieldType> que, tras una transmisión exitosa, contiene el valor actual ([SWS_CM_00112]).

Tratamiento de errores y condiciones límite

La interfaz está definida como noexcept y segura frente a excepciones ([SWS_CM_00112]). Si la operación falla, el ara::core::Future devuelto contiene un código de error con semántica de reversión ([SWS_CM_00112]):

  • ComErrc::kCommunicationFailure: La vinculación de red notifica un error de comunicación subsanable o el fallo de una comunicación protegida ([SWS_CM_00112]).
  • ComErrc::kMinimumSendIntervalViolationError: Se realizó una solicitud de envío con mayor rapidez de lo permitido por el intervalo de envío mínimo configurado para el elemento (minimumSendInterval) ([SWS_CM_00112]).
  • InsufficientPermissionsViolation: La ejecución es rechazada por el Grant Enforcement ([SWS_CM_00112]).

No existen errores de aplicación (Application Errors) para el getter ([SWS_CM_00113]).

Interacción

En el lado del skeleton, el procesamiento de la solicitud del getter presupone un callback registrado a través de RegisterGetHandler ([SWS_CM_00114]). Cada invocación de Get() ejecuta una comprobación de extremo a extremo (E2E); el estado resultante de ella puede consultarse de forma síncrona en el lado del proxy a través de GetE2EStateMachineStateGetter ([SWS_CM_00145]).

Este texto fue elaborado por una IA basándose en los documentos de especificación.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation

Rückgabewert

TypBeschreibung
ara::core::Future< FieldType >• If successful: an ara::core::Future containing a Field Type object as per [SWS_CM_11403] • If unsuccessful: an ara::core::Future containing a corresponding ara::core::FutureErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure
ComErrc::kMinimumSendIntervalViolationErrorrollback_semantics 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.

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

Record
AUTOSAR/AP/record/SWS_CM_00112
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00112@rel:R25-11#eb82eb16
Content hash
eb82eb16
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00112
Status: valid/unmigrated Version: rel:R25-11#ec4a8dc1 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_00112@rel:R25-11#ec4a8dc1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#0bc1ce772026-09-30
  • R19-11rel:R19-11#85c2390c2026-10-14
  • R20-11rel:R20-11#85c2390c2026-10-14
  • R21-11rel:R21-11#85c2390c2026-10-14
  • R22-11rel:R22-11#5a1fa5a12026-10-14
  • R23-11rel:R23-11#da1367322026-10-14
  • R24-11rel:R24-11#78164d832026-10-14
  • R25-11rel:R25-11#ec4a8dc12026-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

función GetE2EStateMachineStateGetter [SWS_CM_00145] Upstream: RS_CM_00224, RS_E2E_08534

ara::com::e2e::SMState GetE2EStateMachineStateGetter () const noexcept;

Returns the state of the specific field class, which was determined by the last run of E2E_Check() function invoked during the last call of Get()

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::e2e::SMStateState of the specific field class
Siehe auch: [SWS_CM_90417]

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

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

función GetE2EStateMachineStateNotifier [SWS_CM_11612] Upstream: RS_CM_00224, RS_E2E_08534

ara::com::e2e::SMState GetE2EStateMachineStateNotifier () const noexcept;

Returns the state of the specific field class, which was determined by the last run of E2E_Check() function invoked during the last call of GetNewSamples()

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::e2e::SMStateState of the specific field class
Siehe auch: [SWS_CM_90417]

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

Record
AUTOSAR/AP/record/SWS_CM_11612
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11612@rel:R25-11#8f04f0d4
Content hash
8f04f0d4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11612
Status: valid/unmigrated Version: rel:R25-11#cf34f3ea 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_11612@rel:R25-11#cf34f3ea
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#de1830f72026-09-30
  • R24-11rel:R24-11#22d8a9c22026-10-14
  • R25-11rel:R25-11#cf34f3ea2026-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

función GetE2EStateMachineStateSetter [SWS_CM_00146] Upstream: RS_CM_00224, RS_E2E_08534

ara::com::e2e::SMState GetE2EStateMachineStateSetter () const noexcept;

Returns the state of the specific field class, which was determined by the last run of E2E_Check() function invoked during the last call of Set()

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::e2e::SMStateState of the specific field class
Siehe auch: [SWS_CM_90417]

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

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

función GetFreeSampleCount [SWS_CM_11603] Upstream: RS_CM_00202, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00139

std::size_t GetFreeSampleCount () const noexcept;

Query Free Sample Slots

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
std::size_tThe number of free/unused slots for field notification sample data in the local cache

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

Record
AUTOSAR/AP/record/SWS_CM_11603
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11603@rel:R25-11#97e33603
Content hash
97e33603
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11603
Status: valid/unmigrated Version: rel:R25-11#8c94be2d 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_11603@rel:R25-11#8c94be2d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#726052692026-09-30
  • R24-11rel:R24-11#6336d44d2026-10-14
  • R25-11rel:R25-11#8c94be2d2026-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

función GetNewSamples [SWS_CM_11610] Upstream: RS_CM_00202, RS_AP_00114, RS_AP_00120, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00139

template <typename F> ara::core::Result< std::size_t > GetNewSamples (F &&f, std::size_t max NumberOfSamples=std::numeric_limits< std::size_t >::max());

Method to update the field notification cache.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitnot exception safe

Template-Parameter

ParameterBeschreibung
FAs per [SWS_CM_00701]

Parameter (in)

ParameterBeschreibung
fAs per [SWS_CM_00701]
maxNumberOfSamplesAs per [SWS_CM_00701]

Rückgabewert

TypBeschreibung
ara::core::Result<std::size_t >As per [SWS_CM_00701]

Fehler

FehlercodeBeschreibung
ComErrc::kMaxSamplesExceededrollback_semantics As per [SWS_CM_00701]

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

Record
AUTOSAR/AP/record/SWS_CM_11610
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11610@rel:R25-11#28dc9f6c
Content hash
28dc9f6c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11610
Status: valid/unmigrated Version: rel:R25-11#ad5c10b2 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_11610@rel:R25-11#ad5c10b2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#bd0fe9352026-09-30
  • R24-11rel:R24-11#3801b4392026-10-14
  • R25-11rel:R25-11#ad5c10b22026-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

función GetSubscriptionState [SWS_CM_11604] Upstream: RS_CM_00106

ara::com::SubscriptionState GetSubscriptionState () const noexcept;
Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::com::SubscriptionStateThe state of the subscription.

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

Record
AUTOSAR/AP/record/SWS_CM_11604
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11604@rel:R25-11#770328d5
Content hash
770328d5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11604
Status: valid/unmigrated Version: rel:R25-11#990d7855 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_11604@rel:R25-11#990d7855
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#485e4d782026-09-30
  • R24-11rel:R24-11#de9197112026-10-14
  • R25-11rel:R25-11#990d78552026-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

función Set [SWS_CM_00113] Upstream: RS_CM_00217, RS_AP_00114, RS_AP_00120, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00138

ara::core::Future< FieldType > Set (<PFieldDerivedType> value) noexcept;

Set a new value of the Field. The method is present only if Field.hasSetter==TRUE, otherwise it is not present (shall not be generated). There is no need to have Get method itself return [Application Errors] errors when getting a field value (as there are no errors possible when getting a field value). The Set-Method may return [Application Errors], but does so via returning a value different from the one passed in the request parameter.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 4f6a6aee9527 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Uso y contexto de llamada

La función Set se proporciona en el espacio de nombres <SI-Namespace>::proxy::fields::<Field> y está disponible exclusivamente si para el campo está configurado Field.hasSetter == TRUE [SWS_CM_00113]. Antes de su utilización, la instancia de servicio debe haber sido ofrecida en el lado del servidor (OfferService()) y encontrada y conectada en el lado del cliente ARAComAPI §4.2 «Means of Communication». La invocación se realiza de forma asíncrona: transfiere el nuevo valor del campo a través del parámetro value y devuelve un ara::core::Future<FieldType> [SWS_CM_00113]. El método está especificado como noexcept y se considera seguro frente a excepciones [SWS_CM_00113].

Manejo de errores

Si la transmisión falla, el error correspondiente se proporciona a través del ara::core::Future devuelto [SWS_CM_00113]:

  • ComErrc::kCommunicationFailure: Notifica un error de comunicación subsanable o una anomalía en la transmisión segura; en caso de un tiempo de espera agotado, puede existir un estado indeterminado en el lado del servidor sin semántica de reversión [SWS_CM_00113].
  • ComErrc::kMinimumSendIntervalViolationError: Se produce cuando se emitió una solicitud de envío más rápido que el intervalo de envío mínimo configurado (minimumSendInterval) (también sin semántica de reversión) [SWS_CM_00113].
  • La falta de derechos de acceso da lugar a una denegación por parte de Grant Enforcement (InsufficientPermissionsViolation) [SWS_CM_00113].
  • Los errores de aplicación no se transportan a través de excepciones, sino devolviendo, en caso de éxito del future, un valor que difiere del parámetro de solicitud [SWS_CM_00113].

Interacción y concurrencia

En el lado del servidor, la invocación se corresponde con un callback en la instancia del skeleton que debe registrarse previamente mediante RegisterSetHandler [SWS_CM_00116] ARAComAPI §4.2 «Means of Communication». Para supervisar la seguridad de transmisión E2E en el lado del cliente, se puede consultar el estado de la máquina de estados de E2E de la última invocación de Set() a través de GetE2EStateMachineStateSetter() [SWS_CM_00146].

Esta nota de uso se generó automáticamente a partir de la especificación AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
valueNew value of field

Rückgabewert

TypBeschreibung
ara::core::Future< FieldType >• If successful: an ara::core::Future containing a Field Type object as per [SWS_CM_11403] • If unsuccessful: an ara::core::Future containing a corresponding ara::core::FutureErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailureno_rollback_semantics The network binding reported a recoverable communications error or a secure communication failure. In case of a communication timeout this could lead to an uncertain state on the remote server side.
ComErrc::kMinimumSendIntervalViolationErrorno_rollback_semantics 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.

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

Record
AUTOSAR/AP/record/SWS_CM_00113
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00113@rel:R25-11#8ad86291
Content hash
8ad86291
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00113
Status: valid/unmigrated Version: rel:R25-11#46c10d7a 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_00113@rel:R25-11#46c10d7a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#9918c4b62026-09-30
  • R19-11rel:R19-11#73765f662026-10-14
  • R20-11rel:R20-11#73765f662026-10-14
  • R21-11rel:R21-11#73765f662026-10-14
  • R22-11rel:R22-11#fcbc0baa2026-10-14
  • R23-11rel:R23-11#009371872026-10-14
  • R24-11rel:R24-11#ae7474142026-10-14
  • R25-11rel:R25-11#46c10d7a2026-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

función SetReceiveHandler [SWS_CM_11605] Upstream: RS_CM_00203, RS_AP_00114, RS_AP_00120, RS_AP_00121

void SetReceiveHandler (ara::com::FieldReceiveHandler handler) noexcept;

Set/Register the Field notification receive handler

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: b140b320827e Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Uso y contexto de llamada

La función SetReceiveHandler se proporciona en el lado del proxy en el espacio de nombres <SI-Namespace>::proxy::fields::<Field> a través del archivo de encabezado <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h ([SWS_CM_11605]). Registra en el lado del cliente un callback para notificaciones en caso de cambios de valor de un campo ([SWS_CM_11605]). Este mecanismo sigue el procedimiento de notificación de eventos, mediante el cual Communication Management informa al cliente en caso de actualizaciones (EXP_ARAComAPI §4.2 «Means of Communication»).

Como parámetro se pasa un ara::com::FieldReceiveHandler, que representa una función sin parámetros ([SWS_CM_11605]). La función no devuelve ningún valor de retorno (void) y está especificada como segura frente a excepciones (noexcept) ([SWS_CM_11605]).

Tratamiento de errores y concurrencia

Si el objeto invocable (callable) transferido no existe o es nulo, la función notifica la vulneración InvalidHandlerViolation ([SWS_CM_11605]). Si la ejecución del manejador debe realizarse en un contexto de ejecución definido, se encuentra disponible la variante de plantilla con ExecutorT ([SWS_CM_11611]).

Interacción

El comportamiento se corresponde con los registros de manejadores para eventos ([SWS_CM_00181]) y triggers ([SWS_CM_00250]). Siguiendo el patrón de interfaz de la clase proxy, es de suponer que la cancelación del registro se realice a través de UnsetReceiveHandler() (EXP_ARAComAPI §5.3.1 «Proxy Class API’s»). Pregunta Q-74cd83b99aadec16 (abierta)

Este texto fue elaborado por una IA y sirve como guía orientativa. El documento determinante es la especificación oficial de AUTOSAR.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

ParameterBeschreibung
handlerThe handler that shall be called by Communication Management upon notification arrival. The FieldReceiveHandler constitutes a function without parameters and has to use the f method of the specific Field class to access the retrieved event data. See [SWS_CM_11615] for its definition.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11605
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11605@rel:R25-11#a7a1791f
Content hash
a7a1791f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11605
Status: valid/unmigrated Version: rel:R25-11#86f81336 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_11605@rel:R25-11#86f81336
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#03682cbd2026-09-30
  • R24-11rel:R24-11#8bb5f2572026-10-14
  • R25-11rel:R25-11#86f813362026-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

función SetReceiveHandler [SWS_CM_11611] Upstream: RS_CM_00211, RS_AP_00151, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138

template <typename ExecutorT> void SetReceiveHandler (ara::com::FieldReceiveHandler handler, ExecutorT &&executor) noexcept;

As per [SWS_CM_11605] but the handler shall execute in a provided context

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 44ceb62f969e Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Uso y contexto de llamada

La función de plantilla SetReceiveHandler forma parte de la clase proxy class <SI-Namespace>::proxy::fields::<Field> ([SWS_CM_11611]; encabezado #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"). Sirve para registrar, en el lado del cliente, un manejador de recepción para notificaciones en caso de cambios de valor de un campo (AUTOSAR_AP_EXP_ARAComAPI §4.2 «Means of Communication», [SWS_CM_11605]). A través de los parámetros se transfieren un objeto invocable handler de tipo ara::com::FieldReceiveHandler, así como un contexto de ejecución executor como referencia universal ExecutorT&& ([SWS_CM_11611]). La función no posee valor de retorno (void).

Tratamiento de errores y seguridad frente a excepciones

El método está declarado como noexcept y especificado como seguro frente a excepciones (exception safe) ([SWS_CM_11611]). Si el callable handler transferido no existe o es nulo, se produce una InvalidHandlerViolation ([SWS_CM_11611]). Por lo tanto, los invocadores deben asegurarse de proporcionar un objeto de función o función válido antes de la llamada.

Concurrencia e interacción

A diferencia del registro estándar sin executor ([SWS_CM_11605]), al llegar una notificación de campo el callback se procesa en el contexto de ejecución proporcionado por executor ([SWS_CM_11611]). Interpretación: Es de suponer que esto provoque un desacoplamiento, de modo que el procesamiento de datos específico de la aplicación no se realice en los contextos de ejecución de hilos internos del middleware. Pregunta Q-cbe1af19bea15a88 (abierta) El método pertenece a las API de la clase proxy (AUTOSAR_AP_EXP_ARAComAPI §5.3.1 «Proxy Class API’s») y sigue el mismo patrón que las variantes con executor para eventos ([SWS_CM_11356] basado en [SWS_CM_00181]), así como para triggers ([SWS_CM_00352] basado en [SWS_CM_00250]).

Esta nota de uso se creó automáticamente a partir de la especificación de AUTOSAR Adaptive (R25-11).

Guía del implementador pendiente (complejidad I2)

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

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_11605]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11611
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11611@rel:R25-11#8d3c2a39
Content hash
8d3c2a39
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11611
Status: valid/unmigrated Version: rel:R25-11#b32e3974 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_11611@rel:R25-11#b32e3974
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#7debf3322026-09-30
  • R24-11rel:R24-11#2328e4dd2026-10-14
  • R25-11rel:R25-11#b32e39742026-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

función SetSubscriptionStateChangeHandler [SWS_CM_11607] Upstream: RS_CM_00106

void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler) noexcept;

Set ara::com::SubscriptionState change handler

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 0dd6ef6a44f3 Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función SetSubscriptionStateChangeHandler registra en un campo de proxy (ámbito <SI-Namespace>::proxy::fields::<Field>) una devolución de llamada personalizada a la que llama Communication Management en cuanto cambia el estado de suscripción (ara::com::SubscriptionState) del campo ([SWS_CM_11607], [SWS_CM_00333]). La llamada se efectúa de forma síncrona y no devuelve ningún valor de retorno ([SWS_CM_11607]). Forma parte de las interfaces proxy centrales para la gestión de suscripciones a eventos y campos (AUTOSAR_AP_EXP_ARAComAPI §5.3.1 «Proxy Class API’s»).

En lo que respecta al tratamiento de errores, la función de registro está especificada como exception safe y declarada con noexcept ([SWS_CM_11607]). En caso de que el objeto invocable transferido handler no exista o sea null, se produce una infracción de la especificación en forma de una InvalidHandlerViolation ([SWS_CM_11607]).

En interacción con el establecimiento de la conexión, se debe tener en cuenta que Subscribe() debe considerarse en principio como una operación asíncrona ([SWS_CM_12006]). Por lo tanto, las aplicaciones no deben asumir una suscripción exitosa, incluso tras un retorno sin errores de Subscribe(), hasta que el manejador registrado haya señalado el estado kSubscribed ([SWS_CM_12006]). Además, Communication Management invoca al manejador con kSubscriptionPending si la vinculación real no puede completarse de inmediato o si la instancia del servidor falla, por ejemplo, a consecuencia de un reinicio o un error de red ([SWS_CM_00313]). Si se desea que el manejador se ejecute en un contexto de ejecución específico, para ello está disponible la variante de plantilla sobrecargada con un ExecutorT ([SWS_CM_11608]).

Esta nota de uso fue generada por una IA sobre la base de las especificaciones de AUTOSAR para la Release R25-11.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00333]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11607
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11607@rel:R25-11#3b0b29ab
Content hash
3b0b29ab
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11607
Status: valid/unmigrated Version: rel:R25-11#ab897290 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_11607@rel:R25-11#ab897290
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#ad5e599c2026-09-30
  • R24-11rel:R24-11#13e960cd2026-10-14
  • R25-11rel:R25-11#ab8972902026-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

función SetSubscriptionStateChangeHandler [SWS_CM_11608] Upstream: RS_CM_00211, RS_AP_00151, RS_AP_00114, RS_AP_00120, RS_AP_00127, RS_AP_00128, RS_AP_00138

template <typename ExecutorT> void SetSubscriptionStateChangeHandler (ara::com::SubscriptionState ChangeHandler handler, ExecutorT &&executor) noexcept;

As per [SWS_CM_11607] but the handler shall execute in a provided context

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 8214c030626f Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función de plantilla SetSubscriptionStateChangeHandler en el espacio de nombres <SI-Namespace>::proxy::fields::<Field> sirve para registrar una función de callback destinada a supervisar cambios de estado de la suscripción de un campo ([SWS_CM_11608]). Amplía el comportamiento básico de [SWS_CM_11607] en el sentido de que el manejador registrado se ejecuta en un contexto de ejecución transferido explícitamente (executor) ([SWS_CM_11608]).

El método recibe dos parámetros ([SWS_CM_11608]):

  • handler: El callback que se debe invocar, de tipo ara::com::SubscriptionStateChangeHandler ([SWS_CM_11354]), el cual se dispara en cuanto cambia el ara::com::SubscriptionState ([SWS_CM_00333]).
  • executor: Una referencia de reenvío de tipo ExecutorT&& ([SWS_CM_11360]) que proporciona el contexto para la ejecución del manejador ([SWS_CM_11608]).

La función no devuelve ningún valor de retorno (void) y está declarada como noexcept ([SWS_CM_11608]). Está especificada como exception safe ([SWS_CM_11608]). Como vulneración se define InvalidHandlerViolation si el callable transferido no existe o es null ([SWS_CM_11608]).

Interpretación: Mediante la transferencia del executor, es de suponer que la ejecución del manejador se desplace del contexto interno de la gestión de comunicación al contexto de hilo o de tareas de la aplicación. Pregunta Q-647f618545799c4e (abierta) En la interacción de las API de proxy, la llamada se alinea junto a métodos como Subscribe(), Unsubscribe() y UnsetSubscriptionStateChangeHandler() (AUTOSAR_AP_EXP_ARAComAPI §5.3.1 «Proxy Class API’s»). Existen variantes sobrecargadas análogas con contexto de ejecución para eventos de proxy ([SWS_CM_11354]), así como para triggers de proxy ([SWS_CM_01106]).

Esta nota de uso se creó de manera automatizada sobre la base de las especificaciones de la versión R25-11.

Guía del implementador pendiente (complejidad I3)

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

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_11354]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11608
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11608@rel:R25-11#77f61d38
Content hash
77f61d38
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11608
Status: valid/unmigrated Version: rel:R25-11#d63fd7bc 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_11608@rel:R25-11#d63fd7bc
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#27b2d6982026-09-30
  • R24-11rel:R24-11#9fc7873d2026-10-14
  • R25-11rel:R25-11#d63fd7bc2026-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

función SetTransportFaultConditionHandler [SWS_CM_00109] Upstream: RS_CM_00224, RS_E2E_08534

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

Provides possibility to register a ara::com::e2e::TransportFaultConditionHandler for a given Proxy Field Notifier.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: d6d728fc1f24 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Uso y contexto de llamada

La función miembro SetTransportFaultConditionHandler sirve para registrar un manejador de errores para el notificador de un campo de proxy en el espacio de nombres <SI-Namespace>::proxy::fields::<Field> [SWS_CM_00109]. Como parámetro se pasa un objeto invocable (callable) del tipo ara::com::e2e::TransportFaultConditionHandler. La función no devuelve ningún valor y vincula la retrollamada a los notificadores de instancias de servicio individuales para recibir errores de transmisión del backend de comunicación AUTOSAR_AP_SWS_CommunicationManagement §7.4 «End-to-end communication protection» p. 235.

Tratamiento de errores y seguridad frente a excepciones

El método está declarado como noexcept y especificado como seguro ante excepciones (exception safe) [SWS_CM_00109]. Si el invocable pasado no es válido o es null, se produce una infracción de la precondición en forma de InvalidHandlerViolation [SWS_CM_00109]. Interpretación: dado que la función no debe lanzar excepciones, es de esperar que en AUTOSAR Adaptive dicha infracción provoque habitualmente la terminación inmediata del programa. Pregunta Q-74df6934d4ae3c93 (abierta)

Concurrencia e interacción

Mientras que esta forma básica registra el manejador directamente, con [SWS_CM_00110] existe una variante de plantilla sobrecargada que acepta adicionalmente un ejecutor (ExecutorT&& executor) para definir el contexto de ejecución asíncrono. La función se integra en el tratamiento de errores extremo a extremo: mientras que los notificadores ([SWS_CM_00109], [SWS_CM_00110]), eventos ([SWS_CM_00099]) y disparadores ([SWS_CM_00106]) notifican errores de transmisión de forma asíncrona a través de tales manejadores, los errores de transporte en solicitudes de métodos, así como de captadores y definidores, se devuelven en su lugar a través de ComErrc::kCommunicationFailure en el ara::core::Future resultante [SWS_CM_00090].

Esta nota de uso se ha generado automáticamente sobre la base del estado de la especificación AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

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

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00109
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00109@rel:R25-11#8bcecf1c
Content hash
8bcecf1c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00109
Status: valid/unmigrated Version: rel:R25-11#989525ac 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_00109@rel:R25-11#989525ac
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#57896b862026-09-30
  • R24-11rel:R24-11#1aaf6ef92026-10-14
  • R25-11rel:R25-11#989525ac2026-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

función SetTransportFaultConditionHandler [SWS_CM_00110] Upstream: RS_CM_00224, RS_E2E_08534

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

Execution Context overload for hierarchicalnamespacelistlowerproxy::proxy:: fields::fieldname::SetTransportFaultConditionHandler for a given Proxy Field Notifier.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 05b506a54089 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

La función miembro de plantilla SetTransportFaultConditionHandler sirve, en el ámbito de una clase de campo de proxy (<SI-Namespace>::proxy::fields::<Field>), para registrar un manejador para el notificador del campo correspondiente [SWS_CM_00110]. Recibe dos parámetros de entrada:

  • handler: el invocable a registrar de tipo ara::com::e2e::TransportFaultConditionHandler [SWS_CM_00110].
  • executor: una referencia rvalue a un objeto ejecutor (ExecutorT&&), en cuyo contexto de ejecución se inician los cálculos iniciados de forma asíncrona que pudieran existir [SWS_CM_00110].

La función no devuelve ningún valor (void) y está declarada como noexcept [SWS_CM_00110].

Tratamiento de errores y seguridad de ejecución

La interfaz está especificada como segura frente a excepciones (exception safe) [SWS_CM_00110]. Si se pasa como handler un invocable no existente o de valor nulo, esto da lugar a una InvalidHandlerViolation [SWS_CM_00110]. Mediante este manejador se notifican condiciones específicas de error de transporte, mientras que los métodos y los getters y setters de campos señalizan eventuales errores de transporte mediante ComErrc::kCommunicationFailure en sus respectivos futuros de retorno [SWS_CM_00090].

Concurrencia e interacción

El método constituye la sobrecarga de contexto de ejecución para la función base con menos parámetros [SWS_CM_00109]. Mediante el objeto ejecutor proporcionado, la implementación desacopla la ejecución del manejador del contexto de recepción interno de la gestión de comunicación [SWS_CM_00110]. Se dispone de sobrecargas similares para eventos de proxy [SWS_CM_00100], activadores de proxy [SWS_CM_00107], así como para métodos de Skeleton [SWS_CM_00094] y campos de Skeleton [SWS_CM_00097]. Interpretación: es razonable que la llamada se realice antes de la llegada de avisos del notificador o de la suscripción al notificador, con el fin de garantizar una supervisión de errores sin interrupciones. Pregunta Q-bc5c62dd39c09029 (abierta)

Esta nota de uso se ha generado de forma automatizada sobre la base de la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

ParameterBeschreibung
handlerHandler to be set
executorExecutor object in which any asynchronous computation spawn shall be invoked

Rückgabewert

TypBeschreibung
None
Siehe auch: [SWS_CM_00109]

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

Record
AUTOSAR/AP/record/SWS_CM_00110
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00110@rel:R25-11#65237716
Content hash
65237716
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00110
Status: valid/unmigrated Version: rel:R25-11#9be0f9ef 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_00110@rel:R25-11#9be0f9ef
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b46bf6592026-09-30
  • R24-11rel:R24-11#e56df0462026-10-14
  • R25-11rel:R25-11#9be0f9ef2026-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

función Subscribe [SWS_CM_11601] Upstream: RS_CM_00103

ara::core::Result< void > Subscribe (std::size_t maxSampleCount) noexcept;

Method to subscribe to a service field notification. If the Field is already in state kSubscribed or in state kSubscriptionPending at the time of the call, and the provided maxSample Count value is the same as for the current subscription, the method shall return without action.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 54ef39af6b4b Procedencia
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

El método Subscribe sirve para suscribir notificaciones de un Field de una instancia de proxy de servicio en el ámbito proxy::fields::<Field> ([SWS_CM_11601]). Mediante el parámetro maxSampleCount, la aplicación define la cantidad máxima de muestras de datos que desea mantener simultáneamente y configura así la caché de recepción local ([SWS_CM_11601], EXP ARAComAPI §5.3 «Proxy Class API’s»). La llamada es asíncrona: el ara::core::Result<void> devuelto únicamente señaliza la aceptación de la suscripción por parte de Communication Management (EXP ARAComAPI §5.3.5.2 «Monitoring Event Subscription»).

Respecto al comportamiento de estado y al tratamiento de errores se aplican las siguientes reglas:

  • Idempotencia: Si el Field ya se encuentra en el estado kSubscribed o kSubscriptionPending y el maxSampleCount transferido coincide con el valor de la suscripción actual, el método retorna sin efecto ([SWS_CM_11601]).
  • Códigos de error: Si no es posible suministrar la caché requerida, la operación falla con el error ComErrc::kMaxSampleCountNotRealizable ([SWS_CM_11601], [SWS_CM_10432]).
  • Comprobación de autorización: Si faltan los derechos requeridos, Grant Enforcement rechaza la llamada con una InsufficientPermissionsViolation ([SWS_CM_11601]).

El método está declarado como noexcept y especificado como Exception-safe ([SWS_CM_11601]). Semánticamente sigue el comportamiento de la suscripción a eventos ([SWS_CM_00141]); la caché configurada forma la base para la posterior recepción de muestras mediante métodos como GetNewSamples ([SWS_CM_00701]).

Esta nota de uso fue generada por una IA sobre la base de la especificación AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
maxSampleCountAs per [SWS_CM_00141]

Rückgabewert

TypBeschreibung
ara::core::Result< void >As per [SWS_CM_00141]

Fehler

FehlercodeBeschreibung
ComErrc::kMaxSampleCountNotRealizablerollback_semantics As per [SWS_CM_00141]

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

Record
AUTOSAR/AP/record/SWS_CM_11601
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11601@rel:R25-11#eb8f2d64
Content hash
eb8f2d64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11601
Status: valid/unmigrated Version: rel:R25-11#ae9652a7 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_11601@rel:R25-11#ae9652a7
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#4d27d6072026-09-30
  • R24-11rel:R24-11#19da91452026-10-14
  • R25-11rel:R25-11#ae9652a72026-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

función UnsetReceiveHandler [SWS_CM_11606] Upstream: RS_CM_00203

void UnsetReceiveHandler () noexcept;

Disable service field notification trigger

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 0197caac2e71 Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

La función UnsetReceiveHandler() sirve, en el nivel de proxy, para desregistrar un manejador de recepción registrado previamente para notificaciones de campo ([SWS_CM_11606]). Pertenece a las API de clases proxy de ara::com (AUTOSAR_AP_EXP_ARAComAPI §5.3.1 «Proxy Class API’s») y se ubica en el espacio de nombres <SI-Namespace>::proxy::fields::<Field> ([SWS_CM_11606]).

En cuanto al contexto de llamada y a la semántica, el método no acepta parámetros y no proporciona ningún valor de retorno ([SWS_CM_11606]). Mediante la llamada, una aplicación puede cambiar en cualquier momento de un modelo de notificación controlado por eventos a un funcionamiento de sondeo basado en consultas retirando la devolución de llamada específica del usuario (AUTOSAR_AP_EXP_ARAComAPI §5.3.2 «RadarService Proxy Class Example»).

Para el tratamiento de errores, la función está especificada como noexcept y exception safe ([SWS_CM_11606]); según la especificación, no existen códigos de error específicos. La llamada se realiza de forma síncrona; tras la retirada satisfactoria del manejador, Communication Management ya no desencadena más llamadas de devolución de llamada al llegar nuevos datos (interpretación: es probable que las ejecuciones en curso o ya programadas se finalicen o se procesen de forma serializada antes de la retirada, ya que las llamadas de devolución de llamada por parte de Communication Management deben realizarse de forma serializada; cf. AUTOSAR_AP_EXP_ARAComAPI §5.3.2 «RadarService Proxy Class Example»). Pregunta Q-fbc65e80b8d8be38 (abierta)

En la interacción, el método se corresponde con la desactivación de disparadores en eventos de servicio ([SWS_CM_00183]; AUTOSAR_AP_EXP_ARAComAPI §10) y disparadores ([SWS_CM_11614]). En el enlace DDS, el comportamiento se representa a través del mapeo de UnsetReceiveHandler() al DataReader correspondiente ([SWS_CM_11141]).

Esta nota fue creada por una IA sobre la base del conjunto de datos de AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11606
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11606@rel:R25-11#2157a34d
Content hash
2157a34d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11606
Status: valid/unmigrated Version: rel:R25-11#16565755 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_11606@rel:R25-11#16565755
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e89f906f2026-09-30
  • R24-11rel:R24-11#d180a3442026-10-14
  • R25-11rel:R25-11#165657552026-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

función UnsetSubscriptionStateChangeHandler [SWS_CM_11609] Upstream: RS_CM_00106, RS_AP_00114, RS_AP_00120

void UnsetSubscriptionStateChangeHandler () noexcept;

Unset ara::com::SubscriptionState change handler

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 711ac463a86d Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

El método UnsetSubscriptionStateChangeHandler sirve, en el marco de AUTOSAR Adaptive Platform, para eliminar un callback registrado previamente para cambios del estado de suscripción (ara::com::SubscriptionState) de un campo [SWS_CM_11609]. Se invoca de forma síncrona sobre instancias de campos de un proxy de servicio en el espacio de nombres <SI-Namespace>::proxy::fields::<Field> y requiere la inclusión de la cabecera generada #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h" AUTOSAR_AP_SWS_CommunicationManagement §8.3.3.2.4.5 «UnsetSubscriptionStateChangeHandler». La llamada no acepta parámetros y no devuelve ningún valor.

Tratamiento de errores y concurrencia

La interfaz está declarada como noexcept y, según la especificación, cumple con la propiedad exception safe [SWS_CM_11609]. Queda descartada, por tanto, la aparición de errores o excepciones. Dado que la baja de registro surte efecto de forma inmediata, cabe asumir (interpretación) que tras la finalización del método no se transferirán nuevas notificaciones al antiguo manejador. Pregunta Q-30238329b76b64f4 (abierta)

Interacción

La función pertenece a las API básicas de clases proxy para la gestión de suscripciones en ara::com AUTOSAR_AP_EXP_ARAComAPI §5.3.1 «Proxy Class API’s». Existen métodos similares para desactivar manejadores de cambios de estado para eventos de proxy [SWS_CM_00334] y disparadores [SWS_CM_01108], así como de forma refleja en el lado del skeleton para eventos [SWS_CM_12010] y disparadores [SWS_CM_01112].

Esta nota de uso se ha generado automáticamente a partir de las especificaciones de AUTOSAR.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11609
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11609@rel:R25-11#cf2941e6
Content hash
cf2941e6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11609
Status: valid/unmigrated Version: rel:R25-11#1abd2b15 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_11609@rel:R25-11#1abd2b15
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0c91f75a2026-09-30
  • R24-11rel:R24-11#678da2882026-10-14
  • R25-11rel:R25-11#1abd2b152026-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

función UnsetTransportFaultConditionHandler [SWS_CM_00126] Upstream: RS_CM_00224, RS_E2E_08534

void UnsetTransportFaultConditionHandler () noexcept;

Provides the possibility to unregister a previously set ara::com::e2e:: TransportFaultConditionHandler for a given Proxy Field Notifier.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: c996ada4784f Procedencia Preguntas abiertas (2)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

usar

La función UnsetTransportFaultConditionHandler sirve para dar de baja nuevamente un ara::com::e2e::TransportFaultConditionHandler registrado previamente para el notificador de un campo de proxy determinado [SWS_CM_00126]. Está definida dentro del ámbito <SI-Namespace>::proxy::fields::<Field> y se incluye a través del archivo de cabecera <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h AUTOSAR_AP_SWS_CommunicationManagement §8.3.3.2.1.4 «UnsetTransportFaultConditionHandler». La invocación se realiza sin parámetros y no devuelve ningún valor (void).

Manejo de errores

El método está declarado como noexcept y cuenta con la garantía de excepción exception safe [SWS_CM_00126]. No se devuelven códigos de error ni se lanzan excepciones. Si no se había registrado ningún manejador previamente, es probable que una invocación repetida no tenga efecto. Pregunta Q-85da9a7b00678748 (abierta)

Concurrencia y restricciones

La especificación no define requisitos específicos de concurrencia o seguridad entre hilos. Dado que la interfaz funciona de manera síncrona y no utiliza tipos asíncronos, es de esperar que la revocación del manejador de errores tenga efecto síncrono e inmediato. Pregunta Q-ed4cc712bb55aee5 (abierta) Quienes realicen la invocación deben coordinarla en el ciclo de vida de la aplicación de modo que los mensajes de notificador de instancias de servicio individuales no se procesen de forma descontrolada sin un manejador AUTOSAR_AP_SWS_CommunicationManagement §7.4.1 «End-to-end communication protection for SOMEIP».

Interacción

La baja de registro sigue un patrón de nomenclatura y funcionalidad coherente en AUTOSAR Adaptive:

  • En el nivel de proxy, están disponibles funciones equivalentes para eventos ([SWS_CM_00105]), así como para disparadores ([SWS_CM_00108]).
  • En el nivel de skeleton, existen homólogos correspondientes para getters y setters de campo ([SWS_CM_00098]), así como de forma global para todos los métodos de la interfaz skeleton ([SWS_CM_00095]).

Esta nota de uso se ha generado automáticamente a partir de la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00126
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00126@rel:R25-11#6f5ba097
Content hash
6f5ba097
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00126
Status: valid/unmigrated Version: rel:R25-11#34c05de8 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_00126@rel:R25-11#34c05de8
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b31fdb2c2026-09-30
  • R24-11rel:R24-11#00a5c4a32026-10-14
  • R25-11rel:R25-11#34c05de82026-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

función Unsubscribe [SWS_CM_11602] Upstream: RS_CM_00104

void Unsubscribe () noexcept;

Method to unsubscribe from a service field notification. If the Field is not subscribed to at the time of the call, Unsubscribe() shall return without action.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_11602
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11602@rel:R25-11#968a3d29
Content hash
968a3d29
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11602
Status: valid/unmigrated Version: rel:R25-11#77e3e54d 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_11602@rel:R25-11#77e3e54d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0705e32a2026-09-30
  • R24-11rel:R24-11#af6d228d2026-10-14
  • R25-11rel:R25-11#77e3e54d2026-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

Documentación de los alias de tipo

alias de tipo FieldType [SWS_CM_11403] Upstream: RS_CM_00216, RS_AP_00114

using FieldType = <PFieldCppidt>;
Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::fields::<Field>
SymbolFieldType

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

Record
AUTOSAR/AP/record/SWS_CM_11403
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11403@rel:R25-11#9ca411d5
Content hash
9ca411d5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11403
Status: valid/unmigrated Version: rel:R25-11#cc450956 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_11403@rel:R25-11#cc450956
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#926271042026-09-30
  • R22-11rel:R22-11#8ef005dd2026-10-14
  • R23-11rel:R23-11#8ef005dd2026-10-14
  • R24-11rel:R24-11#46a194152026-10-14
  • R25-11rel:R25-11#cc4509562026-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