org.mbari.siam.moos.utils.nodeview.monitor
Class CompassPacketParser

java.lang.Object
  extended by org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
      extended by org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
          extended by org.mbari.siam.moos.utils.nodeview.monitor.CompassPacketParser
All Implemented Interfaces:
Parser

public class CompassPacketParser
extends SensorPacketParser

Parses SIAM data packets


Field Summary
static int COMPASS_PACKET_FIELDS
           
static int HEADING
           
 
Fields inherited from class org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
DATA_BUFFER, SENSOR_PACKET_FIELDS
 
Fields inherited from class org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
DEVICE_PACKET_FIELDS, SEQUENCE_NO, SOURCE_ID, STATUS_VERSION, TIMESTAMP
 
Constructor Summary
CompassPacketParser()
           
CompassPacketParser(SensorDataPacket packet)
           
 
Method Summary
 java.lang.Object get(int field)
           
 java.lang.Object get(java.lang.String fieldName)
           
 java.util.Vector parse(java.lang.Object data)
           
 
Methods inherited from class org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
getSensorPacket
 
Methods inherited from class org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
getAll, getDouble, getPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADING

public static final int HEADING
See Also:
Constant Field Values

COMPASS_PACKET_FIELDS

public static final int COMPASS_PACKET_FIELDS
See Also:
Constant Field Values
Constructor Detail

CompassPacketParser

public CompassPacketParser()

CompassPacketParser

public CompassPacketParser(SensorDataPacket packet)
Method Detail

parse

public java.util.Vector parse(java.lang.Object data)
Specified by:
parse in interface Parser
Overrides:
parse in class SensorPacketParser

get

public java.lang.Object get(int field)
Specified by:
get in interface Parser
Overrides:
get in class SensorPacketParser

get

public java.lang.Object get(java.lang.String fieldName)
Specified by:
get in interface Parser
Overrides:
get in class PacketParser


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.