Public Member Functions | Private Member Functions | Private Attributes | List of all members
realtime_tools::RealtimeClock Class Reference

#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_
 

Detailed Description

Definition at line 49 of file realtime_clock.h.

Constructor & Destructor Documentation

realtime_tools::RealtimeClock::RealtimeClock ( )

Definition at line 45 of file realtime_clock.cpp.

realtime_tools::RealtimeClock::~RealtimeClock ( )

Definition at line 57 of file realtime_clock.cpp.

Member Function Documentation

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.

Member Data Documentation

ros::Duration realtime_tools::RealtimeClock::clock_offset_
private

Definition at line 64 of file realtime_clock.h.

bool realtime_tools::RealtimeClock::initialized_
private

Definition at line 67 of file realtime_clock.h.

ros::Time realtime_tools::RealtimeClock::last_realtime_time_
private

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.

ros::Time realtime_tools::RealtimeClock::system_time_
private

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.


The documentation for this class was generated from the following files:


realtime_tools
Author(s): Stuart Glaser
autogenerated on Mon Mar 22 2021 02:20:09