public class PopUp extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
PopUp.SPEED_UNITS |
static class |
PopUp.Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static short |
FLG_CURR_POS |
static short |
FLG_STATION_KEEP |
static short |
FLG_WAIT_AT_SURFACE |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PopUp() |
PopUp(IMCDefinition defs) |
PopUp(IMCMessage msg) |
PopUp(int timeout,
double lat,
double lon,
float z,
PopUp.Z_UNITS z_units,
float speed,
PopUp.SPEED_UNITS speed_units,
int duration,
float radius,
short flags,
java.lang.String custom) |
Modifier and Type | Method and Description |
---|---|
static PopUp |
clone(IMCMessage msg) |
static PopUp |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
int |
getDuration() |
short |
getFlags() |
double |
getLat() |
double |
getLon() |
double |
getRadius() |
double |
getSpeed() |
PopUp.SPEED_UNITS |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
int |
getTimeout() |
double |
getZ() |
PopUp.Z_UNITS |
getZUnits() |
java.lang.String |
getZUnitsStr() |
short |
getZUnitsVal() |
PopUp |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
PopUp |
setCustom(java.lang.String custom) |
PopUp |
setDuration(int duration) |
PopUp |
setFlags(short flags) |
PopUp |
setLat(double lat) |
PopUp |
setLon(double lon) |
PopUp |
setRadius(double radius) |
PopUp |
setSpeed(double speed) |
PopUp |
setSpeedUnits(PopUp.SPEED_UNITS speed_units) |
PopUp |
setSpeedUnitsStr(java.lang.String speed_units) |
PopUp |
setSpeedUnitsVal(short speed_units) |
PopUp |
setTimeout(int timeout) |
PopUp |
setZ(double z) |
PopUp |
setZUnits(PopUp.Z_UNITS z_units) |
PopUp |
setZUnitsStr(java.lang.String z_units) |
PopUp |
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 short FLG_CURR_POS
public static final short FLG_WAIT_AT_SURFACE
public static final short FLG_STATION_KEEP
public static final int ID_STATIC
public PopUp()
public PopUp(IMCMessage msg)
public PopUp(IMCDefinition defs)
public PopUp(int timeout, double lat, double lon, float z, PopUp.Z_UNITS z_units, float speed, PopUp.SPEED_UNITS speed_units, int duration, float radius, short flags, java.lang.String custom)
public static PopUp create(java.lang.Object... values)
public static PopUp clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTimeout()
public PopUp setTimeout(int timeout)
timeout
- Timeout (s)public double getLat()
public PopUp setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public PopUp setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getZ()
public PopUp setZ(double z)
z
- Z Reference (m)public PopUp.Z_UNITS getZUnits()
public java.lang.String getZUnitsStr()
public short getZUnitsVal()
public PopUp setZUnits(PopUp.Z_UNITS z_units)
z_units
- Z Units (enumerated)public PopUp setZUnitsStr(java.lang.String z_units)
z_units
- Z Units (as a String)public PopUp setZUnitsVal(short z_units)
z_units
- Z Units (integer value)public double getSpeed()
public PopUp setSpeed(double speed)
speed
- Speedpublic PopUp.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public PopUp setSpeedUnits(PopUp.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public PopUp setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public PopUp setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public int getDuration()
public PopUp setDuration(int duration)
duration
- Duration (s)public double getRadius()
public PopUp setRadius(double radius)
radius
- Radius (m)public short getFlags()
public PopUp setFlags(short flags)
flags
- Flags (bitfield)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public PopUp setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public PopUp setCustom(java.lang.String custom)