safehome.device
Class DeviceAbstractSensor
java.lang.Object
safehome.device.DeviceAbstractSensor
- Direct Known Subclasses:
- DeviceMotionDetector, DeviceWinDoorSensor
public abstract class DeviceAbstractSensor
- extends Object
Class DeviceAbstractSensor
is an abstract class for sensor-like devices.
SafeHome has at least two types of sensors, win/door sensors and motion detectors.
- Author:
- cs550 TA
Method Summary |
abstract void |
intrude()
Note: This method is public as a virtual device implementation side effect. |
abstract void |
release()
Note: This method is public as a virtual device implementation side effect. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
safeHomeSensorTest
static DeviceSensorController safeHomeSensorTest
head_WinDoorSensor
static DeviceAbstractSensor head_WinDoorSensor
head_MotionDetector
static DeviceAbstractSensor head_MotionDetector
next
DeviceAbstractSensor next
sensorID
int sensorID
newIdSequence_WinDoorSensor
static int newIdSequence_WinDoorSensor
newIdSequence_MotionDetector
static int newIdSequence_MotionDetector
DeviceAbstractSensor
public DeviceAbstractSensor()
intrude
public abstract void intrude()
- Note: This method is public as a virtual device implementation side effect. Do not call.
release
public abstract void release()
- Note: This method is public as a virtual device implementation side effect. Do not call.