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()
Flags of the maneuver.
|
double |
getLat() |
double |
getLon() |
double |
getRadius() |
double |
getSpeed() |
PopUp.SPEED_UNITS |
getSpeedUnits()
Speed units.
|
int |
getTimeout() |
double |
getZ() |
PopUp.Z_UNITS |
getZUnits()
Units of the z reference.
|
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 |
setSpeedUnits(short speed_units) |
PopUp |
setSpeedUnits(java.lang.String speed_units) |
PopUp |
setTimeout(int timeout) |
PopUp |
setZ(double z) |
PopUp |
setZUnits(PopUp.Z_UNITS z_units) |
PopUp |
setZUnits(short z_units) |
PopUp |
setZUnits(java.lang.String z_units) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, 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, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public static final short FLG_CURR_POS
public static final short FLG_WAIT_AT_SURFACE
public static final short FLG_STATION_KEEP
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 double getLat()
public double getLon()
public double getZ()
public PopUp.Z_UNITS getZUnits()
public double getSpeed()
public PopUp.SPEED_UNITS getSpeedUnits()
public int getDuration()
public double getRadius()
public short getFlags()
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public PopUp setTimeout(int timeout)
timeout
- Timeout (s)public PopUp setLat(double lat)
lat
- Latitude WGS-84 (rad)public PopUp setLon(double lon)
lon
- Longitude WGS-84 (rad)public PopUp setZ(double z)
z
- Z Reference (m)public PopUp setZUnits(PopUp.Z_UNITS z_units)
z_units
- Z Units (enumerated)public PopUp setZUnits(java.lang.String z_units)
z_units
- Z Units (as a String)public PopUp setZUnits(short z_units)
z_units
- Z Units (integer value)public PopUp setSpeed(double speed)
speed
- Speedpublic PopUp setSpeedUnits(PopUp.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public PopUp setSpeedUnits(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public PopUp setSpeedUnits(short speed_units)
speed_units
- Speed Units (integer value)public PopUp setDuration(int duration)
duration
- Duration (s)public PopUp setRadius(double radius)
radius
- Radius (m)public PopUp setFlags(short flags)
flags
- Flags (bitfield)public PopUp setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public PopUp setCustom(java.lang.String custom)