cdx
Class RawFrame

java.lang.Object
  extended by cdx.RawFrame

public class RawFrame
extends java.lang.Object

A raw radar frame where callsigns and positions are recorded sequentially and seperately. This is a mutual object whose values are updated.


Field Summary
 byte[] callsigns
          An array for storing callsings.
 int planeCnt
          The current postion of aircraft, since the number of aircraft in a radar frame may change.
 float[] positions
          An array for storing positions
 
Constructor Summary
RawFrame()
           
 
Method Summary
 void copy(byte[] signs, float[] posns)
          Initialise this object from a callsigns and positions array.
 void copy(RawFrame frame)
          Initialise this object from a another RawFrame object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callsigns

public final byte[] callsigns
An array for storing callsings.


positions

public final float[] positions
An array for storing positions


planeCnt

public int planeCnt
The current postion of aircraft, since the number of aircraft in a radar frame may change.

Constructor Detail

RawFrame

public RawFrame()
Method Detail

copy

public void copy(byte[] signs,
                 float[] posns)
Initialise this object from a callsigns and positions array.

Parameters:
signs - a sequence of callsigns
posns - a sequnece of 3d positions

copy

public void copy(RawFrame frame)
Initialise this object from a another RawFrame object.

Parameters:
frame - a RawFrame object