DEENESPTFRRUARHIKOZHNL

clase ara::tsync::SynchronizedTimeBaseConsumer

[SWS_TS_01000] Upstream: RS_TS_00030 texto aún no importado

class SynchronizedTimeBaseConsumer final {...};

Class SynchronizedTimeBaseConsumer is the access to the synchronized timebase referenced by the InstanceSpecifier. It allows to get the current time_point, the rate deviation, the current status and the received user data

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Forwarding-Header#include "ara/tsync/tsync_fwd.h"
Scopenamespace ara::tsync

Guía del usuarioGENERADO POR IA

Permite a las aplicaciones consultar valores de tiempo sincronizados de forma segura para subprocesos, así como registrar notificadores de estado.
GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 254e46109c20 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 consultar valores de tiempo sincronizados de forma segura para subprocesos, así como registrar notificadores de estado.

La clase ara::tsync::SynchronizedTimeBaseConsumer permite a las aplicaciones de tiempo acceder a una base de tiempo sincronizada referenciada a través de un ara::core::InstanceSpecifier ([SWS_TS_01001]). A través de métodos seguros para subprocesos, las aplicaciones pueden consultar instantáneas actuales de valores de tiempo y flags de estado, así como la desviación de tasa del reloj ([SWS_TS_01009]). Además, pueden registrarse notificadores para cambios de estado, saltos temporales, datos de validación y mediciones de precisión, permaneciendo activo como máximo un registro por cada tipo de evento. Las operaciones de copia están impedidas, de modo que las instancias únicamente pueden moverse o liberarse a través de su destructor.

Contexto

La clase ara::tsync::SynchronizedTimeBaseConsumer constituye para aplicaciones de tiempo en la Adaptive Platform la interfaz con una base de tiempo sincronizada identificada mediante un ara::core::InstanceSpecifier ([SWS_TS_01001]). Su tarea principal consiste en proporcionar a las aplicaciones el momento de consulta actual, la desviación de tasa del reloj ([SWS_TS_01008]), así como flags de estado consistentes y datos de usuario recibidos ([SWS_TS_01009]). Los interlocutores principales son el software de aplicación invocador (Time Consumer Application), la propia instancia consumidora y el subsistema Tsync, que adquiere datos de sincronización y desencadena eventos de notificación ([SWS_TS_01016], [SWS_TS_01018]).

Ciclo de vida

La instanciación se realiza a través del constructor explícito indicando un ara::core::InstanceSpecifier ([SWS_TS_01001]). Este constructor está clasificado como seguro para subprocesos y a prueba de excepciones. Para gestionar los recursos, la clase implementa una semántica de movimiento estricta: el constructor de movimiento ([SWS_TS_01003]) y el operador de asignación por movimiento ([SWS_TS_01004]) permiten la transferencia de propiedad, mientras que el constructor de copia ([SWS_TS_01005]) y el operador de asignación por copia ([SWS_TS_01006]) están explícitamente eliminados (=delete). Esto evita duplicaciones involuntarias del acceso al mismo recurso de base de tiempo.

El destructor libera la instancia ([SWS_TS_01002]). En cuanto a la concurrencia, rige una clara separación: mientras que el constructor ([SWS_TS_01001]) así como los métodos de consulta GetRateDeviation ([SWS_TS_01008]) y GetTimeWithStatus ([SWS_TS_01009]) están implementados como seguros para subprocesos, todas las funciones de registro y cancelación de registro, así como las operaciones de movimiento y el destructor, están especificados como no seguros para subprocesos (non_threadsafe).

Ruta de uso

Una secuencia de uso regular comprende las fases de inicialización, registro de notificadores relevantes, consultas cíclicas o impulsadas por eventos, y la limpieza final:

  • Inicialización: la aplicación crea el objeto con la especificación de instancia de puerto adecuada ([SWS_TS_01001]).
  • Registro de notificadores: la aplicación registra funciones de retrollamada u objetos notificadores para eventos específicos:
    • cambios generales de flags de estado a través de RegisterStatusChangeNotifier ([SWS_TS_01010]),
    • cambios del estado de sincronización a través de RegisterSynchronizationStateChangeNotifier ([SWS_TS_01012]),
    • aparición de un salto temporal a través de RegisterTimeLeapNotifier ([SWS_TS_01014]),
    • recepción de bloques de datos de validación a través de RegisterTimeValidationNotification ([SWS_TS_01016]),
    • disponibilidad de mediciones de precisión temporal a través de RegisterTimePrecisionMeasurementNotifier ([SWS_TS_01018]).
    Por cada tipo de notificador puede estar activo como máximo un registro; cada nuevo registro sobrescribe el anterior ([SWS_TS_01010], [SWS_TS_01018]).
  • Consulta durante el funcionamiento: a través de GetTimeWithStatus(), la aplicación consulta una instantánea coherente (SynchronizedTimeBaseStatus) con flags de estado, configuración del reloj y valores de tiempo tanto locales como sincronizados ([SWS_TS_01009]). Mediante GetRateDeviation() se determina la desviación de tasa actual del reloj ([SWS_TS_01008]).
  • Limpieza: antes de desmontar el consumidor, los notificadores se desregistran según sea necesario a través de las llamadas correspondientes como UnregisterStatusChangeNotifier ([SWS_TS_01011]), UnregisterSynchronizationStateChangeNotifier ([SWS_TS_01013]), UnregisterTimeLeapNotifier ([SWS_TS_01015]), UnregisterTimeValidationNotification ([SWS_TS_01017]) o UnregisterTimePrecisionMeasurementNotifier ([SWS_TS_01019]), antes de que se destruya el objeto ([SWS_TS_01002]).
