public class CommsRelay extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
CommsRelay.SPEED_UNITS |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
CommsRelay() |
CommsRelay(double lat,
double lon,
float speed,
CommsRelay.SPEED_UNITS speed_units,
int duration,
int sys_a,
int sys_b,
float move_threshold) |
CommsRelay(IMCDefinition defs) |
CommsRelay(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static CommsRelay |
clone(IMCMessage msg) |
static CommsRelay |
create(java.lang.Object... values) |
int |
getDuration() |
double |
getLat() |
double |
getLon() |
double |
getMoveThreshold() |
double |
getSpeed() |
CommsRelay.SPEED_UNITS |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
int |
getSysA() |
int |
getSysB() |
CommsRelay |
setDuration(int duration) |
CommsRelay |
setLat(double lat) |
CommsRelay |
setLon(double lon) |
CommsRelay |
setMoveThreshold(double move_threshold) |
CommsRelay |
setSpeed(double speed) |
CommsRelay |
setSpeedUnits(CommsRelay.SPEED_UNITS speed_units) |
CommsRelay |
setSpeedUnitsStr(java.lang.String speed_units) |
CommsRelay |
setSpeedUnitsVal(short speed_units) |
CommsRelay |
setSysA(int sys_a) |
CommsRelay |
setSysB(int sys_b) |
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 CommsRelay()
public CommsRelay(IMCMessage msg)
public CommsRelay(IMCDefinition defs)
public CommsRelay(double lat, double lon, float speed, CommsRelay.SPEED_UNITS speed_units, int duration, int sys_a, int sys_b, float move_threshold)
public static CommsRelay create(java.lang.Object... values)
public static CommsRelay clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getLat()
public CommsRelay setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public CommsRelay setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getSpeed()
public CommsRelay setSpeed(double speed)
speed
- Speedpublic CommsRelay.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public CommsRelay setSpeedUnits(CommsRelay.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public CommsRelay setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public CommsRelay setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public int getDuration()
public CommsRelay setDuration(int duration)
duration
- Duration (s)public int getSysA()
public CommsRelay setSysA(int sys_a)
sys_a
- System Apublic int getSysB()
public CommsRelay setSysB(int sys_b)
sys_b
- System Bpublic double getMoveThreshold()
public CommsRelay setMoveThreshold(double move_threshold)
move_threshold
- Move threshold (m)