Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces | Macros | Typedefs | Functions
xsens_time.h File Reference
#include <cstdint>
#include <time.h>
Include dependency graph for xsens_time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xsens
 The namespace of all Xsens software since 2006.
 

Macros

#define XSENS_SEC_PER_DAY   (60 * 60 * 24)
 The number of seconds in a normal day. More...
 
#define XSENS_MS_PER_DAY   (XSENS_SEC_PER_DAY * 1000)
 The number of milliseconds in a normal day. More...
 

Typedefs

typedef uint64_t xsens::TimeStamp
 A real-time timestamp (ms) More...
 

Functions

uint32_t xsens::getTimeOfDay (tm *date_=nullptr, time_t *secs_=nullptr)
 A platform-independent clock. More...
 
void xsens::msleep (uint32_t ms)
 A platform-independent sleep routine. More...
 
TimeStamp xsens::timeStampNow (void)
 

Macro Definition Documentation

◆ XSENS_MS_PER_DAY

#define XSENS_MS_PER_DAY   (XSENS_SEC_PER_DAY * 1000)

The number of milliseconds in a normal day.

Definition at line 21 of file xsens_time.h.

◆ XSENS_SEC_PER_DAY

#define XSENS_SEC_PER_DAY   (60 * 60 * 24)

The number of seconds in a normal day.

Definition at line 19 of file xsens_time.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST