Class DataUpdateThread

  extended by org.mbari.siam.moos.utils.node.DataUpdateThread
All Implemented Interfaces:
Direct Known Subclasses:
CompassUpdateThread, CTDUpdateThread, EnvUpdateThread

public abstract class DataUpdateThread
extends java.lang.Object
implements java.lang.Runnable

Field Summary
protected  javax.swing.JFrame _chart
protected  java.util.Vector _dataList
protected  SensorDataPacket _dataPacket
protected  Instrument _instrument
protected  SensorPacketParser _parser
protected  boolean _run
Constructor Summary
DataUpdateThread(Instrument instrument, java.util.Vector dataList, javax.swing.JFrame chart)
Method Summary
 void getData(SensorDataPacket dataPacket)
          Does nothing; subclasses must override
 void run()
 void setRun(boolean value)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected Instrument _instrument


protected java.util.Vector _dataList


protected SensorPacketParser _parser


protected javax.swing.JFrame _chart


protected boolean _run


protected SensorDataPacket _dataPacket
Constructor Detail


public DataUpdateThread(Instrument instrument,
                        java.util.Vector dataList,
                        javax.swing.JFrame chart)
Method Detail


public void getData(SensorDataPacket dataPacket)
Does nothing; subclasses must override


public void run()
Specified by:
run in interface java.lang.Runnable


public void setRun(boolean value)

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.