Package edu.nps.moves.dis7
Class FundamentalOperationalData
java.lang.Object
edu.nps.moves.dis7.FundamentalOperationalData
- All Implemented Interfaces:
Serializable
Basic operational data for IFF. Section 6.2.40.
Copyright (c) 2008-2016, MOVES Institute, Naval Postgraduate School. All
rights reserved. This work is licensed under the BSD open source license,
available at https://www.movesinstitute.org/licenses/bsd.html
- Author:
- DMcG
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected short
data field 1protected short
enumerationprotected short
eight boolean fieldsprotected int
parameter, enumerationprotected int
parameter, enumerationprotected int
parameter, enumerationprotected int
parameter, enumerationprotected int
parameter, enumerationprotected int
parameter, enumerationprotected short
system status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsImpl
(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied objectshort
short
short
int
int
int
int
int
int
int
short
void
marshal
(DataOutputStream dos) void
marshal
(ByteBuffer buff) Packs a Pdu into the ByteBuffer.void
setDataField1
(short pDataField1) void
setDataField2
(short pDataField2) void
setInformationLayers
(short pInformationLayers) void
setParameter1
(int pParameter1) void
setParameter2
(int pParameter2) void
setParameter3
(int pParameter3) void
setParameter4
(int pParameter4) void
setParameter5
(int pParameter5) void
setParameter6
(int pParameter6) void
setSystemStatus
(short pSystemStatus) void
unmarshal
(DataInputStream dis) void
unmarshal
(ByteBuffer buff) Unpacks a Pdu from the underlying data.
-
Field Details
-
systemStatus
protected short systemStatussystem status -
dataField1
protected short dataField1data field 1 -
informationLayers
protected short informationLayerseight boolean fields -
dataField2
protected short dataField2enumeration -
parameter1
protected int parameter1parameter, enumeration -
parameter2
protected int parameter2parameter, enumeration -
parameter3
protected int parameter3parameter, enumeration -
parameter4
protected int parameter4parameter, enumeration -
parameter5
protected int parameter5parameter, enumeration -
parameter6
protected int parameter6parameter, enumeration
-
-
Constructor Details
-
FundamentalOperationalData
public FundamentalOperationalData()Constructor
-
-
Method Details
-
getMarshalledSize
public int getMarshalledSize() -
setSystemStatus
public void setSystemStatus(short pSystemStatus) -
getSystemStatus
public short getSystemStatus() -
setDataField1
public void setDataField1(short pDataField1) -
getDataField1
public short getDataField1() -
setInformationLayers
public void setInformationLayers(short pInformationLayers) -
getInformationLayers
public short getInformationLayers() -
setDataField2
public void setDataField2(short pDataField2) -
getDataField2
public short getDataField2() -
setParameter1
public void setParameter1(int pParameter1) -
getParameter1
public int getParameter1() -
setParameter2
public void setParameter2(int pParameter2) -
getParameter2
public int getParameter2() -
setParameter3
public void setParameter3(int pParameter3) -
getParameter3
public int getParameter3() -
setParameter4
public void setParameter4(int pParameter4) -
getParameter4
public int getParameter4() -
setParameter5
public void setParameter5(int pParameter5) -
getParameter5
public int getParameter5() -
setParameter6
public void setParameter6(int pParameter6) -
getParameter6
public int getParameter6() -
marshal
-
unmarshal
-
marshal
Packs a Pdu into the ByteBuffer.- Parameters:
buff
- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException
- if buff is too smallReadOnlyBufferException
- if buff is read only- Since:
- ??
- See Also:
-
unmarshal
Unpacks a Pdu from the underlying data.- Parameters:
buff
- The ByteBuffer at the position to begin reading- Throws:
BufferUnderflowException
- if buff is too small- Since:
- ??
- See Also:
-
equals
-
equalsImpl
Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied object- Parameters:
obj
- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-