struct mrpt::internal::ClockState

Overview

struct ClockState
{
    // structs

    struct MonotonicToRealtimeEpoch;

    // fields

    MonotonicToRealtimeEpoch m2r_epoch;
    bool monotonic_epoch_init = false;

    // methods

    static ClockState& Instance();
    mrpt::Clock::Source selectedClock() const;
    void selectedClock(mrpt::Clock::Source s);
    uint64_t simulatedTime() const;
    void simulatedTime(uint64_t t);
};