|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DepthSystem
Hydrophone depth may be read out in a number of different ways and may arrive from a number of different sources. The main DepthProcess will manage common functinaility and common data, but the actual work will be done through this interface.
| Field Summary | |
|---|---|
static double |
DEPTH_NO_DATA
|
static double |
DEPTH_OUT_OF_RANGE
|
| Method Summary | |
|---|---|
boolean |
canConfigure()
Say whether ot not a particular sensor can be configured. |
boolean |
configureSensor(java.awt.Frame parentFrame)
Configure one of the sensors. |
double |
getDepth(int iSensor)
Get the depth (should be in meters) |
double |
getDepthRawData(int iSensor)
Get the depth (should be in meters) |
boolean |
readSensor(int iSensor)
Read all data from a sensor. |
boolean |
shouldPoll()
DepthProcess should ask this system for data every so often if this return false, then the data are comign from somewhere beyond the immediate contron of Pamgaurd and we just wait for it to arrive. |
| Field Detail |
|---|
static final double DEPTH_OUT_OF_RANGE
static final double DEPTH_NO_DATA
| Method Detail |
|---|
boolean shouldPoll()
double getDepth(int iSensor)
iSensor -
boolean readSensor(int iSensor)
iSensor - number of the sensor
double getDepthRawData(int iSensor)
iSensor -
boolean canConfigure()
boolean configureSensor(java.awt.Frame parentFrame)
parentFrame - owner frame for dialog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||