xsens_imu
Public Member Functions | List of all members
xsens::MillisecondTimer Class Reference

#include <xsens_time.h>

Public Member Functions

 MillisecondTimer ()
 Constructor. More...
 
void restart ()
 Set the timer back to 0. More...
 
uint32_t millisecondsElapsed ()
 Returns the number of milliseconds that has elapsed since the constructor or the restart function were called. Note that the timer wraps around after 24 hours. More...
 

Constructor & Destructor Documentation

◆ MillisecondTimer()

xsens::MillisecondTimer::MillisecondTimer ( )

Constructor.

Member Function Documentation

◆ millisecondsElapsed()

uint32_t xsens::MillisecondTimer::millisecondsElapsed ( )

Returns the number of milliseconds that has elapsed since the constructor or the restart function were called. Note that the timer wraps around after 24 hours.

◆ restart()

void xsens::MillisecondTimer::restart ( )

Set the timer back to 0.


The documentation for this class was generated from the following files: