public class ReportedState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
ReportedState.S_TYPE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
ReportedState() |
ReportedState(double lat,
double lon,
double depth,
double roll,
double pitch,
double yaw,
double rcp_time,
java.lang.String sid,
ReportedState.S_TYPE s_type) |
ReportedState(IMCDefinition defs) |
Modifier and Type | Method and Description |
---|---|
static ReportedState |
clone(IMCMessage msg) |
static ReportedState |
create(java.lang.Object... values) |
double |
getDepth() |
double |
getLat() |
double |
getLon() |
double |
getPitch() |
double |
getRcpTime() |
double |
getRoll() |
java.lang.String |
getSid() |
ReportedState.S_TYPE |
getSType()
How the position was received/calculated
|
double |
getYaw() |
void |
setDepth(double depth) |
void |
setLat(double lat) |
void |
setLon(double lon) |
void |
setPitch(double pitch) |
void |
setRcpTime(double rcp_time) |
void |
setRoll(double roll) |
void |
setSid(java.lang.String sid) |
void |
setSType(ReportedState.S_TYPE s_type) |
void |
setSType(short s_type) |
void |
setSType(java.lang.String s_type) |
void |
setYaw(double yaw) |
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 ReportedState()
public ReportedState(IMCDefinition defs)
public ReportedState(double lat, double lon, double depth, double roll, double pitch, double yaw, double rcp_time, java.lang.String sid, ReportedState.S_TYPE s_type)
public static ReportedState create(java.lang.Object... values)
public static ReportedState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getLat()
public double getLon()
public double getDepth()
public double getRoll()
public double getPitch()
public double getYaw()
public double getRcpTime()
public java.lang.String getSid()
public ReportedState.S_TYPE getSType()
public void setLat(double lat)
lat
- Latitude (rad)public void setLon(double lon)
lon
- Longitude (rad)public void setDepth(double depth)
depth
- Depth (m)public void setRoll(double roll)
roll
- Roll (rad)public void setPitch(double pitch)
pitch
- Pitch (rad)public void setYaw(double yaw)
yaw
- Yaw (rad)public void setRcpTime(double rcp_time)
rcp_time
- Reception Time (s)public void setSid(java.lang.String sid)
sid
- System Identifierpublic void setSType(ReportedState.S_TYPE s_type)
s_type
- Source Type (enumerated)public void setSType(java.lang.String s_type)
s_type
- Source Type (as a String)public void setSType(short s_type)
s_type
- Source Type (integer value)