Secuencia de uso de un SynchronizedTimeBaseConsumerAplicaciónSynchronizedTimeBaseConsumerTsync-SubsystemUse Case: InitialisierungSynchronizedTimeBaseConsumer(specifier)Use Case: Notifier-RegistrierungRegisterStatusChangeNotifier(notifier)RegisterTimeValidationNotification(timeBaseValidationNotification)Use Case: ZeitabfrageGetTimeWithStatus()SynchronizedTimeBaseStatusGetRateDeviation()double (Ratenabweichung)optCambio de estado o eventoSignalisiere Ereignisnotifier(status)Use Case: BereinigungUnregisterStatusChangeNotifier()~SynchronizedTimeBaseConsumer()

Diagrama de secuencias: secuencia típica de inicialización, registro de notificadores, consulta cíclica y limpieza. Fuentes: [SWS_TS_01001], [SWS_TS_01008], [SWS_TS_01009], [SWS_TS_01010], [SWS_TS_01011], [SWS_TS_01002].

Escenarios de error

Todos los métodos de interfaz de la clase están declarados con noexcept y especificados como a prueba de excepciones (exception safe). Por lo tanto, los errores no se señalan mediante excepciones de C++. Deben tenerse en cuenta las siguientes condiciones de contorno y violaciones de configuración:

  • Error de configuración de mapeo de puertos: un PortPrototype al que se hace referencia a través de un TimeSyncPortPrototypeToTimeBaseMapping debe estar tipificado obligatoriamente a través de un SynchronizedTimeBaseConsumerInterface; de lo contrario, se produce una PortInterfaceMappingViolation ([SWS_TS_01001]).
  • Sobrescritura de retrollamadas existentes: si se llama de nuevo a un método de registro, el nuevo notificador sobrescribe la retrollamada previamente depositada sin un mensaje de error específico ([SWS_TS_01010], [SWS_TS_01012], [SWS_TS_01014], [SWS_TS_01016], [SWS_TS_01018]).
  • Falta de puesta en cola en mediciones de precisión: el subsistema Tsync no realiza ningún almacenamiento intermedio (puesta en cola) para datos de medición de la precisión temporal ([SWS_TS_01018]). Si el notificador no puede procesar los datos a tiempo, las mediciones sucesivas presumiblemente se pierden en caso de que la aplicación no prevea un almacenamiento en búfer propio en el notificador. Pregunta Q-dd82872d44124973 (abierta)
  • Riesgo de carreras de datos en métodos de notificadores: puesto que los registros y cancelaciones de registro de notificadores están designados como no seguros para subprocesos, una llamada concurrente desde distintos contextos de ejecución sin mecanismos de protección externos daría lugar presumiblemente a estados inconsistentes (interpretación). Pregunta Q-626c00c2b1849655 (abierta)

Esta guía fue generada por un modelo de IA sobre la base de los datos de especificación de AUTOSAR R25-11.

Mapa de miembros

Diagrama de clases

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

G nara__tsync__SynchronizedTimeBaseConsumer483 SynchronizedTimeBaseConsumer + SynchronizedTimeBaseConsumer() + operator=() + ~SynchronizedTimeBaseConsumer() + GetRateDeviation() + GetTimeWithStatus() + RegisterStatusChangeNotifier() + RegisterSynchronizationStateChangeNotifier() + RegisterTimeLeapNotifier() + RegisterTimePrecisionMeasurementNotifier() + RegisterTimeValidationNotification() + UnregisterStatusChangeNotifier() + UnregisterSynchronizationStateChangeNotifier() + UnregisterTimeLeapNotifier() + UnregisterTimePrecisionMeasurementNotifier() + UnregisterTimeValidationNotification()

Vista de detalle

Selecciona una entrada en el índice.

Constructores y destructor

SynchronizedTimeBaseConsumer constructor.

Sobrecargas SynchronizedTimeBaseConsumer 3
explicit SynchronizedTimeBaseConsumer (const ara::core::Instance Specifier &specifier) noexcept; SWS_TS_01001
SynchronizedTimeBaseConsumer (SynchronizedTimeBaseConsumer &&stbc) noexcept; SWS_TS_01003
SynchronizedTimeBaseConsumer (const SynchronizedTimeBaseConsumer &)=delete; SWS_TS_01005

SynchronizedTimeBaseConsumer destructor.

Métodos

Method to obtain the current rate deviation of the clock.

double GetRateDeviation () const noexcept;

Method to obtain a snapshot of the current state of the clock. This includes status flags, clock configuration and the actual time value (local and synchronized) of the created status object.

SynchronizedTimeBaseStatus GetTimeWithStatus () const noexcept;

Register a notifier function which is called if a StatusFlag is changed (i.e. synchronization state, time leap or userdata). A maximum of one notifier can be registered. Every further registration overwrites the current registration.

void RegisterStatusChangeNotifier (SynchronizedTimeBaseNotifier notifier) noexcept;

Register a notifier function which is called if a synchronization state is changed. A maximum of one notifier can be registered. Every further registration overwrites the current registration.

void RegisterSynchronizationStateChangeNotifier (Synchronization Notifier notifier) noexcept;

Register a notifier function which is called if a time leap happened. A maximum of one notifier can be registered. Every further registration overwrites the current registration.

void RegisterTimeLeapNotifier (SynchronizedTimeBaseNotifier notifier) noexcept;

Register a notifier function which is called if a new time precision snapshot is available. A maximum of one notifier can be registered. Every further registration overwrites the current registration. The Tsync will not do any queuing. If needed it has to be done within the notifier.

void RegisterTimePrecisionMeasurementNotifier (TimePrecisionNotifier notifier) noexcept;

Method that can be used by time consumer applications to receive time sync parameters. A maximum of one notifier can be registered. Every further registration overwrites the current registration.

void RegisterTimeValidationNotification (ConsumerTimeBaseValidation Notification &timeBaseValidationNotification) noexcept;

Unregister a notifier function which is called if a StatusFlag is changed (i.e. synchronization state, time leap or userdata). .

void UnregisterStatusChangeNotifier () noexcept;

Unregister a notifier function which is called if a synchronization state is changed. .

void UnregisterSynchronizationStateChangeNotifier () noexcept;

Unregister a notifier function which is called if a time leap happened. .

void UnregisterTimeLeapNotifier () noexcept;

Unregister a notifier function which is called if a new time precision snapshot is available. .

void UnregisterTimePrecisionMeasurementNotifier () noexcept;

Method that can be used by time consumer applications to receive time sync parameters. .

void UnregisterTimeValidationNotification () noexcept;

Operadores

operator= función 2

Move assignment operator for SynchronizedTimeBaseConsumer.

Sobrecargas = 2
SynchronizedTimeBaseConsumer & operator= (const SynchronizedTimeBase Consumer &)=delete; SWS_TS_01006

Documentación de los métodos

función GetRateDeviation [SWS_TS_01008] Upstream: RS_TS_00018 texto aún no importado

double GetRateDeviation () const noexcept;

Method to obtain the current rate deviation of the clock.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
doubleThe current rate deviation.

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

Record
AUTOSAR/AP/record/SWS_TS_01008
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01008@rel:R25-11#51429d47
Content hash
51429d47
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01008
Status: valid/unmigrated Version: rel:R25-11#3a189a5f 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_TS_01008@rel:R25-11#3a189a5f
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#6317296d2026-09-30
  • R20-11rel:R20-11#631e05a12026-10-14
  • R21-11rel:R21-11#631e05a12026-10-14
  • R22-11rel:R22-11#814e445e2026-10-14
  • R23-11rel:R23-11#7b57af722026-10-14
  • R24-11rel:R24-11#3a189a5f2026-10-14
  • R25-11rel:R25-11#3a189a5f2026-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 GetTimeWithStatus [SWS_TS_01009] Upstream: RS_TS_00021 texto aún no importado

SynchronizedTimeBaseStatus GetTimeWithStatus () const noexcept;

Method to obtain a snapshot of the current state of the clock. This includes status flags, clock configuration and the actual time value (local and synchronized) of the created status object.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
SynchronizedTimeBaseStatusA clock specific TimeBaseStatus that contains all the relevant clock information.

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

Record
AUTOSAR/AP/record/SWS_TS_01009
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01009@rel:R25-11#bcdba8cf
Content hash
bcdba8cf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01009
Status: valid/unmigrated Version: rel:R25-11#739e94f0 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_TS_01009@rel:R25-11#739e94f0
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#f9c9cf7c2026-09-30
  • R20-11rel:R20-11#dd0ae1732026-10-14
  • R21-11rel:R21-11#dd0ae1732026-10-14
  • R22-11rel:R22-11#27ec07322026-10-14
  • R23-11rel:R23-11#d08f2f342026-10-14
  • R24-11rel:R24-11#739e94f02026-10-14
  • R25-11rel:R25-11#739e94f02026-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 RegisterStatusChangeNotifier [SWS_TS_01010] Upstream: RS_TS_00034 texto aún no importado

void RegisterStatusChangeNotifier (SynchronizedTimeBaseNotifier notifier) noexcept;

Register a notifier function which is called if a StatusFlag is changed (i.e. synchronization state, time leap or userdata). A maximum of one notifier can be registered. Every further registration overwrites the current registration.

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

El método RegisterStatusChangeNotifier de la clase ara::tsync::SynchronizedTimeBaseConsumer sirve para registrar una función de retrollamada para la notificación de cambios de estado en una base de tiempo sincronizada [SWS_TS_01010]. Como único parámetro se pasa notifier de tipo SynchronizedTimeBaseNotifier. La función de notificación registrada se invoca tan pronto como cambia un StatusFlag de la base de tiempo, como el estado de sincronización (synchronization state), un salto temporal (time leap) o datos de usuario (userdata) [SWS_TS_01010].

En cualquier momento puede haber registrada como máximo una función de notificación [SWS_TS_01010]. Cada llamada posterior al método sobrescribe por completo un registro existente, de modo que siempre permanece activa únicamente la última función transmitida [SWS_TS_01010].

Para la integración y el contexto de llamada se aplican las siguientes condiciones marco específicas:

  • Tratamiento de errores: La función no posee valor de retorno (void), está declarada como noexcept y especificada como exception safe [SWS_TS_01010]. No se contemplan códigos de error ni mensajes de error.
  • Concurrencia: El método está clasificado como non_threadsafe [SWS_TS_01010]. Los accesos concurrentes a la misma instancia deben ser sincronizados por el llamador.
  • Archivo de encabezado: La declaración está disponible a través del archivo de encabezado #include "ara/tsync/synchronized_time_base_consumer.h" [SWS_TS_01010].

Esta nota de uso se ha generado automáticamente y se basa exclusivamente en los datos de especificación de AUTOSAR R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
notifierThe notifier function to be registered.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01010
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01010@rel:R25-11#a006e6d8
Content hash
a006e6d8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01010
Status: valid/unmigrated Version: rel:R25-11#964435b1 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_TS_01010@rel:R25-11#964435b1
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#cbb524222026-09-30
  • R20-11rel:R20-11#dc82c1662026-10-14
  • R21-11rel:R21-11#5ed9c57d2026-10-14
  • R22-11rel:R22-11#bcb872ad2026-10-14
  • R23-11rel:R23-11#ab8ae2202026-10-14
  • R24-11rel:R24-11#a036661b2026-10-14
  • R25-11rel:R25-11#964435b12026-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 RegisterSynchronizationStateChangeNotifier [SWS_TS_01012] Upstream: RS_TS_00034 texto aún no importado

void RegisterSynchronizationStateChangeNotifier (Synchronization Notifier notifier) noexcept;

Register a notifier function which is called if a synchronization state is changed. A maximum of one notifier can be registered. Every further registration overwrites the current registration.

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

