public class UsblPosition extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
UsblPosition() |
UsblPosition(IMCDefinition defs) |
UsblPosition(IMCMessage msg) |
UsblPosition(int target,
float x,
float y,
float z) |
Modifier and Type | Method and Description |
---|---|
static UsblPosition |
clone(IMCMessage msg) |
static UsblPosition |
create(java.lang.Object... values) |
int |
getTarget() |
double |
getX() |
double |
getY() |
double |
getZ() |
UsblPosition |
setTarget(int target) |
UsblPosition |
setX(double x) |
UsblPosition |
setY(double y) |
UsblPosition |
setZ(double z) |
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 int ID_STATIC
public UsblPosition()
public UsblPosition(IMCMessage msg)
public UsblPosition(IMCDefinition defs)
public UsblPosition(int target, float x, float y, float z)
public static UsblPosition create(java.lang.Object... values)
public static UsblPosition clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTarget()
public UsblPosition setTarget(int target)
target
- Targetpublic double getX()
public UsblPosition setX(double x)
x
- X (m)public double getY()
public UsblPosition setY(double y)
y
- Y (m)public double getZ()
public UsblPosition setZ(double z)
z
- Z (m)