DEENESPTFRRUARHIKOZHNL

class ara::tsync::SynchronizedTimeBaseConsumer

[SWS_TS_01000] Upstream: RS_TS_00030 wording not yet imported

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

User GuideAI-GENERATED

Enables applications to query synchronized time values in a thread-safe manner and to register status notifiers.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 254e46109c20 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables applications to query synchronized time values in a thread-safe manner and to register status notifiers.

Class ara::tsync::SynchronizedTimeBaseConsumer enables time applications to access a synchronized time base referenced via a ara::core::InstanceSpecifier ([SWS_TS_01001]). Via thread-safe methods, applications can query current snapshots of time values and status flags as well as clock rate deviation ([SWS_TS_01009]). In addition, notifiers can be registered for status changes, time leaps, validation data, and precision measurements, with at most one registration active per event type. Copy operations are prohibited, so instances can only be moved or released via their destructor.

Context

For time applications on the Adaptive Platform, class ara::tsync::SynchronizedTimeBaseConsumer forms the interface to a synchronized time base identified via a ara::core::InstanceSpecifier ([SWS_TS_01001]). Its core task is to provide applications with the current query point in time, clock rate deviation ([SWS_TS_01008]), as well as consistent status flags and received user data ([SWS_TS_01009]). Essential interaction partners are the calling application software (Time Consumer Application), the consumer instance itself, and the Tsync subsystem, which acquires synchronization data and initiates notification events ([SWS_TS_01016], [SWS_TS_01018]).

Lifecycle

Instantiation is performed via the explicit constructor by specifying a ara::core::InstanceSpecifier ([SWS_TS_01001]). This constructor is classified as thread-safe and exception-safe. To manage resources, the class implements strict move semantics: the move constructor ([SWS_TS_01003]) and move assignment operator ([SWS_TS_01004]) permit transfer of ownership, whereas the copy constructor ([SWS_TS_01005]) and copy assignment operator ([SWS_TS_01006]) are explicitly deleted (=delete). This prevents inadvertent duplication of access to the same time base resource.

The destructor releases the instance ([SWS_TS_01002]). Concurrency follows a clear separation: while the constructor ([SWS_TS_01001]) and the query methods GetRateDeviation ([SWS_TS_01008]) and GetTimeWithStatus ([SWS_TS_01009]) are implemented as thread-safe, all registration and deregistration functions, the move operations, and the destructor are specified as not thread-safe (non_threadsafe).

Usage Path

A regular usage sequence comprises the phases initialization, registration of relevant notifiers, cyclic or event-driven queries, and final cleanup:

  • Initialization: The application creates the object with the appropriate port instance specification ([SWS_TS_01001]).
  • Notifier registration: The application registers callback functions or notifier objects for specific events:
    • General status flag changes via RegisterStatusChangeNotifier ([SWS_TS_01010]),
    • Synchronization state changes via RegisterSynchronizationStateChangeNotifier ([SWS_TS_01012]),
    • Occurrence of a time leap via RegisterTimeLeapNotifier ([SWS_TS_01014]),
    • Reception of validation data blocks via RegisterTimeValidationNotification ([SWS_TS_01016]),
    • Availability of time precision measurements via RegisterTimePrecisionMeasurementNotifier ([SWS_TS_01018]).
    At most one registration can be active per notifier type; each subsequent registration overwrites the previous one ([SWS_TS_01010], [SWS_TS_01018]).
  • Querying during operation: Via GetTimeWithStatus(), the application retrieves a coherent snapshot (SynchronizedTimeBaseStatus) with status flags, clock configuration, and both local and synchronized time values ([SWS_TS_01009]). The current clock rate deviation is determined by means of GetRateDeviation() ([SWS_TS_01008]).
  • Cleanup: Before tearing down the consumer, notifiers are deregistered as needed via the corresponding calls such as UnregisterStatusChangeNotifier ([SWS_TS_01011]), UnregisterSynchronizationStateChangeNotifier ([SWS_TS_01013]), UnregisterTimeLeapNotifier ([SWS_TS_01015]), UnregisterTimeValidationNotification ([SWS_TS_01017]), or UnregisterTimePrecisionMeasurementNotifier ([SWS_TS_01019]) before the object is destroyed ([SWS_TS_01002]).
Usage sequence of a SynchronizedTimeBaseConsumerApplicationSynchronizedTimeBaseConsumerTsync-SubsystemUse Case: InitialisierungSynchronizedTimeBaseConsumer(specifier)Use Case: Notifier-RegistrierungRegisterStatusChangeNotifier(notifier)RegisterTimeValidationNotification(timeBaseValidationNotification)Use Case: ZeitabfrageGetTimeWithStatus()SynchronizedTimeBaseStatusGetRateDeviation()double (Ratenabweichung)optStatus change or eventSignalisiere Ereignisnotifier(status)Use Case: BereinigungUnregisterStatusChangeNotifier()~SynchronizedTimeBaseConsumer()

Sequence diagram: Typical sequence of initialization, notifier registration, cyclic query, and cleanup. Sources: [SWS_TS_01001], [SWS_TS_01008], [SWS_TS_01009], [SWS_TS_01010], [SWS_TS_01011], [SWS_TS_01002].

Error Scenarios

All interface methods of the class are declared with noexcept and specified as exception-safe (exception safe). Therefore, errors are not reported via C++ exceptions. The following boundary conditions and configuration violations must be observed:

  • Port mapping configuration errors: A PortPrototype referenced via an TimeSyncPortPrototypeToTimeBaseMapping must mandatory be typed via a SynchronizedTimeBaseConsumerInterface; otherwise a PortInterfaceMappingViolation is present ([SWS_TS_01001]).
  • Overwriting existing callbacks: If a registration method is called again, the new notifier overwrites the previously stored callback without a separate error notification ([SWS_TS_01010], [SWS_TS_01012], [SWS_TS_01014], [SWS_TS_01016], [SWS_TS_01018]).
  • Lack of queuing for precision measurements: The Tsync subsystem does not perform queuing for time precision measurement data ([SWS_TS_01018]). If the notifier cannot process the data in time, subsequent measurements are presumably lost unless the application provides its own buffering in the notifier. Question Q-dd82872d44124973 (open)
  • Risk of data races with notifier methods: Because notifier registrations and deregistrations are designated as not thread-safe, a concurrent call from different execution contexts without external protection mechanisms is likely to lead to inconsistent states (interpretation). Question Q-626c00c2b1849655 (open)

This guide was generated by an AI model based on specification data from AUTOSAR R25-11.

Member map

Class diagram

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()

Detail view

Select an entry in the outline.

Constructors and destructor

SynchronizedTimeBaseConsumer constructor.

Overloads 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.

Methods

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;

Operators

operator= function 2

Move assignment operator for SynchronizedTimeBaseConsumer.

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

Method documentation

function GetRateDeviation [SWS_TS_01008] Upstream: RS_TS_00018 wording not yet imported

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#6317296d
Content hash
6317296d
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

function GetTimeWithStatus [SWS_TS_01009] Upstream: RS_TS_00021 wording not yet imported

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#f9c9cf7c
Content hash
f9c9cf7c
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

function RegisterStatusChangeNotifier [SWS_TS_01010] Upstream: RS_TS_00034 wording not yet imported

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.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 9ef36a5b086f Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method RegisterStatusChangeNotifier of class ara::tsync::SynchronizedTimeBaseConsumer is used to register a callback function for notification of status changes on a synchronized time base [SWS_TS_01010]. notifier of type SynchronizedTimeBaseNotifier is passed as the only parameter. The registered notifier function is called as soon as a StatusFlag of the time base changes, such as the synchronization state, a time leap, or user-defined data (userdata) [SWS_TS_01010].

At any time, a maximum of one notifier function can be registered [SWS_TS_01010]. Any further call of the method completely overwrites an existing registration, so that only the most recently passed function remains active [SWS_TS_01010].

The following specific constraints apply to integration and call context:

  • Error handling: The function has no return value (void), is declared as noexcept, and is specified as exception safe [SWS_TS_01010]. Error codes or error messages are not provided.
  • Concurrency: The method is classified as non_threadsafe [SWS_TS_01010]. Concurrent accesses to the same instance must be synchronized by the caller.
  • Header file: The declaration is available via the header file #include "ara/tsync/synchronized_time_base_consumer.h" [SWS_TS_01010].

This usage note was created automatically and is based exclusively on the specification data of AUTOSAR R25-11.

Implementer's Guide to follow (complexity 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#cbb52422
Content hash
cbb52422
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

function RegisterSynchronizationStateChangeNotifier [SWS_TS_01012] Upstream: RS_TS_00034 wording not yet imported

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.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: e95264d7432e Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method RegisterSynchronizationStateChangeNotifier of class ara::tsync::SynchronizedTimeBaseConsumer (defined in header ara/tsync/synchronized_time_base_consumer.h) is used to register a callback function of type Synchronization Notifier. This is called as soon as the synchronization state changes [SWS_TS_01012].

