DEENESPTFRRUARHIKOZHNL

class ara::tsync::SynchronizedTimeBaseProvider

[SWS_TS_01100] Upstream: RS_TS_00030 wording not yet imported

class SynchronizedTimeBaseProvider final {...};

Class SynchronizedTimeBaseProvider is the access to the synchronized timebase referenced by the IntstanceSpecifier. 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_provider.h"
Forwarding-Header#include "ara/tsync/tsync_fwd.h"
Scopenamespace ara::tsync

User GuideAI-GENERATED

Serves time provider applications for setting, correcting, and validating a synchronized time base on the bus.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 29af5ad2e896 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves time provider applications for setting, correcting, and validating a synchronized time base on the bus.

The move-only class ara::tsync::SynchronizedTimeBaseProvider serves time provider applications for injecting, rate correcting, and validating a synchronized time base [SWS_TS_01101] [SWS_TS_01110]. Updates can either trigger immediate bus transmissions or be scheduled as a local update for the next transmission cycle [SWS_TS_01107] [SWS_TS_01108]. While read accesses are thread-safe, all modifying methods as well as notifier registration require a thread-local or synchronized call [SWS_TS_01109] [SWS_TS_01114].

Context

The class ara::tsync::SynchronizedTimeBaseProvider provides time provider applications with active control access to a synchronized time base modeled via a ara::core::InstanceSpecifier [SWS_TS_01101]. In AUTOSAR Adaptive, the instance functions as an interface between the providing application logic, the local time-sync daemon, and the connected communication buses. Via this component, the application injects new time values and user-specific payload data into the system, compensates for drift via rate corrections, and acquires validation parameters [SWS_TS_01107] [SWS_TS_01110] [SWS_TS_01114].

Kontext Anwendung Anwendung SynchronizedTimeBaseProvider SynchronizedTimeBaseProvider Anwendung->SynchronizedTimeBaseProvider SetTime / UpdateTime / GetCurrentTime TimeSyncDaemon TimeSyncDaemon SynchronizedTimeBaseProvider->TimeSyncDaemon Zeitaktualisierung ProviderTimeBaseValidationNotification ProviderTimeBaseValidationNotification SynchronizedTimeBaseProvider->ProviderTimeBaseValidationNotification Benachrichtigung TimeSyncDaemon->SynchronizedTimeBaseProvider Validierungsdaten Kommunikationsbus Kommunikationsbus TimeSyncDaemon->Kommunikationsbus Bussynchronisation

Context diagram: Integration of SynchronizedTimeBaseProvider between provider application, validation, and bus transmission. Sources: [SWS_TS_01101], [SWS_TS_01107], [SWS_TS_01114]

Lifecycle

Instantiation takes place explicitly via a ara::core::InstanceSpecifier that must reference a PortPrototype that is typed by a SynchronizedTimeBaseProviderInterface [SWS_TS_01101]. The constructor is declared exception-safe and thread-safe [SWS_TS_01101]. An object of the class is an exclusive move-only object: copy constructor and copy assignment operator are explicitly deleted [SWS_TS_01104] [SWS_TS_01105], while move construction and move assignment are supported [SWS_TS_01102] [SWS_TS_01103].

With respect to concurrency, a strict separation applies: Pure read operations on the status such as GetCurrentTime(), GetRateDeviation(), and GetUserData() are thread-safe and can be executed concurrently [SWS_TS_01109] [SWS_TS_01111] [SWS_TS_01113]. In contrast, all modifying operations, the registration of notifications, and the destruction of the object via the destructor are not thread-safe and require application-side synchronization [SWS_TS_01106] [SWS_TS_01107] [SWS_TS_01114].

Usage Path

Typical usage is divided into registration for validation feedback and cyclic or event-driven time transmission:

  • Register validation: If required, the provider application registers a notification object via RegisterTimeValidationNotification() to receive newly recorded time-synchronization data blocks [SWS_TS_01114]. At most one notification receiver can be active; a new registration overwrites an existing one [SWS_TS_01114], whereas UnregisterTimeValidationNotification() detaches the binding [SWS_TS_01115].
  • Set time value: In the event of an immediately required distribution, the application calls SetTime(). This sets the local time value and directly initiates transmission on the bus [SWS_TS_01107]. If bus transmission is instead to take place only in the next regular cycle, UpdateTime() is used, whereby the clock is initially updated only locally [SWS_TS_01108].
  • Correction and payload data: Via SetRateCorrection(), the drift of the local clock can be adjusted by a correction factor (values less than 1.0 slow down the clock, values greater than 1.0 speed it up) [SWS_TS_01110]. Additional user-specific time base data can be updated via SetUserData() [SWS_TS_01112].
Sequence of time provision and notificationApplicationSynchronizedTimeBaseProviderTimeSyncDaemonRegisterTimeValidationNotification(notifier)voidUse Case: ZeitaktualisierungaltImmediate bus transmissionSetTime(timePoint, userData)Transmit time value and trigger bus transmissionResult<void> (Erfolg)Cyclic transmissionUpdateTime(timePoint, userData)Update clock locally (send in subsequent cycle)Result<void> (Erfolg)Use Case: ValidierungsereignisNeuer Datenblock aufgezeichnetNotification via timeBaseValidationNotification

Sequence diagram: Sequence of notifier registration and time update with alternative bus transmission paths. Sources: [SWS_TS_01107], [SWS_TS_01108], [SWS_TS_01114]

Error Scenarios

Methods with return value ara::core::Result<void> signal failures via error codes of type TsyncErrc without rollback semantics:

  • TsyncErrc::kInvalidUserDataSize: Occurs for SetTime(), UpdateTime(), and SetUserData() if the passed UserData exceed the maximum length of UserData::kMaxUserDataSize (currently 3 bytes) [SWS_TS_01107] [SWS_TS_01108] [SWS_TS_01112].
  • TsyncErrc::kDaemonConnectionLost: Occurs for SetTime() if the IPC connection to the time-sync daemon is interrupted at the time of invocation [SWS_TS_01107].
  • TsyncErrc::kLimitsExceeded: Is returned by SetRateCorrection() if the requested rate correction factor is outside the permissible value range [SWS_TS_01110].
  • TsyncErrc::kFunctionNotSupported: Is reported by SetRateCorrection() if the underlying platform or time base does not support rate correction [SWS_TS_01110].

This guide is based on the specification AUTOSAR Adaptive Platform R25-11 (module tsync) and was created for autodocs.

Member map

Class diagram

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

G nara__tsync__SynchronizedTimeBaseProvider954 SynchronizedTimeBaseProvider + SynchronizedTimeBaseProvider() + operator=() + ~SynchronizedTimeBaseProvider() + GetCurrentTime() + GetRateDeviation() + GetUserData() + RegisterTimeValidationNotification() + SetRateCorrection() + SetTime() + SetUserData() + UnregisterTimeValidationNotification() + UpdateTime()

Detail view

Select an entry in the outline.

Constructors and destructor

SynchronizedTimeBaseProvider constructor.

Overloads SynchronizedTimeBaseProvider 3
explicit SynchronizedTimeBaseProvider (const ara::core::Instance Specifier &specifier) noexcept; SWS_TS_01101
SynchronizedTimeBaseProvider (SynchronizedTimeBaseProvider &&stbc) noexcept; SWS_TS_01102
SynchronizedTimeBaseProvider (const SynchronizedTimeBaseProvider &)=delete; SWS_TS_01104

Destructor for SynchronizedTimeBaseProvider.

Methods

Method to obtain the current time (regardless of the current sync status).

ara::tsync::Timestamp GetCurrentTime () const noexcept;

Method to obtain the current rate deviation of the clock.

double GetRateDeviation () const noexcept;
GetUserData function

A method to return the user defined data of the time base.

UserData GetUserData () const noexcept;

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

void RegisterTimeValidationNotification (ProviderTimeBaseValidation Notification &timeBaseValidationNotification) noexcept;

This method can be used to set the rate correction that will be applied to time values.

ara::core::Result< void > SetRateCorrection (double rateCorrection) noexcept;
SetTime function

A method that can be used to set a new time value for the clock. Setting a new time also triggers transmission on the bus.

ara::core::Result< void > SetTime (ara::tsync::Timestamp timePoint, const UserData &userData) noexcept;
SetUserData function

Method that can be used to set user data.

ara::core::Result< void > SetUserData (const UserData &userData) noexcept;

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

void UnregisterTimeValidationNotification () noexcept;
UpdateTime function

A method that can be used to set a new time value for the clock. The clock value is only updated locally, transmission on the bus will happen in the next cycle.

ara::core::Result< void > UpdateTime (ara::tsync::Timestamp timePoint, const UserData &userData) noexcept;

Operators

operator= function 2

Move assignment operator for SynchronizedTimeBaseProvider.

Overloads = 2
SynchronizedTimeBaseProvider & operator= (const SynchronizedTimeBase Provider &)=delete; SWS_TS_01105

Method documentation

function GetCurrentTime [SWS_TS_01109] Upstream: RS_TS_00026 wording not yet imported, RS_TS_00005 wording not yet imported

ara::tsync::Timestamp GetCurrentTime () const noexcept;

Method to obtain the current time (regardless of the current sync status).

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

Rückgabewert

TypBeschreibung
ara::tsync::TimestampThe current time as clock specific time point.

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

Record
AUTOSAR/AP/record/SWS_TS_01109
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01109@rel:R25-11#d1ba831e
Content hash
d1ba831e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01109
Status: valid/unmigrated Version: rel:R25-11#e536c303 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_01109@rel:R25-11#e536c303
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#d1ba831e2026-09-30
  • R20-11rel:R20-11#94ccbc272026-10-14
  • R21-11rel:R21-11#783be03b2026-10-14
  • R22-11rel:R22-11#6f8525752026-10-14
  • R23-11rel:R23-11#8db206c62026-10-14
  • R24-11rel:R24-11#e536c3032026-10-14
  • R25-11rel:R25-11#e536c3032026-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 GetRateDeviation [SWS_TS_01111] 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_provider.h"
Scopeclass ara::tsync::SynchronizedTimeBaseProvider
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_01111
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01111@rel:R25-11#db156b21
Content hash
db156b21
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01111
Status: valid/unmigrated Version: rel:R25-11#0bfa82ee 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_01111@rel:R25-11#0bfa82ee
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#db156b212026-09-30
  • R20-11rel:R20-11#5f3215b52026-10-14
  • R21-11rel:R21-11#74e7a9a92026-10-14
  • R22-11rel:R22-11#f8bfd2e22026-10-14
  • R23-11rel:R23-11#653c6ada2026-10-14
  • R24-11rel:R24-11#0bfa82ee2026-10-14
  • R25-11rel:R25-11#0bfa82ee2026-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 GetUserData [SWS_TS_01113] Upstream: RS_TS_00021 wording not yet imported, RS_TS_00014 wording not yet imported

UserData GetUserData () const noexcept;

A method to return the user defined data of the time base.

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

Rückgabewert

TypBeschreibung
UserDataThe current user data of the Time Base.

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

Record
AUTOSAR/AP/record/SWS_TS_01113
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01113@rel:R25-11#7aa1ba2f
Content hash
7aa1ba2f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01113
Status: valid/unmigrated Version: rel:R25-11#66040507 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_01113@rel:R25-11#66040507
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7aa1ba2f2026-09-30
  • R20-11rel:R20-11#9110470c2026-10-14
  • R21-11rel:R21-11#9110470c2026-10-14
  • R22-11rel:R22-11#9709ff892026-10-14
  • R23-11rel:R23-11#40998e0a2026-10-14
  • R24-11rel:R24-11#660405072026-10-14
  • R25-11rel:R25-11#660405072026-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_01114] Upstream: RS_TS_00034 wording not yet imported, RS_TS_00030 wording not yet imported

void RegisterTimeValidationNotification (ProviderTimeBaseValidation Notification &timeBaseValidationNotification) noexcept;

Method that can be used by time provider 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: 89b44278d606 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The method RegisterTimeValidationNotification is part of the class ara::tsync::SynchronizedTimeBaseProvider and is included via the header #include "ara/tsync/synchronized_time_base_provider.h" [SWS_TS_01114]. It serves time provider applications to receive time synchronization parameters [SWS_TS_01114]. Via the parameter timeBaseValidationNotification, a reference to a notification object of type ProviderTimeBaseValidationNotification is passed, which is informed as soon as a new data block is available for the time base [SWS_TS_01114]. The method provides no return value (void) [SWS_TS_01114].

Error handling

The method is declared as noexcept and possesses the property exception safe [SWS_TS_01114]. It throws no exceptions and returns no error codes [SWS_TS_01114].

Concurrency and Limitations

The following restrictions must be observed during use:

  • Registration limit: At most one notifier can be registered; each further registration overwrites the current registration [SWS_TS_01114].
  • Thread safety: The function is specified as non_threadsafe [SWS_TS_01114]. Calls to the same instance must be synchronized on the application side in the event of concurrent access.

Interaction

While this function implements registration on the time master (provider) side [SWS_TS_01114], the class ara::tsync::SynchronizedTimeBaseConsumer with RegisterTimeValidationNotification and the type ConsumerTimeBaseValidationNotification represents the functional pendant for time consumers [SWS_TS_01016].

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_provider.h"
Scopeclass ara::tsync::SynchronizedTimeBaseProvider
Exception-Sicherheitexception safe
Thread-Sicherheitnon_threadsafe

Parameter (in)

ParameterBeschreibung
timeBaseValidationNotificationtime provider 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_01114
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01114@rel:R25-11#43de0cea
Content hash
43de0cea
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01114
Status: valid/unmigrated Version: rel:R25-11#5b0c66e7 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_01114@rel:R25-11#5b0c66e7
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#43de0cea2026-09-30
  • R20-11rel:R20-11#3753493e2026-10-14
  • R21-11rel:R21-11#87d3b5002026-10-14
  • R22-11rel:R22-11#c5387b082026-10-14
  • R23-11rel:R23-11#e5b34ad22026-10-14
  • R24-11rel:R24-11#5b0c66e72026-10-14
  • R25-11rel:R25-11#5b0c66e72026-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 SetRateCorrection [SWS_TS_01110] Upstream: RS_TS_00029 wording not yet imported, RS_TS_00026 wording not yet imported, RS_TS_00018 wording not yet imported

ara::core::Result< void > SetRateCorrection (double rateCorrection) noexcept;

This method can be used to set the rate correction that will be applied to time values.

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

Parameter (in)

ParameterBeschreibung
rateCorrectionRate correction factor applied to the local clock value. A factor smaller than 1.0 slows down the local clock by that factor, a value greater than 1.0 speeds up the clock.

Rückgabewert

TypBeschreibung
ara::core::Result< void >-

Fehler

FehlercodeBeschreibung
TsyncErrc::kLimitsExceededno_rollback_semantics The value exceeds valid value range
TsyncErrc::kFunctionNotSupportedno_rollback_semantics The requested function is not supported

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

Record
AUTOSAR/AP/record/SWS_TS_01110
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01110@rel:R25-11#5bca4071
Content hash
5bca4071
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01110
Status: valid/unmigrated Version: rel:R25-11#25dd7f54 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_01110@rel:R25-11#25dd7f54
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#5bca40712026-09-30
  • R20-11rel:R20-11#439c1a362026-10-14
  • R21-11rel:R21-11#439c1a362026-10-14
  • R22-11rel:R22-11#fd3129132026-10-14
  • R23-11rel:R23-11#7279969d2026-10-14
  • R24-11rel:R24-11#46ceacc72026-10-14
  • R25-11rel:R25-11#25dd7f542026-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 SetTime [SWS_TS_01107] Upstream: RS_TS_00010 wording not yet imported, RS_TS_00026 wording not yet imported

ara::core::Result< void > SetTime (ara::tsync::Timestamp timePoint, const UserData &userData) noexcept;

A method that can be used to set a new time value for the clock. Setting a new time also triggers transmission on the bus.

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

Parameter (in)

ParameterBeschreibung
timePointThe time information to be set.
userDataThe user data to be set.

Rückgabewert

TypBeschreibung
ara::core::Result< void >-

Fehler

FehlercodeBeschreibung
TsyncErrc::kInvalidUserDataSizeno_rollback_semantics The length of the user data exceeded the maximum allowed size, defined by UserData::kMaxUserDataSize (currently 3 bytes).
TsyncErrc::kDaemonConnectionLostno_rollback_semantics The action cannot be executed, because the connection to time sync daemon is currently lost.

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

Record
AUTOSAR/AP/record/SWS_TS_01107
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01107@rel:R25-11#a692af21
Content hash
a692af21
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01107
Status: valid/unmigrated Version: rel:R25-11#89b07835 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_01107@rel:R25-11#89b07835
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#a692af212026-09-30
  • R20-11rel:R20-11#f42eeb692026-10-14
  • R21-11rel:R21-11#c223935e2026-10-14
  • R22-11rel:R22-11#a92b79242026-10-14
  • R23-11rel:R23-11#cad045a82026-10-14
  • R24-11rel:R24-11#ad0b748c2026-10-14
  • R25-11rel:R25-11#89b078352026-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 SetUserData [SWS_TS_01112] Upstream: RS_TS_00029 wording not yet imported, RS_TS_00026 wording not yet imported, RS_TS_00015 wording not yet imported

