DEENESPTFRRUARHIKOZHNL

clase <SI-Namespace>::proxy::<SI>Proxy

[SWS_CM_00004] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00122

class <SI>Proxy final {...};

Service Interface Proxy

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

Guía del usuarioGENERADO POR IA

Sirve a las aplicaciones cliente como sustituto tipificado para la búsqueda de servicios y la interacción con una instancia de servicio.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: cc07b1e12dfe Procedencia Preguntas abiertas (1)
traducido de la guía alemanagemini-3.8-flash-low · 2026-10-13 · Original en alemán

Sirve a las aplicaciones cliente como sustituto tipificado para la búsqueda de servicios y la interacción con una instancia de servicio.

La clase <SI>Proxy sirve a las aplicaciones cliente como sustituto tipificado para un Service Interface con el fin de transferir llamadas a métodos, eventos y campos [SWS_CM_99447]. Tras una búsqueda exitosa de servicios, la instancia se crea preferentemente a través del método de fábrica Create() libre de excepciones [SWS_CM_10438]. La clase posee semántica de solo movimiento y exige la liberación completa de todas las muestras de datos referenciadas antes de su destrucción para evitar violaciones de condiciones previas [SWS_CM_99444].

Contexto

La clase generada <SI>Proxy actúa dentro de la arquitectura de comunicación de AUTOSAR Adaptive Platform como un punto de conexión de cliente tipificado para un Service Interface definido. Encapsula la interacción de una aplicación cliente con una instancia remota o local de este servicio. Entre los interlocutores se encuentran el componente de software cliente, la propia instancia proxy y la gestión de comunicación subyacente (ara::com), que controla la vinculación de red y la transmisión de mensajes. A través de los elementos de datos dedicados events::<Event> [SWS_CM_99445], fields::<Field> [SWS_CM_99446] y methods::<Method> [SWS_CM_99447], el proxy proporciona acceso directo a eventos, campos y métodos de la interfaz de servicio.

client Aplicación cliente proxy <SI>Proxy (events, methods, fields) client->proxy Methodenaufrufe, Ereignisabonnement proxy->client Ergebnisse, Callbacks runtime Communication Management (ara::com / Binding) proxy->runtime Dienstsuche, Nachrichtenversand runtime->proxy Zustands- & Ereignisdaten

Diagrama de contexto: integración del proxy de Service Interface entre la aplicación cliente y la gestión de comunicación. Fuentes: [SWS_CM_99445], [SWS_CM_99446], [SWS_CM_99447].

Ciclo de vida

La creación de una instancia proxy presupone una búsqueda de servicio realizada previamente con éxito que proporcione una instancia de identificador válida (HandleType). La creación preferida se realiza libre de excepciones mediante el método factoría estático Create() según el modismo de constructor con nombre (named constructor idiom) [SWS_CM_10438], que devuelve un ara::core::Result con el proxy o un código de error. Alternativamente, existe un constructor explícito <SI>Proxy(handle), especificado como no seguro frente a excepciones y que, en caso de error, puede lanzar una ara::com::ComException [SWS_CM_00131]. El identificador utilizado para la inicialización puede consultarse en cualquier momento mediante GetHandle() [SWS_CM_10383].

En cuanto a las relaciones de propiedad, el proxy posee semántica de solo movimiento: el constructor de copia [SWS_CM_00136] y el operador de asignación por copia [SWS_CM_11551] están explícitamente eliminados. La transferencia de la instancia solo está permitida mediante el constructor de movimiento [SWS_CM_00137] o el operador de asignación por movimiento seguro frente a excepciones [SWS_CM_11552]. Durante la vida útil, el estado de disponibilidad del servicio puede determinarse activamente mediante GetServiceState() [SWS_CM_01073]. Alternativamente, SetServiceStateChangeHandler() permite registrar una función de retrollamada ante cambios de estado [SWS_CM_01074], la cual puede vincularse opcionalmente a un contexto definido por el usuario mediante un ExecutorT [SWS_CM_01076]. El registro del manejador se puede anular mediante UnsetServiceStateChangeHandler() [SWS_CM_01075].

La destrucción se realiza a través del destructor ~<SI>Proxy() [SWS_CM_99444]. Este está declarado como no seguro frente a excepciones y exige como condición previa obligatoria que el cliente ya no retenga muestras de datos abiertas antes de la destrucción para evitar violaciones [SWS_CM_99444].

Ruta de uso

La ruta típica de uso se divide en cuatro fases:

  1. Búsqueda de servicios: el cliente busca instancias del servicio de forma síncrona a través de FindService() con un InstanceIdentifier [SWS_CM_00122] o un InstanceSpecifier [SWS_CM_00622] EXP ARAComAPI §2 «Service Interface Proxy» basado en modelo, o de forma asíncrona a través de StartFindService() [SWS_CM_00123] [SWS_CM_00623]. Para búsquedas asíncronas se puede pasar adicionalmente un ExecutorT [SWS_CM_11352] [SWS_CM_11365] EXP ARAComAPI §2 «Service Interface Proxy». Las búsquedas asíncronas deben detenerse mediante StopFindService() una vez encontrada la instancia deseada [SWS_CM_00125] EXP ARAComAPI §2 «Service Interface Proxy».
  2. Instanciación: a partir del ServiceHandleContainer determinado, se selecciona un identificador y se pasa a Create() para crear la instancia proxy [SWS_CM_10438]. Interpretación: es de suponer que el método factoría Create() constituya la ruta de instanciación primaria frente al constructor que lanza excepciones. Pregunta Q-cf53ee7076736baf (abierta)
  3. Interacción: la aplicación interactúa con el servicio a través de llamadas a métodos (methods::<Method>) [SWS_CM_99447], supervisión de eventos (events::<Event>) [SWS_CM_99445] o accesos a campos (fields::<Field>) [SWS_CM_99446].
  4. Limpieza: tras finalizar las interacciones, se destruye la instancia proxy, debiéndose garantizar que no queden referencias a muestras no válidas [SWS_CM_99444].
Flujo de búsqueda de servicios e interacción con el proxyClient<SI>ProxyCommunicationManagementUse Case: 1. DienstsucheFindService(instance)Dienstinstanzen ermittelnServiceHandleContainerResult<ServiceHandleContainer>Use Case: 2. InstanziierungCreate(handle)Result<<SI>Proxy>Use Case: 3. Dienstnutzungmethods::<Method>()Transmitir llamada a métodoAntwortdatenValor de retornoUse Case: 4. Destrucción~<SI>Proxy()

Diagrama de secuencia: flujo típico de búsqueda de servicio, instanciación del proxy e interacción de métodos. Fuentes: [SWS_CM_00122], [SWS_CM_10438], [SWS_CM_99447], [SWS_CM_99444].

Escenarios de error

Los errores se notifican principalmente a través del tipo de error ara::com::ComErrc en ara::core::Result:

  • ComErrc::kServiceNotAvailable: se produce en Create() cuando un servicio ofrecido previamente ya no está disponible [SWS_CM_10438]. En caso de invocación directa del constructor, esto resulta en cambio en una ara::com::ComException [SWS_CM_00131].
  • ComErrc::kCommunicationFailure: lo notifican FindService() [SWS_CM_00122] [SWS_CM_00622], StartFindService() [SWS_CM_00123] [SWS_CM_00623], Create() [SWS_CM_10438] y GetServiceState() [SWS_CM_01073] cuando la vinculación de red detecta un error de comunicación recuperable o un error en la comunicación segura.

