|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.Unit
gov.nasa.gsfc.drl.rtstps.core.ccsds.Cadu
public final class Cadu
This class is a CADU, which is a CCSDS version 2 frame. It is a unit itself, but it also encapsulates a frame, which it promotes to a CADU.
Field Summary | |
---|---|
private int |
dataZoneEndOffset
|
private int |
dataZoneStartOffset
|
private static int |
FILL_MASK
|
private Frame |
frame
|
private int |
rsParityLength
|
private int |
trailerLength
|
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.Unit |
---|
data, deleted, frameAnnotation, length, startOffset |
Constructor Summary | |
---|---|
Cadu()
This CADU constructor is incomplete because it omits key elements, such as parity length. |
|
Cadu(org.w3c.dom.Element element,
Configuration configuration)
Create a CADU with the characteristics defined by the setup. |
Method Summary | |
---|---|
int |
getdataZoneEndOffset()
Get the data zone end offset in bytes from the frame's start. |
int |
getdataZoneStartOffset()
Get the data zone start offset in bytes from the frame's start. |
int |
getHeaderErrorControlWord()
Get this frame's header error control word. |
int |
getReedSolomonParityLength()
Get the CADU's Reed Solomon parity length. |
int |
getSequenceCount()
Get this frame's sequence number. |
int |
getSpacecraft()
Get the frame's spacecraft ID. |
int |
getVersion()
Get the frame's CCSDS frame version number. |
int |
getVirtualChannel()
Get the frame's virtual channel number. |
boolean |
isFillFrame()
Determine if this is a fill (idle) frame. |
void |
setDeleted(boolean d)
Mark this cadu as deleted or not deleted. |
void |
setFrame(Frame frame)
Set this CADU's frame, which promotes the frame to a CADU and makes this class fully functional. |
void |
setFrameAnnotation(FrameAnnotation a)
Set this cadu's frame annotation. |
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.Unit |
---|
getData, getFrameAnnotation, getSize, getStartOffset, isDeleted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int FILL_MASK
private Frame frame
private int dataZoneStartOffset
private int dataZoneEndOffset
private int trailerLength
private int rsParityLength
Constructor Detail |
---|
public Cadu(org.w3c.dom.Element element, Configuration configuration) throws RtStpsException
RtStpsException
public Cadu()
Method Detail |
---|
public void setFrame(Frame frame)
public final int getReedSolomonParityLength()
public final int getdataZoneStartOffset()
public final int getdataZoneEndOffset()
public int getVersion()
public int getSpacecraft()
public int getVirtualChannel()
public boolean isFillFrame()
public int getSequenceCount()
public int getHeaderErrorControlWord()
public void setFrameAnnotation(FrameAnnotation a)
setFrameAnnotation
in class Unit
public void setDeleted(boolean d)
setDeleted
in class Unit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |