DEENESPTFRRUARHIKOZHNL

classe ara::tsync::SynchronizedTimeBaseConsumer

[SWS_TS_01000] Upstream: RS_TS_00030 texto ainda não 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

Guia do utilizadorGERADO POR IA

Permite que aplicações consultem valores de tempo sincronizados de forma thread-safe, bem como registrem notificadores de status.
GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 254e46109c20 Procedência Perguntas em aberto (2)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

Permite que aplicações consultem valores de tempo sincronizados de forma thread-safe, bem como registrem notificadores de status.

A classe ara::tsync::SynchronizedTimeBaseConsumer permite que aplicações de tempo acessem uma base de tempo sincronizada referenciada por um ara::core::InstanceSpecifier ([SWS_TS_01001]). Por meio de métodos thread-safe, as aplicações podem consultar snapshots atuais de valores de tempo e flags de status, bem como o desvio de taxa do relógio ([SWS_TS_01009]). Além disso, podem ser registrados notificadores para alterações de status, saltos no tempo, dados de validação e medições de precisão, havendo no máximo um registro ativo por tipo de evento. Operações de cópia estão desabilitadas, de modo que as instâncias só podem ser movidas ou liberadas por meio de seu destrutor.

Contexto

A classe ara::tsync::SynchronizedTimeBaseConsumer constitui, para aplicações de tempo na Adaptive Platform, a interface para uma base de tempo sincronizada que é identificada por meio de um ara::core::InstanceSpecifier ([SWS_TS_01001]). Sua tarefa central consiste em disponibilizar às aplicações o momento atual de consulta, o desvio de taxa do relógio ([SWS_TS_01008]), bem como flags de status consistentes e dados de usuário recebidos ([SWS_TS_01009]). Os principais parceiros de interação são o software de aplicação chamador (Time Consumer Application), a própria instância consumidora e o subsistema Tsync, que coleta dados de sincronização e dispara eventos de notificação ([SWS_TS_01016], [SWS_TS_01018]).

Ciclo de vida

A instanciação ocorre por meio do construtor explícito mediante o fornecimento de um ara::core::InstanceSpecifier ([SWS_TS_01001]). Este construtor é classificado como thread-safe e exception-safe. Para o gerenciamento de recursos, a classe implementa uma semântica de movimento estrita: o construtor de movimento ([SWS_TS_01003]) e o operador de atribuição por movimento ([SWS_TS_01004]) permitem a transferência de propriedade, enquanto o construtor de cópia ([SWS_TS_01005]) e o operador de atribuição por cópia ([SWS_TS_01006]) estão explicitamente deletados (=delete). Isso evita duplicações acidentais de acesso ao mesmo recurso de base de tempo.

O destrutor libera a instância ([SWS_TS_01002]). Em relação à concorrência, aplica-se uma separação clara: enquanto o construtor ([SWS_TS_01001]) e os métodos de consulta GetRateDeviation ([SWS_TS_01008]) e GetTimeWithStatus ([SWS_TS_01009]) são executados como thread-safe, todas as funções de registro e desregistro, bem como as operações de movimento e o destrutor, são especificados como não thread-safe (non_threadsafe).

Caminho de utilização

Um fluxo de uso regular compreende as fases de inicialização, registro de notificadores relevantes, consultas cíclicas ou orientadas a eventos e a limpeza final:

  • Inicialização: A aplicação cria o objeto com a especificação de instância de porta apropriada ([SWS_TS_01001]).
  • Registro de notificadores: A aplicação registra funções de callback ou objetos notificadores para eventos específicos:
    • Alterações gerais de flags de status via RegisterStatusChangeNotifier ([SWS_TS_01010]),
    • Alterações do estado de sincronização via RegisterSynchronizationStateChangeNotifier ([SWS_TS_01012]),
    • Ocorrência de um salto no tempo via RegisterTimeLeapNotifier ([SWS_TS_01014]),
    • Recepção de blocos de dados de validação via RegisterTimeValidationNotification ([SWS_TS_01016]),
    • Disponibilidade de medições de precisão de tempo via RegisterTimePrecisionMeasurementNotifier ([SWS_TS_01018]).
    No máximo um registro pode estar ativo por tipo de notificador; cada registro subsequente sobrescreve o anterior ([SWS_TS_01010], [SWS_TS_01018]).
  • Consulta em operação: Por meio de GetTimeWithStatus(), a aplicação consulta um snapshot coerente (SynchronizedTimeBaseStatus) com flags de status, configuração do relógio e valores de tempo locais e sincronizados ([SWS_TS_01009]). Por meio de GetRateDeviation(), o desvio de taxa atual do relógio é determinado ([SWS_TS_01008]).
  • Limpeza: Antes da destruição do consumidor, os notificadores são desregistrados, se necessário, pelas chamadas correspondentes, como UnregisterStatusChangeNotifier ([SWS_TS_01011]), UnregisterSynchronizationStateChangeNotifier ([SWS_TS_01013]), UnregisterTimeLeapNotifier ([SWS_TS_01015]), UnregisterTimeValidationNotification ([SWS_TS_01017]) ou UnregisterTimePrecisionMeasurementNotifier ([SWS_TS_01019]), antes que o objeto seja destruído ([SWS_TS_01002]).
Fluxo de utilização de um SynchronizedTimeBaseConsumerAplicaçãoSynchronizedTimeBaseConsumerTsync-SubsystemUse Case: InitialisierungSynchronizedTimeBaseConsumer(specifier)Use Case: Notifier-RegistrierungRegisterStatusChangeNotifier(notifier)RegisterTimeValidationNotification(timeBaseValidationNotification)Use Case: ZeitabfrageGetTimeWithStatus()SynchronizedTimeBaseStatusGetRateDeviation()double (Ratenabweichung)optMudança de estado ou eventoSignalisiere Ereignisnotifier(status)Use Case: BereinigungUnregisterStatusChangeNotifier()~SynchronizedTimeBaseConsumer()

Diagrama de sequência: sequência típica de inicialização, registro de notificadores, consulta cíclica e limpeza. Fontes: [SWS_TS_01001], [SWS_TS_01008], [SWS_TS_01009], [SWS_TS_01010], [SWS_TS_01011], [SWS_TS_01002].

Cenários de erro

Todos os métodos de interface da classe são declarados com noexcept e especificados como exception-safe (exception safe). Portanto, os erros não são reportados por meio de exceções C++. As seguintes condições de contorno e violações de configuração devem ser observadas:

  • Erro de configuração do mapeamento de portas: Um PortPrototype que seja referenciado por meio de um TimeSyncPortPrototypeToTimeBaseMapping deve obrigatoriamente ser tipado por meio de um SynchronizedTimeBaseConsumerInterface; caso contrário, ocorre uma PortInterfaceMappingViolation ([SWS_TS_01001]).
  • Sobrescrita de callbacks existentes: Se um método de registro for chamado novamente, o novo notificador sobrescreve o callback registrado anteriormente sem mensagem de erro separada ([SWS_TS_01010], [SWS_TS_01012], [SWS_TS_01014], [SWS_TS_01016], [SWS_TS_01018]).
  • Ausência de enfileiramento em medições de precisão: O subsistema Tsync não realiza armazenamento intermediário (enfileiramento) para dados de medição de precisão de tempo ([SWS_TS_01018]). Se o notificador não conseguir processar os dados a tempo, as medições subsequentes presumivelmente serão perdidas, a menos que a aplicação preveja seu próprio buffer no notificador. Pergunta Q-dd82872d44124973 (aberta)
  • Risco de condições de corrida em métodos notificadores: Como os registros e desregistros de notificadores são classificados como não thread-safe, uma chamada concorrente a partir de diferentes contextos de execução sem mecanismos de proteção externos provavelmente levaria a estados inconsistentes (interpretação). Pergunta Q-626c00c2b1849655 (aberta)

Este guia foi gerado por um modelo de IA com base nos dados de especificação do AUTOSAR R25-11.

Mapa de membros

