public class VehicleCommand extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
VehicleCommand.COMMAND |
static class |
VehicleCommand.TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
VehicleCommand() |
VehicleCommand(IMCDefinition defs) |
VehicleCommand(VehicleCommand.TYPE type,
int request_id,
VehicleCommand.COMMAND command,
Maneuver maneuver,
int calib_time,
java.lang.String info) |
Modifier and Type | Method and Description |
---|---|
static VehicleCommand |
clone(IMCMessage msg) |
static VehicleCommand |
create(java.lang.Object... values) |
int |
getCalibTime() |
VehicleCommand.COMMAND |
getCommand()
The type of command/action to be performed
|
java.lang.String |
getInfo() |
Maneuver |
getManeuver() |
int |
getRequestId() |
VehicleCommand.TYPE |
getType() |
void |
setCalibTime(int calib_time) |
void |
setCommand(short command) |
void |
setCommand(java.lang.String command) |
void |
setCommand(VehicleCommand.COMMAND command) |
void |
setInfo(java.lang.String info) |
void |
setManeuver(Maneuver maneuver) |
void |
setRequestId(int request_id) |
void |
setType(short type) |
void |
setType(java.lang.String type) |
void |
setType(VehicleCommand.TYPE type) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, 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, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public VehicleCommand()
public VehicleCommand(IMCDefinition defs)
public VehicleCommand(VehicleCommand.TYPE type, int request_id, VehicleCommand.COMMAND command, Maneuver maneuver, int calib_time, java.lang.String info)
public static VehicleCommand create(java.lang.Object... values)
public static VehicleCommand clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public VehicleCommand.TYPE getType()
public int getRequestId()
public VehicleCommand.COMMAND getCommand()
public Maneuver getManeuver()
public int getCalibTime()
public java.lang.String getInfo()
public void setType(VehicleCommand.TYPE type)
type
- Type (enumerated)public void setType(java.lang.String type)
type
- Type (as a String)public void setType(short type)
type
- Type (integer value)public void setRequestId(int request_id)
request_id
- Request IDpublic void setCommand(VehicleCommand.COMMAND command)
command
- Command (enumerated)public void setCommand(java.lang.String command)
command
- Command (as a String)public void setCommand(short command)
command
- Command (integer value)public void setManeuver(Maneuver maneuver)
maneuver
- Maneuverpublic void setCalibTime(int calib_time)
calib_time
- Calibration Time (s)public void setInfo(java.lang.String info)
info
- Info