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

java.lang.Object
  extended by org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
      extended by org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
All Implemented Interfaces:
Parser
Direct Known Subclasses:
CompassPacketParser, CTDPacketParser, EnvironmentalPacketParser

public class SensorPacketParser
extends PacketParser

Parses SIAM data packets


Field Summary
static int DATA_BUFFER
           
static int 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
SensorPacketParser()
           
SensorPacketParser(SensorDataPacket packet)
           
 
Method Summary
 java.lang.Object get(int field)
           
 SensorDataPacket getSensorPacket()
           
 java.util.Vector parse(java.lang.Object data)
           
 
Methods inherited from class org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
get, getAll, getDouble, getPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_BUFFER

public static final int DATA_BUFFER
See Also:
Constant Field Values

SENSOR_PACKET_FIELDS

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

SensorPacketParser

public SensorPacketParser()

SensorPacketParser

public SensorPacketParser(SensorDataPacket packet)
Method Detail

parse

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

get

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

getSensorPacket

public SensorDataPacket getSensorPacket()


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.