ara::core::Result< void > SetUserData (const UserData &userData) noexcept;

Method that can be used to set user data.

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

Parameter (in)

ParameterBeschreibung
userDataThe user data to be set.

Rückgabewert

TypBeschreibung
ara::core::Result< void >-

Fehler

FehlercodeBeschreibung
TsyncErrc::kInvalidUserDataSizeno_rollback_semantics The length of the user data exceeded the maximum allowed size, defined by UserData::kMaxUserDataSize (currently 3 bytes).

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

Record
AUTOSAR/AP/record/SWS_TS_01112
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01112@rel:R25-11#30e07778
Content hash
30e07778
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01112
Status: valid/unmigrated Version: rel:R25-11#2ff2b4dd 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_01112@rel:R25-11#2ff2b4dd
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#30e077782026-09-30
  • R20-11rel:R20-11#9370f9812026-10-14
  • R21-11rel:R21-11#9370f9812026-10-14
  • R22-11rel:R22-11#73d4f8122026-10-14
  • R23-11rel:R23-11#bca80c8f2026-10-14
  • R24-11rel:R24-11#1af4259c2026-10-14
  • R25-11rel:R25-11#2ff2b4dd2026-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 SynchronizedTimeBaseProvider [SWS_TS_01101] Upstream: RS_TS_00005 wording not yet imported, RS_AP_00171, RS_AP_00172

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

SynchronizedTimeBaseProvider constructor.

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

Parameter (in)

ParameterBeschreibung
specifierInstanceSpecifier to an PortPrototype of a PortPrototype typed by a SynchronizedTimeBaseProviderInterface

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

Record
AUTOSAR/AP/record/SWS_TS_01101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01101@rel:R25-11#a6669f8b
Content hash
a6669f8b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01101
Status: valid/unmigrated Version: rel:R25-11#8264f9ed 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_01101@rel:R25-11#8264f9ed
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#a6669f8b2026-09-30
  • R20-11rel:R20-11#897cd3202026-10-14
  • R21-11rel:R21-11#93f9733a2026-10-14
  • R22-11rel:R22-11#5dc9102a2026-10-14
  • R23-11rel:R23-11#de89ffd02026-10-14
  • R24-11rel:R24-11#8264f9ed2026-10-14
  • R25-11rel:R25-11#8264f9ed2026-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 SynchronizedTimeBaseProvider [SWS_TS_01102] Upstream: RS_TS_00005 wording not yet imported

SynchronizedTimeBaseProvider (SynchronizedTimeBaseProvider &&stbc) noexcept;

Move constructor for SynchronizedTimeBaseProvider.

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

Parameter (in)

ParameterBeschreibung
stbcThe SynchronizedTimeBaseProvider object to be moved.

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

Record
AUTOSAR/AP/record/SWS_TS_01102
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01102@rel:R25-11#cdeebd80
Content hash
cdeebd80
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01102
Status: valid/unmigrated Version: rel:R25-11#5ccdf1e4 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_01102@rel:R25-11#5ccdf1e4
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#cdeebd802026-09-30
  • R20-11rel:R20-11#5f6dc9f02026-10-14
  • R21-11rel:R21-11#5f6dc9f02026-10-14
  • R22-11rel:R22-11#549d5b802026-10-14
  • R23-11rel:R23-11#c3c5508d2026-10-14
  • R24-11rel:R24-11#5ccdf1e42026-10-14
  • R25-11rel:R25-11#5ccdf1e42026-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 SynchronizedTimeBaseProvider [SWS_TS_01104] Upstream: RS_TS_00005 wording not yet imported

SynchronizedTimeBaseProvider (const SynchronizedTimeBaseProvider &)=delete;

The copy constructor for SynchronizedTimeBaseProvider shall not be used.

Header-Datei#include "ara/tsync/synchronized_time_base_provider.h"
Scopeclass ara::tsync::SynchronizedTimeBaseProvider

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

