|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis.Pdu
edu.nps.moves.dis.DistributedEmissionsFamilyPdu
edu.nps.moves.dis.UaPdu
@Entity public class UaPdu
Section 5.3.7.3. Information about underwater acoustic emmissions. This requires manual cleanup. The beam data records should ALL be a the finish, rather than attached to each emitter system. UNFINISHED Copyright (c) 2008-2010, 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
Field Summary | |
---|---|
protected java.util.List<ApaData> |
apaData
apaData |
protected java.util.List<AcousticEmitterSystemData> |
emitterSystems
|
protected EntityID |
emittingEntityID
ID of the entity that is the source of the emission |
protected EventID |
eventID
ID of event |
long |
fk_emittingEntityID
|
long |
fk_eventID
|
protected short |
numberOfAPAs
This field shall indicate the number of APAs described in the current UA PDU |
protected short |
numberOfShafts
This field shall represent the number of shafts on a platform |
protected short |
numberOfUAEmitterSystems
This field shall specify the number of UA emitter systems being described in the current UA PDU |
protected byte |
pad
padding |
protected int |
passiveParameterIndex
This field indicates which database record (or file) shall be used in the definition of passive signature (unintentional) emissions of the entity. |
protected short |
propulsionPlantConfiguration
This field shall specify the entity propulsion plant configuration. |
protected java.util.List<ShaftRPMs> |
shaftRPMs
shaft RPM values |
protected byte |
stateChangeIndicator
This field shall be used to indicate whether the data in the UA PDU represent a state update or data that have changed since issuance of the last UA PDU |
Fields inherited from class edu.nps.moves.dis.Pdu |
---|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp |
Constructor Summary | |
---|---|
UaPdu()
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring transient and static fields, for this and the supplied object |
java.util.List<ApaData> |
getApaData()
|
java.util.List<AcousticEmitterSystemData> |
getEmitterSystems()
|
EntityID |
getEmittingEntityID()
|
EventID |
getEventID()
|
int |
getMarshalledSize()
|
short |
getNumberOfAPAs()
|
short |
getNumberOfShafts()
|
short |
getNumberOfUAEmitterSystems()
|
byte |
getPad()
|
int |
getPassiveParameterIndex()
|
short |
getPropulsionPlantConfiguration()
|
java.util.List<ShaftRPMs> |
getShaftRPMs()
|
byte |
getStateChangeIndicator()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setApaData(java.util.List<ApaData> pApaData)
|
void |
setEmitterSystems(java.util.List<AcousticEmitterSystemData> pEmitterSystems)
|
void |
setEmittingEntityID(EntityID pEmittingEntityID)
|
void |
setEventID(EventID pEventID)
|
void |
setNumberOfAPAs(short pNumberOfAPAs)
Note that setting this value will not change the marshalled value. |
void |
setNumberOfShafts(short pNumberOfShafts)
Note that setting this value will not change the marshalled value. |
void |
setNumberOfUAEmitterSystems(short pNumberOfUAEmitterSystems)
Note that setting this value will not change the marshalled value. |
void |
setPad(byte pPad)
|
void |
setPassiveParameterIndex(int pPassiveParameterIndex)
|
void |
setPropulsionPlantConfiguration(short pPropulsionPlantConfiguration)
|
void |
setShaftRPMs(java.util.List<ShaftRPMs> pShaftRPMs)
|
void |
setStateChangeIndicator(byte pStateChangeIndicator)
|
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data. |
void |
unmarshal(java.io.DataInputStream dis)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EntityID emittingEntityID
protected EventID eventID
protected byte stateChangeIndicator
protected byte pad
protected int passiveParameterIndex
protected short propulsionPlantConfiguration
protected short numberOfShafts
protected short numberOfAPAs
protected short numberOfUAEmitterSystems
protected java.util.List<ShaftRPMs> shaftRPMs
protected java.util.List<ApaData> apaData
protected java.util.List<AcousticEmitterSystemData> emitterSystems
public long fk_emittingEntityID
public long fk_eventID
Constructor Detail |
---|
public UaPdu()
Method Detail |
---|
public int getMarshalledSize()
getMarshalledSize
in class DistributedEmissionsFamilyPdu
public void setEmittingEntityID(EntityID pEmittingEntityID)
public EntityID getEmittingEntityID()
public void setEventID(EventID pEventID)
public EventID getEventID()
public void setStateChangeIndicator(byte pStateChangeIndicator)
public byte getStateChangeIndicator()
public void setPad(byte pPad)
public byte getPad()
public void setPassiveParameterIndex(int pPassiveParameterIndex)
public int getPassiveParameterIndex()
public void setPropulsionPlantConfiguration(short pPropulsionPlantConfiguration)
public short getPropulsionPlantConfiguration()
public short getNumberOfShafts()
public void setNumberOfShafts(short pNumberOfShafts)
public short getNumberOfAPAs()
public void setNumberOfAPAs(short pNumberOfAPAs)
public short getNumberOfUAEmitterSystems()
public void setNumberOfUAEmitterSystems(short pNumberOfUAEmitterSystems)
public void setShaftRPMs(java.util.List<ShaftRPMs> pShaftRPMs)
public java.util.List<ShaftRPMs> getShaftRPMs()
public void setApaData(java.util.List<ApaData> pApaData)
public java.util.List<ApaData> getApaData()
public void setEmitterSystems(java.util.List<AcousticEmitterSystemData> pEmitterSystems)
public java.util.List<AcousticEmitterSystemData> getEmitterSystems()
public void marshal(java.io.DataOutputStream dos)
marshal
in class DistributedEmissionsFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class DistributedEmissionsFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class DistributedEmissionsFamilyPdu
buff
- The ByteBuffer at the position to begin writing
java.nio.BufferOverflowException
- if buff is too small
java.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class DistributedEmissionsFamilyPdu
buff
- The ByteBuffer at the position to begin reading
java.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class DistributedEmissionsFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied object
equalsImpl
in class DistributedEmissionsFamilyPdu
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |