18 #define XSTIMESTAMP_INITIALIZER { 0 } 74 inline int64_t msTime(
void)
const 83 inline double timeOfDay()
const 88 inline int64_t msTimeOfDay()
const 89 {
return m_msTime % (24*60*60*1000); }
92 inline double secTime()
const 96 inline void setSecTime(
double t)
164 inline int64_t secondTime()
const 168 inline int32_t milliSecondPart()
const 172 inline int32_t secondPart()
const 176 inline int32_t minutePart()
const 180 inline int32_t hourPart()
const bool operator==(const TPoint2D &p1, const TPoint2D &p2)
Exact comparison between 2D points.
iterator operator++(int)
A thread-safe (ts) container which minimally emulates a std::map<>'s [] and find() methods but which ...
bool operator!=(const TPoint2D &p1, const TPoint2D &p2)
Exact comparison between 2D points.
XSTYPES_DLL_API int64_t XsTimeStamp_now(struct XsTimeStamp *thisPtr)
mrpt::system::TTimeStamp now()
A shortcut for system::getCurrentTime.
XSTYPES_DLL_API void XsTimeStamp_setMilliSecondTime(struct XsTimeStamp *thisPtr, int64_t t)
std::vector< T1 > operator+(const std::vector< T1 > &a, const std::vector< T2 > &b)
a+b (element-wise sum)
XSTYPES_DLL_API int32_t XsTimeStamp_secondPart(const struct XsTimeStamp *thisPtr)
XSTYPES_DLL_API int64_t XsTimeStamp_maxValue()
std::vector< T1 > & operator+=(std::vector< T1 > &a, const std::vector< T2 > &b)
a+=b (element-wise sum)
XSTYPES_DLL_API int64_t XsTimeStamp_secondTime(const struct XsTimeStamp *thisPtr)
int64_t m_msTime
The timestamp value.
struct XsTimeStamp XsTimeStamp
Class for managing timestamps in a unified way.
bool operator>(const CArray< T, N > &x, const CArray< T, N > &y)
XSTYPES_DLL_API int32_t XsTimeStamp_hourPart(const struct XsTimeStamp *thisPtr)
A structure for storing UTC Time values.
XSTYPES_DLL_API int32_t XsTimeStamp_minutePart(const struct XsTimeStamp *thisPtr)
XSTYPES_DLL_API double XsTimeStamp_timeOfDay(const struct XsTimeStamp *thisPtr)
bool operator<=(const CArray< T, N > &x, const CArray< T, N > &y)
XSTYPES_DLL_API void XsTimeStamp_toUtcTime(struct XsTimeStamp *thisPtr, struct XsUtcTime *utc)
bool operator<(const CPoint< DERIVEDCLASS > &a, const CPoint< DERIVEDCLASS > &b)
Used by STL algorithms.
TPoint3D operator-(const TPoint3D &p1)
Unary minus operator for 3D points.
XSTYPES_DLL_API int64_t XsTimeStamp_fromUtcTime(struct XsTimeStamp *thisPtr, const struct XsUtcTime *utc)
bool operator>=(const CArray< T, N > &x, const CArray< T, N > &y)
XSTYPES_DLL_API int32_t XsTimeStamp_milliSecondPart(const struct XsTimeStamp *thisPtr)