El método RegisterSynchronizationStateChangeNotifier de la clase ara::tsync::SynchronizedTimeBaseConsumer (definido en el encabezado ara/tsync/synchronized_time_base_consumer.h) sirve para registrar una función de retrollamada de tipo Synchronization Notifier. Esta se invoca tan pronto como cambia el estado de sincronización [SWS_TS_01012].

Durante el uso deben tenerse en cuenta las siguientes prescripciones funcionales y condiciones marco:

  • Comportamiento de registro: Solo puede haber registrado un notificador como máximo al mismo tiempo. Cada nueva llamada al método sobrescribe por completo un registro ya existente [SWS_TS_01012].
  • Retorno y seguridad contra errores: La función no devuelve ningún valor (tipo de retorno void) y no lanza excepciones; está declarada con noexcept y especificada como segura contra excepciones (exception safe) [SWS_TS_01012]. No existen códigos de error específicos.
  • Concurrencia: La operación está clasificada como no segura para subprocesos (non_threadsafe) [SWS_TS_01012]. Las llamadas paralelas en la misma instancia de SynchronizedTimeBaseConsumer deben ser sincronizadas por el llamador.

Interpretación: La descripción del parámetro «The function to unregister» indicada en la tabla de especificación para notifier probablemente sea un descuido editorial de la especificación, ya que tanto el nombre como la descripción de RegisterSynchronizationStateChangeNotifier definen claramente el registro y la sustitución de la retrollamada [SWS_TS_01012]. Pregunta Q-65eac6c0d06d6c4f (abierta)

Nota de uso generada automáticamente sobre la base de la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
notifierThe function to unregister.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01012
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01012@rel:R25-11#69bce82e
Content hash
69bce82e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01012
Status: valid/unmigrated Version: rel:R25-11#d84ac91a 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_TS_01012@rel:R25-11#d84ac91a
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#af97126a2026-09-30
  • R20-11rel:R20-11#d5bce1452026-10-14
  • R21-11rel:R21-11#121dda8e2026-10-14
  • R22-11rel:R22-11#a966aec72026-10-14
  • R23-11rel:R23-11#11c070012026-10-14
  • R24-11rel:R24-11#ba74c8012026-10-14
  • R25-11rel:R25-11#d84ac91a2026-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 RegisterTimeLeapNotifier [SWS_TS_01014] Upstream: RS_TS_00034 texto aún no importado

void RegisterTimeLeapNotifier (SynchronizedTimeBaseNotifier notifier) noexcept;

Register a notifier function which is called if a time leap happened. A maximum of one notifier can be registered. Every further registration overwrites the current registration.

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

usar

La función RegisterTimeLeapNotifier registra una función de retrollamada que se invoca tan pronto como se produce un salto temporal (Time Leap) [SWS_TS_01014]. Pertenece a la clase ara::tsync::SynchronizedTimeBaseConsumer y se proporciona a través del encabezado #include "ara/tsync/synchronized_time_base_consumer.h" [SWS_TS_01014].

Como parámetro se transmite notifier de tipo SynchronizedTimeBaseNotifier [SWS_TS_01014]. Se puede registrar como máximo una función de notificación simultáneamente; cada llamada posterior a RegisterTimeLeapNotifier sobrescribe la función registrada previamente [SWS_TS_01014]. La función no proporciona valor de retorno [SWS_TS_01014].

Tratamiento de errores y seguridad frente a excepciones

La operación está declarada como noexcept y clasificada como segura contra excepciones [SWS_TS_01014]. En el elemento de especificación no se definen códigos de error específicos ni reacciones de error [SWS_TS_01014].

Concurrencia y restricciones

En cuanto a la seguridad para subprocesos, RegisterTimeLeapNotifier está especificado explícitamente como non_threadsafe [SWS_TS_01014]. Por lo tanto, las llamadas desde contextos concurrentes en la misma instancia deben sincronizarse externamente.

Este texto ha sido generado automáticamente por una IA y sirve como guía orientativa. Los textos determinantes son las especificaciones de AUTOSAR referenciadas.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called if the TimeBaseStatus has changed.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01014
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01014@rel:R25-11#e08df990
Content hash
e08df990
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01014
Status: valid/unmigrated Version: rel:R25-11#bce4a7cf 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_TS_01014@rel:R25-11#bce4a7cf
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#a27a028d2026-09-30
  • R20-11rel:R20-11#4d2128072026-10-14
  • R21-11rel:R21-11#f53cf2e02026-10-14
  • R22-11rel:R22-11#53e0e7302026-10-14
  • R23-11rel:R23-11#9bf2fa892026-10-14
  • R24-11rel:R24-11#b9f485482026-10-14
  • R25-11rel:R25-11#bce4a7cf2026-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 RegisterTimePrecisionMeasurementNotifier [SWS_TS_01018] Upstream: RS_TS_00034 texto aún no importado

void RegisterTimePrecisionMeasurementNotifier (TimePrecisionNotifier notifier) noexcept;

Register a notifier function which is called if a new time precision snapshot is available. A maximum of one notifier can be registered. Every further registration overwrites the current registration. The Tsync will not do any queuing. If needed it has to be done within the notifier.

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

La función RegisterTimePrecisionMeasurementNotifier sirve para registrar una función de retrollamada que se invoca tan pronto como está disponible una nueva instantánea (snapshot) para la medición de precisión temporal [SWS_TS_01018]. Está definida como método de la clase ara::tsync::SynchronizedTimeBaseConsumer a través del encabezado ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01018].