Adicionalmente se especifican las siguientes violaciones (Violations):

  • ErroneousServiceHandleViolation: el identificador pasado a Create() o al constructor no es válido o está corrupto [SWS_CM_10438] [SWS_CM_00131].
  • InsufficientPermissionsViolation: denegación del acceso durante la búsqueda de servicios o la instanciación por parte de Grant Enforcement [SWS_CM_00122] [SWS_CM_10438].
  • InvalidHandlerViolation: transferencia de una retrollamada no válida o vacía a StartFindService() [SWS_CM_00123] o SetServiceStateChangeHandler() [SWS_CM_01074].
  • InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation, InstanceSpecifierAlreadyInUseViolation: se producen en llamadas de búsqueda basadas en modelo si la asignación de InstanceSpecifier es incorrecta o ya está en uso [SWS_CM_00622] [SWS_CM_00623].
  • DanglingSamplesViolation: destrucción del proxy cuando aún existen referencias a muestras de datos [SWS_CM_99444].

Esta guía se basa en las especificaciones de AUTOSAR para Adaptive Platform Release R25-11 y resume los mecanismos de comunicación del proxy de Service Interface.

Mapa de miembros

Diagrama de clases

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

G n_SI_Namespace___proxy___SI_Proxy329 <SI>Proxy + <Event> + <Field> + <Method> + operator=() + Proxy() + Create() + FindService() + GetHandle() + GetServiceState() + SetServiceStateChangeHandler() + Service() + StartFindService() + StopFindService() + UnsetServiceStateChangeHandler()

Vista de detalle

Selecciona una entrada en el índice.

Métodos

Create función

Exception-less construction of a Proxy from a HandleType using the Named Constructor idiom.

static ara::core::Result< <SI>Proxy > Create (const <SI-Namespace>::proxy:: <SI>Proxy::HandleType &handle) noexcept;
FindService función 2

Find a service using an ara::com::InstanceIdentifier, with immediately returned request

Sobrecargas FindService 2
GetHandle función

Return the handle used to create the proxy instance

HandleType GetHandle () const noexcept;

Returns the state of the service

ara::core::Result< ara::com::ServiceState > GetServiceState () noexcept;
Proxy función 4

Construction of the service proxy from the found handles (from any of the FindService()/ StartFindService() methods)

Sobrecargas Proxy 4
explicit <SI>Proxy (const HandleType &handle); SWS_CM_00131
<SI>Proxy (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete; SWS_CM_00136
<SI>Proxy ( <SI-Namespace>::proxy:: <SI>Proxy &&other); SWS_CM_00137
Service función 2

Find a service using an ara::com::InstanceIdentifier, with handler registration

Sobrecargas Service 2
static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance) noexcept; SWS_CM_00123
static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance) noexcept; SWS_CM_00623

Register a service state change handler. This handler shall be called by the Communication Management implementation as soon as the service availability state has changed. The Handler may be overwritten during runtime.

Sobrecargas SetServiceStateChangeHandler 2
void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler) noexcept; SWS_CM_01074
template <typename ExecutorT> void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler, ExecutorT &&executor) noexcept; SWS_CM_01076
StartFindService función 2

Find a service using an ara::com::InstanceIdentifier, with handler registration, - in a provided execution context

Sobrecargas StartFindService 2
template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance, ExecutorT &&executor) noexcept; SWS_CM_11352
template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance, ExecutorT &&executor) noexcept; SWS_CM_11365

Stop an ongoing StartFindService() - Stops receiving further notifications for the provided ara::com::FindServiceHandle

void StopFindService (ara::com::FindServiceHandle handle) noexcept;

As per [SWS_CM_01074]

void UnsetServiceStateChangeHandler () noexcept;

Operadores

operator= función 2

Copy assignment constructor deletion

Sobrecargas = 2
<SI>Proxy & operator= (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete; SWS_CM_11551
<SI-Namespace>::proxy:: <SI>Proxy & operator= ( <SI-Namespace>::proxy:: <SI>Proxy &&other) noexcept; SWS_CM_11552

Constantes

<Event> variable

Event member, one for each VariableDataPrototype defined in the ServiceInterface in the role event.

events::<Event> <Event>;
<Field> variable

Field member, one for each Field defined in the ServiceInterface in the role field.

fields::<Field> <Field>;
<Method> variable

Method member, one for each ClientServerOperation defined in the ServiceInterface in the role method.

methods::<Method> <Method>;

Tipos anidados

Documentación de los métodos

función Create [SWS_CM_10438] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00139

static ara::core::Result< <SI>Proxy > Create (const <SI-Namespace>::proxy:: <SI>Proxy::HandleType &handle) noexcept;

Exception-less construction of a Proxy from a HandleType using the Named Constructor idiom.

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

Uso y semántica

El método de fábrica estático Create sirve, conforme a [SWS_CM_10438], para la creación libre de excepciones de una instancia de proxy (<SI>Proxy) según el modismo de constructor nombrado. Requiere como parámetro handle un handle de servicio determinado previamente según [SWS_CM_00131]. La llamada se realiza de forma síncrona y está declarada como noexcept. El resultado se devuelve en un ara::core::Result que, en caso de éxito, contiene la instancia de proxy lista para operar.

Manejo de errores

Si se produce un error durante la instanciación, Create devuelve a través de ara::core::Result un código de error de tipo ara::com::ComErrc [SWS_CM_10438]:

  • ComErrc::kServiceNotAvailable: El servicio ya no está disponible tras haber sido ofrecido previamente a través de OfferService().
  • ComErrc::kCommunicationFailure: El binding de red notifica un error de comunicación recuperable o el fallo de una conexión protegida.

Ambos errores presentan una semántica de reversión (rollback) [SWS_CM_10438]. En caso de errores estructurales o de seguridad, se aplican las vulneraciones especificadas (violations): Si el handle transferido es nulo o está corrupto, se produce una ErroneousServiceHandleViolation. Si el proceso invocador carece de los permisos necesarios para la instancia en el marco del Grant Enforcement, la solicitud se rechaza y se trata como InsufficientPermissionsViolation (SWS CommunicationManagement §8 «Security», [SWS_CM_10438]).

Concurrencia y condiciones de contorno

Interpretación: Dado que Create opera de forma síncrona y vincula recursos de comunicación, es de suponer que la llamada sea reentrante para handles diferentes, pero no debería ejecutarse en bucles de tiempo real estricto (hard real-time) críticos en el tiempo debido a posibles inicializaciones de red. Pregunta Q-f7ba23670f562788 (abierta)

Este texto fue generado por un sistema de 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::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)ErroneousService- Provided HandleType is null or corrupt HandleViolation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handleAs per [SWS_CM_00131]

Rückgabewert

TypBeschreibung
ara::core::Result< {<service-interface-name> }Proxy >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a Proxy • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kServiceNotAvailablerollback_semantics Service is not available after being previously offered via Offer Service()
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_10438
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10438@rel:R25-11#12219e01
Content hash
12219e01
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10438
Status: valid/unmigrated Version: rel:R25-11#cfeddea9 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_10438@rel:R25-11#cfeddea9
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b417ae7a2026-09-30
  • R19-11rel:R19-11#7e4e18b92026-10-14
  • R20-11rel:R20-11#f1232f7e2026-10-14
  • R21-11rel:R21-11#f1232f7e2026-10-14
  • R22-11rel:R22-11#38bf837e2026-10-14
  • R23-11rel:R23-11#38bf837e2026-10-14
  • R24-11rel:R24-11#08265d1c2026-10-14
  • R25-11rel:R25-11#cfeddea92026-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 FindService [SWS_CM_00122] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

static ara::core::Result< ara::com::ServiceHandleContainer< HandleType > > FindService (ara::com::InstanceIdentifier instance) noexcept;

Find a service using an ara::com::InstanceIdentifier, with immediately returned request

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

El método estático FindService de la clase de proxy sirve para la localización síncrona de instancias de servicio disponibles mediante un ara::com::InstanceIdentifier ([SWS_CM_00122]). La llamada devuelve el resultado directamente como ara::core::Result, que en caso de ejecución correcta contiene un ara::com::ServiceHandleContainer ([SWS_CM_00122]). Este contenedor —implementado típicamente como ara::core::Vector ([SWS_CM_00304])— puede estar vacío, comprender un único manipulador de instancia o varios manipuladores en función del estado de provisión actual (ARAComAPI §6.5 «Service Discovery»).

En caso de error, el ara::core::Result devuelve un código de error de ara::com::ComErrc, concretamente ComErrc::kCommunicationFailure, si el enlace de red notifica un error de transmisión recuperable o un problema en la comunicación segura ([SWS_CM_00122]). Además, el acceso está sujeto a una verificación de permisos; unos permisos insuficientes dan lugar a una InsufficientPermissionsViolation ([SWS_CM_00122]).

En lo que respecta a la secuencia y a la concurrencia, se aplican las siguientes condiciones:

  • Contexto de llamada y sincronía: dado que la búsqueda se ejecuta inmediatamente, solo se encuentran aquellas instancias para las que se haya llamado previamente a OfferService() en el lado del servidor (ARAComAPI §6.5 «Service Discovery»).
  • Seguridad ante excepciones y reentrancia: la función está especificada como noexcept y segura ante excepciones ([SWS_CM_00122]). Puesto que el método es estático y no requiere un estado de objeto mutable, es de suponer que se puede invocar de forma reentrante y segura para subprocesos. Pregunta Q-3228cc998c4a737e (abierta)
  • Procesamiento posterior: los manipuladores encontrados sirven para la instanciación de objetos de proxy a través del constructor Proxy(const HandleType &handle) ([SWS_CM_00131]). Para una búsqueda basada en modelos, se encuentra disponible alternativamente la sobrecarga con ara::core::InstanceSpecifier ([SWS_CM_00622]).

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::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
instanceara::com::InstanceIdentifier qualifying the wanted instance of the service

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::ServiceHandleContainer< {<hierarchical-namespace-list-lower-proxy> }::proxy::{<service-interface-name> }Proxy::HandleType > >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a ara::com:: ServiceHandleContainer further containing HandleTypes for all matching services • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_00122
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00122@rel:R25-11#cc7605b7
Content hash
cc7605b7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00122
Status: valid/unmigrated Version: rel:R25-11#6f2101ad 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_00122@rel:R25-11#6f2101ad
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bcc92a852026-09-30
  • R19-11rel:R19-11#088b9ecc2026-10-14
  • R20-11rel:R20-11#d4d640972026-10-14
  • R21-11rel:R21-11#746c23552026-10-14
  • R22-11rel:R22-11#2b7e51e42026-10-14
  • R23-11rel:R23-11#2b7e51e42026-10-14
  • R24-11rel:R24-11#12aa77e32026-10-14
  • R25-11rel:R25-11#6f2101ad2026-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 FindService [SWS_CM_00622] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00121, RS_AP_00127, RS_AP_00137

static ara::core::Result< ara::com::ServiceHandleContainer< HandleType > > FindService (ara::core::InstanceSpecifier instance) noexcept;

Find a service using an ara::core::InstanceSpecifier, with immediately returned request

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

La función estática FindService de la clase proxy sirve según [SWS_CM_00622] para la localización sincrónica de instancias de servicio disponibles en función de un ara::core::InstanceSpecifier con retorno inmediato («immediately returned request»). El requisito para la localización es que la respectiva instancia de skeleton de servicio se haya ofrecido previamente mediante OfferService() (ARAComAPI p. 103 «Figure 6.5: Service Discovery»).

Valores de retorno e interacción

Como resultado, la llamada devuelve un ara::core::Result con un ara::com::ServiceHandleContainer según [SWS_CM_00622], que por defecto se basa en ara::core::Vector [SWS_CM_00304]. Este contenedor puede estar vacío, contener un único handle o múltiples instancias encontradas (ARAComAPI p. 103 «Figure 6.5: Service Discovery»). A continuación, los handles de servicio determinados se pasan al constructor para la instanciación del objeto proxy [SWS_CM_00131]. De forma alternativa, para una búsqueda asincrónica dirigida por eventos con notificación se encuentra disponible StartFindService [SWS_CM_00623], mientras que para los identificadores de instancia se utiliza la sobrecarga de [SWS_CM_00122].

Tratamiento de errores y condiciones límite

La función está declarada como noexcept y se considera segura frente a excepciones («exception safe») según [SWS_CM_00622]. En caso de error, el objeto Result contiene el código de error ComErrc::kCommunicationFailure, por ejemplo ante fallos de comunicación del enlace de red [SWS_CM_00622]. Además, [SWS_CM_00622] define infracciones de modelo y de autorización como InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation, InstanceSpecifierAlreadyInUseViolation y InsufficientPermissionsViolation.

Interpretación: Debido al retorno sincrónico e inmediato, el método probablemente resulte adecuado sobre todo para fases de inicialización iniciales o sondeos específicos, siempre que no se requiera una observación continua vía callback. Pregunta Q-ea5b242a6fe41d20 (abierta)

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

Guía del implementador pendiente (complejidad I3)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
instanceara::core::InstanceSpecifier qualifying the wanted instance of the service

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::ServiceHandleContainer< {<hierarchical-namespace-list-lower-proxy>}::proxy::{<service-interface-name> }Proxy::HandleType > >As per [SWS_CM_00122]

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_00622
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00622@rel:R25-11#13707e42
Content hash
13707e42
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00622
Status: valid/unmigrated Version: rel:R25-11#b658bb0b 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_00622@rel:R25-11#b658bb0b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#06c9698f2026-09-30
  • R19-11rel:R19-11#9aca721e2026-10-14
  • R20-11rel:R20-11#a72540782026-10-14
  • R21-11rel:R21-11#ddb1520c2026-10-14
  • R22-11rel:R22-11#93fa43952026-10-14
  • R23-11rel:R23-11#72729ae82026-10-14
  • R24-11rel:R24-11#d99b30fa2026-10-14
  • R25-11rel:R25-11#b658bb0b2026-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 GetHandle [SWS_CM_10383] Upstream: RS_CM_00107, RS_AP_00114, RS_AP_00119

HandleType GetHandle () const noexcept;

Return the handle used to create the proxy instance

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

Rückgabewert

TypBeschreibung
<SI-Namespace>::proxy::<SI>Proxy::HandleTypeAs per [SWS_CM_00312]

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

Record
AUTOSAR/AP/record/SWS_CM_10383
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10383@rel:R25-11#79a2b199
Content hash
79a2b199
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10383
Status: valid/unmigrated Version: rel:R25-11#281a2b71 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_10383@rel:R25-11#281a2b71
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ec2e1e0d2026-09-30
  • R19-11rel:R19-11#b30af83b2026-10-14
  • R20-11rel:R20-11#b30af83b2026-10-14
  • R21-11rel:R21-11#b30af83b2026-10-14
  • R22-11rel:R22-11#b30af83b2026-10-14
  • R23-11rel:R23-11#b30af83b2026-10-14
  • R24-11rel:R24-11#ded2435a2026-10-14
  • R25-11rel:R25-11#281a2b712026-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 GetServiceState [SWS_CM_01073]

ara::core::Result< ara::com::ServiceState > GetServiceState () noexcept;

Returns the state of the service

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

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::ServiceState >• If successful: an ara::core::Result containing a ara:: core::Result::value_type i.e. a ara::com:: ServiceState giving the service state • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_01073
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01073@rel:R25-11#650a3859
Content hash
650a3859
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01073
Status: valid/unmigrated Version: rel:R25-11#6c74cf42 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_01073@rel:R25-11#6c74cf42
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#3f41673b2026-09-30
  • R22-11rel:R22-11#dd9d89292026-10-14
  • R23-11rel:R23-11#ba4457f52026-10-14
  • R24-11rel:R24-11#3f9e72502026-10-14
  • R25-11rel:R25-11#6c74cf422026-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 Proxy [SWS_CM_00131] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00121

explicit <SI>Proxy (const HandleType &handle);

Construction of the service proxy from the found handles (from any of the FindService()/ StartFindService() methods)

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

usar

El constructor explícito <SI>Proxy instancia la clase de proxy de servicio específica de tipo en el espacio de nombres <SI-Namespace>::proxy [SWS_CM_00131]. En el marco del patrón Proxy-Skeleton, este objeto generado sirve en el lado del consumidor de servicios como fachada local que reenvía las llamadas a métodos a la implementación de servicio efectiva ARAComAPI Figure 5.1 «Proxy Skeleton Pattern».

Para la construcción se transfiere como parámetro una referencia a un HandleType válido [SWS_CM_00131]. Este identificador debe haberse obtenido previamente mediante mecanismos de Service Discovery, ya sea de forma síncrona a través de FindService() [SWS_CM_00122] o de forma asíncrona a través del callback registrado de StartFindService() [SWS_CM_00123].

Manejo de errores

La construcción no es segura frente a excepciones (not exception safe) [SWS_CM_00131]. Si no se puede alcanzar el servicio referenciado, se desencadena una ara::com::ComException conforme a ara::com::ComErrc::kServiceNotAvailable [SWS_CM_00131]. Además, se definen las siguientes infracciones:

  • ErroneousServiceHandleViolation: Se produce cuando el objeto HandleType transferido es nulo o está dañado [SWS_CM_00131].
  • InsufficientPermissionsViolation: Se produce cuando la creación es denegada por la verificación de derechos (Grant Enforcement) [SWS_CM_00131].

Restricciones y ciclo de vida

Para la clase Proxy, el constructor de copia está explícitamente eliminado (=delete) [SWS_CM_00136]. La transferencia de la instancia solo está permitida a través del constructor de movimiento (Move Constructor), el cual tampoco está especificado como seguro frente a excepciones [SWS_CM_00137]. En tiempo de ejecución, tras una creación exitosa, ante una caída temporal y posterior disponibilidad del servicio de destino, la gestión de comunicaciones actualiza automáticamente en segundo plano el direccionamiento de la capa de transporte de la instancia de proxy existente ARAComAPI Figure 6.1 «Auto Updating of Proxy Instance».

Esta nota de uso ha sido generada de forma automatizada a partir de la especificación R25-11 de AUTOSAR.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitnot exception safe
Verletzungen (Violations)ErroneousService- Provided HandleType is null or corrupt HandleViolation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handleA found FindServiceHandle returned by any of the FindService() methods: • [SWS_CM_00122] • [SWS_CM_00622] or a FindServiceHandle found and sent to the assigned FindServiceHandler callback, by any of the StartFindService() methods: • [SWS_CM_00123] • [SWS_CM_00623] • [SWS_CM_11352] • [SWS_CM_11365]

Exceptions

ara::com:: As per ara::com::ComErrc::kServiceNotAvailable ComException

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

Record
AUTOSAR/AP/record/SWS_CM_00131
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00131@rel:R25-11#a64b5e28
Content hash
a64b5e28
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00131
Status: valid/unmigrated Version: rel:R25-11#ee74be81 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_00131@rel:R25-11#ee74be81
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1a6321992026-09-30
  • R19-11rel:R19-11#592e8f7d2026-10-14
  • R20-11rel:R20-11#592e8f7d2026-10-14
  • R21-11rel:R21-11#592e8f7d2026-10-14
  • R22-11rel:R22-11#592e8f7d2026-10-14
  • R23-11rel:R23-11#592e8f7d2026-10-14
  • R24-11rel:R24-11#0ab8e3252026-10-14
  • R25-11rel:R25-11#ee74be812026-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 Proxy [SWS_CM_00136] Upstream: RS_CM_00102, RS_AP_00114

<SI>Proxy (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete;

Copy Constructor deletion

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy

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

Record
AUTOSAR/AP/record/SWS_CM_00136
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00136@rel:R25-11#6bfa7180
Content hash
6bfa7180
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00136
Status: valid/unmigrated Version: rel:R25-11#95fda097 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_00136@rel:R25-11#95fda097
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#72db3c3c2026-09-30
  • R19-11rel:R19-11#f2cf188a2026-10-14
  • R20-11rel:R20-11#aeb5fe302026-10-14
  • R21-11rel:R21-11#f2cf188a2026-10-14
  • R22-11rel:R22-11#f2cf188a2026-10-14
  • R23-11rel:R23-11#f2cf188a2026-10-14
  • R24-11rel:R24-11#a2c02d102026-10-14
  • R25-11rel:R25-11#95fda0972026-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 Proxy [SWS_CM_00137] Upstream: RS_CM_00102, RS_AP_00114

<SI>Proxy ( <SI-Namespace>::proxy:: <SI>Proxy &&other);

Move constructor

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

Parameter (in)

ParameterBeschreibung
otherOther object to move

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

Record
AUTOSAR/AP/record/SWS_CM_00137
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00137@rel:R25-11#3880bcbe
Content hash
3880bcbe
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00137
Status: valid/unmigrated Version: rel:R25-11#a6236489 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_00137@rel:R25-11#a6236489
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8fb3b8362026-09-30
  • R19-11rel:R19-11#820da2b22026-10-14
  • R20-11rel:R20-11#820da2b22026-10-14
  • R21-11rel:R21-11#820da2b22026-10-14
  • R22-11rel:R22-11#820da2b22026-10-14
  • R23-11rel:R23-11#820da2b22026-10-14
  • R24-11rel:R24-11#466610572026-10-14
  • R25-11rel:R25-11#a62364892026-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 Proxy [SWS_CM_99444] Upstream: RS_CM_00102, RS_AP_00114

~<SI>Proxy ();

Destruction of a Proxy

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

El destructor ~<SI>Proxy () concluye el ciclo de vida de una instancia de proxy de servicio y libera los recursos locales correspondientes [SWS_CM_99444]. En el lado del consumidor, un proxy de servicio sirve como fachada local para interactuar con una implementación de servicio potencialmente remota y reenvía las llamadas ARAComAPI §5.1 «Proxy Skeleton Pattern». El objeto proxy se instancia previamente mediante un handle de servicio determinado [SWS_CM_00131], el cual se puso a disposición a través de funciones de Service Discovery como FindService [SWS_CM_00122].

Para la destrucción y el comportamiento en tiempo de ejecución rigen las siguientes prescripciones y condiciones de contorno:

  • Ciclo de vida y semántica: La destrucción se lleva a cabo de forma síncrona al salir del ámbito de validez o al eliminar explícitamente la instancia. Aunque el constructor de copia de la clase proxy esté eliminado [SWS_CM_00136], el objeto puede moverse antes de su destrucción mediante semántica de movimiento [SWS_CM_00137].
  • Seguridad frente a excepciones: El destructor está especificado como not exception safe [SWS_CM_99444].
  • Precondiciones y comportamiento ante fallos: Si se vulnera la condición previa [SWS_CM_00087], esto da lugar a una DanglingSamplesViolation [SWS_CM_99444]. (Interpretación: Antes de invocar el destructor, probablemente deban liberarse todas las referencias a muestras o punteros de datos retenidos por el consumidor para evitar referencias no válidas). Pregunta Q-5488797b732d9be6 (abierta)
  • Interacción: Si se utilizan búsquedas de servicio asíncronas, estas deberían cancelarse en caso necesario mediante StopFindService antes de liberar el contexto de uso [SWS_CM_00125]. Además, los manejadores de tratamiento de errores registrados para eventos, triggers y campos pueden restablecerse con anterioridad [SWS_CM_00105] [SWS_CM_00108] [SWS_CM_00126].

Esta nota de uso se ha generado automáticamente a partir de los datos de especificación.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitnot exception safe
Verletzungen (Violations)DanglingSamplesVi- Precondition [SWS_CM_00087] has been violated. olation

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

Record
AUTOSAR/AP/record/SWS_CM_99444
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99444@rel:R25-11#b7692121
Content hash
b7692121
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99444
Status: valid/unmigrated Version: rel:R25-11#75a7089c 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_99444@rel:R25-11#75a7089c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#83fb25582026-09-30
  • R24-11rel:R24-11#9caace202026-10-14
  • R25-11rel:R25-11#75a7089c2026-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 Service [SWS_CM_00123] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance) noexcept;

Find a service using an ara::com::InstanceIdentifier, with handler registration

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

El método estático StartFindService [SWS_CM_00123] de la clase proxy inicia la búsqueda asincrónica de instancias de servicio a partir de un ara::com::InstanceIdentifier registrando un manejador de devolución de llamada (ARAComAPI §6.5 «Service Discovery»). A la llamada se le pasan un ara::com::FindServiceHandler y el ara::com::InstanceIdentifier buscado [SWS_CM_00123].

En caso de éxito, la función devuelve un ara::core::Result con un ara::com::FindServiceHandle [SWS_CM_00123]. Este identificador representa la solicitud de búsqueda activa y es estrictamente necesario para finalizar de nuevo más adelante la monitorización de la disponibilidad del servicio y las llamadas posteriores al manejador mediante StopFindService [SWS_CM_00125].

Si surge un problema de comunicación al establecer la conexión, el método devuelve el código de error ComErrc::kCommunicationFailure en el ara::core::Result [SWS_CM_00123]. Si la instancia invocable transferida no es válida o es nula, esto se evalúa como InvalidHandlerViolation; la falta de permisos de acceso da lugar a una InsufficientPermissionsViolation [SWS_CM_00123].

Tan pronto como una instancia de servicio adecuada pasa a estar disponible en el sistema, la gestión de la comunicación invoca el manejador registrado con los identificadores de servicio correspondientes [SWS_CM_00123]. Mediante un HandleType notificado, la aplicación puede crear una instancia concreta de proxy a través del método Named Constructor Create [SWS_CM_10438]. Interpretación: el manejador presumiblemente se ejecutará de forma asincrónica en un hilo de la gestión de la comunicación, por lo que el acceso a recursos compartidos en el manejador debería ser seguro para subprocesos. Pregunta Q-9dc570d7e65fc808 (abierta) Para la búsqueda a través de un identificador basado en modelo, se dispone alternativamente de StartFindService con InstanceSpecifier [SWS_CM_00623].

Esta nota de uso se basa en las determinaciones de la especificación AUTOSAR Adaptive y ha sido verificada editorialmente.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

ParameterBeschreibung
handlerA ara::com::FindServiceHandler for the corresponding ServiceProxy class, which gets called any time a AdaptivePlatformServiceInstance matching the given instance criteria is found.
instanceAs per [SWS_CM_00122]

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::FindServiceHandle >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a ara::com:: FindServiceHandle for this search/find request which is needed to stop the service availability monitoring and related firing of the given handler. • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_00123
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00123@rel:R25-11#cf800b49
Content hash
cf800b49
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00123
Status: valid/unmigrated Version: rel:R25-11#5fed703f 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_00123@rel:R25-11#5fed703f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#288570952026-09-30
  • R19-11rel:R19-11#8b0f8dc42026-10-14
  • R20-11rel:R20-11#2e9f704d2026-10-14
  • R21-11rel:R21-11#f14ee6512026-10-14
  • R22-11rel:R22-11#c12cd1af2026-10-14
  • R23-11rel:R23-11#a53126272026-10-14
  • R24-11rel:R24-11#cef155e52026-10-14
  • R25-11rel:R25-11#5fed703f2026-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 Service [SWS_CM_00623] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00121, RS_AP_00127, RS_AP_00137

static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance) noexcept;

Find a service using an ara::core::InstanceSpecifier, with handler registration

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

El método estático StartFindService de la clase proxy inicia la búsqueda continua de instancias de servicio en función de un ara::core::InstanceSpecifier modelado [SWS_CM_00623]. En la llamada se pasan el InstanceSpecifier y una función de callback de tipo ara::com::FindServiceHandler [SWS_CM_00623]. Como valor de retorno, la función proporciona un ara::core::Result<ara::com::FindServiceHandle> [SWS_CM_00623], el cual pone a disposición un identificador de búsqueda para gestionar la búsqueda en caso de registro exitoso.

El tratamiento de errores se realiza mediante el ara::core::Result devuelto. Si se produce un error de comunicación subsanable o un error de comunicación segura en el binding de red, el resultado contiene el código de error ComErrc::kCommunicationFailure [SWS_CM_00623]. Además, se especifican violaciones concretas: InvalidHandlerViolation si el manejador proporcionado no es válido o es nulo, InsufficientPermissionsViolation en caso de falta de permisos por grant enforcement, así como violaciones de modelado como InstanceSpecifierMappingIntegrityViolation o PortInterfaceMappingViolation [SWS_CM_00623].

En cuanto a concurrencia y restricciones, la función está declarada como noexcept y especificada como segura frente a excepciones [SWS_CM_00623]. Es de suponer que la ejecución del manejador registrado se lleve a cabo de forma asíncrona por parte de la gestión de comunicaciones tan pronto como se detecten instancias de servicio adecuadas en el sistema. Pregunta Q-79fb3ff78d517714 (abierta)

En la interacción con interfaces relacionadas, son de aplicación los siguientes puntos:

  • El ara::com::FindServiceHandle devuelto debe conservarse para finalizar la búsqueda en curso mediante StopFindService [SWS_CM_00125] y detener la recepción de posteriores notificaciones.
  • Los identificadores proporcionados a través del callback (HandleType) sirven típicamente para instanciar el objeto proxy mediante el método de factoría Create [SWS_CM_10438].
  • Como alternativa a la búsqueda a través de un InstanceSpecifier, también se puede iniciar una búsqueda con un ara::com::InstanceIdentifier [SWS_CM_00123].

Este texto ha sido elaborado mediante una IA y se fundamenta en el estado de especificación de AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion InvalidHandlerVio- Provided Callable handler does not exist or is null lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00123]
instanceAs per [SWS_CM_00622]

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::FindServiceHandle >As per [SWS_CM_00123]

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

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

Record
AUTOSAR/AP/record/SWS_CM_00623
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00623@rel:R25-11#c7e43f72
Content hash
c7e43f72
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00623
Status: valid/unmigrated Version: rel:R25-11#53a828a4 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_00623@rel:R25-11#53a828a4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#71acdb2b2026-09-30
  • R19-11rel:R19-11#74bab8b92026-10-14
  • R20-11rel:R20-11#d103521b2026-10-14
  • R21-11rel:R21-11#cf6bd2292026-10-14
  • R22-11rel:R22-11#e4c0996e2026-10-14
  • R23-11rel:R23-11#4ffba6b82026-10-14
  • R24-11rel:R24-11#810427ab2026-10-14
  • R25-11rel:R25-11#53a828a42026-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 SetServiceStateChangeHandler [SWS_CM_01074]

void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler) noexcept;

Register a service state change handler. This handler shall be called by the Communication Management implementation as soon as the service availability state has changed. The Handler may be overwritten during runtime.

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

El método SetServiceStateChangeHandler sirve en una instancia de proxy para registrar una función de callback destinada a supervisar cambios de disponibilidad del respectivo servicio ([SWS_CM_01074], SWS CommunicationManagement §8.3.8.2.4.6 «SetServiceStateChangeHandler(ara::com::ServiceStateHandler)»). La gestión de comunicación llama a este manejador en cuanto cambia el estado de disponibilidad del servicio (ServiceState) ([SWS_CM_01074]).

Como parámetro se pasa un objeto de función del tipo ara::com::ServiceStateHandler, especificado como std::function<void(ServiceState)> ([SWS_CM_01072]). La función no posee valor de retorno. Un manejador ya registrado puede sobrescribirse durante el tiempo de ejecución mediante una nueva llamada ([SWS_CM_01074]).

En cuanto al tratamiento de errores, la función está declarada como segura frente a excepciones (noexcept) ([SWS_CM_01074]). Si el invocable pasado no existe o es nulo, se produce la infracción InvalidHandlerViolation ([SWS_CM_01074]).

En lo que respecta al entorno de ejecución, [SWS_CM_01074] representa la interfaz básica. Dado que aquí no se puede pasar ningún ejecutor, el callback probablemente se ejecute en el contexto de hilo interno de la gestión de comunicación. Pregunta Q-7833435e7aa1da9f (abierta) En caso de que se requiera una ejecución en un contexto de aplicación específico, se encuentra disponible de forma alternativa la variante de plantilla sobrecargada con un executor según [SWS_CM_01076] (SWS CommunicationManagement §8.3.8.2.4.5 «SetServiceStateChangeHandler(ara::com::ServiceStateHandler, ExecutorT&&)»).

Este texto fue elaborado por una IA. No sustituye la consulta de las especificaciones de AUTOSAR subyacentes.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

ParameterBeschreibung
handlerThe callback for service state change handler

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_01074
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01074@rel:R25-11#f3aec161
Content hash
f3aec161
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01074
Status: valid/unmigrated Version: rel:R25-11#a6d97b14 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_01074@rel:R25-11#a6d97b14
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#1277a2d02026-09-30
  • R22-11rel:R22-11#91401b222026-10-14
  • R23-11rel:R23-11#fec38b202026-10-14
  • R24-11rel:R24-11#12032ba22026-10-14
  • R25-11rel:R25-11#a6d97b142026-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 SetServiceStateChangeHandler [SWS_CM_01076]

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

As per [SWS_CM_01074] but the method shall execute in a provided context.

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 7e2d99ac7d24 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

El método de plantilla SetServiceStateChangeHandler sirve, en la clase de proxy generada <SI-Namespace>::proxy::<SI>Proxy, para registrar un callback destinado a supervisar la disponibilidad del servicio [SWS_CM_01076]. La función acepta dos parámetros AUTOSAR_AP_SWS_CommunicationManagement §8.3.8.2.4.5 «SetServiceStateChangeHandler(ara::com::ServiceStateHandler, ExecutorT&&)»:

  • handler: Un functor de tipo ara::com::ServiceStateHandler (definido como std::function<void(ServiceState)>) que se invoca con cada cambio del estado de disponibilidad [SWS_CM_01072], [SWS_CM_01074].
  • executor: Un contexto de ejecución del tipo de plantilla ExecutorT conforme a [SWS_CM_11360], en el cual se ejecuta el manejador registrado [SWS_CM_01076].

La función no tiene valor de retorno (void) [SWS_CM_01076].

Tratamiento de errores y seguridad frente a excepciones

La función está declarada como noexcept y especificada como segura frente a excepciones (exception safe) [SWS_CM_01076]. Si el manejador invocable proporcionado no existe o es null, se genera una InvalidHandlerViolation [SWS_CM_01076].

Concurrencia y restricciones

Un manejador registrado puede sobrescribirse en tiempo de ejecución [SWS_CM_01074]. Dado que la ejecución se realiza a través del objeto executor proporcionado [SWS_CM_01076], la notificación presumiblemente se procesa de forma asíncrona en el contexto de subproceso o de despacho (dispatch) suministrado por el usuario. Pregunta Q-349c5224c3b9cc20 (abierta)

Interacción

El método amplía la variante elemental [SWS_CM_01074] con la especificación explícita del contexto de ejecución [SWS_CM_01076]. Para la integración se requiere la cabecera <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h, mientras que el tipo de manejador procede de ara/com/types.h [SWS_CM_01072].