Diagrama de classes

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 detalhes

Selecione uma entrada no índice.

Construtores e destrutor

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= função 2

Move assignment operator for SynchronizedTimeBaseConsumer.

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

Documentação dos métodos

função GetRateDeviation [SWS_TS_01008] Upstream: RS_TS_00018 texto ainda não 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#99d0a336
Content hash
99d0a336
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

função GetTimeWithStatus [SWS_TS_01009] Upstream: RS_TS_00021 texto ainda não 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#7b8c15c3
Content hash
7b8c15c3
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

função RegisterStatusChangeNotifier [SWS_TS_01010] Upstream: RS_TS_00034 texto ainda não 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.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 9ef36a5b086f Procedência
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

O método RegisterStatusChangeNotifier da classe ara::tsync::SynchronizedTimeBaseConsumer serve para registrar uma função de callback para notificação sobre alterações de status em uma base de tempo sincronizada [SWS_TS_01010]. Como único parâmetro é passado notifier do tipo SynchronizedTimeBaseNotifier. A função notifiadora registrada é chamada assim que um StatusFlag da base de tempo se alterar, como o estado de sincronização (synchronization state), um salto de tempo (time leap) ou dados definidos pelo usuário (userdata) [SWS_TS_01010].

Pode haver no máximo uma função notifiadora registrada a qualquer momento [SWS_TS_01010]. Cada chamada adicional do método sobrescreve completamente um registro existente, de modo que apenas a função passada por último permanece ativa [SWS_TS_01010].

Aplicam-se as seguintes condições de contorno específicas para a integração e o contexto de chamada:

  • Tratamento de erros: A função não possui valor de retorno (void), é declarada como noexcept e especificada como exception safe [SWS_TS_01010]. Não estão previstos códigos de erro ou mensagens de erro.
  • Simultaneidade: O método é classificado como non_threadsafe [SWS_TS_01010]. Acessos concorrentes à mesma instância devem ser sincronizados pelo chamador.
  • Arquivo de cabeçalho: A declaração está disponível por meio do arquivo de cabeçalho #include "ara/tsync/synchronized_time_base_consumer.h" [SWS_TS_01010].

Esta nota de uso foi criada de forma automatizada e baseia-se exclusivamente nos dados de especificação do AUTOSAR R25-11.

Guia do implementador em breve (complexidade 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#67557200
Content hash
67557200
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

função RegisterSynchronizationStateChangeNotifier [SWS_TS_01012] Upstream: RS_TS_00034 texto ainda não 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.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: e95264d7432e Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

O método RegisterSynchronizationStateChangeNotifier da classe ara::tsync::SynchronizedTimeBaseConsumer (definido no cabeçalho ara/tsync/synchronized_time_base_consumer.h) serve para registrar uma função de callback do tipo Synchronization Notifier. Esta é chamada assim que o estado de sincronização é alterado [SWS_TS_01012].

Durante a utilização, devem ser observadas as seguintes diretrizes funcionais e condições de contorno:

  • Comportamento de registro: Pode haver no máximo um notificador registrado ao mesmo tempo. Cada nova chamada do método sobrescreve completamente um registro já existente [SWS_TS_01012].
  • Retorno e segurança contra falhas: A função não retorna nenhum valor (tipo de retorno void) e não lança exceções; ela é declarada com noexcept e especificada como segura contra exceções (exception safe) [SWS_TS_01012]. Não existem códigos de erro específicos.
  • Simultaneidade: A operação é classificada como não thread-safe (non_threadsafe) [SWS_TS_01012]. Chamadas paralelas na mesma instância de SynchronizedTimeBaseConsumer devem ser sincronizadas pelo chamador.

Interpretação: A descrição de parâmetro “The function to unregister” indicada na tabela de especificação para notifier parece ser um lapso editorial da especificação, já que tanto o nome quanto a descrição de RegisterSynchronizationStateChangeNotifier definem claramente o registro e a substituição do callback [SWS_TS_01012]. Pergunta Q-65eac6c0d06d6c4f (aberta)

Nota de uso gerada automaticamente com base na especificação AUTOSAR Adaptive R25-11.

Guia do implementador em breve (complexidade 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#dab271ab
Content hash
dab271ab
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

função RegisterTimeLeapNotifier [SWS_TS_01014] Upstream: RS_TS_00034 texto ainda não 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.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: bdea44f8d9c4 Procedência
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

usar

A função RegisterTimeLeapNotifier registra uma função de callback que é chamada assim que um salto de tempo (Time Leap) tiver ocorrido [SWS_TS_01014]. Ela pertence à classe ara::tsync::SynchronizedTimeBaseConsumer e é fornecida por meio do cabeçalho #include "ara/tsync/synchronized_time_base_consumer.h" [SWS_TS_01014].

Como parâmetro é passado notifier do tipo SynchronizedTimeBaseNotifier [SWS_TS_01014]. Pode ser registrada no máximo uma função notifiadora simultaneamente; cada chamada subsequente de RegisterTimeLeapNotifier sobrescreve a função registrada anteriormente [SWS_TS_01014]. A função não fornece nenhum valor de retorno [SWS_TS_01014].

Tratamento de erros e segurança de exceções

A operação é declarada como noexcept e classificada como segura contra exceções [SWS_TS_01014]. Códigos de erro ou reações a erros específicos não estão definidos no elemento de especificação [SWS_TS_01014].

Simultaneidade e restrições

Em relação à segurança de threads, RegisterTimeLeapNotifier é explicitamente especificado como non_threadsafe [SWS_TS_01014]. Chamadas a partir de contextos concorrentes na mesma instância devem, portanto, ser sincronizadas externamente.

Este texto foi criado automaticamente por uma IA e serve como orientação. Determinantes são as especificações 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#b96c6f8a
Content hash
b96c6f8a
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

função RegisterTimePrecisionMeasurementNotifier [SWS_TS_01018] Upstream: RS_TS_00034 texto ainda não 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.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 120c3f93924e Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

A função RegisterTimePrecisionMeasurementNotifier serve para registrar uma função de callback que é chamada assim que um novo snapshot de medição de precisão de tempo estiver disponível [SWS_TS_01018]. Ela é definida como método da classe ara::tsync::SynchronizedTimeBaseConsumer por meio do cabeçalho ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01018].

Em relação ao comportamento de registro e à semântica de chamada, aplicam-se as seguintes especificações:

  • Limite de registro: Pode ser registrado no máximo um notificador simultaneamente. Cada chamada subsequente de RegisterTimePrecisionMeasurementNotifier sobrescreve o registro existente [SWS_TS_01018].
  • Sem fila: O módulo Time Synchronization (Tsync) não realiza enfileiramento de notificações ou dados. Caso seja necessário um buffer ou armazenamento temporário de valores de medição, este deve ser implementado dentro da função notifiadora fornecida [SWS_TS_01018].
  • Valor de retorno e tratamento de exceções: A função não retorna valor algum (void) e está especificada com noexcept como segura contra exceções (exception safe) [SWS_TS_01018].

Com relação à simultaneidade, a função está especificada como non_threadsafe [SWS_TS_01018]. Isso significa que chamadas de RegisterTimePrecisionMeasurementNotifier em acessos a partir de múltiplas threads devem ser sincronizadas externamente para evitar condições de corrida de dados (data races). Presumivelmente, o registro deve ocorrer preferencialmente em uma fase determinística de inicialização da instância. Pergunta Q-acd77cb313138b63 (aberta)

Esta nota de utilização foi criada de forma automatizada com base na especificação 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#0ba1e93a
Content hash
0ba1e93a
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

função RegisterTimeValidationNotification [SWS_TS_01016] Upstream: RS_TS_00034 texto ainda não importado, RS_TS_00030 texto ainda não 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.

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 06dbce09e1bf Procedência
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

O método RegisterTimeValidationNotification permite que aplicações time-consumer registem um objeto de notificação para parâmetros de sincronização de tempo [SWS_TS_01016]. Ele faz parte da classe ara::tsync::SynchronizedTimeBaseConsumer e é incluído através do cabeçalho ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01016].

Uso e parâmetros:

  • Parâmetros: Como parâmetro de entrada é passada uma referência ConsumerTimeBaseValidationNotification& timeBaseValidationNotification [SWS_TS_01016]. Este objeto de notificação é informado assim que um novo bloco de dados gravado estiver disponível para a base de tempo [SWS_TS_01016].
  • Valor de retorno: A função não possui valor de retorno (void) [SWS_TS_01016].
  • Cardinalidade: Pode estar registado no máximo um notificador em simultâneo; cada novo registo sobrescreve o existente [SWS_TS_01016].

Tratamento de erros e segurança contra exceções:

A função é declarada como noexcept e especificada como segura contra exceções (exception safe) [SWS_TS_01016]. Não são retornados códigos de erro específicos.

Concorrência e interação:

O método é classificado como não seguro para threads (non_threadsafe) [SWS_TS_01016]. Portanto, acessos paralelos por parte da aplicação utilizadora devem ser sincronizados externamente. Enquanto este elemento se aplica a instâncias consumidoras, [SWS_TS_01114] representa a contraparte funcional para aplicações fornecedoras (ara::tsync::SynchronizedTimeBaseProvider) com um objeto ProviderTimeBaseValidationNotification.

Este texto foi gerado por uma IA com base na especificação AUTOSAR Adaptive R25-11.