Record
AUTOSAR/AP/record/SWS_TS_01104
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01104@rel:R25-11#e8109391
Content hash
e8109391
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01104
Status: valid/unmigrated Version: rel:R25-11#78d0d11f 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_01104@rel:R25-11#78d0d11f
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#e81093912026-09-30
  • R20-11rel:R20-11#5de31eee2026-10-14
  • R21-11rel:R21-11#1c6424382026-10-14
  • R22-11rel:R22-11#5f747d002026-10-14
  • R23-11rel:R23-11#a0b2c2c32026-10-14
  • R24-11rel:R24-11#78d0d11f2026-10-14
  • R25-11rel:R25-11#78d0d11f2026-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_01115] 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 provider applications to receive time sync parameters.

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

The method UnregisterTimeValidationNotification of class ara::tsync::SynchronizedTimeBaseProvider is provided via the header file ara/tsync/synchronized_time_base_provider.h [SWS_TS_01115]. It serves time provider applications in the context of time synchronization and the receipt of time synchronization parameters [SWS_TS_01115]; judging by its identifier, its purpose is likely to unregister a previously registered notification for time validation. Question Q-49ba26b4b16dd5c7 (open)

With regard to call context and semantics, the following requirements apply:

  • Signature and return: The function takes no parameters and has no return value (void) [SWS_TS_01115].
  • Error handling: The operation is declared as noexcept and specified as exception-safe (exception safe) [SWS_TS_01115]. Error codes or notifications to DET or DEM are not provided for this interface.
  • Concurrency: The function is explicitly classified as non_threadsafe [SWS_TS_01115]. Concurrent calls on the same instance of SynchronizedTimeBaseProvider must therefore be synchronized by the caller.

In the interaction within the time synchronization architecture, a direct counterpart exists for time receivers (time consumer applications) in the class ara::tsync::SynchronizedTimeBaseConsumer (defined in ara/tsync/synchronized_time_base_consumer.h), which exhibits identical properties regarding thread safety and exception safety [SWS_TS_01017].

This usage note was generated automatically and is based exclusively on specification R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/tsync/synchronized_time_base_provider.h"
Scopeclass ara::tsync::SynchronizedTimeBaseProvider
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_01115
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01115@rel:R25-11#6eb400f7
Content hash
6eb400f7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01115
Status: valid/unmigrated Version: rel:R25-11#0fcedc91 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_01115@rel:R25-11#0fcedc91
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#6eb400f72026-09-30
  • R20-11rel:R20-11#4096e3f92026-10-14
  • R21-11rel:R21-11#4096e3f92026-10-14
  • R22-11rel:R22-11#1c4d64e72026-10-14
  • R23-11rel:R23-11#a284fe002026-10-14
  • R24-11rel:R24-11#10a03cb02026-10-14
  • R25-11rel:R25-11#0fcedc912026-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 UpdateTime [SWS_TS_01108] Upstream: RS_TS_00010 wording not yet imported, RS_TS_00011 wording not yet imported, RS_TS_00029 wording not yet imported, RS_TS_00026 wording not yet imported, RS_TS_00009 wording not yet imported

ara::core::Result< void > UpdateTime (ara::tsync::Timestamp timePoint, const UserData &userData) noexcept;

A method that can be used to set a new time value for the clock. The clock value is only updated locally, transmission on the bus will happen in the next cycle.

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

use

The method UpdateTime from the header ara/tsync/synchronized_time_base_provider.h belongs to the class ara::tsync::SynchronizedTimeBaseProvider [SWS_TS_01108]. It serves to define a new time value for the clock. The method accepts the point in time to be set timePoint with the template parameter Duration as well as user-defined application data userData [SWS_TS_01108]. The clock value is updated locally immediately; transmission over the bus only occurs in the subsequent cycle [SWS_TS_01108].

Error handling

The call is declared with noexcept and returns a ara::core::Result<void> [SWS_TS_01108]. If the length of the passed userData exceeds the maximum allowable size, which is currently limited to 3 bytes by UserData::kMaxUserDataSize, the operation fails [SWS_TS_01108]. In this case, the result object returns the error code TsyncErrc::kInvalidUserDataSize, whereby no rollback semantics (no_rollback_semantics) are provided for the error case [SWS_TS_01108].

Concurrency and Limitations

For integration, it must be noted that UpdateTime is specified as non-thread-safe (non_threadsafe) [SWS_TS_01108]. If instances of SynchronizedTimeBaseProvider are used in concurrent execution contexts, the calling code must ensure appropriate synchronization. However, the function guarantees exception safety (exception safe) [SWS_TS_01108].

This text was generated by an AI based on the specification.

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

Template-Parameter

ParameterBeschreibung
DurationThe duration type of the time point passed as parameter.

