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 {
85 static ULARGE_INTEGER offsetSecondsSince1970;
97 static void setTimeAtPps(
struct timeval& local,
struct timeval& remote);
112 void set(
struct timeval& value);
125 operator double()
const;
static double timeSynchronizationOffset
TimeStamp & operator=(double timeStamp)
uint32_t getSeconds() const
static double getTimeSynchronizationOffset()
TimeStamp & operator+=(TimeStamp const &other)
TimeStamp & operator-=(TimeStamp const &other)
static TimeStamp getCurrentTime()
static void setTimeAtPps(TimeStamp &local, TimeStamp &remote)
uint32_t getMicroSeconds() const