When using it, the following functional requirements and constraints must be observed:

  • Registration behavior: At most one notifier can be registered at the same time. Any new call to the method completely overwrites an already existing registration [SWS_TS_01012].
  • Return and error safety: The function returns no value (return type void) and throws no exceptions; it is declared with noexcept and specified as exception-safe (exception safe) [SWS_TS_01012]. Specific error codes do not exist.
  • Concurrency: The operation is classified as not thread-safe (non_threadsafe) [SWS_TS_01012]. Parallel calls on the same instance of SynchronizedTimeBaseConsumer must be synchronized by the caller.

Interpretation: The parameter description “The function to unregister” specified in the specification table for notifier is likely an editorial oversight in the specification, since both the name and the description of RegisterSynchronizationStateChangeNotifier clearly define registering and replacing the callback [SWS_TS_01012]. Question Q-65eac6c0d06d6c4f (open)

Automatically generated usage note based on specification AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity 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#af97126a
Content hash
af97126a
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

function RegisterTimeLeapNotifier [SWS_TS_01014] Upstream: RS_TS_00034 wording not yet imported

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.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: bdea44f8d9c4 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The function RegisterTimeLeapNotifier registers a callback function that is called as soon as a time leap (Time Leap) has occurred [SWS_TS_01014]. It belongs to class ara::tsync::SynchronizedTimeBaseConsumer and is provided via the header #include "ara/tsync/synchronized_time_base_consumer.h" [SWS_TS_01014].

notifier of type SynchronizedTimeBaseNotifier is passed as a parameter [SWS_TS_01014]. At most one notifier function can be registered at the same time; each subsequent call to RegisterTimeLeapNotifier overwrites the previously registered function [SWS_TS_01014]. The function yields no return value [SWS_TS_01014].

Error Handling and Exception Safety

The operation is declared as noexcept and classified as exception-safe [SWS_TS_01014]. Specific error codes or error responses are not defined in the specification element [SWS_TS_01014].

Concurrency and Limitations

Regarding thread safety, RegisterTimeLeapNotifier is explicitly specified as non_threadsafe [SWS_TS_01014]. Calls from concurrent contexts on the same instance must therefore be synchronized externally.

This text was created automatically by an AI and serves as guidance. The referenced AUTOSAR specifications are authoritative.

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#a27a028d
Content hash
a27a028d
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

function RegisterTimePrecisionMeasurementNotifier [SWS_TS_01018] Upstream: RS_TS_00034 wording not yet imported

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.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 120c3f93924e Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The function RegisterTimePrecisionMeasurementNotifier serves to register a callback function that is called as soon as a new snapshot for time precision measurement is available [SWS_TS_01018]. It is defined as a method of class ara::tsync::SynchronizedTimeBaseConsumer via the header ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01018].

Regarding registration behavior and call semantics, the following requirements apply:

  • Registration limit: At most one notifier can be registered at the same time. Each subsequent call to RegisterTimePrecisionMeasurementNotifier overwrites the existing registration [SWS_TS_01018].
  • No queue: The Time Synchronization module (Tsync) does not perform queuing of notifications or data. If buffering or temporary storage of measurement values is required, it must be implemented within the passed notifier function [SWS_TS_01018].
  • Return value and exception handling: The function returns no value (void) and is specified with noexcept as exception-safe (exception safe) [SWS_TS_01018].

Regarding concurrency, the function is specified as non_threadsafe [SWS_TS_01018]. This means that calls to RegisterTimePrecisionMeasurementNotifier upon accesses from multiple threads must be synchronized externally to prevent data races. Presumably, registration should preferably take place in a deterministic initialization phase of the instance. Question Q-acd77cb313138b63 (open)

This usage note was created automatically based on the AUTOSAR R25-11 specification status.

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#c03f79d0
Content hash
c03f79d0
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

function RegisterTimeValidationNotification [SWS_TS_01016] Upstream: RS_TS_00034 wording not yet imported, RS_TS_00030 wording not yet imported

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.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 06dbce09e1bf Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method RegisterTimeValidationNotification allows time-consumer applications to register a notification object for time synchronization parameters [SWS_TS_01016]. It is part of the class ara::tsync::SynchronizedTimeBaseConsumer and is included via the header ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01016].

Usage and Parameters:

  • Parameters: A reference ConsumerTimeBaseValidationNotification& timeBaseValidationNotification is passed as an input parameter [SWS_TS_01016]. This notification object is informed as soon as a newly recorded data block is available for the time base [SWS_TS_01016].
  • Return value: The function has no return value (void) [SWS_TS_01016].
  • Cardinality: At most one notifier can be registered at the same time; any re-registration overwrites the existing one [SWS_TS_01016].

Error Handling and Exception Safety:

The function is declared as noexcept and specified as exception-safe (exception safe) [SWS_TS_01016]. No specific error codes are returned.

Concurrency and Interaction:

The method is classified as non-thread-safe (non_threadsafe) [SWS_TS_01016]. Therefore, concurrent accesses must be synchronized externally by the using application. While this element applies to consumer instances, [SWS_TS_01114] represents the functional counterpart for provider applications (ara::tsync::SynchronizedTimeBaseProvider) with a ProviderTimeBaseValidationNotification object.

This text was generated by an AI based on the AUTOSAR Adaptive R25-11 specification.

Implementer's Guide to follow (complexity 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#58ca6062
Content hash
58ca6062
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

function SynchronizedTimeBaseConsumer [SWS_TS_01001] Upstream: RS_TS_00005 wording not yet imported, 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#2a297858
Content hash
2a297858
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

function SynchronizedTimeBaseConsumer [SWS_TS_01003] Upstream: RS_TS_00005 wording not yet imported

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#85a4289c
Content hash
85a4289c
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

function SynchronizedTimeBaseConsumer [SWS_TS_01005] Upstream: RS_TS_00005 wording not yet imported

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#ac9425dc
Content hash
ac9425dc
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

function UnregisterStatusChangeNotifier [SWS_TS_01011] Upstream: RS_TS_00034 wording not yet imported

void UnregisterStatusChangeNotifier () noexcept;

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

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 30af6349fa1b Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method UnregisterStatusChangeNotifier of class ara::tsync::SynchronizedTimeBaseConsumer (defined in header #include "ara/tsync/synchronized_time_base_consumer.h") is used to unregister a previously registered notifier function [SWS_TS_01011]. This notifier is called as soon as a StatusFlag changes, for example regarding the synchronization state, a time leap (time leap), or user data (userdata) [SWS_TS_01011].

Usage and signature

The function has the signature void UnregisterStatusChangeNotifier () noexcept;, takes no parameters, and returns no value [SWS_TS_01011]. After successful unregistration, the caller receives no further notifications about status changes on the corresponding time base.

Error Handling and Exception Behavior

The function is declared as exception safe and noexcept [SWS_TS_01011]. In case of an error, it does not throw any C++ exceptions and does not return any error codes. If no notifier function is registered at the time of the call, the call is likely to have no effect according to the specification. Question Q-6c7ff4cfdcf4dba8 (open)

Concurrency and Limitations

Regarding the call context, UnregisterStatusChangeNotifier is classified as non_threadsafe [SWS_TS_01011]. Parallel calls on the same instance of ara::tsync::SynchronizedTimeBaseConsumer must therefore be protected by external synchronization mechanisms to avoid race conditions.

This text was automatically generated based on AUTOSAR Release R25-11.

Implementer's Guide to follow (complexity 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#3f70620e
Content hash
3f70620e
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

function UnregisterSynchronizationStateChangeNotifier [SWS_TS_01013] Upstream: RS_TS_00034 wording not yet imported

void UnregisterSynchronizationStateChangeNotifier () noexcept;

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

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 00f5416be2a3 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The method UnregisterSynchronizationStateChangeNotifier belongs to class ara::tsync::SynchronizedTimeBaseConsumer and serves to deregister a previously registered callback function that is called upon changes of the synchronization state [SWS_TS_01013]. It is defined in header ara/tsync/synchronized_time_base_consumer.h, expects no parameters, and returns no value [SWS_TS_01013].

Error Handling and Exception Safety

The function is provided with the specifier noexcept and declared as exception-safe (exception safe) [SWS_TS_01013]. Consequently, it throws no exceptions, and because the return type is void, no error codes are returned either [SWS_TS_01013].

Concurrency and Limitations

For the method, the property non_threadsafe is defined [SWS_TS_01013]. Concurrent invocations on the same instance of SynchronizedTimeBaseConsumer must therefore be coordinated by external synchronization mechanisms of the application. Deregistration is likely to occur synchronously; presumably, immediately after completion of the function, no further state changes are signaled to the deregistered notifier (interpretation). Question Q-cc4b55c56144f0f0 (open)

This usage note is based on the AUTOSAR Adaptive R25-11 specification.

Implementer's Guide to follow (complexity 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#7c1adf65
Content hash
7c1adf65
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

function UnregisterTimeLeapNotifier [SWS_TS_01015] Upstream: RS_TS_00034 wording not yet imported

void UnregisterTimeLeapNotifier () noexcept;

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

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4e9c88a1a616 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method UnregisterTimeLeapNotifier belongs to class ara::tsync::SynchronizedTimeBaseConsumer and is declared via the header file ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01015]. It serves to deregister a previously registered notification function (notifier) that is called upon occurrence of a time leap (time leap) [SWS_TS_01015].

For the invocation and the interface semantics, the following properties apply:

  • Invocation context and parameters: The function is parameterless and has no return value (void) [SWS_TS_01015]. The invocation is performed synchronously on an existing instance of SynchronizedTimeBaseConsumer.
  • Error handling: The operation is declared as noexcept and specified as exception-safe (exception safe) [SWS_TS_01015]. Because no error codes or exceptions are provided, the execution does not fail from an interface perspective. Interpretation: An invocation without a previously registered notifier is likely to remain silently without effect due to the lack of an error channel. Question Q-431f60b308590f3c (open)
  • Concurrency: The method is classified as not thread-safe (non_threadsafe) [SWS_TS_01015]. In case of concurrent access to the same consumer instance from multiple threads, the application must use external synchronization mechanisms to avoid data races.

In the interplay within the Time Synchronization module (ts), deregistration ensures that the consumer instance no longer forwards subsequent time leaps of the synchronized time base to the previously registered callback function [SWS_TS_01015].

This usage note was generated automatically based on specification 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#c5721f16
Content hash
c5721f16
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

function UnregisterTimePrecisionMeasurementNotifier [SWS_TS_01019] Upstream: RS_TS_00034 wording not yet imported

void UnregisterTimePrecisionMeasurementNotifier () noexcept;

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

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f62627da6e3f Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

According to [SWS_TS_01019], the function UnregisterTimePrecisionMeasurementNotifier serves to unregister a previously registered notification function that is called as soon as a new time precision snapshot (time precision snapshot) is available.

Call and Semantics

The method is declared as a member function of class ara::tsync::SynchronizedTimeBaseConsumer in header ara/tsync/synchronized_time_base_consumer.h ([SWS_TS_01019]). The call is parameterless with the signature void UnregisterTimePrecisionMeasurementNotifier() noexcept, returns no value, and throws no exceptions (exception safe according to [SWS_TS_01019]).

Concurrency and Limitations

Regarding thread safety, the function is explicitly specified as non_threadsafe ([SWS_TS_01019]). Callers must therefore ensure that calls on the same instance of SynchronizedTimeBaseConsumer are protected against parallel accesses. The call is likely to occur synchronously, so after the return of the function no further notifications for snapshots should be triggered via the previously registered notifier. Question Q-f6eb9ea26348b348 (open)

This text was created by an AI based on AUTOSAR specifications.

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#9f270828
Content hash
9f270828
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

function UnregisterTimeValidationNotification [SWS_TS_01017] Upstream: RS_TS_00034 wording not yet imported, RS_TS_00030 wording not yet imported

void UnregisterTimeValidationNotification () noexcept;

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

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b157fc991529 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and signature

The method UnregisterTimeValidationNotification is part of class ara::tsync::SynchronizedTimeBaseConsumer and is included via the header ara/tsync/synchronized_time_base_consumer.h [SWS_TS_01017]. Its signature is void UnregisterTimeValidationNotification () noexcept; [SWS_TS_01017]. It takes no parameters and has no return value. According to the specification, it serves consumer applications in the context of time synchronization parameters [SWS_TS_01017]. Interpretation: According to the identifier, the call presumably serves to unregister previously registered notifications for time validation. Question Q-0b75b8b0d60da378 (open)

Error Handling and Exception Safety

The operation is specified as exception safe and declared with noexcept [SWS_TS_01017]. It throws no exceptions and reports no specific error codes [SWS_TS_01017].

Concurrency

The specification designates the method as non_threadsafe [SWS_TS_01017]. The concurrent call of multiple operations on the same instance of SynchronizedTimeBaseConsumer must therefore be synchronized on the application side.

Interaction

While [SWS_TS_01017] defines the interface for time consumers, [SWS_TS_01115] represents an analogous provider method in class ara::tsync::SynchronizedTimeBaseProvider (header ara/tsync/synchronized_time_base_provider.h) with the same properties regarding signature, thread safety, and exception safety.

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity 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#4b54cb20
Content hash
4b54cb20
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

function operator= [SWS_TS_01004] Upstream: RS_TS_00005 wording not yet imported

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#78798776
Content hash
78798776
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

function operator= [SWS_TS_01006] Upstream: RS_TS_00005 wording not yet imported

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#a8cb6bfc
Content hash
a8cb6bfc
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

function ~SynchronizedTimeBaseConsumer [SWS_TS_01002] Upstream: RS_TS_00005 wording not yet imported

~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#7e91b1f8
Content hash
7e91b1f8
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