Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces | Macros | Typedefs | Functions
xsens_time.h File Reference
#include <cstdint>
#include <time.h>

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: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019