|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.fs.Frames.FrameCaddy
class Frames.FrameCaddy
This class holds a Frame and is responsible for filling it with data. It resets the frame's annotation, but it does not set annotaion fields.
Field Summary | |
---|---|
private int |
bytesToFill
|
private byte[] |
data
|
private Frame |
frame
|
private int |
index
|
private boolean |
isHalfByte
|
private int |
leftShiftBits
|
private int |
rightShiftBits
|
Constructor Summary | |
---|---|
Frames.FrameCaddy(Frame f)
Create a FrameCaddy with a starting frame to fill. |
Method Summary | |
---|---|
(package private) int |
copyToFrame(Buffer buffer,
boolean invert)
Copy buffer data to the frame. |
(package private) boolean |
isFullFrame()
Is this frame full? |
(package private) void |
setFrame(Frame f)
Change the frame this caddy is filling. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Frame frame
private int index
private int leftShiftBits
private int rightShiftBits
private byte[] data
private int bytesToFill
private boolean isHalfByte
Constructor Detail |
---|
Frames.FrameCaddy(Frame f)
Method Detail |
---|
void setFrame(Frame f)
boolean isFullFrame()
int copyToFrame(Buffer buffer, boolean invert)
buffer
- The buffer to copy to a frameinvert
- If true, invert the buffer's bits while copying
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |