Open 3D Engine ROS2 Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::ITimeSource Class Referenceabstract

Inherited by ROS2::ROS2TimeSource, ROS2::RealTimeSource, and ROS2::SimulationTimeSource.

Public Member Functions

virtual void Activate ()=0
 
virtual void Deactivate ()=0
 
virtual builtin_interfaces::msg::Time GetROSTimestamp () const =0
 

Member Function Documentation

◆ GetROSTimestamp()

virtual builtin_interfaces::msg::Time ROS2::ITimeSource::GetROSTimestamp ( ) const
pure virtual

Get time as ROS 2 message.

See also
ROS2Requests::GetROSTimestamp() for more details.

Implemented in ROS2::SimulationTimeSource, ROS2::ROS2TimeSource, and ROS2::RealTimeSource.


The documentation for this class was generated from the following file: