gov.nasa.gsfc.drl.rtstps.core.fs.clock
Class FrameClock2

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.fs.clock.FrameClock2
All Implemented Interfaces:
FrameClock

final class FrameClock2
extends java.lang.Object
implements FrameClock

A FrameClock. The session start is the wall clock time, and the frame spacing is real time.


Field Summary
private  long epoch
           
 
Constructor Summary
FrameClock2(java.util.Date epoch)
           
 
Method Summary
 long getTimeStamp()
          Get a timestamp.
 void start()
          Start the clock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

epoch

private long epoch
Constructor Detail

FrameClock2

FrameClock2(java.util.Date epoch)
Method Detail

start

public void start()
Description copied from interface: FrameClock
Start the clock. This is really only important for clocks that use the current time.

Specified by:
start in interface FrameClock

getTimeStamp

public long getTimeStamp()
Description copied from interface: FrameClock
Get a timestamp. For some clocks you must call this method to advance the time.

Specified by:
getTimeStamp in interface FrameClock