public class Reference extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static short |
FLAG_LOCATION |
static short |
FLAG_MANDONE |
static short |
FLAG_RADIUS |
static short |
FLAG_SPEED |
static short |
FLAG_Z |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Reference() |
Reference(IMCDefinition defs) |
Reference(IMCMessage msg) |
Reference(short flags,
DesiredSpeed speed,
DesiredZ z,
double lat,
double lon,
float radius) |
Modifier and Type | Method and Description |
---|---|
static Reference |
clone(IMCMessage msg) |
static Reference |
create(java.lang.Object... values) |
short |
getFlags() |
double |
getLat() |
double |
getLon() |
double |
getRadius() |
DesiredSpeed |
getSpeed() |
DesiredZ |
getZ() |
Reference |
setFlags(short flags) |
Reference |
setLat(double lat) |
Reference |
setLon(double lon) |
Reference |
setRadius(double radius) |
Reference |
setSpeed(DesiredSpeed speed) |
Reference |
setZ(DesiredZ 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 short FLAG_LOCATION
public static final short FLAG_SPEED
public static final short FLAG_Z
public static final short FLAG_RADIUS
public static final short FLAG_MANDONE
public static final int ID_STATIC
public Reference()
public Reference(IMCMessage msg)
public Reference(IMCDefinition defs)
public Reference(short flags, DesiredSpeed speed, DesiredZ z, double lat, double lon, float radius)
public static Reference create(java.lang.Object... values)
public static Reference clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public short getFlags()
public Reference setFlags(short flags)
flags
- Flags (bitfield)public DesiredSpeed getSpeed()
public Reference setSpeed(DesiredSpeed speed)
speed
- Speed Referencepublic DesiredZ getZ()
public double getLat()
public Reference setLat(double lat)
lat
- Latitude Referencepublic double getLon()
public Reference setLon(double lon)
lon
- Longitude Referencepublic double getRadius()
public Reference setRadius(double radius)
radius
- Radius