#include <realtime_clock.h>
Public Member Functions | |
ros::Time | getSystemTime (const ros::Time &realtime_time) |
void | loop () |
RealtimeClock () | |
~RealtimeClock () | |
Private Member Functions | |
void | lock () |
Private Attributes | |
ros::Duration | clock_offset_ |
bool | initialized_ |
ros::Time | last_realtime_time_ |
unsigned int | lock_misses_ |
boost::mutex | mutex_ |
bool | running_ |
ros::Time | system_time_ |
boost::thread | thread_ |
Definition at line 49 of file realtime_clock.h.
Definition at line 45 of file realtime_clock.cpp.
Definition at line 57 of file realtime_clock.cpp.
ros::Time realtime_tools::RealtimeClock::getSystemTime | ( | const ros::Time & | realtime_time | ) |
Definition at line 65 of file realtime_clock.cpp.
void realtime_tools::RealtimeClock::lock | ( | ) | [private] |
Definition at line 123 of file realtime_clock.cpp.
void realtime_tools::RealtimeClock::loop | ( | ) |
Definition at line 101 of file realtime_clock.cpp.
Definition at line 64 of file realtime_clock.h.
bool realtime_tools::RealtimeClock::initialized_ [private] |
Definition at line 67 of file realtime_clock.h.
Definition at line 66 of file realtime_clock.h.
unsigned int realtime_tools::RealtimeClock::lock_misses_ [private] |
Definition at line 62 of file realtime_clock.h.
boost::mutex realtime_tools::RealtimeClock::mutex_ [private] |
Definition at line 68 of file realtime_clock.h.
bool realtime_tools::RealtimeClock::running_ [private] |
Definition at line 67 of file realtime_clock.h.
Definition at line 63 of file realtime_clock.h.
boost::thread realtime_tools::RealtimeClock::thread_ [private] |
Definition at line 69 of file realtime_clock.h.