|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AntData
Storage structure for the ant data records of a file.
Constructor Summary | |
AntData(int len,
java.lang.String imageID)
Creates and initializes a AntData object. |
Method Summary | |
void |
display()
Used for testing only. |
java.lang.String |
getAntID()
Gets the ant ID |
HeaderData |
getHeaderData()
Gets the HeaderData object |
int |
getNewRangeGate(int num)
Gets the records new range gate |
float |
getRollCmd(int num)
Gets the records roll command |
int |
getTimeTag(int num)
Gets the records time tag |
float |
getYawCmd(int num)
Gets the records yaw command |
void |
setHeaderValues(java.lang.String id,
int c,
int pass,
int file,
int len,
int ver,
int cnt,
java.lang.String date,
java.lang.String time)
Sets the records HeaderData, method is just a wrapper function for method in HeaderData |
void |
setNewRangeGate(int num,
int val)
Sets a records new range gate |
void |
setRollCmd(int num,
float val)
Sets a records roll command |
void |
setTimeTag(int num,
int val)
Sets a records time tag |
void |
setYawCmd(int num,
float val)
Sets a records yaw command |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AntData(int len, java.lang.String imageID)
len
- the number of ant recordsimageID
- the image IDMethod Detail |
public void display()
public java.lang.String getAntID()
public HeaderData getHeaderData()
public int getTimeTag(int num)
num
- the record numberpublic float getRollCmd(int num)
num
- the record numberpublic float getYawCmd(int num)
num
- the record numberpublic int getNewRangeGate(int num)
num
- the record numberpublic void setHeaderValues(java.lang.String id, int c, int pass, int file, int len, int ver, int cnt, java.lang.String date, java.lang.String time)
id
- the header idc
- a constant valuepass
- the image pass numberfile
- the file IDlen
- the length of a single recordver
- the structure version of the file typecnt
- the number of records in the filedate
- the tape datetime
- the tape timepublic void setTimeTag(int num, int val)
val
- the time tag valuenum
- the record numberpublic void setRollCmd(int num, float val)
val
- the roll command valuenum
- the record numberpublic void setYawCmd(int num, float val)
val
- the yaw command valuenum
- the record numberpublic void setNewRangeGate(int num, int val)
val
- the new range gate valuenum
- the record number
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |