public class Collision extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static short |
CD_IMPACT |
static short |
CD_X |
static short |
CD_Y |
static short |
CD_Z |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Collision() |
Collision(float value,
short type) |
Collision(IMCDefinition defs) |
Collision(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static Collision |
clone(IMCMessage msg) |
static Collision |
create(java.lang.Object... values) |
short |
getType() |
double |
getValue() |
Collision |
setType(short type) |
Collision |
setValue(double value) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final short CD_X
public static final short CD_Y
public static final short CD_Z
public static final short CD_IMPACT
public static final int ID_STATIC
public Collision()
public Collision(IMCMessage msg)
public Collision(IMCDefinition defs)
public Collision(float value, short type)
public static Collision create(java.lang.Object... values)
public static Collision clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getValue()
public Collision setValue(double value)
value
- Collision value (m/s/s)public short getType()
public Collision setType(short type)
type
- Type (bitfield)