Respecto al comportamiento de registro y a la semántica de llamada se aplican las siguientes directrices:

  • Límite de registro: Solo se puede registrar como máximo un notificador simultáneamente. Cada llamada posterior a RegisterTimePrecisionMeasurementNotifier sobrescribe el registro existente [SWS_TS_01018].
  • Sin cola de espera: El módulo Time Synchronization (Tsync) no realiza ningún encolamiento de notificaciones ni de datos. Si se requiere almacenamiento en búfer o almacenamiento temporal de valores de medición, este debe implementarse dentro de la función de notificación transmitida [SWS_TS_01018].
  • Valor de retorno y manejo de excepciones: La función no devuelve ningún valor de retorno (void) y está especificada con noexcept como segura contra excepciones (exception safe) [SWS_TS_01018].

En relación con la concurrencia, la función está especificada como non_threadsafe [SWS_TS_01018]. Esto significa que las llamadas a RegisterTimePrecisionMeasurementNotifier deben sincronizarse externamente en caso de accesos desde múltiples subprocesos, a fin de evitar carreras de datos. Presumiblemente, el registro debería realizarse preferentemente en una fase de inicialización determinista de la instancia. Pregunta Q-acd77cb313138b63 (abierta)

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

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
notifierThe function to be called.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01018
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01018@rel:R25-11#93d07582
Content hash
93d07582
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01018
Status: valid/unmigrated Version: rel:R25-11#0f285003 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_TS_01018@rel:R25-11#0f285003
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#c03f79d02026-09-30
  • R20-11rel:R20-11#b9e39d5c2026-10-14
  • R21-11rel:R21-11#a98705762026-10-14
  • R22-11rel:R22-11#08913dfe2026-10-14
  • R23-11rel:R23-11#3f9f8ba72026-10-14
  • R24-11rel:R24-11#ba986d8d2026-10-14
  • R25-11rel:R25-11#0f2850032026-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 RegisterTimeValidationNotification [SWS_TS_01016] Upstream: RS_TS_00034 texto aún no importado, RS_TS_00030 texto aún no importado

void RegisterTimeValidationNotification (ConsumerTimeBaseValidation Notification &timeBaseValidationNotification) noexcept;

Method that can be used by time consumer applications to receive time sync parameters. A maximum of one notifier can be registered. Every further registration overwrites the current registration.

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

El método RegisterTimeValidationNotification permite a las aplicaciones Time-Consumer registrar un objeto de notificación para parámetros de sincronización temporal [SWS_TS_01016]. Forma parte de la clase ara::tsync::SynchronizedTimeBaseConsumer y se incluye a través del encabezado ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01016].

Uso y parámetros:

  • Parámetro: Como parámetro de entrada se pasa una referencia ConsumerTimeBaseValidationNotification& timeBaseValidationNotification [SWS_TS_01016]. Este objeto de notificación es informado tan pronto como está disponible un nuevo bloque de datos registrado para la base de tiempo [SWS_TS_01016].
  • Valor de retorno: La función no tiene valor de retorno (void) [SWS_TS_01016].
  • Cardinalidad: Puede haber registrado como máximo un notificador al mismo tiempo; cualquier nuevo registro sobrescribe el existente [SWS_TS_01016].

Gestión de errores y seguridad frente a excepciones:

La función está declarada como noexcept y especificada como segura contra excepciones (exception safe) [SWS_TS_01016]. No se devuelven códigos de error específicos.

Concurrencia e interacción:

El método está clasificado como no seguro para hilos (non_threadsafe) [SWS_TS_01016]. Por lo tanto, los accesos paralelos por parte de la aplicación usuaria deben sincronizarse externamente. Mientras que este elemento se aplica a instancias de Consumer, [SWS_TS_01114] representa la contraparte funcional para aplicaciones Provider (ara::tsync::SynchronizedTimeBaseProvider) con un objeto ProviderTimeBaseValidationNotification.

Este texto ha sido generado por una IA a partir de la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
timeBaseValidationNotificationtime consumer application notification object that will be notified about the availability of a new data block recorded for the Time Base

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01016
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01016@rel:R25-11#30fc5fe2
Content hash
30fc5fe2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01016
Status: valid/unmigrated Version: rel:R25-11#a5b91052 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_TS_01016@rel:R25-11#a5b91052
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#58ca60622026-09-30
  • R20-11rel:R20-11#94e8af522026-10-14
  • R21-11rel:R21-11#a7bbf4502026-10-14
  • R22-11rel:R22-11#d104689d2026-10-14
  • R23-11rel:R23-11#866500902026-10-14
  • R24-11rel:R24-11#a5b910522026-10-14
  • R25-11rel:R25-11#a5b910522026-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 SynchronizedTimeBaseConsumer [SWS_TS_01001] Upstream: RS_TS_00005 texto aún no importado, RS_AP_00170, RS_AP_00173, RS_AP_00177

explicit SynchronizedTimeBaseConsumer (const ara::core::Instance Specifier &specifier) noexcept;

SynchronizedTimeBaseConsumer constructor.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)PortInterfaceMap- A PortPrototype that is referenced by a pingViolation TimeSyncPortPrototypeToTimeBaseMapping needs to be typed by a SynchronizedTimeBaseConsumerInterface.

Parameter (in)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype typed by a SynchronizedTime BaseConsumerInterface

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

Record
AUTOSAR/AP/record/SWS_TS_01001
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01001@rel:R25-11#3901e1b5
Content hash
3901e1b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01001
Status: valid/unmigrated Version: rel:R25-11#b8f6eeab 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_TS_01001@rel:R25-11#b8f6eeab
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#2a2978582026-09-30
  • R20-11rel:R20-11#825c5b6c2026-10-14
  • R21-11rel:R21-11#0cf5ea952026-10-14
  • R22-11rel:R22-11#501c46042026-10-14
  • R23-11rel:R23-11#3ebd810e2026-10-14
  • R24-11rel:R24-11#b8f6eeab2026-10-14
  • R25-11rel:R25-11#b8f6eeab2026-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 SynchronizedTimeBaseConsumer [SWS_TS_01003] Upstream: RS_TS_00005 texto aún no importado

SynchronizedTimeBaseConsumer (SynchronizedTimeBaseConsumer &&stbc) noexcept;

Move constructor for SynchronizedTimeBaseConsumer.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
stbcThe SynchronizedTimeBaseConsumer object to be moved.

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

Record
AUTOSAR/AP/record/SWS_TS_01003
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01003@rel:R25-11#e5ddecb5
Content hash
e5ddecb5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01003
Status: valid/unmigrated Version: rel:R25-11#6a1d0132 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_TS_01003@rel:R25-11#6a1d0132
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#85a4289c2026-09-30
  • R20-11rel:R20-11#3169bed62026-10-14
  • R21-11rel:R21-11#6d37fff52026-10-14
  • R22-11rel:R22-11#6bc2f9482026-10-14
  • R23-11rel:R23-11#7a78e6452026-10-14
  • R24-11rel:R24-11#ac21eae12026-10-14
  • R25-11rel:R25-11#6a1d01322026-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 SynchronizedTimeBaseConsumer [SWS_TS_01005] Upstream: RS_TS_00005 texto aún no importado

SynchronizedTimeBaseConsumer (const SynchronizedTimeBaseConsumer &)=delete;

The copy constructor for SynchronizedTimeBaseConsumer shall not be used.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer

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

Record
AUTOSAR/AP/record/SWS_TS_01005
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01005@rel:R25-11#dbacb92c
Content hash
dbacb92c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01005
Status: valid/unmigrated Version: rel:R25-11#a82edc8b 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_TS_01005@rel:R25-11#a82edc8b
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#ac9425dc2026-09-30
  • R20-11rel:R20-11#5dd184112026-10-14
  • R21-11rel:R21-11#5dd184112026-10-14
  • R22-11rel:R22-11#f849cbd82026-10-14
  • R23-11rel:R23-11#68d3b4fd2026-10-14
  • R24-11rel:R24-11#a82edc8b2026-10-14
  • R25-11rel:R25-11#a82edc8b2026-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 UnregisterStatusChangeNotifier [SWS_TS_01011] Upstream: RS_TS_00034 texto aún no importado

void UnregisterStatusChangeNotifier () noexcept;

Unregister a notifier function which is called if a StatusFlag is changed (i.e. synchronization state, time leap or userdata). .

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

El método UnregisterStatusChangeNotifier de la clase ara::tsync::SynchronizedTimeBaseConsumer (definido en el encabezado #include "ara/tsync/synchronized_time_base_consumer.h") sirve para cancelar el registro de una función de notificación previamente registrada [SWS_TS_01011]. Este notificador se invoca tan pronto como cambia un StatusFlag, por ejemplo respecto al estado de sincronización, un salto temporal (time leap) o datos de usuario (userdata) [SWS_TS_01011].

Uso y signatura

La función posee la signatura void UnregisterStatusChangeNotifier () noexcept;, no acepta parámetros y no devuelve ningún valor [SWS_TS_01011]. Tras una cancelación exitosa del registro, el llamador no recibe más notificaciones sobre cambios de estado en la base de tiempo correspondiente.

Tratamiento de errores y comportamiento ante excepciones

La función está declarada como exception safe y noexcept [SWS_TS_01011]. En caso de error, no lanza excepciones de C++ ni devuelve códigos de error. Si en el momento de la llamada no hubiera ninguna función de notificación registrada, es de suponer según la especificación que la llamada no tendrá efecto. Pregunta Q-6c7ff4cfdcf4dba8 (abierta)

Concurrencia y restricciones

En cuanto al contexto de llamada, UnregisterStatusChangeNotifier está clasificado como non_threadsafe [SWS_TS_01011]. Por lo tanto, las llamadas paralelas en la misma instancia de ara::tsync::SynchronizedTimeBaseConsumer deben protegerse mediante mecanismos de sincronización externos para evitar condiciones de carrera.

Este texto se ha generado automáticamente a partir de AUTOSAR Release R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01011
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01011@rel:R25-11#67410e90
Content hash
67410e90
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01011
Status: valid/unmigrated Version: rel:R25-11#5878855a 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_TS_01011@rel:R25-11#5878855a
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#3f70620e2026-09-30
  • R20-11rel:R20-11#1b8212322026-10-14
  • R21-11rel:R21-11#3fe716a42026-10-14
  • R22-11rel:R22-11#fd954f8a2026-10-14
  • R23-11rel:R23-11#c8a9d3412026-10-14
  • R24-11rel:R24-11#5878855a2026-10-14
  • R25-11rel:R25-11#5878855a2026-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 UnregisterSynchronizationStateChangeNotifier [SWS_TS_01013] Upstream: RS_TS_00034 texto aún no importado

void UnregisterSynchronizationStateChangeNotifier () noexcept;

Unregister a notifier function which is called if a synchronization state is changed. .

GENERADO POR IA no revisado Modelo: gemini-3.8-flash-medium · Esfuerzo: medium · Temperatura: no controlable · Prompt: 00f5416be2a3 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 UnregisterSynchronizationStateChangeNotifier pertenece a la clase ara::tsync::SynchronizedTimeBaseConsumer y sirve para dar de baja una función de callback registrada previamente que se invoca cuando se producen cambios en el estado de sincronización [SWS_TS_01013]. Está definido en el encabezado ara/tsync/synchronized_time_base_consumer.h, no espera parámetros de transferencia y no devuelve ningún valor de retorno [SWS_TS_01013].

Tratamiento de errores y seguridad frente a excepciones

La función cuenta con el especificador noexcept y está declarada como segura contra excepciones (exception safe) [SWS_TS_01013]. Por consiguiente, no lanza excepciones y, dado que el tipo de retorno es void, tampoco devuelve códigos de error [SWS_TS_01013].

Concurrencia y restricciones

Para el método se establece la propiedad non_threadsafe [SWS_TS_01013]. Por lo tanto, las llamadas paralelas sobre la misma instancia de SynchronizedTimeBaseConsumer deben coordinarse mediante mecanismos de sincronización externos de la aplicación. La cancelación del registro probablemente se realice de forma síncrona; presumiblemente, una vez concluida la función, ya no se señalizarán más cambios de estado al notificador dado de baja (interpretación). Pregunta Q-cc4b55c56144f0f0 (abierta)

Esta nota de uso se basa en la especificación AUTOSAR Adaptive R25-11.

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01013
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01013@rel:R25-11#f785d1e0
Content hash
f785d1e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01013
Status: valid/unmigrated Version: rel:R25-11#d7331e52 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_TS_01013@rel:R25-11#d7331e52
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7c1adf652026-09-30
  • R20-11rel:R20-11#1de641d92026-10-14
  • R21-11rel:R21-11#e463acf32026-10-14
  • R22-11rel:R22-11#cc600fca2026-10-14
  • R23-11rel:R23-11#addb738a2026-10-14
  • R24-11rel:R24-11#d7331e522026-10-14
  • R25-11rel:R25-11#d7331e522026-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 UnregisterTimeLeapNotifier [SWS_TS_01015] Upstream: RS_TS_00034 texto aún no importado

void UnregisterTimeLeapNotifier () noexcept;

Unregister a notifier function which is called if a time leap happened. .

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

El método UnregisterTimeLeapNotifier pertenece a la clase ara::tsync::SynchronizedTimeBaseConsumer y se declara a través del archivo de cabecera ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01015]. Sirve para dar de baja una función de notificación (notificador) registrada previamente, que se invoca al producirse un salto temporal (time leap) [SWS_TS_01015].

Para la llamada y la semántica de la interfaz son de aplicación las siguientes propiedades:

  • Contexto de invocación y parámetros: la función carece de parámetros y no tiene valor de retorno (void) [SWS_TS_01015]. La llamada se realiza de forma síncrona sobre una instancia existente de SynchronizedTimeBaseConsumer.
  • Tratamiento de errores: La operación está declarada como noexcept y especificada como segura frente a excepciones (exception safe) [SWS_TS_01015]. Dado que no se contemplan códigos de error ni excepciones, la ejecución no falla desde el punto de vista de la interfaz. Interpretación: A falta de un canal de error, una llamada sin un Notifier previamente registrado probablemente quede sin efecto de forma silenciosa. Pregunta Q-431f60b308590f3c (abierta)
  • Concurrencia: El método está clasificado como no seguro para subprocesos (non_threadsafe) [SWS_TS_01015]. En caso de acceso concurrente a la misma instancia de Consumer desde múltiples subprocesos, la aplicación debe emplear mecanismos externos de sincronización para evitar condiciones de carrera.

En la interacción dentro del módulo Time Synchronization (ts), la cancelación del registro garantiza que la instancia de Consumer ya no reenvíe los saltos temporales posteriores de la base de tiempo sincronizada a la función de callback previamente registrada [SWS_TS_01015].

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

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01015
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01015@rel:R25-11#83337f15
Content hash
83337f15
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01015
Status: valid/unmigrated Version: rel:R25-11#4a0fabf7 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_TS_01015@rel:R25-11#4a0fabf7
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#c5721f162026-09-30
  • R20-11rel:R20-11#2b146ee32026-10-14
  • R21-11rel:R21-11#19fb6a2a2026-10-14
  • R22-11rel:R22-11#d54cf9a32026-10-14
  • R23-11rel:R23-11#0c5305c72026-10-14
  • R24-11rel:R24-11#f541f4912026-10-14
  • R25-11rel:R25-11#4a0fabf72026-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 UnregisterTimePrecisionMeasurementNotifier [SWS_TS_01019] Upstream: RS_TS_00034 texto aún no importado

void UnregisterTimePrecisionMeasurementNotifier () noexcept;

Unregister a notifier function which is called if a new time precision snapshot is available. .

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

La función UnregisterTimePrecisionMeasurementNotifier sirve, conforme a [SWS_TS_01019], para cancelar el registro de una función de notificación previamente registrada que se invoca tan pronto como se dispone de una nueva instantánea de precisión temporal (time precision snapshot).

Invocación y semántica

El método está declarado como función miembro de la clase ara::tsync::SynchronizedTimeBaseConsumer en el encabezado ara/tsync/synchronized_time_base_consumer.h ([SWS_TS_01019]). La llamada se realiza sin parámetros con la signatura void UnregisterTimePrecisionMeasurementNotifier() noexcept, no devuelve valor de retorno y no lanza excepciones (exception safe conforme a [SWS_TS_01019]).

Concurrencia y restricciones

En lo que respecta a la seguridad para subprocesos, la función está especificada explícitamente como non_threadsafe ([SWS_TS_01019]). Por lo tanto, los llamadores deben asegurarse de proteger contra accesos paralelos las llamadas a la misma instancia de SynchronizedTimeBaseConsumer. Es de esperar que la llamada sea síncrona, de modo que tras el retorno de la función no se activen más notificaciones de instantáneas a través del notificador previamente registrado. Pregunta Q-f6eb9ea26348b348 (abierta)

Este texto ha sido generado por una IA basándose en especificaciones de AUTOSAR.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01019
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01019@rel:R25-11#5d9a9c25
Content hash
5d9a9c25
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01019
Status: valid/unmigrated Version: rel:R25-11#c5847231 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_TS_01019@rel:R25-11#c5847231
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#9f2708282026-09-30
  • R20-11rel:R20-11#fcf60a7a2026-10-14
  • R21-11rel:R21-11#c461efce2026-10-14
  • R22-11rel:R22-11#ebf0c1c32026-10-14
  • R23-11rel:R23-11#d1ea280e2026-10-14
  • R24-11rel:R24-11#c58472312026-10-14
  • R25-11rel:R25-11#c58472312026-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 UnregisterTimeValidationNotification [SWS_TS_01017] Upstream: RS_TS_00034 texto aún no importado, RS_TS_00030 texto aún no importado