Esta nota de uso ha sido elaborada de forma automatizada sobre la base de la especificación AUTOSAR AP Release R25-11.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
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_01074]
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_01076
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01076@rel:R25-11#6b9bc75a
Content hash
6b9bc75a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01076
Status: valid/unmigrated Version: rel:R25-11#42c2fc88 Versionshistorie & Revisions (1 transition, 4 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_01076@rel:R25-11#42c2fc88
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#364c6b732026-09-30
  • R23-11rel:R23-11#00e316b22026-10-14
  • R24-11rel:R24-11#bc0c225f2026-10-14
  • R25-11rel:R25-11#42c2fc882026-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 StartFindService [SWS_CM_11352] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance, ExecutorT &&executor) noexcept;

Find a service using an ara::com::InstanceIdentifier, with handler registration, - in a provided execution context

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

El método estático de plantilla StartFindService inicia la monitorización asíncrona en segundo plano para localizar instancias de un servicio a partir de un ara::com::InstanceIdentifier ([SWS_CM_11352], EXP_ARAComAPI §5.3.3 «Proxy Class API’s»). Además de la instancia de destino (instance conforme a [SWS_CM_00122]), se registran una función de devolución de llamada (handler conforme a [SWS_CM_00123]) y un contexto de ejecución (executor del tipo de plantilla ExecutorT conforme a [SWS_CM_11360]) ([SWS_CM_11352]). En este proceso, las notificaciones de devolución de llamada probablemente se procesen en el contexto de hilo o tarea del executor transferido ([SWS_CM_11352]). Pregunta Q-1db520123c1e49a4 (abierta)

Como valor de retorno, la llamada proporciona un ara::com::FindServiceHandle ([SWS_CM_11352]). Este manejador identifica la actividad de búsqueda en curso y se necesita para finalizar explícitamente más adelante la actividad en segundo plano mediante [SWS_CM_00125] (StopFindService) (EXP_ARAComAPI §5.3.3 «Proxy Class API’s»). Los identificadores de servicio (HandleType) recibidos a través de la devolución de llamada registrada sirven posteriormente para la construcción de las instancias proxy correspondientes ([SWS_CM_00131]).

La función está declarada como noexcept y especificada como segura frente a excepciones (exception safe) ([SWS_CM_11352]). Se definen las siguientes violaciones en tiempo de ejecución (Violations):

  • InvalidHandlerViolation: Se produce si la función de manejador transferida es inválida o corresponde a null ([SWS_CM_11352]).
  • InsufficientPermissionsViolation: Se produce si el sistema de autorizaciones deniega el acceso (Grant Enforcement) ([SWS_CM_11352]).

Si en su lugar se debe buscar un servicio a través de un ara::core::InstanceSpecifier basado en modelos, se encuentra disponible alternativamente la variante de función [SWS_CM_11365].

Este texto fue elaborado y curado por una IA. Todos los datos se basan en AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I3)

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

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00123]
instanceAs per [SWS_CM_00122]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
ara::com::FindServiceHandleAs per [SWS_CM_00123]

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

Record
AUTOSAR/AP/record/SWS_CM_11352
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11352@rel:R25-11#07e1ad3b
Content hash
07e1ad3b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11352
Status: valid/unmigrated Version: rel:R25-11#a0653886 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_11352@rel:R25-11#a0653886
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#b506106e2026-09-30
  • R20-11rel:R20-11#1e2172bd2026-10-14
  • R21-11rel:R21-11#3fa9f7922026-10-14
  • R22-11rel:R22-11#3fa9f7922026-10-14
  • R23-11rel:R23-11#72eaa22f2026-10-14
  • R24-11rel:R24-11#749e20a42026-10-14
  • R25-11rel:R25-11#a06538862026-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 StartFindService [SWS_CM_11365] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance, ExecutorT &&executor) noexcept;

Find a service using an ara::core::InstanceSpecifier, with handler registration, in a provided context

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

La función estática de plantilla StartFindService inicia la búsqueda continua y asíncrona de instancias de servicio a partir de un ara::core::InstanceSpecifier mediante el registro de un manejador de notificaciones en un contexto de ejecución transferido [SWS_CM_11365]. A diferencia de las búsquedas únicas síncronas, inicia una actividad en segundo plano para supervisar la disponibilidad del servicio y devuelve un ara::com::FindServiceHandle EXP_ARAComAPI §5.3 «Proxy Class APIs».

Parámetros y ejecución

La función acepta tres parámetros [SWS_CM_11365]:

  • handler: Función de devolución de llamada de tipo ara::com::FindServiceHandler conforme a [SWS_CM_00123], a la que se llama ante cambios en la disponibilidad de la instancia.
  • instance: El ara::core::InstanceSpecifier a buscar conforme a [SWS_CM_00123].
  • executor: Un contexto de ejecución del tipo de plantilla ExecutorT conforme a [SWS_CM_11360]. Interpretación: Es probable que el argumento de plantilla ExecutorT determine en qué contexto de hilo o tarea se ejecutará la devolución de llamada registrada. Pregunta Q-6d46f67d536a391e (abierta)

Tratamiento de errores y condiciones límite

La firma está declarada como noexcept y especificada como exception safe [SWS_CM_11365]. En la especificación se definen violaciones funcionales (Violations): InstanceSpecifierMappingIntegrityViolation (resolución fallida en el contexto de Executable o no es un PortPrototype), PortInterfaceMappingViolation y ProcessMappingViolation (asignaciones de PortInterface no coincidentes), InstanceSpecifierAlreadyInUseViolation, InvalidHandlerViolation (manejador inválido o inexistente), así como InsufficientPermissionsViolation en caso de falta de autorización de acceso [SWS_CM_11365].

Interacción

El FindServiceHandle obtenido sirve para finalizar de forma controlada la monitorización continua en segundo plano transfiriéndolo a StopFindService [SWS_CM_00125]. Los identificadores notificados al manejador se utilizan para instanciar proxies de servicio concretos mediante Proxy(handle) [SWS_CM_00131]. Para búsquedas mediante ara::com::InstanceIdentifier existe una sobrecarga alternativa [SWS_CM_11352].

Este texto fue elaborado por una IA; no sustituye el estudio de la especificación AUTOSAR subyacente.

Guía del implementador pendiente (complejidad I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion InvalidHandlerVio- Provided Callable handler does not exist or is null lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00123]
instanceAs per [SWS_CM_00123]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
ara::com::FindServiceHandleAs per [SWS_CM_00123]

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

Record
AUTOSAR/AP/record/SWS_CM_11365
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11365@rel:R25-11#047ee898
Content hash
047ee898
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11365
Status: valid/unmigrated Version: rel:R25-11#53bcbb23 Versionshistorie & Revisions (1 transition, 4 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_11365@rel:R25-11#53bcbb23
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#c0c22af02026-09-30
  • R23-11rel:R23-11#ef07eadd2026-10-14
  • R24-11rel:R24-11#203448af2026-10-14
  • R25-11rel:R25-11#53bcbb232026-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 StopFindService [SWS_CM_00125] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00120, RS_AP_00121

void StopFindService (ara::com::FindServiceHandle handle) noexcept;

Stop an ongoing StartFindService() - Stops receiving further notifications for the provided ara::com::FindServiceHandle

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

La función estática StopFindService de la clase proxy finaliza una búsqueda de servicio asincrónica iniciada previamente con StartFindService y detiene la recepción de nuevas notificaciones para el manejador suministrado [SWS_CM_00125]. Con ello se suspende la actividad en segundo plano en curso para la monitorización de la disponibilidad del servicio por parte del enlace técnico AP EXP ARAComAPI §5.3 «Proxy Class API’s».

Uso y semántica

Esta nota de uso fue generada por una IA a partir de los documentos de especificación para AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I2)

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

Parameter (in)

ParameterBeschreibung
handleThe ara::com::FindServiceHandle returned by StartFind Service methods: • [SWS_CM_00123] • [SWS_CM_00623] • [SWS_CM_11352] • [SWS_CM_11365]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_00125
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00125@rel:R25-11#a509b57d
Content hash
a509b57d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00125
Status: valid/unmigrated Version: rel:R25-11#e35ad180 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_00125@rel:R25-11#e35ad180
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a95890d12026-09-30
  • R19-11rel:R19-11#ceab02e62026-10-14
  • R20-11rel:R20-11#ceab02e62026-10-14
  • R21-11rel:R21-11#ceab02e62026-10-14
  • R22-11rel:R22-11#ceab02e62026-10-14
  • R23-11rel:R23-11#ceab02e62026-10-14
  • R24-11rel:R24-11#d8b592732026-10-14
  • R25-11rel:R25-11#e35ad1802026-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 UnsetServiceStateChangeHandler [SWS_CM_01075]

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

La función miembro UnsetServiceStateChangeHandler forma parte de la clase proxy generada en el espacio de nombres <SI-Namespace>::proxy::<SI>Proxy conforme a [SWS_CM_01075] (AUTOSAR_AP_SWS_CommunicationManagement §8.3.8.2.4.12 «UnsetServiceStateChangeHandler»). Se incluye mediante el encabezado #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h".

En cuanto a uso, comportamiento y concurrencia, rigen las siguientes especificaciones:

  • Uso: El método posee la signatura void UnsetServiceStateChangeHandler() noexcept;. No recibe parámetros y no devuelve ningún valor de retorno. Interpretación: Según el identificador y la referencia a [SWS_CM_01074], la llamada sirve para restablecer o cancelar el registro de un manejador de callback registrado previamente para cambios en el estado del servicio en la instancia de proxy. Pregunta Q-6eb71298a6f37ad9 (abierta)
  • Tratamiento de errores y seguridad frente a excepciones: La operación está declarada como noexcept y especificada como exception safe ([SWS_CM_01075]). No lanza excepciones ni devuelve códigos de error al invocador.
  • Interacción y condiciones de contorno: La semántica funcional remite a la definición en [SWS_CM_01074]. Interpretación: La cancelación del registro probablemente surta efecto de forma síncrona, de modo que, tras el retorno de la llamada a la función, no se entreguen más transiciones de estado a través del callback anterior. Pregunta Q-31348a50d9be537d (abierta)

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

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
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_01075
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01075@rel:R25-11#4c50e515
Content hash
4c50e515
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01075
Status: valid/unmigrated Version: rel:R25-11#9a8d00b1 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_01075@rel:R25-11#9a8d00b1
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#acd5afba2026-09-30
  • R22-11rel:R22-11#266981b82026-10-14
  • R23-11rel:R23-11#7fa74f802026-10-14
  • R24-11rel:R24-11#0398d0122026-10-14
  • R25-11rel:R25-11#9a8d00b12026-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 operator= [SWS_CM_11551] Upstream: RS_CM_00102, RS_AP_00114

<SI>Proxy & operator= (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete;

Copy assignment constructor deletion

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy

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

Record
AUTOSAR/AP/record/SWS_CM_11551
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11551@rel:R25-11#344d18b5
Content hash
344d18b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11551
Status: valid/unmigrated Version: rel:R25-11#d1bb516a 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_11551@rel:R25-11#d1bb516a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#48b1d1052026-09-30
  • R24-11rel:R24-11#53d4fe222026-10-14
  • R25-11rel:R25-11#d1bb516a2026-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 operator= [SWS_CM_11552] Upstream: RS_CM_00102, RS_AP_00114

<SI-Namespace>::proxy:: <SI>Proxy & operator= ( <SI-Namespace>::proxy:: <SI>Proxy &&other) noexcept;

Move assignment constructor

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

Parameter (in)

ParameterBeschreibung
otherOther object to move

Rückgabewert

TypBeschreibung
<SI-Namespace>::proxy::{<service-interface-name> }Proxy &The moved object

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

Record
AUTOSAR/AP/record/SWS_CM_11552
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11552@rel:R25-11#ed9f26a0
Content hash
ed9f26a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11552
Status: valid/unmigrated Version: rel:R25-11#d00c3051 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_11552@rel:R25-11#d00c3051
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e1e91d572026-09-30
  • R24-11rel:R24-11#743e1f3d2026-10-14
  • R25-11rel:R25-11#d00c30512026-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 las constantes / variables

variable <Event> [SWS_CM_99445] Upstream: RS_CM_00201, RS_AP_00114

events::<Event> <Event>;

Event member, one for each VariableDataPrototype defined in the ServiceInterface in the role event.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Symbol<Event>
Typevents::<Event>

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

Record
AUTOSAR/AP/record/SWS_CM_99445
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99445@rel:R25-11#af3ce7b8
Content hash
af3ce7b8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99445
Status: valid/unmigrated Version: rel:R25-11#9c64ddce 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_99445@rel:R25-11#9c64ddce
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#af3ce7b82026-09-30
  • R24-11rel:R24-11#fcd66cc52026-10-14
  • R25-11rel:R25-11#9c64ddce2026-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

variable <Field> [SWS_CM_99446] Upstream: RS_CM_00216, RS_AP_00114

fields::<Field> <Field>;

Field member, one for each Field defined in the ServiceInterface in the role field.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Symbol<Field>
Typfields::<Field>

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

Record
AUTOSAR/AP/record/SWS_CM_99446
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99446@rel:R25-11#44127f5b
Content hash
44127f5b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99446
Status: valid/unmigrated Version: rel:R25-11#7b384735 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_99446@rel:R25-11#7b384735
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#44127f5b2026-09-30
  • R24-11rel:R24-11#f92e65aa2026-10-14
  • R25-11rel:R25-11#7b3847352026-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

variable <Method> [SWS_CM_99447] Upstream: RS_CM_00212, RS_CM_00213, RS_AP_00114

methods::<Method> <Method>;

Method member, one for each ClientServerOperation defined in the ServiceInterface in the role method.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Symbol<Method>
Typmethods::<Method>

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

Record
AUTOSAR/AP/record/SWS_CM_99447
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99447@rel:R25-11#1d379a32
Content hash
1d379a32
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99447
Status: valid/unmigrated Version: rel:R25-11#798a90d2 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_99447@rel:R25-11#798a90d2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1d379a322026-09-30
  • R24-11rel:R24-11#a0578b1e2026-10-14
  • R25-11rel:R25-11#798a90d22026-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