public class Alignment extends Maneuver
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Alignment() |
Alignment(IMCDefinition defs) |
Alignment(IMCMessage msg) |
Alignment(int timeout,
double lat,
double lon,
float speed,
pt.lsts.imc.def.SpeedUnits speed_units,
java.lang.String custom) |
Modifier and Type | Method and Description |
---|---|
static Alignment |
clone(IMCMessage msg) |
static Alignment |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
double |
getLat() |
double |
getLon() |
double |
getSpeed() |
pt.lsts.imc.def.SpeedUnits |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
int |
getTimeout() |
Alignment |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
Alignment |
setCustom(java.lang.String custom) |
Alignment |
setLat(double lat) |
Alignment |
setLon(double lon) |
Alignment |
setSpeed(double speed) |
Alignment |
setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units) |
Alignment |
setSpeedUnitsStr(java.lang.String speed_units) |
Alignment |
setSpeedUnitsVal(short speed_units) |
Alignment |
setTimeout(int timeout) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int ID_STATIC
public Alignment()
public Alignment(IMCMessage msg)
public Alignment(IMCDefinition defs)
public Alignment(int timeout, double lat, double lon, float speed, pt.lsts.imc.def.SpeedUnits speed_units, java.lang.String custom)
public static Alignment create(java.lang.Object... values)
public static Alignment clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTimeout()
public Alignment setTimeout(int timeout)
timeout
- Timeout (s)public double getLat()
public Alignment setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public Alignment setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getSpeed()
public Alignment setSpeed(double speed)
speed
- Speedpublic pt.lsts.imc.def.SpeedUnits getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public Alignment setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units)
speed_units
- Speed Units (enumerated)public Alignment setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public Alignment setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public Alignment setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public Alignment setCustom(java.lang.String custom)