MRPT
1.9.9
|
Clock that is compatible with MRPT TTimeStamp representation.
#include <mrpt/core/Clock.h>
Public Types | |
using | rep = int64_t |
using | period = std::ratio< 1, 10000000 > |
using | duration = std::chrono::duration< rep, period > |
using | time_point = std::chrono::time_point< Clock > |
Static Public Member Functions | |
static time_point | now () noexcept |
Returns the current time, with the highest resolution available. More... | |
static time_point | fromDouble (const double t) noexcept |
Create a timestamp from its double representation. More... | |
Static Public Attributes | |
static constexpr bool | is_steady = std::chrono::system_clock::is_steady |
using mrpt::Clock::duration = std::chrono::duration<rep, period> |
using mrpt::Clock::period = std::ratio<1, 10000000> |
using mrpt::Clock::rep = int64_t |
using mrpt::Clock::time_point = std::chrono::time_point<Clock> |
|
staticnoexcept |
Create a timestamp from its double representation.
Definition at line 51 of file Clock.cpp.
Referenced by mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::readGTFile(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::readGTFileRGBD_TUM(), TEST(), and mrpt::system::time_tToTimestamp().
|
staticnoexcept |
Returns the current time, with the highest resolution available.
Typically this is better than 1 microsecond.
Definition at line 46 of file Clock.cpp.
References getCurrentTime().
Referenced by mrpt::system::getCurrentTime(), mrpt::slam::CMetricMapBuilderICP::initialize(), mrpt::system::now(), and TEST().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |