public class UsblFix extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
UsblFix.Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
UsblFix() |
UsblFix(IMCDefinition defs) |
UsblFix(IMCMessage msg) |
UsblFix(int target,
double lat,
double lon,
UsblFix.Z_UNITS z_units,
float z) |
Modifier and Type | Method and Description |
---|---|
static UsblFix |
clone(IMCMessage msg) |
static UsblFix |
create(java.lang.Object... values) |
double |
getLat() |
double |
getLon() |
int |
getTarget() |
double |
getZ() |
UsblFix.Z_UNITS |
getZUnits() |
java.lang.String |
getZUnitsStr() |
short |
getZUnitsVal() |
UsblFix |
setLat(double lat) |
UsblFix |
setLon(double lon) |
UsblFix |
setTarget(int target) |
UsblFix |
setZ(double z) |
UsblFix |
setZUnits(UsblFix.Z_UNITS z_units) |
UsblFix |
setZUnitsStr(java.lang.String z_units) |
UsblFix |
setZUnitsVal(short z_units) |
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 UsblFix()
public UsblFix(IMCMessage msg)
public UsblFix(IMCDefinition defs)
public UsblFix(int target, double lat, double lon, UsblFix.Z_UNITS z_units, float z)
public static UsblFix create(java.lang.Object... values)
public static UsblFix clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTarget()
public UsblFix setTarget(int target)
target
- Targetpublic double getLat()
public UsblFix setLat(double lat)
lat
- Latitude (WGS-84) (rad)public double getLon()
public UsblFix setLon(double lon)
lon
- Longitude (WGS-84) (rad)public UsblFix.Z_UNITS getZUnits()
public java.lang.String getZUnitsStr()
public short getZUnitsVal()
public UsblFix setZUnits(UsblFix.Z_UNITS z_units)
z_units
- Z Units (enumerated)public UsblFix setZUnitsStr(java.lang.String z_units)
z_units
- Z Units (as a String)public UsblFix setZUnitsVal(short z_units)
z_units
- Z Units (integer value)public double getZ()
public UsblFix setZ(double z)
z
- Z Reference (m)