Fixposition SDK 0.0.0-heads/main-0-g7b59b93
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
fpsdk::common::types Namespace Reference

Common types. More...

Enumerations

enum class  GnssFixType : int8_t {
  FIX_UNKNOWN = 0 , FIX_NOFIX = 1 , FIX_DRONLY = 2 , FIX_TIME = 3 ,
  FIX_2D = 4 , FIX_3D = 5 , FIX_3D_DR = 6 , FIX_RTK_FLOAT = 7 ,
  FIX_RTK_FIXED = 8 , FIX_RTK_FLOAT_DR = 9 , FIX_RTK_FIXED_DR = 10
}
 GNSS fix types. More...
 

Functions

template<typename T , typename = typename std::enable_if<std::is_enum<T>::value, T>::type>
constexpr std::underlying_type< T >::type EnumToVal (T enum_val)
 Convert enum class constant to the underlying integral type value.
 
const char * GnssFixTypeStr (const GnssFixType fix_type)
 Stringify GNSS fix type.
 

Detailed Description

Common types.

Enumeration Type Documentation

◆ GnssFixType

enum class fpsdk::common::types::GnssFixType : int8_t
strong

GNSS fix types.

Enumerator
FIX_UNKNOWN 

Unknown fix.

FIX_NOFIX 

No fix.

FIX_DRONLY 

Dead-reckoning only fix.

FIX_TIME 

Time only fix.

FIX_2D 

2D fix

FIX_3D 

3D fix

FIX_3D_DR 

3D + dead-reckoning fix

FIX_RTK_FLOAT 

RTK float fix (implies 3D fix)

FIX_RTK_FIXED 

RTK fixed fix (implies 3D fix)

FIX_RTK_FLOAT_DR 

RTK float fix + dead-reckoning (implies 3D_DR fix)

FIX_RTK_FIXED_DR 

RTK fixed fix + dead-reckoning (implies 3D_DR fix)

Definition at line 54 of file types.hpp.

Function Documentation

◆ EnumToVal()

template<typename T , typename = typename std::enable_if<std::is_enum<T>::value, T>::type>
std::underlying_type< T >::type fpsdk::common::types::EnumToVal ( T enum_val)
constexpr

Convert enum class constant to the underlying integral type value.

Template Parameters
TThe enum class type
Parameters
[in]enum_valThe enum constant
Returns
the integral value of the enum constant as the value of the underlying type

Definition at line 46 of file types.hpp.

◆ GnssFixTypeStr()

const char * fpsdk::common::types::GnssFixTypeStr ( const GnssFixType fix_type)

Stringify GNSS fix type.

Parameters
[in]fix_typeThe fix type
Returns
a concise and unique string for the fix types, "?" for bad values