org.mbari.siam.moos.utils.node
Class DataUpdateThread

java.lang.Object
  extended by org.mbari.siam.moos.utils.node.DataUpdateThread
All Implemented Interfaces:
java.lang.Runnable
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

_instrument

protected Instrument _instrument

_dataList

protected java.util.Vector _dataList

_parser

protected SensorPacketParser _parser

_chart

protected javax.swing.JFrame _chart

_run

protected boolean _run

_dataPacket

protected SensorDataPacket _dataPacket
Constructor Detail

DataUpdateThread

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

getData

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


run

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

setRun

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.