ClockType.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace armarx::core::time
4 {
5 
6  /**
7  * @brief Describes the type of clock.
8  */
9  enum class ClockType
10  {
11  /// Normalized time as reported by the operating system.
12  Realtime,
13  /// Monotonic/steady clock of the operating system.
14  Monotonic,
15  /// Time given by time server if configured, realtime otherwise.
16  Virtual,
17  /// Unknown source of time.
18  Unknown
19  };
20 
21 } // namespace armarx::core::time
22 
23 namespace armarx
24 {
26 } // namespace armarx
armarx::core::time
Definition: Clock.cpp:13
armarx::core::time::ClockType
ClockType
Describes the type of clock.
Definition: ClockType.h:9
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:27