Expand description

API in rcl/time.h

Structs

Encapsulation of a time source.

A duration of time, measured in nanoseconds and its source.

Struct to describe an added callback.

Describe the prerequisites for calling a time jump callback.

Struct to describe a jump in time.

A single point in time, measured in nanoseconds, the reference point is based on the source.

Enums

Time source type, used to indicate the source of a time measurement.

Enumeration to describe the type of time jump.

Functions

Add a callback to be called when a time jump exceeds a threshold.

Finalize a clock.

Fill the time point value with the current value of the associated clock.

Initialize a clock based on the passed type.

Remove a previously added time jump callback.

Check if the clock has valid values.

Compute the difference between two time points

Disable the ROS time abstraction override.

Enable the ROS time abstraction override.

Check if the RCL_ROS_TIME time source has the override enabled.

Finalize a clock as a RCL_ROS_TIME time source.

Initialize a clock as a RCL_ROS_TIME time source.

Set the current time for this RCL_ROS_TIME time source.

Finalize a clock as a RCL_STEADY_TIME time source.

Initialize a clock as a RCL_STEADY_TIME time source.

Finalize a clock as a RCL_SYSTEM_TIME time source.

Initialize a clock as a RCL_SYSTEM_TIME time source.

Type Definitions

A duration of time, measured in nanoseconds.

Signature of a time jump callback.

A single point in time, measured in nanoseconds since the Unix epoch.