|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mil.navy.nps.dis.PduElement mil.navy.nps.dis.ModulationType
Entity location in world coordinates.
PduElement
,
SerializationInterface
,
EntityCoordinate
Field Summary | |
protected UnsignedShort |
detail
Detail : This field shall provide certain detailed information depending upon the major modulation type. |
protected UnsignedShort |
major
Major :Major Modulation Type. |
int |
sizeOf
Constant value--size of a World Coordinate record when written out; here : sizeOf = 64 bytes . |
protected short |
spreadSpectrum
Spread spectrum :This field shall indicate the spread spectrum technique or combination of spread spectrum techniques in use. |
protected UnsignedShort |
system
System : This field shall specify the interpretation of the Modulation Parameter field(s) in the Transmitter PDU. |
Constructor Summary | |
ModulationType()
Constructs an new ModulationType Object, centered. |
|
ModulationType(short pSpreadSpectrum,
UnsignedShort pMajor,
UnsignedShort pDetail,
UnsignedShort pSystem)
Constructs a new ModulationType Object whose field values are passed in parameters. |
Method Summary | |
java.lang.Object |
clone()
Make a copy of the object. |
void |
deSerialize(java.io.DataInputStream pInputStream)
Reads an object in from DIS format. |
UnsignedShort |
getDetail()
Gets Detail |
UnsignedShort |
getMajor()
Gets Major |
short |
getSpreadSpectrum()
Gets SpreadSpectrum |
UnsignedShort |
getSystem()
Gets System |
int |
length()
Returns the length of the object when serialized in a stream. |
void |
printValues(int indentLevel,
java.io.PrintStream printStream)
Prints the generated serialized object for debugging. |
void |
serialize(java.io.DataOutputStream outputStream)
Writes an object out in DIS format. |
void |
setDetail(UnsignedShort pDetail)
Sets Detail |
void |
setMajor(UnsignedShort pMajor)
Sets Major |
void |
setSpreadSpectrum(short pSpreadSpectrum)
Sets SpreadSpectrum |
void |
setSystem(UnsignedShort pSystem)
Sets System |
java.lang.String |
toString()
String toString Used for debuging |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected short spreadSpectrum
protected UnsignedShort major
protected UnsignedShort detail
protected UnsignedShort system
public final int sizeOf
sizeOf = 64 bytes
.
Constructor Detail |
public ModulationType()
public ModulationType(short pSpreadSpectrum, UnsignedShort pMajor, UnsignedShort pDetail, UnsignedShort pSystem)
pSpreadSpectrum
- the first field in the ModulationType Object.pMajor
- the second field in the ModulationType Object.pDetail
- the third field in the ModulationType Object.pSystem
- the third field in the ModulationType Object.Method Detail |
public java.lang.Object clone()
clone
in class PduElement
Object
public void serialize(java.io.DataOutputStream outputStream)
SerializationInterface
serialize
in interface SerializationInterface
serialize
in class PduElement
outputStream
- the stream to which this object is serialized
java.lang.RuntimeException
- when IO error occurs.public void deSerialize(java.io.DataInputStream pInputStream)
SerializationInterface
deSerialize
in interface SerializationInterface
deSerialize
in class PduElement
pInputStream
- the stream from which this object is initialized
java.lang.RuntimeException
- when IO error occurs.public int length()
PduElement
length
in class PduElement
public void printValues(int indentLevel, java.io.PrintStream printStream)
PduElement
printValues
in class PduElement
indentLevel
- number of spaces to indent for visibilitypublic short getSpreadSpectrum()
public void setSpreadSpectrum(short pSpreadSpectrum)
pSpreadSpectrum
- a SpreadSpectrumpublic UnsignedShort getMajor()
public void setMajor(UnsignedShort pMajor)
pMajor
- a Majorpublic UnsignedShort getDetail()
public void setDetail(UnsignedShort pDetail)
pDetail
- a Detailpublic UnsignedShort getSystem()
public void setSystem(UnsignedShort pSystem)
pSystem
- a Systempublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |