MoveIt Pro Behavior Interface  5.0.1
Library for developing custom behaviors for use in MoveIt Pro
moveit_studio::behaviors::ClockInterfaceBase Class Referenceabstract

A base class which provides an interface for retrieving timepoints from a monotonic clock. More...

#include <clock_interface.hpp>

Inheritance diagram for moveit_studio::behaviors::ClockInterfaceBase:

Public Member Functions

virtual ~ClockInterfaceBase ()=default
 
virtual std::chrono::time_point< std::chrono::steady_clock > getTimePoint () const =0
 Get the current timepoint. More...
 

Detailed Description

A base class which provides an interface for retrieving timepoints from a monotonic clock.

Constructor & Destructor Documentation

◆ ~ClockInterfaceBase()

virtual moveit_studio::behaviors::ClockInterfaceBase::~ClockInterfaceBase ( )
virtualdefault

Member Function Documentation

◆ getTimePoint()

virtual std::chrono::time_point<std::chrono::steady_clock> moveit_studio::behaviors::ClockInterfaceBase::getTimePoint ( ) const
pure virtual

Get the current timepoint.

Returns
The current timepoint.

Implemented in moveit_studio::behaviors::SteadyClockInterface.


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