Public Attributes | Related Functions | List of all members
XsTimeStamp Struct Reference

This class contains method to set, retrieve and compare timestamps. More...

#include <xstimestamp.h>

Public Attributes

int64_t m_msTime
 The timestamp value. More...
 

Related Functions

(Note that these are not member functions.)

int64_t XsTimeStamp_fromTimeInfo (struct XsTimeStamp *thisPtr, const struct XsTimeInfo *info)
 Creates a (UTC) XsTimeStamp from an XsTimeInfo object. More...
 
int32_t XsTimeStamp_hourPart (const XsTimeStamp *thisPtr)
 Returns the hours part of the time (in the range 0-23) More...
 
int64_t XsTimeStamp_maxValue (void)
 Returns the maximum value of an XsTimeStamp. More...
 
int32_t XsTimeStamp_milliSecondPart (const XsTimeStamp *thisPtr)
 Returns the millisecond part of the time (in the range 0-999) More...
 
int32_t XsTimeStamp_minutePart (const XsTimeStamp *thisPtr)
 Returns the minutes part of the time (in the range 0-59) More...
 
int64_t XsTimeStamp_now (XsTimeStamp *dest)
 Returns the current time in ms since the epoch (Jan 1st 1970) More...
 
int32_t XsTimeStamp_secondPart (const XsTimeStamp *thisPtr)
 Returns the seconds part of the time (in the range 0-59) More...
 
int64_t XsTimeStamp_secondTime (const XsTimeStamp *thisPtr)
 Returns the number of seconds elapsed since the epoch as stored in the XsTimeStamp. More...
 
void XsTimeStamp_setMilliSecondTime (XsTimeStamp *thisPtr, int64_t t)
 Set the stored time to miliseconds. More...
 
double XsTimeStamp_timeOfDay (const XsTimeStamp *thisPtr)
 Get the time of day component of the stored timestamp in seconds as a double precision value. More...
 
void XsTimeStamp_toString (struct XsTimeStamp const *thisPtr, struct XsString *result)
 Converts the timestamp into an XsString object in format YYYY/MM/DD hh:mm:ss.nnn. More...
 
void XsTimeStamp_toTimeInfo (struct XsTimeStamp const *thisPtr, struct XsTimeInfo *info)
 Converts the timestamp into an XsTimeInfo object. More...
 

Detailed Description

This class contains method to set, retrieve and compare timestamps.

Class for managing timestamps in a unified way.

Definition at line 115 of file xstimestamp.h.

Member Data Documentation

◆ m_msTime

int64_t XsTimeStamp::m_msTime

The timestamp value.

Definition at line 455 of file xstimestamp.h.


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


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:22