enum mrpt::Clock::Source

Overview

Options for setting the source of all timestamps across MRPT: setActiveClock(), now() More…

#include <Clock.h>

enum Source
{
    Realtime  = 0,
    Monotonic,
    Simulated,
};

Detailed Documentation

Options for setting the source of all timestamps across MRPT: setActiveClock(), now()

Enum Values

Realtime

Realtime: POSIX CLOCK_REALTIME.

The highest resolution available Typically this is better than 1 microsecond. Selected by default.

Monotonic

Monotonic: POSIX CLOCK_MONOTONIC.

Only available in Linux systems.

Simulated

Simulated time: Manual control of time via setSimulatedTime() [New in MRPT 2.1.1].