public class HistoricSonarData extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
HistoricSonarData.ENCODING |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
HistoricSonarData() |
HistoricSonarData(float altitude,
float width,
float length,
float bearing,
short pxl,
HistoricSonarData.ENCODING encoding,
byte[] sonar_data) |
HistoricSonarData(IMCDefinition defs) |
HistoricSonarData(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static HistoricSonarData |
clone(IMCMessage msg) |
static HistoricSonarData |
create(java.lang.Object... values) |
double |
getAltitude() |
double |
getBearing() |
HistoricSonarData.ENCODING |
getEncoding() |
java.lang.String |
getEncodingStr() |
short |
getEncodingVal() |
double |
getLength() |
short |
getPxl() |
byte[] |
getSonarData() |
double |
getWidth() |
HistoricSonarData |
setAltitude(double altitude) |
HistoricSonarData |
setBearing(double bearing) |
HistoricSonarData |
setEncoding(HistoricSonarData.ENCODING encoding) |
HistoricSonarData |
setEncodingStr(java.lang.String encoding) |
HistoricSonarData |
setEncodingVal(short encoding) |
HistoricSonarData |
setLength(double length) |
HistoricSonarData |
setPxl(short pxl) |
HistoricSonarData |
setSonarData(byte[] sonar_data) |
HistoricSonarData |
setWidth(double width) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int ID_STATIC
public HistoricSonarData()
public HistoricSonarData(IMCMessage msg)
public HistoricSonarData(IMCDefinition defs)
public HistoricSonarData(float altitude, float width, float length, float bearing, short pxl, HistoricSonarData.ENCODING encoding, byte[] sonar_data)
public static HistoricSonarData create(java.lang.Object... values)
public static HistoricSonarData clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getAltitude()
public HistoricSonarData setAltitude(double altitude)
altitude
- Altitude (m)public double getWidth()
public HistoricSonarData setWidth(double width)
width
- Width (m)public double getLength()
public HistoricSonarData setLength(double length)
length
- Length (m)public double getBearing()
public HistoricSonarData setBearing(double bearing)
bearing
- Bearingpublic short getPxl()
public HistoricSonarData setPxl(short pxl)
pxl
- Pixels Per Linepublic HistoricSonarData.ENCODING getEncoding()
public java.lang.String getEncodingStr()
public short getEncodingVal()
public HistoricSonarData setEncoding(HistoricSonarData.ENCODING encoding)
encoding
- Encoding (enumerated)public HistoricSonarData setEncodingStr(java.lang.String encoding)
encoding
- Encoding (as a String)public HistoricSonarData setEncodingVal(short encoding)
encoding
- Encoding (integer value)public byte[] getSonarData()
public HistoricSonarData setSonarData(byte[] sonar_data)
sonar_data
- SonarData