safehome.device
Class DeviceMotionDetector

java.lang.Object
  extended by safehome.device.DeviceSensorTester
      extended by safehome.device.DeviceMotionDetector
All Implemented Interfaces:
interfaceSensor

public class DeviceMotionDetector
extends DeviceSensorTester
implements interfaceSensor


Field Summary
 
Fields inherited from class safehome.device.DeviceSensorTester
head_MotionDetector, head_WinDoorSensor, newIdSequence_MotionDetector, newIdSequence_WinDoorSensor, next, safeHomeSensorTest, sensorID
 
Constructor Summary
DeviceMotionDetector()
           
 
Method Summary
 void disable()
           
 void enable()
           
 int getID()
           
 void intrude()
           
 boolean read()
           
 void release()
           
 boolean test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceMotionDetector

public DeviceMotionDetector()
Method Detail

intrude

public void intrude()
Specified by:
intrude in class DeviceSensorTester

release

public void release()
Specified by:
release in class DeviceSensorTester

getID

public int getID()
Specified by:
getID in interface interfaceSensor
Returns:

read

public boolean read()
Specified by:
read in interface interfaceSensor
Returns:

enable

public void enable()
Specified by:
enable in interface interfaceSensor

disable

public void disable()
Specified by:
disable in interface interfaceSensor

test

public boolean test()
Specified by:
test in interface interfaceSensor
Returns: