MRPT  1.9.9
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.

Referenced by xsens::Cmt3::waitForDataMessage(), and xsens::Cmt2s::waitForMessage().

◆ 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.

Referenced by xsens::getTimeOfDay().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020