Parameter (in)

ParameterBeschreibung
timePointThe time information to be set.
userDataThe user data to be set.

Rückgabewert

TypBeschreibung
ara::core::Result< void >-

Fehler

FehlercodeBeschreibung
TsyncErrc::kInvalidUserDataSizeno_rollback_semantics The length of the user data exceeded the maximum allowed size, defined by UserData::kMaxUserDataSize (currently 3 bytes).

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

Record
AUTOSAR/AP/record/SWS_TS_01108
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01108@rel:R25-11#7a8c2c26
Content hash
7a8c2c26
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01108
Status: valid/unmigrated Version: rel:R25-11#3e214e85 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_01108@rel:R25-11#3e214e85
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#7a8c2c262026-09-30
  • R20-11rel:R20-11#1fc2a3642026-10-14
  • R21-11rel:R21-11#1fc2a3642026-10-14
  • R22-11rel:R22-11#00df04242026-10-14
  • R23-11rel:R23-11#23e34e062026-10-14
  • R24-11rel:R24-11#fe1c31432026-10-14
  • R25-11rel:R25-11#3e214e852026-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_01103] Upstream: RS_TS_00005 wording not yet imported

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

Move assignment operator for SynchronizedTimeBaseProvider.

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

Parameter (in)

ParameterBeschreibung
stbcThe SynchronizedTimeBaseProvider object to be moved.

Rückgabewert

TypBeschreibung
SynchronizedTimeBaseProvider &The moved SynchronizedTimeBaseProvider object.

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

Record
AUTOSAR/AP/record/SWS_TS_01103
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01103@rel:R25-11#f3b6eee2
Content hash
f3b6eee2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01103
Status: valid/unmigrated Version: rel:R25-11#3f83c7f0 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_01103@rel:R25-11#3f83c7f0
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#f3b6eee22026-09-30
  • R20-11rel:R20-11#18afdf662026-10-14
  • R21-11rel:R21-11#18afdf662026-10-14
  • R22-11rel:R22-11#9f313dae2026-10-14
  • R23-11rel:R23-11#2e7c31dc2026-10-14
  • R24-11rel:R24-11#3f83c7f02026-10-14
  • R25-11rel:R25-11#3f83c7f02026-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_01105] Upstream: RS_TS_00005 wording not yet imported

SynchronizedTimeBaseProvider & operator= (const SynchronizedTimeBase Provider &)=delete;

The copy assignment operator for SynchronizedTimeBaseProvider shall not be used.

Header-Datei#include "ara/tsync/synchronized_time_base_provider.h"
Scopeclass ara::tsync::SynchronizedTimeBaseProvider

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

Record
AUTOSAR/AP/record/SWS_TS_01105
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01105@rel:R25-11#3f14e13b
Content hash
3f14e13b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01105
Status: valid/unmigrated Version: rel:R25-11#70f8fb4a 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_01105@rel:R25-11#70f8fb4a
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#3f14e13b2026-09-30
  • R20-11rel:R20-11#b91c21862026-10-14
  • R21-11rel:R21-11#b91c21862026-10-14
  • R22-11rel:R22-11#84adf2a22026-10-14
  • R23-11rel:R23-11#ed4c3bf52026-10-14
  • R24-11rel:R24-11#70f8fb4a2026-10-14
  • R25-11rel:R25-11#70f8fb4a2026-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 ~SynchronizedTimeBaseProvider [SWS_TS_01106] Upstream: RS_TS_00005 wording not yet imported

~SynchronizedTimeBaseProvider () noexcept;

Destructor for SynchronizedTimeBaseProvider.

Header-Datei#include "ara/tsync/synchronized_time_base_provider.h"
Scopeclass ara::tsync::SynchronizedTimeBaseProvider
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_01106
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_01106@rel:R25-11#aabe1667
Content hash
aabe1667
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_01106
Status: valid/unmigrated Version: rel:R25-11#b1bfdc0e 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_01106@rel:R25-11#b1bfdc0e
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#aabe16672026-09-30
  • R20-11rel:R20-11#86ef63302026-10-14
  • R21-11rel:R21-11#86ef63302026-10-14
  • R22-11rel:R22-11#868b1d042026-10-14
  • R23-11rel:R23-11#43500dab2026-10-14
  • R24-11rel:R24-11#b1bfdc0e2026-10-14
  • R25-11rel:R25-11#b1bfdc0e2026-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