cz.cuni.amis.pogamut.usar2004.agent.module.sensor
Class SensorTouch
java.lang.Object
cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SuperSensor
cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SensorTouch
public class SensorTouch
- extends SuperSensor
Sensor message representative for Touch sensor.
- Author:
- vejmanm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public static final SensorType type
SensorTouch
public SensorTouch()
- Ctor. Sensor type describes particular subject about which we want to
know about. It is used to distinguish incoming message from the server.
getTouchByName
public boolean getTouchByName(String Name)
- String is the sensor name. Boolean indicates whether the sensor is
touching something. Value �True’ means the sensor is touching something.
- Parameters:
Name - String representation of touch sensor name.
- Returns:
- Returns Boolean value matching Name.
getTouchNames
public Set<String> getTouchNames()
- String is the sensor name. Boolean indicates whether the sensor is
touching something. Value �True’ means the sensor is touching something.
- Returns:
- Returns KeySet of Touch Map.
getTouchesSize
public int getTouchesSize()
- Returns size of touch map.
- Returns:
- Returns size of touch map.
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.