onboardapi  9.10.0
by Rheinmetall
M_TimeManager::TimeSourceKind Namespace Reference

Enumerations

enum  Type {
  Unspecified , Manual , System_Clock , Rtc ,
  Ntp_Server , Ptp_Master , Satellite , Multi_Gnss ,
  Gps , Qzss , Beidou , Galileo ,
  Glonass , Radio , Loran_C , Cellular ,
  Internet_Service , Bluetooth
}
 Kinds of TimeSource enumeration. More...
 

Functions

std::string toString (M_TimeManager::TimeSourceKind::Type val)
 
M_TimeManager::TimeSourceKind::Type fromString (const std::string &val)
 

Enumeration Type Documentation

◆ Type

Kinds of TimeSource enumeration.

Enumerator
Unspecified 

Unknown or unspecified time source.

Manual 

Time was manually set by a user.

System_Clock 

Time taken from the local system clock.

Rtc 

Time read from a dedicated real-time clock (RTC) module.

Ntp_Server 

Time taken from network time protocol (NTP).

Ptp_Master 

Time taken from precision time protocol (PTP).

Satellite 

Time taken from a satellite.

Multi_Gnss 

Time taken from multiple navigation stellite systems (Multi-GNSS).

Gps 

Time taken from global positioning system (GPS).

Qzss 

Time taken from Quasi-Zenit-Satelliten-System (QZSS).

Beidou 

Time taken from Beidou satellite system.

Galileo 

Time taken from Galileo satellite system.

Glonass 

Time taken from Global Navigation Satellite System (GLONASS).

Radio 

Time taken from radio time signal.

Loran_C 

Time taken from Loran-C.

Cellular 

Time taken from mobile cellular network.

Internet_Service 

Time taken from internet API or web service.

Bluetooth 

Time taken from a paired bluetooth device.

Function Documentation

◆ fromString()

M_TimeManager::TimeSourceKind::Type M_TimeManager::TimeSourceKind::fromString ( const std::string &  val)
inline

◆ toString()

std::string M_TimeManager::TimeSourceKind::toString ( M_TimeManager::TimeSourceKind::Type  val)
inline