|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Sensor
A Sensor is a Device that can acquire data.
| Field Summary | |
|---|---|
static int |
ACQUIRE_MODE
Mode; sensor should automatically acquire samples |
static int |
STANDBY_MODE
Mode; Sensor should not automatically acquire samples |
| Fields inherited from interface org.mbari.siam.distributed.Device |
|---|
ERROR, INITIAL, INSTRUMENT_STATE, MDATA_ALL, OK, SAFE, SAMPLING, SERVICE_ATTRIBUTES, SERVICE_CACHE, SERVICE_PROPERTIES, SERVICE_XML, SHUTDOWN, SLEEPING, SUSPEND, UNKNOWN |
| Method Summary | |
|---|---|
Calibration |
getCalibration()
Get latest Calibration. |
DevicePacket |
getCurrentData()
Get most recent DevicePacket. |
SensorDataHandler |
getDataHandler()
Get the SensorDataHandler. |
DevicePacketStream |
getPacketStream()
Get DevicePacketStream for this Sensor. |
void |
sleep()
Put sensor in "sleep" mode (stop taking data). |
void |
wakeup()
Bring sensor out of "sleep" mode (start taking data). |
| Methods inherited from interface org.mbari.siam.distributed.Device |
|---|
getChildren, getCommPortName, getFrameworkVersion, getId, getLocation, getMetadata, getName, getParent, getSamplingCount, getSamplingErrorCount, getSamplingRetryCount, getStatus, host, powerOff, powerOn, prepareToRun, resume, shutdown, suspend, test |
| Field Detail |
|---|
static final int ACQUIRE_MODE
static final int STANDBY_MODE
| Method Detail |
|---|
DevicePacket getCurrentData()
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
DevicePacketStream getPacketStream()
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
Calibration getCalibration()
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
SensorDataHandler getDataHandler()
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
void sleep()
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
void wakeup()
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||