42 #ifndef CRL_MULTISENSE_TIMESTAMP_HH 43 #define CRL_MULTISENSE_TIMESTAMP_HH 46 #ifndef WIN32_LEAN_AND_MEAN 47 #define WIN32_LEAN_AND_MEAN 1 58 namespace multisense {
78 static ULARGE_INTEGER offsetSecondsSince1970;
94 TimeStamp(int32_t seconds, int32_t microSeconds);
101 void set(
const struct timeval& value);
102 void set(int32_t seconds, int32_t microSeconds);
int64_t getNanoSeconds() const
TimeStamp & operator+=(TimeStamp const &other)
TimeStamp & operator-=(TimeStamp const &other)
static TimeStamp getCurrentTime()
int32_t getMicroSeconds() const
TimeStamp operator+(TimeStamp const &other) const
TimeStamp operator-(TimeStamp const &other) const
int32_t getSeconds() const