public class RemoteState extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
RemoteState() |
RemoteState(float lat,
float lon,
short depth,
float speed,
float psi) |
RemoteState(IMCDefinition defs) |
RemoteState(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static RemoteState |
clone(IMCMessage msg) |
static RemoteState |
create(java.lang.Object... values) |
short |
getDepth() |
double |
getLat() |
double |
getLon() |
double |
getPsi() |
double |
getSpeed() |
RemoteState |
setDepth(short depth) |
RemoteState |
setLat(double lat) |
RemoteState |
setLon(double lon) |
RemoteState |
setPsi(double psi) |
RemoteState |
setSpeed(double speed) |
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 RemoteState()
public RemoteState(IMCMessage msg)
public RemoteState(IMCDefinition defs)
public RemoteState(float lat, float lon, short depth, float speed, float psi)
public static RemoteState create(java.lang.Object... values)
public static RemoteState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getLat()
public RemoteState setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public RemoteState setLon(double lon)
lon
- Longitude WGS-84 (rad)public short getDepth()
public RemoteState setDepth(short depth)
depth
- Depth (m)public double getSpeed()
public RemoteState setSpeed(double speed)
speed
- Speed (m/s)public double getPsi()
public RemoteState setPsi(double psi)
psi
- Heading (rad)