us.ihmc.utilities.net
Class AtomicSettableTimestampProvider

java.lang.Object
  extended by us.ihmc.utilities.net.AtomicSettableTimestampProvider
All Implemented Interfaces:
TimestampProvider

public class AtomicSettableTimestampProvider
extends java.lang.Object
implements TimestampProvider


Constructor Summary
AtomicSettableTimestampProvider()
           
 
Method Summary
 void attachListener(TimestampListener listener)
           
 long getTimestamp()
           
 void increment(long increment)
           
 void set(long newTimestamp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomicSettableTimestampProvider

public AtomicSettableTimestampProvider()
Method Detail

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface TimestampProvider

increment

public void increment(long increment)

set

public void set(long newTimestamp)

attachListener

public void attachListener(TimestampListener listener)