public class AutopilotMode extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
AutopilotMode.AUTONOMY |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
AutopilotMode() |
AutopilotMode(AutopilotMode.AUTONOMY autonomy,
java.lang.String mode) |
AutopilotMode(IMCDefinition defs) |
AutopilotMode(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static AutopilotMode |
clone(IMCMessage msg) |
static AutopilotMode |
create(java.lang.Object... values) |
AutopilotMode.AUTONOMY |
getAutonomy() |
java.lang.String |
getAutonomyStr() |
short |
getAutonomyVal() |
java.lang.String |
getMode() |
AutopilotMode |
setAutonomy(AutopilotMode.AUTONOMY autonomy) |
AutopilotMode |
setAutonomyStr(java.lang.String autonomy) |
AutopilotMode |
setAutonomyVal(short autonomy) |
AutopilotMode |
setMode(java.lang.String mode) |
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 AutopilotMode()
public AutopilotMode(IMCMessage msg)
public AutopilotMode(IMCDefinition defs)
public AutopilotMode(AutopilotMode.AUTONOMY autonomy, java.lang.String mode)
public static AutopilotMode create(java.lang.Object... values)
public static AutopilotMode clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public AutopilotMode.AUTONOMY getAutonomy()
public java.lang.String getAutonomyStr()
public short getAutonomyVal()
public AutopilotMode setAutonomy(AutopilotMode.AUTONOMY autonomy)
autonomy
- Autonomy Level (enumerated)public AutopilotMode setAutonomyStr(java.lang.String autonomy)
autonomy
- Autonomy Level (as a String)public AutopilotMode setAutonomyVal(short autonomy)
autonomy
- Autonomy Level (integer value)public java.lang.String getMode()
public AutopilotMode setMode(java.lang.String mode)
mode
- Mode