|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dismobile.AcousticEmitterSystemData
public class AcousticEmitterSystemData
Used in the UA pdu; ties together an emmitter and a location. This requires manual cleanup; the beam data should not be attached to each emitter system. 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 AcousticEmitterSystem |
acousticEmitterSystem
This field shall specify the system for a particular UA emitter. |
protected java.util.List<AcousticBeamData> |
beamRecords
For each beam in numberOfBeams, an emitter system. |
protected Vector3Float |
emitterLocation
Represents the location wrt the entity |
protected short |
emitterSystemDataLength
Length of emitter system data |
protected short |
numberOfBeams
Number of beams |
protected int |
pad2
padding |
Constructor Summary | |
---|---|
AcousticEmitterSystemData()
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 |
AcousticEmitterSystem |
getAcousticEmitterSystem()
|
java.util.List<AcousticBeamData> |
getBeamRecords()
|
Vector3Float |
getEmitterLocation()
|
short |
getEmitterSystemDataLength()
|
int |
getMarshalledSize()
|
short |
getNumberOfBeams()
|
int |
getPad2()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setAcousticEmitterSystem(AcousticEmitterSystem pAcousticEmitterSystem)
|
void |
setBeamRecords(java.util.List<AcousticBeamData> pBeamRecords)
|
void |
setEmitterLocation(Vector3Float pEmitterLocation)
|
void |
setEmitterSystemDataLength(short pEmitterSystemDataLength)
|
void |
setNumberOfBeams(short pNumberOfBeams)
Note that setting this value will not change the marshalled value. |
void |
setPad2(int pPad2)
|
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 short emitterSystemDataLength
protected short numberOfBeams
protected int pad2
protected AcousticEmitterSystem acousticEmitterSystem
protected Vector3Float emitterLocation
protected java.util.List<AcousticBeamData> beamRecords
Constructor Detail |
---|
public AcousticEmitterSystemData()
Method Detail |
---|
public int getMarshalledSize()
public void setEmitterSystemDataLength(short pEmitterSystemDataLength)
public short getEmitterSystemDataLength()
public short getNumberOfBeams()
public void setNumberOfBeams(short pNumberOfBeams)
public void setPad2(int pPad2)
public int getPad2()
public void setAcousticEmitterSystem(AcousticEmitterSystem pAcousticEmitterSystem)
public AcousticEmitterSystem getAcousticEmitterSystem()
public void setEmitterLocation(Vector3Float pEmitterLocation)
public Vector3Float getEmitterLocation()
public void setBeamRecords(java.util.List<AcousticBeamData> pBeamRecords)
public java.util.List<AcousticBeamData> getBeamRecords()
public void marshal(java.io.DataOutputStream dos)
public void unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff)
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)
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 java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied object
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |