Class AbstractSensor<Q extends Quantity<Q>>
java.lang.Object
org.episteme.core.device.AbstractDevice
org.episteme.core.device.AbstractSensor<Q>
- Type Parameters:
Q- the type of quantity produced by the sensor
- All Implemented Interfaces:
Serializable, AutoCloseable, Device, Sensor<Q>, Commented, ComprehensiveIdentification, Identified<Identification>, Named
- Direct Known Subclasses:
AbstractSimulatedSensor
public abstract class AbstractSensor<Q extends Quantity<Q>>
extends AbstractDevice
implements Sensor<Q>
Base implementation for sensor devices.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractDevice
AbstractDevice.RecordNested classes/interfaces inherited from interface Device
Device.Record, Device.Status -
Field Summary
Fields inherited from class AbstractDevice
accuracy, calibrationHistory, currentValue, displayUnit, firmware, history, identification, lastCalibration, locationDescription, manufacturer, maxRange, minRange, model, precisionDescription, resolution, sensitivity, status -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractDevice
calibrate, getAccuracy, getCalibrationHistory, getDeviceStatus, getDisplayUnit, getFirmware, getHistory, getId, getLastCalibration, getLocationDescription, getManufacturer, getMaxRange, getMeasurableQuantities, getMinRange, getModel, getPrecisionDescription, getResolution, getSensitivity, getStatus, getTrait, getTraitOptional, getTraits, isEnabled, measure, needsCalibration, performCalibration, recordMeasurement, setAccuracy, setCurrentValue, setDisplayUnit, setEnabled, setFirmware, setLastCalibration, setLocationDescription, setManufacturer, setMaxRange, setMinRange, setModel, setPrecisionDescription, setResolution, setSensitivity, setStatusMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AutoCloseable
closeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, getTraits, setName, setTraitMethods inherited from interface Device
calibrate, calibrate, connect, disconnect, getAccuracy, getCalibrationHistory, getCapabilities, getDeviceStatus, getDisplayUnit, getFirmware, getHistory, getId, getLastCalibration, getLocationDescription, getManufacturer, getMaxRange, getMeasurableQuantities, getMinRange, getModel, getPrecisionDescription, getReadings, getResolution, getSensitivity, getStatus, isConnected, isEnabled, measure, needsCalibration, setDisplayUnit, setEnabled
-
Constructor Details
-
AbstractSensor
-
-
Method Details
-
getValue
-