nl.tue.id.creapro.admoveo
Interface SensorControl

All Known Implementing Classes:
AnalogSensor, DigitalSensor, Sensor

public interface SensorControl

The interface to be implemented by all the sensors, for enabling and disabling the input from a particular sensor.

Author:
jhu

Method Summary
 void disable()
          Disables the sensor.
 void enable()
          Enables the sensor input.
 boolean isEnabled()
           
 

Method Detail

disable

void disable()
Disables the sensor. No input event will be received from the sensor afterwards, until it is enabled again.


enable

void enable()
Enables the sensor input. All the sensors are disabled by default. If input is to be expected from a sensor, it has to be enabled first.


isEnabled

boolean isEnabled()