#include <TimeStamp.hh>
Public Member Functions | |
uint32_t | getMicroSeconds () const |
uint32_t | getSeconds () const |
void | normalize () |
operator double () const | |
TimeStamp & | operator+= (TimeStamp const &other) |
TimeStamp & | operator-= (TimeStamp const &other) |
TimeStamp & | operator= (double timeStamp) |
void | set (struct timeval &value) |
TimeStamp () | |
TimeStamp (struct timeval &value) | |
TimeStamp (double value) | |
Static Public Member Functions | |
static TimeStamp | getCurrentTime () |
static double | getTimeSynchronizationOffset () |
static void | setTimeAtPps (TimeStamp &local, TimeStamp &remote) |
static void | setTimeAtPps (struct timeval &local, struct timeval &remote) |
Private Attributes | |
struct timeval | time |
Static Private Attributes | |
static double | timeSynchronizationOffset = 0.0 |
Definition at line 67 of file TimeStamp.hh.
Definition at line 88 of file TimeStamp.cc.
crl::multisense::details::utility::TimeStamp::TimeStamp | ( | struct timeval & | value | ) |
Definition at line 97 of file TimeStamp.cc.
crl::multisense::details::utility::TimeStamp::TimeStamp | ( | double | value | ) |
Definition at line 105 of file TimeStamp.cc.
Definition at line 178 of file TimeStamp.cc.
uint32_t crl::multisense::details::utility::TimeStamp::getMicroSeconds | ( | ) | const |
Definition at line 241 of file TimeStamp.cc.
uint32_t crl::multisense::details::utility::TimeStamp::getSeconds | ( | ) | const |
Definition at line 233 of file TimeStamp.cc.
double crl::multisense::details::utility::TimeStamp::getTimeSynchronizationOffset | ( | ) | [static] |
Definition at line 162 of file TimeStamp.cc.
Definition at line 289 of file TimeStamp.cc.
crl::multisense::details::utility::TimeStamp::operator double | ( | ) | const |
Definition at line 250 of file TimeStamp.cc.
Definition at line 271 of file TimeStamp.cc.
Definition at line 280 of file TimeStamp.cc.
TimeStamp & crl::multisense::details::utility::TimeStamp::operator= | ( | double | timeStamp | ) |
Definition at line 258 of file TimeStamp.cc.
void crl::multisense::details::utility::TimeStamp::set | ( | struct timeval & | value | ) |
Definition at line 114 of file TimeStamp.cc.
void crl::multisense::details::utility::TimeStamp::setTimeAtPps | ( | TimeStamp & | local, |
TimeStamp & | remote | ||
) | [static] |
Definition at line 127 of file TimeStamp.cc.
void crl::multisense::details::utility::TimeStamp::setTimeAtPps | ( | struct timeval & | local, |
struct timeval & | remote | ||
) | [static] |
Definition at line 139 of file TimeStamp.cc.
struct timeval crl::multisense::details::utility::TimeStamp::time [private] |
Definition at line 75 of file TimeStamp.hh.
double crl::multisense::details::utility::TimeStamp::timeSynchronizationOffset = 0.0 [static, private] |
Definition at line 83 of file TimeStamp.hh.