Public Member Functions | Private Attributes
org.ros.time.ClockTopicTimeProvider Class Reference
Inheritance diagram for org.ros.time.ClockTopicTimeProvider:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ClockTopicTimeProvider (DefaultNode defaultNode)
Time getCurrentTime ()
Subscriber< rosgraph_msgs.Clock > getSubscriber ()

Private Attributes

rosgraph_msgs.Clock clock
Object mutex
final Subscriber
< rosgraph_msgs.Clock > 
subscriber

Detailed Description

A TimeProvider for use when the ROS graph is configured for simulation.

Author:
damonkohler@google.com (Damon Kohler)

Definition at line 34 of file ClockTopicTimeProvider.java.


Constructor & Destructor Documentation

Definition at line 41 of file ClockTopicTimeProvider.java.


Member Function Documentation

Returns:
the current time of the system using rostime

Implements org.ros.time.TimeProvider.

Definition at line 59 of file ClockTopicTimeProvider.java.

Subscriber<rosgraph_msgs.Clock> org.ros.time.ClockTopicTimeProvider.getSubscriber ( ) [inline]

Definition at line 54 of file ClockTopicTimeProvider.java.


Member Data Documentation

rosgraph_msgs.Clock org.ros.time.ClockTopicTimeProvider.clock [private]

Definition at line 39 of file ClockTopicTimeProvider.java.

Definition at line 38 of file ClockTopicTimeProvider.java.

final Subscriber<rosgraph_msgs.Clock> org.ros.time.ClockTopicTimeProvider.subscriber [private]

Definition at line 36 of file ClockTopicTimeProvider.java.


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


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51