|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.RandomAccessFile | +--CaptureData.SensorFile
An inner class for writing the raw bird records to a binary file. Currently the quaternions are unscaled values.
for the inherited methods.
Fields inherited from class java.io.RandomAccessFile |
fd |
Constructor Summary | |
(package private) |
CaptureData.SensorFile(java.io.File f,
java.lang.String mode)
Constructor is the same as for a RandomAccessFile. |
Method Summary | |
(package private) void |
writeAddress(short addr)
Write out a bird address as a two byte short value |
(package private) void |
writeQuat(short[] quat)
Write out a quaternion as a series of two byte shorts. |
Methods inherited from class java.io.RandomAccessFile |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Constructor Detail |
CaptureData.SensorFile(java.io.File f, java.lang.String mode) throws java.io.FileNotFoundException
f
- a file descriptormode
- the mode with which to open the filejava.io.FileNotFoundException
- RandomAccessFile
Method Detail |
void writeQuat(short[] quat)
quat
- an array of shorts representing the quatvoid writeAddress(short addr)
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |