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) |
ReportedState(IMCMessage msg) |
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() |
java.lang.String |
getSTypeStr() |
short |
getSTypeVal() |
double |
getYaw() |
ReportedState |
setDepth(double depth) |
ReportedState |
setLat(double lat) |
ReportedState |
setLon(double lon) |
ReportedState |
setPitch(double pitch) |
ReportedState |
setRcpTime(double rcp_time) |
ReportedState |
setRoll(double roll) |
ReportedState |
setSid(java.lang.String sid) |
ReportedState |
setSType(ReportedState.S_TYPE s_type) |
ReportedState |
setSTypeStr(java.lang.String s_type) |
ReportedState |
setSTypeVal(short s_type) |
ReportedState |
setYaw(double yaw) |
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 ReportedState()
public ReportedState(IMCMessage msg)
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 ReportedState setLat(double lat)
lat
- Latitude (rad)public double getLon()
public ReportedState setLon(double lon)
lon
- Longitude (rad)public double getDepth()
public ReportedState setDepth(double depth)
depth
- Depth (m)public double getRoll()
public ReportedState setRoll(double roll)
roll
- Roll (rad)public double getPitch()
public ReportedState setPitch(double pitch)
pitch
- Pitch (rad)public double getYaw()
public ReportedState setYaw(double yaw)
yaw
- Yaw (rad)public double getRcpTime()
public ReportedState setRcpTime(double rcp_time)
rcp_time
- Reception Time (s)public java.lang.String getSid()
public ReportedState setSid(java.lang.String sid)
sid
- System Identifierpublic ReportedState.S_TYPE getSType()
public java.lang.String getSTypeStr()
public short getSTypeVal()
public ReportedState setSType(ReportedState.S_TYPE s_type)
s_type
- Source Type (enumerated)public ReportedState setSTypeStr(java.lang.String s_type)
s_type
- Source Type (as a String)public ReportedState setSTypeVal(short s_type)
s_type
- Source Type (integer value)