moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
generated_time.hpp File Reference
#include <filesystem>
#include <string>
Include dependency graph for generated_time.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  moveit_setup
 

Typedefs

using moveit_setup::GeneratedTime = std::filesystem::file_time_type
 

Functions

template<typename CLOCK >
GeneratedTime moveit_setup::convertTime (const typename CLOCK::time_point &t0)
 Convert a time_point from an arbitrary clock to GeneratedTime.
 
template<typename CLOCK >
CLOCK::time_point moveit_setup::convertTime (const GeneratedTime &t0)
 Convert GeneratedTime to a time_point from an arbitrary clock.
 
template<typename CLOCK >
GeneratedTime moveit_setup::convertTime (long int epoch)
 Convert an integral epoch from an arbitrary clock to GeneratedTime.
 
GeneratedTime moveit_setup::fromEpoch (long int epoch)
 Convert an integral epoch to GeneratedTime (using system_clock)
 
template<typename CLOCK >
std::time_t moveit_setup::toStandardTime (const GeneratedTime &t)
 Convert a GeneratedTime to a std::time_t (using system_clock)
 
long int moveit_setup::toEpoch (const GeneratedTime &t)
 Convert a GeneratedTime to an integral epoch (using system_clock)
 
std::string moveit_setup::toString (const GeneratedTime &t)
 Convert a GeneratedTime to a std::string (using system_clock)