jAER project on SourceForge

ch.unizh.ini.jaer.projects.stereo3D
Class AE3DFileInputStream.WrappedTimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ch.unizh.ini.jaer.projects.stereo3D.AE3DFileInputStream.NonMonotonicTimeException
              extended by ch.unizh.ini.jaer.projects.stereo3D.AE3DFileInputStream.WrappedTimeException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AE3DFileInputStream

public class AE3DFileInputStream.WrappedTimeException
extends AE3DFileInputStream.NonMonotonicTimeException

Indicates that timestamp has wrapped around from most positive to most negative signed value. The de-facto timestamp tick is us and timestamps are represented as int32 in jAER. Therefore the largest possible positive timestamp is 2^31-1 ticks which equals 2147.4836 seconds (35.7914 minutes). This wraps to -2147 seconds. The actual total time can be computed taking account of these "big wraps" if the time is increased by 4294.9673 seconds on each WrappedTimeException (when readimg file forwards).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ch.unizh.ini.jaer.projects.stereo3D.AE3DFileInputStream.NonMonotonicTimeException
lastTimestamp, position, timestamp
 
Constructor Summary
AE3DFileInputStream.WrappedTimeException(int readTs, int lastTs)
           
AE3DFileInputStream.WrappedTimeException(int readTs, int lastTs, int position)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class ch.unizh.ini.jaer.projects.stereo3D.AE3DFileInputStream.NonMonotonicTimeException
getLastTimestamp, getTimestamp
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AE3DFileInputStream.WrappedTimeException

public AE3DFileInputStream.WrappedTimeException(int readTs,
                                                int lastTs)

AE3DFileInputStream.WrappedTimeException

public AE3DFileInputStream.WrappedTimeException(int readTs,
                                                int lastTs,
                                                int position)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class AE3DFileInputStream.NonMonotonicTimeException

jAER project on SourceForge