ClockType.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 namespace armarx::core::time
5 {
6 
7  /**
8  * @brief Describes the type of clock.
9  */
10  enum class ClockType
11  {
12  /// Normalized time as reported by the operating system.
13  Realtime,
14  /// Monotonic/steady clock of the operating system.
15  Monotonic,
16  /// Time given by time server if configured, realtime otherwise.
17  Virtual,
18  /// Unknown source of time.
19  Unknown
20  };
21 
22 } // namespace armarx::core::time
23 
24 
25 namespace armarx
26 {
28 } // namespace armarx
armarx::core::time
Definition: Clock.cpp:13
armarx::core::time::ClockType
ClockType
Describes the type of clock.
Definition: ClockType.h:10
armarx::core::time::ClockType::Unknown
@ Unknown
Unknown source of time.
armarx::core::time::ClockType::Realtime
@ Realtime
Normalized time as reported by the operating system.
armarx::core::time::ClockType::Virtual
@ Virtual
Time given by time server if configured, realtime otherwise.
armarx::core::time::ClockType::Monotonic
@ Monotonic
Monotonic/steady clock of the operating system.
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28