public class FastEntityStatePdu extends EntityInformationFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short |
altCategory
category of entity
|
protected int |
altCountry
country to which the design of the entity is attributed
|
protected short |
altDomain
Domain of entity (air, surface, subsurface, space, etc)
|
protected short |
altEntityKind
Kind of entity
|
protected short |
altExtra |
protected short |
altSpecific
specific info based on subcategory field
|
protected short |
altSubcategory
subcategory of entity
|
protected int |
application
The application ID
|
protected java.util.List<ArticulationParameter> |
articulationParameters
variable length list of articulation parameters
|
protected int |
capabilities
a series of bit flags
|
protected short |
category
category of entity
|
protected int |
country
country to which the design of the entity is attributed
|
protected short |
deadReckoningAlgorithm
enumeration of what dead reckoning algorighm to use
|
protected short |
domain
Domain of entity (air, surface, subsurface, space, etc)
|
protected int |
entity
the entity ID
|
protected int |
entityAppearance
a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc.
|
protected short |
entityKind
Kind of entity
|
protected short |
extra |
protected short |
forceId
what force this entity is affiliated with, eg red, blue, neutral, etc
|
protected byte[] |
marking
characters that can be used for debugging, or to draw unique strings on the side of entities in the world
|
protected byte |
numberOfArticulationParameters
How many articulation parameters are in the variable length list
|
protected byte[] |
otherParameters
other parameters to use in the dead reckoning algorithm
|
protected float |
phi |
protected float |
psi |
protected int |
site
The site ID
|
protected short |
specif
specific info based on subcategory field.
|
protected short |
subcategory
subcategory of entity
|
protected float |
theta |
protected float |
xAcceleration
X value
|
protected float |
xAngularVelocity
X value
|
protected double |
xLocation
X value
|
protected float |
xVelocity
X velo
|
protected float |
yAcceleration
y Value
|
protected float |
yAngularVelocity
y Value
|
protected double |
yLocation
y Value
|
protected float |
yVelocity
y Value
|
protected float |
zAcceleration
Z value
|
protected float |
zAngularVelocity
Z value
|
protected double |
zLocation
Z value
|
protected float |
zVelocity
Z value
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
FastEntityStatePdu()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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 |
short |
getAltCategory() |
int |
getAltCountry() |
short |
getAltDomain() |
short |
getAltEntityKind() |
short |
getAltExtra() |
short |
getAltSpecific() |
short |
getAltSubcategory() |
int |
getApplication() |
java.util.List<ArticulationParameter> |
getArticulationParameters() |
int |
getCapabilities() |
short |
getCategory() |
int |
getCountry() |
short |
getDeadReckoningAlgorithm() |
short |
getDomain() |
int |
getEntity() |
int |
getEntityAppearance_brakeLights()
0 off 1 on
|
int |
getEntityAppearance_camouflageType()
0 desert 1 winter 2 forest 3 unused
|
int |
getEntityAppearance_damage()
0 no damage, 1 slight damage, 2 moderate, 3 destroyed
|
int |
getEntityAppearance_firepower()
0 no firepower iill, 1 firepower kill
|
int |
getEntityAppearance_flaming()
0 off 1 on
|
int |
getEntityAppearance_hatch()
0 NA 1 closed popped 3 popped and person visible 4 open 5 open and person visible
|
int |
getEntityAppearance_headlights()
0 off 1 on
|
int |
getEntityAppearance_launcher()
0 not raised 1 raised
|
int |
getEntityAppearance_mobility()
0 no mobility kill, 1 mobility kill
|
int |
getEntityAppearance_paintScheme()
0 uniform color, 1 camouflage
|
int |
getEntityAppearance_smoke()
0 no smoke, 1 smoke plume, 2 engine smoke, 3 engine smoke and plume
|
int |
getEntityAppearance_tailLights()
0 off 1 on
|
int |
getEntityAppearance_trailingEffects()
dust cloud, 0 none 1 small 2 medium 3 large
|
int |
getEntityAppearance() |
short |
getEntityKind() |
short |
getExtra() |
short |
getForceId() |
byte[] |
getMarking() |
int |
getMarshalledSize() |
byte |
getNumberOfArticulationParameters() |
byte[] |
getOtherParameters() |
float |
getPhi() |
float |
getPsi() |
int |
getSite() |
short |
getSpecif() |
short |
getSubcategory() |
float |
getTheta() |
float |
getXAcceleration() |
float |
getXAngularVelocity() |
double |
getXLocation() |
float |
getXVelocity() |
float |
getYAcceleration() |
float |
getYAngularVelocity() |
double |
getYLocation() |
float |
getYVelocity() |
float |
getZAcceleration() |
float |
getZAngularVelocity() |
double |
getZLocation() |
float |
getZVelocity() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setAltCategory(short pAltCategory) |
void |
setAltCountry(int pAltCountry) |
void |
setAltDomain(short pAltDomain) |
void |
setAltEntityKind(short pAltEntityKind) |
void |
setAltExtra(short pAltExtra) |
void |
setAltSpecific(short pAltSpecific) |
void |
setAltSubcategory(short pAltSubcategory) |
void |
setApplication(int pApplication) |
void |
setArticulationParameters(java.util.List<ArticulationParameter> pArticulationParameters) |
void |
setCapabilities(int pCapabilities) |
void |
setCategory(short pCategory) |
void |
setCountry(int pCountry) |
void |
setDeadReckoningAlgorithm(short pDeadReckoningAlgorithm) |
void |
setDomain(short pDomain) |
void |
setEntity(int pEntity) |
void |
setEntityAppearance_brakeLights(int val)
0 off 1 on
|
void |
setEntityAppearance_camouflageType(int val)
0 desert 1 winter 2 forest 3 unused
|
void |
setEntityAppearance_damage(int val)
0 no damage, 1 slight damage, 2 moderate, 3 destroyed
|
void |
setEntityAppearance_firepower(int val)
0 no firepower iill, 1 firepower kill
|
void |
setEntityAppearance_flaming(int val)
0 off 1 on
|
void |
setEntityAppearance_hatch(int val)
0 NA 1 closed popped 3 popped and person visible 4 open 5 open and person visible
|
void |
setEntityAppearance_headlights(int val)
0 off 1 on
|
void |
setEntityAppearance_launcher(int val)
0 not raised 1 raised
|
void |
setEntityAppearance_mobility(int val)
0 no mobility kill, 1 mobility kill
|
void |
setEntityAppearance_paintScheme(int val)
0 uniform color, 1 camouflage
|
void |
setEntityAppearance_smoke(int val)
0 no smoke, 1 smoke plume, 2 engine smoke, 3 engine smoke and plume
|
void |
setEntityAppearance_tailLights(int val)
0 off 1 on
|
void |
setEntityAppearance_trailingEffects(int val)
dust cloud, 0 none 1 small 2 medium 3 large
|
void |
setEntityAppearance(int pEntityAppearance) |
void |
setEntityKind(short pEntityKind) |
void |
setExtra(short pExtra) |
void |
setForceId(short pForceId) |
void |
setMarking(byte[] pMarking) |
void |
setNumberOfArticulationParameters(byte pNumberOfArticulationParameters)
Note that setting this value will not change the marshalled value.
|
void |
setOtherParameters(byte[] pOtherParameters) |
void |
setPhi(float pPhi) |
void |
setPsi(float pPsi) |
void |
setSite(int pSite) |
void |
setSpecif(short pSpecif) |
void |
setSubcategory(short pSubcategory) |
void |
setTheta(float pTheta) |
void |
setXAcceleration(float pXAcceleration) |
void |
setXAngularVelocity(float pXAngularVelocity) |
void |
setXLocation(double pXLocation) |
void |
setXVelocity(float pXVelocity) |
void |
setYAcceleration(float pYAcceleration) |
void |
setYAngularVelocity(float pYAngularVelocity) |
void |
setYLocation(double pYLocation) |
void |
setYVelocity(float pYVelocity) |
void |
setZAcceleration(float pZAcceleration) |
void |
setZAngularVelocity(float pZAngularVelocity) |
void |
setZLocation(double pZLocation) |
void |
setZVelocity(float pZVelocity) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getExerciseID, getLength, getPadding, getPduLength, getPduType, getPduTypeEnum, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected int site
protected int application
protected int entity
protected short forceId
protected byte numberOfArticulationParameters
protected short entityKind
protected short domain
protected int country
protected short category
protected short subcategory
protected short specif
protected short extra
protected short altEntityKind
protected short altDomain
protected int altCountry
protected short altCategory
protected short altSubcategory
protected short altSpecific
protected short altExtra
protected float xVelocity
protected float yVelocity
protected float zVelocity
protected double xLocation
protected double yLocation
protected double zLocation
protected float psi
protected float theta
protected float phi
protected int entityAppearance
protected short deadReckoningAlgorithm
protected byte[] otherParameters
protected float xAcceleration
protected float yAcceleration
protected float zAcceleration
protected float xAngularVelocity
protected float yAngularVelocity
protected float zAngularVelocity
protected byte[] marking
protected int capabilities
protected java.util.List<ArticulationParameter> articulationParameters
public int getMarshalledSize()
getMarshalledSize
in class EntityInformationFamilyPdu
public void setSite(int pSite)
public int getSite()
public void setApplication(int pApplication)
public int getApplication()
public void setEntity(int pEntity)
public int getEntity()
public void setForceId(short pForceId)
public short getForceId()
public byte getNumberOfArticulationParameters()
public void setNumberOfArticulationParameters(byte pNumberOfArticulationParameters)
public void setEntityKind(short pEntityKind)
public short getEntityKind()
public void setDomain(short pDomain)
public short getDomain()
public void setCountry(int pCountry)
public int getCountry()
public void setCategory(short pCategory)
public short getCategory()
public void setSubcategory(short pSubcategory)
public short getSubcategory()
public void setSpecif(short pSpecif)
public short getSpecif()
public void setExtra(short pExtra)
public short getExtra()
public void setAltEntityKind(short pAltEntityKind)
public short getAltEntityKind()
public void setAltDomain(short pAltDomain)
public short getAltDomain()
public void setAltCountry(int pAltCountry)
public int getAltCountry()
public void setAltCategory(short pAltCategory)
public short getAltCategory()
public void setAltSubcategory(short pAltSubcategory)
public short getAltSubcategory()
public void setAltSpecific(short pAltSpecific)
public short getAltSpecific()
public void setAltExtra(short pAltExtra)
public short getAltExtra()
public void setXVelocity(float pXVelocity)
public float getXVelocity()
public void setYVelocity(float pYVelocity)
public float getYVelocity()
public void setZVelocity(float pZVelocity)
public float getZVelocity()
public void setXLocation(double pXLocation)
public double getXLocation()
public void setYLocation(double pYLocation)
public double getYLocation()
public void setZLocation(double pZLocation)
public double getZLocation()
public void setPsi(float pPsi)
public float getPsi()
public void setTheta(float pTheta)
public float getTheta()
public void setPhi(float pPhi)
public float getPhi()
public void setEntityAppearance(int pEntityAppearance)
public int getEntityAppearance()
public void setDeadReckoningAlgorithm(short pDeadReckoningAlgorithm)
public short getDeadReckoningAlgorithm()
public void setOtherParameters(byte[] pOtherParameters)
public byte[] getOtherParameters()
public void setXAcceleration(float pXAcceleration)
public float getXAcceleration()
public void setYAcceleration(float pYAcceleration)
public float getYAcceleration()
public void setZAcceleration(float pZAcceleration)
public float getZAcceleration()
public void setXAngularVelocity(float pXAngularVelocity)
public float getXAngularVelocity()
public void setYAngularVelocity(float pYAngularVelocity)
public float getYAngularVelocity()
public void setZAngularVelocity(float pZAngularVelocity)
public float getZAngularVelocity()
public void setMarking(byte[] pMarking)
public byte[] getMarking()
public void setCapabilities(int pCapabilities)
public int getCapabilities()
public void setArticulationParameters(java.util.List<ArticulationParameter> pArticulationParameters)
public java.util.List<ArticulationParameter> getArticulationParameters()
public int getEntityAppearance_paintScheme()
public void setEntityAppearance_paintScheme(int val)
public int getEntityAppearance_mobility()
public void setEntityAppearance_mobility(int val)
public int getEntityAppearance_firepower()
public void setEntityAppearance_firepower(int val)
public int getEntityAppearance_damage()
public void setEntityAppearance_damage(int val)
public int getEntityAppearance_smoke()
public void setEntityAppearance_smoke(int val)
public int getEntityAppearance_trailingEffects()
public void setEntityAppearance_trailingEffects(int val)
public int getEntityAppearance_hatch()
public void setEntityAppearance_hatch(int val)
public int getEntityAppearance_headlights()
public void setEntityAppearance_headlights(int val)
public int getEntityAppearance_tailLights()
public void setEntityAppearance_tailLights(int val)
public int getEntityAppearance_brakeLights()
public void setEntityAppearance_brakeLights(int val)
public int getEntityAppearance_flaming()
public void setEntityAppearance_flaming(int val)
public int getEntityAppearance_launcher()
public void setEntityAppearance_launcher(int val)
public int getEntityAppearance_camouflageType()
public void setEntityAppearance_camouflageType(int val)
public void marshal(java.io.DataOutputStream dos)
marshal
in class EntityInformationFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class EntityInformationFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class EntityInformationFamilyPdu
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class EntityInformationFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class EntityInformationFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class EntityInformationFamilyPdu
obj
- the object to compare to