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
Time operator-(const Time &other) const
double seconds(ROS::Duration duration)
UINT32 total_milliseconds()
bool operator<(const Time &other) const
static const double m_nanosecondsToSecondFractionNTP
bool operator==(const Time &other) const
static sick_scan::SickScanCommonTcp * s
sick_scan
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19