Go to the documentation of this file.
42 double t = (double)
m_time.tv_sec + ((
double)
m_time.tv_usec / 1000000.0);
54 struct tm* seconds_tm = localtime(&
seconds);
55 char* text = asctime(seconds_tm);
60 us = us.substr(us.length() - 6, 6);
61 s +=
" " + us +
" us";
72 m_time.tv_usec = (time - (double)((
UINT32)time)) * 1000000;
104 double s = (double)
m_time.tv_sec + ((
double)
m_time.tv_usec / 1000000);
125 if (
m_time.tv_usec > 1000000)
128 m_time.tv_usec -= 1000000;
142 if (t.
m_time.tv_usec > 1000000)
145 t.
m_time.tv_usec -= 1000000;
171 gettimeofday(&(t.
m_time), NULL);
static const double m_secondFractionNTPtoNanoseconds
Time & operator+=(const Time &other)
std::string toLongString() const
static const UINT64 secondsFrom1900to1970
bool operator>=(const Time &other) const
std::string toString() const
Time operator+(const TimeDuration &dur) const
std::string toString(const PositionWGS84::PositionWGS84SourceType &type)
Time operator-(const Time &other) const
UINT32 total_milliseconds()
bool operator<(const Time &other) const
static const double m_nanosecondsToSecondFractionNTP
bool operator==(const Time &other) const
libsick_ldmrs
Author(s): SICK AG
, Martin Günther , Jochen Sprickerhof
autogenerated on Wed Oct 26 2022 02:11:57