void UnregisterTimeValidationNotification () noexcept;

Method that can be used by time consumer applications to receive time sync parameters. .

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

Uso y signatura

El método UnregisterTimeValidationNotification forma parte de la clase ara::tsync::SynchronizedTimeBaseConsumer y se incluye a través del encabezado ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01017]. Su signatura es void UnregisterTimeValidationNotification () noexcept; [SWS_TS_01017]. No acepta parámetros y no posee valor de retorno. Según la especificación, sirve para aplicaciones consumidoras en el contexto de parámetros de sincronización de tiempo [SWS_TS_01017]. Interpretación: Según el identificador, la llamada sirve probablemente para cancelar el registro de notificaciones previamente registradas para la validación de tiempo. Pregunta Q-0b75b8b0d60da378 (abierta)

Tratamiento de errores y seguridad frente a excepciones

La operación está especificada como exception safe y declarada con noexcept [SWS_TS_01017]. No lanza excepciones ni reporta códigos de error específicos [SWS_TS_01017].

concurrencia

La especificación clasifica el método como non_threadsafe [SWS_TS_01017]. Por tanto, la llamada concurrente de múltiples operaciones en la misma instancia de SynchronizedTimeBaseConsumer debe sincronizarse del lado de la aplicación.

Interacción

Mientras que [SWS_TS_01017] establece la interfaz para consumidores de tiempo, existe con [SWS_TS_01115] un método proveedor análogo en la clase ara::tsync::SynchronizedTimeBaseProvider (encabezado ara/tsync/synchronized_time_base_provider.h) con las mismas propiedades respecto a signatura, seguridad para subprocesos y seguridad contra excepciones.

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

Guía del implementador pendiente (complejidad I1)

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_TS_01017
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01017@rel:R25-11#d8cdbc95
Content hash
d8cdbc95
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01017
Status: valid/unmigrated Version: rel:R25-11#bc34fe58 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_TS_01017@rel:R25-11#bc34fe58
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#4b54cb202026-09-30
  • R20-11rel:R20-11#f6e616202026-10-14
  • R21-11rel:R21-11#f6e616202026-10-14
  • R22-11rel:R22-11#f51a94302026-10-14
  • R23-11rel:R23-11#8df80f822026-10-14
  • R24-11rel:R24-11#bc34fe582026-10-14
  • R25-11rel:R25-11#bc34fe582026-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_TS_01004] Upstream: RS_TS_00005 texto aún no importado

SynchronizedTimeBaseConsumer & operator= (SynchronizedTimeBaseConsumer &&stbc) & noexcept;

Move assignment operator for SynchronizedTimeBaseConsumer.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
stbcThe SynchronizedTimeBaseConsumer object to be moved.

Rückgabewert

TypBeschreibung
SynchronizedTimeBaseConsumer &The moved SynchronizedTimeBaseConsumer object.

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

Record
AUTOSAR/AP/record/SWS_TS_01004
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01004@rel:R25-11#290aa857
Content hash
290aa857
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01004
Status: valid/unmigrated Version: rel:R25-11#87525a6b 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_TS_01004@rel:R25-11#87525a6b
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#787987762026-09-30
  • R20-11rel:R20-11#653b48d52026-10-14
  • R21-11rel:R21-11#e1e684582026-10-14
  • R22-11rel:R22-11#845bb2bc2026-10-14
  • R23-11rel:R23-11#abf16e102026-10-14
  • R24-11rel:R24-11#61cb34952026-10-14
  • R25-11rel:R25-11#87525a6b2026-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_TS_01006] Upstream: RS_TS_00005 texto aún no importado

SynchronizedTimeBaseConsumer & operator= (const SynchronizedTimeBase Consumer &)=delete;

The copy assignment operator for SynchronizedTimeBaseConsumer shall not be used.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer

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

Record
AUTOSAR/AP/record/SWS_TS_01006
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01006@rel:R25-11#f250007d
Content hash
f250007d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01006
Status: valid/unmigrated Version: rel:R25-11#95f90379 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_TS_01006@rel:R25-11#95f90379
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#a8cb6bfc2026-09-30
  • R20-11rel:R20-11#c1b844c12026-10-14
  • R21-11rel:R21-11#034c20e22026-10-14
  • R22-11rel:R22-11#840cbbae2026-10-14
  • R23-11rel:R23-11#03c69fe92026-10-14
  • R24-11rel:R24-11#95f903792026-10-14
  • R25-11rel:R25-11#95f903792026-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 ~SynchronizedTimeBaseConsumer [SWS_TS_01002] Upstream: RS_TS_00005 texto aún no importado

~SynchronizedTimeBaseConsumer () noexcept;

SynchronizedTimeBaseConsumer destructor.

Header-Datei#include "ara/tsync/synchronized_time_base_consumer.h"
Scopeclass ara::tsync::SynchronizedTimeBaseConsumer
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

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

Record
AUTOSAR/AP/record/SWS_TS_01002
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01002@rel:R25-11#e0841099
Content hash
e0841099
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01002
Status: valid/unmigrated Version: rel:R25-11#cf7b75c9 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_TS_01002@rel:R25-11#cf7b75c9
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7e91b1f82026-09-30
  • R20-11rel:R20-11#ed915b0d2026-10-14
  • R21-11rel:R21-11#ed915b0d2026-10-14
  • R22-11rel:R22-11#b9d0068b2026-10-14
  • R23-11rel:R23-11#5a14e4452026-10-14
  • R24-11rel:R24-11#cf7b75c92026-10-14
  • R25-11rel:R25-11#cf7b75c92026-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