Guia do implementador em breve (complexidade 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#cf0586d7
Content hash
cf0586d7
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

função SynchronizedTimeBaseConsumer [SWS_TS_01001] Upstream: RS_TS_00005 texto ainda não 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#f61ced46
Content hash
f61ced46
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

função SynchronizedTimeBaseConsumer [SWS_TS_01003] Upstream: RS_TS_00005 texto ainda não 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#e8a8f71e
Content hash
e8a8f71e
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

função SynchronizedTimeBaseConsumer [SWS_TS_01005] Upstream: RS_TS_00005 texto ainda não 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#5c58470b
Content hash
5c58470b
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

função UnregisterStatusChangeNotifier [SWS_TS_01011] Upstream: RS_TS_00034 texto ainda não importado

void UnregisterStatusChangeNotifier () noexcept;

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

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 30af6349fa1b Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

O método UnregisterStatusChangeNotifier da classe ara::tsync::SynchronizedTimeBaseConsumer (definido no cabeçalho #include "ara/tsync/synchronized_time_base_consumer.h") serve para cancelar o registro de uma função notifiadora registrada anteriormente [SWS_TS_01011]. Esse notificador é chamado assim que um StatusFlag se altera, por exemplo, em relação ao estado de sincronização, a um salto de tempo (time leap) ou a dados de usuário (userdata) [SWS_TS_01011].

Uso e assinatura

A função possui a assinatura void UnregisterStatusChangeNotifier () noexcept;, não recebe parâmetros e não retorna nenhum valor [SWS_TS_01011]. Após o cancelamento bem-sucedido do registro, o chamador não recebe mais notificações sobre alterações de status na base de tempo correspondente.

Tratamento de erros e comportamento com exceções

A função é declarada como exception safe e noexcept [SWS_TS_01011]. Em caso de erro, ela não lança exceções C++ e não retorna códigos de erro. Se nenhuma função notifiadora estiver registrada no momento da chamada, de acordo com a especificação, a chamada provavelmente não terá efeito. Pergunta Q-6c7ff4cfdcf4dba8 (aberta)

Simultaneidade e restrições

Em relação ao contexto de chamada, UnregisterStatusChangeNotifier é classificado como non_threadsafe [SWS_TS_01011]. Chamadas paralelas na mesma instância de ara::tsync::SynchronizedTimeBaseConsumer devem, portanto, ser protegidas por mecanismos de sincronização externos para evitar condições de corrida (race conditions).

Este texto foi gerado automaticamente com base no AUTOSAR Release R25-11.

Guia do implementador em breve (complexidade 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#d77ca1e6
Content hash
d77ca1e6
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

função UnregisterSynchronizationStateChangeNotifier [SWS_TS_01013] Upstream: RS_TS_00034 texto ainda não importado

void UnregisterSynchronizationStateChangeNotifier () noexcept;

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

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 00f5416be2a3 Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

usar

O método UnregisterSynchronizationStateChangeNotifier pertence à classe ara::tsync::SynchronizedTimeBaseConsumer e serve para cancelar o registro de uma função de callback previamente registrada, que é chamada mediante alterações do estado de sincronização [SWS_TS_01013]. Ele é definido no cabeçalho ara/tsync/synchronized_time_base_consumer.h, não espera parâmetros de entrada e não retorna nenhum valor de retorno [SWS_TS_01013].

Tratamento de erros e segurança contra exceções

A função é provida com o especificador noexcept e declarada como segura contra exceções (exception safe) [SWS_TS_01013]. Consequentemente, ela não lança exceções e, como o tipo de retorno é void, também não são retornados códigos de erro [SWS_TS_01013].

Simultaneidade e restrições

Para o método, está definida a propriedade non_threadsafe [SWS_TS_01013]. Chamadas paralelas na mesma instância de SynchronizedTimeBaseConsumer devem, portanto, ser coordenadas por mecanismos externos de sincronização da aplicação. O cancelamento de registro deve ocorrer de forma síncrona; presume-se que, imediatamente após a conclusão da função, nenhuma outra alteração de estado seja sinalizada ao notificador cujo registro foi cancelado (interpretação). Pergunta Q-cc4b55c56144f0f0 (aberta)

Esta nota de utilização baseia-se na especificação AUTOSAR Adaptive R25-11.

Guia do implementador em breve (complexidade 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#3cbf5255
Content hash
3cbf5255
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

função UnregisterTimeLeapNotifier [SWS_TS_01015] Upstream: RS_TS_00034 texto ainda não importado

void UnregisterTimeLeapNotifier () noexcept;

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

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: 4e9c88a1a616 Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

O método UnregisterTimeLeapNotifier pertence à classe ara::tsync::SynchronizedTimeBaseConsumer e é declarado através do arquivo de cabeçalho ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01015]. Ele serve para cancelar o registro de uma função de notificação (notifier) previamente registrada, que é chamada na ocorrência de um salto temporal (time leap) [SWS_TS_01015].

Para a chamada e a semântica da interface, aplicam-se as seguintes propriedades:

  • Contexto de chamada e parâmetros: A função é sem parâmetros e não possui valor de retorno (void) [SWS_TS_01015]. A chamada ocorre de forma síncrona em uma instância existente de SynchronizedTimeBaseConsumer.
  • Tratamento de erros: A operação é declarada como noexcept e especificada como segura contra exceções (exception safe) [SWS_TS_01015]. Como não estão previstos códigos de erro nem exceções, a execução não falha do ponto de vista da interface. Interpretação: Uma chamada sem um notifier previamente registrado deve permanecer silenciosamente sem efeito por falta de canal de erro. Pergunta Q-431f60b308590f3c (aberta)
  • Concorrência: O método é classificado como não seguro para threads (non_threadsafe) [SWS_TS_01015]. Em caso de acesso paralelo à mesma instância de consumidor a partir de múltiplas threads, a aplicação deve empregar mecanismos externos de sincronização para evitar condições de corrida de dados.

Na interação dentro do módulo Time Synchronization (ts), o cancelamento de registro garante que a instância de consumidor não mais encaminhe saltos temporais subsequentes da base de tempo sincronizada para a função de callback previamente registrada [SWS_TS_01015].

Esta nota de uso foi gerada automaticamente com base na especificação 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#89ea1e3b
Content hash
89ea1e3b
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

função UnregisterTimePrecisionMeasurementNotifier [SWS_TS_01019] Upstream: RS_TS_00034 texto ainda não importado

void UnregisterTimePrecisionMeasurementNotifier () noexcept;

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

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: f62627da6e3f Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

A função UnregisterTimePrecisionMeasurementNotifier serve, de acordo com [SWS_TS_01019], para cancelar o registro de uma função de notificação registrada anteriormente, a qual é chamada assim que um novo snapshot de precisão de tempo (time precision snapshot) estiver disponível.

Chamada e semântica

O método é declarado como função membro da classe ara::tsync::SynchronizedTimeBaseConsumer no cabeçalho ara/tsync/synchronized_time_base_consumer.h ([SWS_TS_01019]). A chamada ocorre sem parâmetros com a assinatura void UnregisterTimePrecisionMeasurementNotifier() noexcept, não retorna nenhum valor e não lança exceções (exception safe de acordo com [SWS_TS_01019]).

Simultaneidade e restrições

Em relação à segurança de threads, a função é especificada explicitamente como non_threadsafe ([SWS_TS_01019]). Os chamadores devem, portanto, garantir que as chamadas na mesma instância de SynchronizedTimeBaseConsumer sejam protegidas contra acessos paralelos. A chamada deve ocorrer de forma síncrona, de modo que, após o retorno da função, não devam ser disparadas mais notificações para snapshots através do notificador registrado anteriormente. Pergunta Q-f6eb9ea26348b348 (aberta)

Este texto foi criado por uma IA com base em especificações 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#e31b0699
Content hash
e31b0699
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

função UnregisterTimeValidationNotification [SWS_TS_01017] Upstream: RS_TS_00034 texto ainda não importado, RS_TS_00030 texto ainda não importado

void UnregisterTimeValidationNotification () noexcept;

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

GERADO POR IA não revisado Modelo: gemini-3.8-flash-medium · Esforço: medium · Temperatura: não controlável · Prompt: b157fc991529 Procedência Perguntas em aberto (1)
traduzido do guia alemãogemini-3.8-flash-low · 2026-10-13 · Original em alemão

Uso e assinatura

O método UnregisterTimeValidationNotification faz parte da classe ara::tsync::SynchronizedTimeBaseConsumer e é incluído por meio do cabeçalho ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01017]. Sua assinatura é void UnregisterTimeValidationNotification () noexcept; [SWS_TS_01017]. Ele não recebe parâmetros e não possui valor de retorno. De acordo com a especificação, serve a aplicações consumidoras no contexto de parâmetros de sincronização de tempo [SWS_TS_01017]. Interpretação: de acordo com o identificador, a chamada serve presumivelmente para cancelar o registro de notificações previamente registradas para a validação de tempo. Pergunta Q-0b75b8b0d60da378 (aberta)

Tratamento de erros e segurança de exceções

A operação é especificada como exception safe e declarada com noexcept [SWS_TS_01017]. Ela não lança exceções e não reporta códigos de erro específicos [SWS_TS_01017].

simultaneidade

A especificação caracteriza o método como non_threadsafe [SWS_TS_01017]. A chamada concorrente de várias operações na mesma instância de SynchronizedTimeBaseConsumer deve, portanto, ser sincronizada do lado da aplicação.

Interação

Enquanto [SWS_TS_01017] define a interface para consumidores de tempo, existe com [SWS_TS_01115] um método provedor análogo na classe ara::tsync::SynchronizedTimeBaseProvider (cabeçalho ara/tsync/synchronized_time_base_provider.h) com as mesmas propriedades em relação à assinatura, segurança de threads e segurança contra exceções.

Esta nota de uso foi gerada automaticamente com base na especificação AUTOSAR.

Guia do implementador em breve (complexidade 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#6644a31f
Content hash
6644a31f
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

função operator= [SWS_TS_01004] Upstream: RS_TS_00005 texto ainda não 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#b3040ef7
Content hash
b3040ef7
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

função operator= [SWS_TS_01006] Upstream: RS_TS_00005 texto ainda não 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#dc8ad58f
Content hash
dc8ad58f
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

função ~SynchronizedTimeBaseConsumer [SWS_TS_01002] Upstream: RS_TS_00005 texto ainda não 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#e4a542c7
Content hash
e4a542c7
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