CTimeStamp Class Reference

#include <RobotAPI/drivers/XsensIMU/IMU/IMUHelpers.h>

Static Public Member Functions

static timeval GetCurrentTimeStamp ()
 
static long GetElapsedMicroseconds (const timeval &Post, const timeval &Pre)
 
static long GetElapsedMicroseconds (const timeval &Pre)
 
static float GetElapsedMilliseconds (const timeval &Post, const timeval &Pre)
 
static float GetElapsedSeconds (const timeval &Post, const timeval &Pre)
 

Static Public Attributes

static const timeval s_Zero = { 0, 0 }
 

Detailed Description

Definition at line 18 of file IMUHelpers.h.

Member Function Documentation

◆ GetCurrentTimeStamp()

static timeval GetCurrentTimeStamp ( )
inlinestatic

Definition at line 22 of file IMUHelpers.h.

◆ GetElapsedMicroseconds() [1/2]

static long GetElapsedMicroseconds ( const timeval &  Post,
const timeval &  Pre 
)
inlinestatic

Definition at line 39 of file IMUHelpers.h.

+ Here is the caller graph for this function:

◆ GetElapsedMicroseconds() [2/2]

static long GetElapsedMicroseconds ( const timeval &  Pre)
inlinestatic

Definition at line 44 of file IMUHelpers.h.

◆ GetElapsedMilliseconds()

static float GetElapsedMilliseconds ( const timeval &  Post,
const timeval &  Pre 
)
inlinestatic

Definition at line 34 of file IMUHelpers.h.

+ Here is the call graph for this function:

◆ GetElapsedSeconds()

static float GetElapsedSeconds ( const timeval &  Post,
const timeval &  Pre 
)
inlinestatic

Definition at line 29 of file IMUHelpers.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ s_Zero

const timeval s_Zero = { 0, 0 }
static

Definition at line 51 of file IMUHelpers.h.


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