Interface for time source used by ROS2ClockSystemComponent. More...
#include <ITimeSource.h>
Inherited by ROS2::ROS2TimeSource, ROS2::RealTimeSource, and ROS2::SimulationTimeSource.
Public Member Functions | |
| virtual void | Activate ()=0 | 
| virtual void | Deactivate ()=0 | 
| virtual AZ::Outcome< void, AZStd::string > | AdjustTime (const builtin_interfaces::msg::Time &time)=0 | 
| virtual builtin_interfaces::msg::Time | GetROSTimestamp () const =0 | 
Interface for time source used by ROS2ClockSystemComponent.
      
  | 
  pure virtual | 
Sets the time source to the given time.
| time | The time to set the time source to. | 
Implemented in ROS2::RealTimeSource, ROS2::ROS2TimeSource, and ROS2::SimulationTimeSource.
      
  | 
  pure virtual | 
Get time as ROS 2 message.
Implemented in ROS2::RealTimeSource, ROS2::ROS2TimeSource, and ROS2::SimulationTimeSource.